Vous êtes sur la page 1sur 19

Oracle 10g RAC installation process on

2 Sun V40z running Solaris 10 x86 (Text Version 1.0)

System Env.
******************************************************************************
z 2 Sun AMD64-based system(v40z) : 4 2.4Ghz(250) opteron, 8GB RAM
z 2 Sun T3 Fiber Disk Array (Using 1 Fiber switch connect to V40z), 4 LUN
z 1 100M ether-switch for private network (heartbeat)
z Solaris 10 x86 03/05.
z Oracle 10g 10.1.0.3 EE RAC for Solaris x86 with Oracle Patch 4186426.

Sun BJ iForce Center Oracle10g RAC RA:

08/25/2005 Tom Xu 28976


Process Details:

1、After installation of Solaris 10 x86 GA, Installed EIS Patch (06/28/2005) for
Solaris x86 patches.

EIS Path install process:

1, Setup the Env.


v210-185# cd /net/129.200.9.21/disk0/cdrom0507/eis2124-050628/cdrom/sun/install
v210-185# ./setup-standard.sh
Sun keyboard Power button to be disabled? [y/n]: n
Are the buttons & dials to be disabled? [y/n]: n
Do you wish to add the SFS packages? [y/n]: y
Do you wish to ENABLE the alternate break sequence? [E/n]: E
Do you want to install the ACT package? [y/n]: n
Agree to these terms? [y,n] y
Absolute path name for Explorer defaults file? [/etc/opt/SUNWexplo/default/explorer]:
Please select your geo from this list -
1) AMERICAS 2) EMEA 3) APAC [AMERICAS] 3
APAC
Please Enter the two character Country code or enter ? for a list of countries. []:CN
CN China
at the completion of explorer when -mail or -e is specified? [y,n] n
Country: China
Country Code: CN
Geography: APAC
Are these values okay?[y,n] y
Do you wish to schedule explorer in cron? [y,n] n
setup-standard completed.
This creates the /opt/sun directory tree & sets up up a /.profile

Exit and check the env. has been setup already.


V210-185# exit
v210-185 console login: root
Password:
Jun 14 12:03:54 v210-185 login: ROOT LOGIN /dev/console
Last login: Tue Jun 14 11:52:43 on console
Sun Microsystems Inc. SunOS 5.10 Generic Mar 2005
Sourcing //.profile-EIS.....
root@v210-185 #
2, install EIS Solaris 10 patches
root@v210-185 # cd /net/129.200.9.21/disk0/cdrom0507/eis2124-050628/cdrom/sun/patch/10
root@v210-185 # /opt/sun/bin/unpack-patches
root@v210-185 # cd /tmp/10; ./install_all_patches
--------------------------------------------------------------------------------------------------------

# more /etc/release

Solaris 10 3/05 s10_74L2a X86


Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 22 January 2005

root@v40z-168 # netstat -rn

Routing Table: IPv4


Destination Gateway Flags Ref Use Interfac
-------------------- -------------------- ----- ----- ------ --------
129.200.9.0 129.200.9.168 U 1 127 bge0
129.200.9.0 129.200.9.168 U 1 0 bge0:1
192.0.0.0 192.0.0.1 U 1 31 bge1
224.0.0.0 129.200.9.168 U 1 0 bge0
default 129.200.9.218 UG 1 1
127.0.0.1 127.0.0.1 UH 29 217171 lo0

root@v40z-168 # more host*


::::::::::::::
hostname.bge0
::::::::::::::
v40z-168
::::::::::::::
hostname.bge1
::::::::::::::
rac_priv_host1
::::::::::::::
hosts
::::::::::::::
#
# Internet host table
#
129.200.9.169 v40z-169.x86.prc.sun.com v40z-169
129.200.9.168 v40z-168.x86.prc.sun.com v40z-168
129.200.9.158 crs-158.x86.prc.sun.com crs-158
129.200.9.159 crs-159.x86.prc.sun.com crs-159
192.0.0.1 rac_priv_host1
192.0.0.2 rac_priv_host2
127.0.0.1 localhost
129.200.9.24 v210-24
::::::::::::::
hosts.equiv
::::::::::::::
v40z-169.x86.prc.sun.com oracle
v40z-168.x86.prc.sun.com oracle
v40z-168 oracle
v40z-169 oracle

root@v40z-168 #

root@v40z-168 # showrev -p
Patch: 118844-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcakr,
SUNWhea, SUNWmdbr
Patch: 118997-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu, SUNWhea
Patch: 119043-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcsu
Patch: 119684-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr
Patch: 119686-02 Obsoletes: Requires: Incompatibles: Packages: SUNWcsr
Patch: 117464-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcsl
Patch: 118345-03 Obsoletes: Requires: Incompatibles: Packages: SUNWcsl, SUNWcslr
Patch: 118993-02 Obsoletes: Requires: Incompatibles: Packages: SUNWckr
Patch: 119076-05 Obsoletes: Requires: Incompatibles: Packages: SUNWckr, SUNWhea
Patch: 119375-02 Obsoletes: Requires: Incompatibles: Packages: SUNWckr,
SUNWos86r
Patch: 119716-01 Obsoletes: Requires: Incompatibles: Packages: SUNWckr
Patch: 119830-01 Obsoletes: Requires: Incompatibles: Packages: SUNWckr
Patch: 119851-01 Obsoletes: Requires: Incompatibles: Packages: SUNWckr
Patch: 119060-02 Obsoletes: Requires: Incompatibles: Packages: SUNWxwplt,
SUNWxwacx
Patch: 118966-03 Obsoletes: Requires: Incompatibles: Packages: SUNWxorg-xkb,
SUNWxorg-doc, SUNWxorg-server, SUNWxo
rg-graphics-ddx
Patch: 118858-01 Obsoletes: Requires: Incompatibles: Packages: SUNWpcu
Patch: 119253-02 Obsoletes: Requires: Incompatibles: Packages: SUNWadmap
Patch: 118552-01 Obsoletes: Requires: Incompatibles: Packages: SUNWmdr,
SUNWmdu, SUNWhea
Patch: 118554-01 Obsoletes: Requires: Incompatibles: Packages: SUNWmdr,
SUNWhea
Patch: 119146-02 Obsoletes: Requires: Incompatibles: Packages: SUNWadmc
Patch: 119281-01 Obsoletes: Requires: Incompatibles: Packages: SUNWmfrun
Patch: 119255-02 Obsoletes: Requires: Incompatibles: Packages: SUNWswmt
Patch: 118347-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcslr
Patch: 119827-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcslr
Patch: 119535-02 Obsoletes: Requires: Incompatibles: Packages: SUNWinst
Patch: 118549-01 Obsoletes: Requires: Incompatibles: Packages: SUNWipfu
Patch: 116299-08 Obsoletes: Requires: Incompatibles: Packages: SUNWxsrt,
SUNWjaxp, SUNWxrgrt, SUNWxrpcrt
Patch: 118561-01 Obsoletes: Requires: Incompatibles: Packages: SUNWtnetc
Patch: 118376-02 Obsoletes: Requires: Incompatibles: Packages: SUNWnfsckr
Patch: 119314-02 Obsoletes: Requires: Incompatibles: Packages: SUNWwbcou,
SUNWwbpro
Patch: 119784-01 Obsoletes: Requires: Incompatibles: Packages: SUNWbind
Patch: 119279-01 Obsoletes: Requires: Incompatibles: Packages: SUNWdtdte
Patch: 116303-02 Obsoletes: Requires: Incompatibles: Packages: SUNWxrpcrt
Patch: 119316-02 Obsoletes: Requires: Incompatibles: Packages: SUNWmga
Patch: 118736-01 Obsoletes: Requires: Incompatibles: Packages: SUNWnisu
Patch: 119074-02 Obsoletes: Requires: Incompatibles: Packages: SUNWnisu
Patch: 119131-04 Obsoletes: Requires: Incompatibles: Packages: SUNWfctl, SUNWfcp,
SUNWfcip, SUNWfcmdb, SUNWfcsm, S
UNWqlc
Patch: 117448-01 Obsoletes: Requires: Incompatibles: Packages: SUNWntpu
Patch: 116353-01 Obsoletes: Requires: Incompatibles: Packages: SUNWcjaf,
SUNWcjmail
Patch: 119318-01 Obsoletes: Requires: Incompatibles: Packages: SUNWpkgcmdsu
Patch: 119016-02 Obsoletes: Requires: Incompatibles: Packages: SUNWpkgcmdsu
Patch: 119713-01 Obsoletes: Requires: Incompatibles: Packages: SUNWroute

root@v40z-168 # pwd
/usr/lib
root@v40z-168 # ls sav*
savliblgrp.so savliblgrp.so.1

(Need change liblgrp.so, liblgrp.so.1 to savliblgrp.so, savliblgrp.so.1, avoid numa-related


problem when create DB.)
===================================================================

2、 Set IP addresses in/etc/hosts for both nodes


# more /etc/hosts
129.200.9.169 v40z-169.x86.prc.sun.com v40z-169
129.200.9.168 v40z-168.x86.prc.sun.com v40z-168
129.200.9.158 crs-158.x86.prc.sun.com crs-158
129.200.9.159 crs-159.x86.prc.sun.com crs-159
192.0.0.1 rac_priv_host1
192.0.0.2 rac_priv_host2
127.0.0.1 localhost
3、Set DNS Client(the DNS server is 129.200.9.218 )
You need finish the DNS server setup before following steps.

more /etc/resolv.conf
domain x86.prc.sun.com
nameserver 129.200.9.218

Check It works:
root@v40z-168 # nslookup crs-158
Server: 129.200.9.218
Address: 129.200.9.218#53

Name: crs-158.x86.prc.sun.com
Address: 129.200.9.158

======================================================================

4 Create Oracle User on 2 nodes

oracle user、oinstall dba oper Group, nobody user


on v40z-168
# groupadd oinstall
# groupadd dba
# groupadd oper
# useradd -g oinstall -G dba,oper -d /export/home/oracle -m oracle

Verify nobody user exists:


root@v40z-168 # id -a nobody
uid=60001(nobody) gid=60001(nobody) groups=60001(nobody)
Otherwise issue following command:
# /usr/sbin/useradd nobody

root@v40z-168 # id -a oracle
uid=100(oracle) gid=100(oinstall) groups=101(dba),102(oper)

on v40z-169:
# groupadd 100 oinstall
# groupadd 101 dba
# groupadd 102 oper
# useradd -u 100 -g oinstall -G dba,oper -d /export/home/oracle -m oracle

=====================================================================

5、Set up user equivalence for rsh and rcp


# more /etc/hosts.equiv
v40z-169.x86.prc.sun.com oracle
v40z-168.x86.prc.sun.com oracle
v40z-168 oracle
v40z-169 oracle

rsh 测试
root@v40z-168 # su oracle
$rsh v40z-169 hostname
v40z-169

======================================================================

6 Set resource management:

# projadd -U oracle -G dba -c 'Ora DB' -p 162 user.oracle


# projmod -sK 'project.max-sem-ids=(priv,2048,deny)' user.oracle
# projmod -sK 'process.max-sem-nsems=(priv,256,deny)' user.oracle
# projmod -sK 'project.max-shm-ids=(priv,128,deny)' user.oracle
# projmod -sK 'project.max-shm-memory=(priv,1684354560,deny)' user.oracle

# vi /etc/project
system:0::::
user.root:1::::
noproject:2::::
default:3::::
group.staff:10::::
user.oracle:162:Oracle DB:oracle:dba:
project.max-sem-ids=(priv,2048,deny);project.max-sem-nsems=(priv,256,deny);project.
max-shm-ids=(priv,128,deny);project.max-shm-memory=(priv,1684354560,deny)

Check:
#prctl -n project.max-sem-ids -i project user.oracle
project: 162: user.oracle
NAME PRIVILEGE VALUE FLAG ACTION RECIPIENT
project.max-sem-ids
privileged 2.05K - deny -
system 16.8M max deny -

#prctl -n project.max-shm-memory -i project user.oracle


project: 162: user.oracle
NAME PRIVILEGE VALUE FLAG ACTION RECIPIENT
project.max-shm-memory
privileged 1.57GB - deny -
system 16.0EB max deny -
======================================================================

7, Create install dir and change mode on both 2 nodes:


For Oracle Base:(and DB)
# mkdir -p /u01/app/oracle
# chown -R oracle:oinstall /u01/app/oracle
# chmod -R 775 /u01/app/oracle

For CRS:
# mkdir -p /u01/crs/oracle/product/10.0.1/crs
# chown -R oracle:oinstall /u01/crs/oracle
# chmod -R 775 /u01/crs/oracle

======================================================================

8、Set ORACLE variables for CRS installation


# su - oracle
$more .profile

ORACLE_BASE=/u01/app/oracle
export ORACLE_BASE
ORACLE_HOME=/u01/crs/oracle/product/10.0.1/crs
export ORACLE_HOME
PATH=$PATH:$ORACLE_HOME/bin:/usr/bin:/usr/local/bin:/usr/ccs/bin:/bin:/usr/openwin/bi
n:/usr/sbin:.
export PATH

=====================================================================

9, As oracle user run OUI to install CRS:


Before this:
9 Use dd to clear raw device
dd if=/dev/zero of=/dev/rdsk/c2t1d0s3 bs=256k count=2000 ==> OCR
dd if=/dev/zero of=/dev/rdsk/c2t1d0s4 bs=256k count=200 ==> Voting disk
c2t1d0s3 & c2t1d0s4 is the shared storage, have same name for all cluster nodes!

9 Change the permissions and ownership on the two devices.


OCR disk device
chown root:oinstall /dev/rdsk/c2t1d0s3
chmod 640 /dev/rdsk/c2t1d0s3

Voting disk
chown oracle:dba /dev/rdsk/c2t1d0s4
chmod 660 /dev/rdsk/c2t1d0s4

9 Check OS running on 32-bit on both nodes


root@v40z-168 # isainfo -v
32-bit i386 applications
sse2 sse fxsr amd_3dnowx amd_3dnow amd_mmx mmx cmov sep cx8 tsc fpu

Otherwise:
root@v40z-168 # eeprom boot-file=kernel/unix
root@v40z-168 # reboot
----------------------------------------------------------------------------------------------------------------
$ runInstaller -ignoreSysPrereqs

Following The GUI prompt to do the installation

As root user run orainstRoot.sh on both 2 nodes. then continue.

Public node name: v40z-168 v40z-169


private node name: rac_priv_host1 rac_priv_host2

129.200.9.0 Public
192.0.0.0 Private

Oracle Cluster Registry(OCR) page:


/dev/rdsk/c2t1d0s3
Voting Disk Info page:
/dev/rdsk/c2t1d0s4

Start install and copy software to local and remote node.


then OUI pop-up a dialog indicating that you run root.sh script on both nodes

Before run root.sh


As root user change related dir's permissions on both 2 nodes:
#chmod go-w /u01/crs/oracle/product/10.0.1
#chmod go-w /u01/crs/oracle/product
#chmod go-w /u01/crs/oracle
#chmod go-w /u01/crs
#chmod go-w /u01

run root.sh on both 2 node as root user.

push OK on dialog to continue.


As oracle user Run olsnodes command to check if CRS installation is OK.
$ pwd
/u01/crs/oracle/product/10.0.1/crs/bin
$ olsnodes -n
v40z-168 1
v40z-169 2
$
=====================================================================

10 After CRS installation, prepare install DB software

Midify .profile

on v40z-168:
#su - oracle
$ more .profile

ORACLE_BASE=/u01/app/oracle
export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/10.0.1/oracle
export ORACLE_HOME
ORACLE_SID=tree1
export ORACLE_SID
PATH=$PATH:$ORACLE_HOME/bin:/usr/bin:/usr/local/bin:/usr/ccs/bin:/bin:/usr/openwin/bi
n:/usr/sbin:.
export PATH

on v40z-169:
#su - oracle
$ more .profile

ORACLE_BASE=/u01/app/oracle
export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/10.0.1/oracle
export ORACLE_HOME
ORACLE_SID=tree2
export ORACLE_SID
PATH=$PATH:$ORACLE_HOME/bin:/usr/bin:/usr/local/bin:/usr/ccs/bin:/bin:/usr/openwin/bi
n:/usr/sbin:.
export PATH

==============================================================
11 As oracle user run OUI to install DB:
$ runInstaller -ignoreSysPrereqs

On the Selected Node page, Select 2 nodes(168&169) for RAC installtion

On the select installation Type page, select Enterprise Edition.

On the Available Products Components page, just click next using default setting.

On Select Database Configuration page, select the bottom:


(.) Do not create a starter database

OUI give summary page, click install to continue. OUI copy software to local and remote
nodes.
then OUI pop-up a dialog indicating that you run root.sh script on both nodes.

When run root.sh on first node, it will pop-up vipca window:


config vip for RAC, choose bge0 and v40z-158 and v40z-159 as vip.

then run root.sh on another node(will not invoke vipca).

Click OK to continue.

Then use netca to config listerner!


Just click next to using the default setting!

End the installation

Then check the VIP is startup:


root@v40z-168 # ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu
8232 index 1 inet 127.0.0.1 netmask ff000000
bge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
inet 129.200.9.168 netmask ffffff00 broadcast 129.200.9.255 ether 0:9:3d:0:dc:eb
bge0:1: flags=1040843<UP,BROADCAST,RUNNING,MULTICAST,DEPRECATED,IPv4>
mtu 1500 index 2 inet 129.200.9.158 netmask ffffff00 broadcast 129.200.255.255
bge1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
inet 192.0.0.1 netmask ffffff00 broadcast 192.0.0.255 ether 0:9:3d:0:dc:ec

======================================================================

12 After install DB software , add oracle patch p4186426


Unzip p4186426_10103_SOLARISx86.zip to /tmp
# su - oracle
OPATCH_PLATFORM_ID=173; export OPATCH_PLATFORM_ID
cd /tmp/4186426
PATH=/usr/ccs/bin:/usr/sbin:$ORACLE_HOME/OPatch/:$PATH; export PATH
opatch apply

Just run it on one node to apply patch to 2 nodes!

=====================================================================

13 Edit File for create database using raw devices: (Just For BJ CASE)

Before this, you need use format to layout your storage!

#vi tree_raw.conf

system=/dev/rdsk/c2t0d0s0
sysaux=/dev/rdsk/c2t0d0s1
example=/dev/rdsk/c2t0d0s3
users=/dev/rdsk/c2t0d0s4
temp=/dev/rdsk/c2t0d0s5
undotbs1=/dev/rdsk/c2t0d0s6
undotbs2=/dev/rdsk/c2t0d0s7
redo1_1=/dev/rdsk/c2t0d1s0
redo1_2=/dev/rdsk/c2t0d1s1
redo2_1=/dev/rdsk/c2t0d1s3
redo2_2=/dev/rdsk/c2t0d1s4
control1=/dev/rdsk/c2t0d1s5
control2=/dev/rdsk/c2t0d1s6
spfile=/dev/rdsk/c2t1d0s0
pwdfile=/dev/rdsk/c2t1d0s1

Put this file into dir:/u01/app/oracle/oradata/tree/


then set the var as following(As oracle user) in .profile
DBCA_RAW_CONFIG=/u01/app/oracle/oradata/tree/tree_raw.conf
export DBCA_RAW_CONFIG
==================================================================

14 Change the permissions and ownership on these devices.


chown oracle:dba /dev/rdsk/c2t1d0s0
chmod 660 /dev/rdsk/c2t1d0s0
chown oracle:dba /dev/rdsk/c2t1d0s1
chmod 660 /dev/rdsk/c2t1d0s1
chown oracle:dba /dev/rdsk/c2t0d0s*
chmod 660 /dev/rdsk/c2t0d0s*
chown oracle:dba /dev/rdsk/c2t0d1s*
chmod 660 /dev/rdsk/c2t0d1s*

15 as oracle user Run DBCA to generate DB and startup instances.

Before this, do following 1) or 2) to avoid NUMA-related problem.


1) Disable all but 1 processor using psradm before run DBCA on both nodes.
or
2) Move the libraries /usr/lib/liblgrp*.
i.e mv /usr/lib/liblgrp* /usr/lib/savliblgrp*

v40z-168$dbca
On the GUI of DBCA, select:
Create database
general purpose database
Database name: tree
Don't use Enterprise manager
passwd: tree
SGA 900M, PGA 300M
using raw device, config file is tree_raw.conf
Don't enable archiving
====================================================================

16, Manual stop and start oracle on both nodes


$ sqlplus /nolog

SQL*Plus: Release 10.1.0.3.0 - Production on Fri Aug 26 21:20:16 2005

Copyright (c) 1982, 2004, Oracle. All rights reserved.

SQL> connect / as sysdba


Connected.
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.
Total System Global Area 943718400 bytes
Fixed Size 781924 bytes
Variable Size 241439132 bytes
Database Buffers 700448768 bytes
Redo Buffers 1048576 bytes
Database mounted.
Database opened.
SQL> SELECT * FROM V$ACTIVE_INSTANCES;

INST_NUMBER INST_NAME
------------------- ------------------------------------
1 v40z-168:tree1
2 v40z-169:tree2
SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.3.0 - Production
With the Partitioning, Real Application Clusters, OLAP and Data Mining options
$

Or you can use srvctl(Server Control utility) start and stop cluster database!

# su - oracle
$ srvctl status database -d tree
Instance tree1 is running on node v40z-168
Instance tree2 is running on node v40z-169

$ srvctl status nodeapps -n v40z-168


VIP is running on node: v40z-168
GSD is running on node: v40z-168
Listener is running on node: v40z-168
ONS daemon is running on node: v40z-168

$ srvctl status nodeapps -n v40z-169


VIP is running on node: v40z-169
GSD is running on node: v40z-169
Listener is running on node: v40z-169
ONS daemon is running on node: v40z-169

$ ps -ef | grep ora_


oracle 24266 1 0 21:21:00 ? 0:02 ora_lms1_tree1
oracle 24272 1 0 21:21:00 ? 0:00 ora_lgwr_tree1
oracle 24260 1 0 21:21:00 ? 0:02 ora_lmon_tree1
oracle 24278 1 0 21:21:00 ? 0:00 ora_reco_tree1
oracle 24256 1 0 21:21:00 ? 0:01 ora_pmon_tree1
oracle 26351 1 0 22:21:19 ? 0:00 ora_pz99_tree1
oracle 24268 1 0 21:21:00 ? 0:00 ora_mman_tree1
oracle 24262 1 0 21:21:00 ? 0:02 ora_lmd0_tree1
oracle 24282 1 0 21:21:01 ? 0:00 ora_d000_tree1
oracle 24315 1 0 21:21:11 ? 0:01 ora_mmon_tree1
oracle 24274 1 0 21:21:00 ? 0:01 ora_ckpt_tree1
oracle 24270 1 0 21:21:00 ? 0:00 ora_dbw0_tree1
oracle 24264 1 0 21:21:00 ? 0:02 ora_lms0_tree1
oracle 24284 1 0 21:21:01 ? 0:00 ora_s000_tree1
oracle 24280 1 0 21:21:00 ? 0:01 ora_cjq0_tree1
oracle 24313 1 0 21:21:10 ? 0:00 ora_qmnc_tree1
oracle 24276 1 0 21:21:00 ? 0:00 ora_smon_tree1
oracle 26653 1 0 22:28:04 ? 0:00 ora_q001_tree1
oracle 24317 1 0 21:21:11 ? 0:01 ora_mmnl_tree1
oracle 24258 1 0 21:21:00 ? 0:02 ora_diag_tree1
oracle 24286 1 0 21:21:02 ? 0:01 ora_lck0_tree1
oracle 26654 24200 0 22:28:47 pts/4 0:00 grep ora_
oracle 26651 1 0 22:27:59 ? 0:00 ora_q000_tree1

$srvctl stop database -d tree


$ ps -ef | grep ora_
oracle 26792 24200 0 22:29:54 pts/4 0:00 grep ora_

$ srvctl status database -d tree


Instance tree1 is not running on node v40z-168
Instance tree2 is not running on node v40z-169

$ srvctl status nodeapps -n v40z-168


VIP is running on node: v40z-168
GSD is running on node: v40z-168
Listener is running on node: v40z-168
ONS daemon is running on node: v40z-168

$srvctl start database -d tree

$ srvctl status database -d tree


Instance tree1 is running on node v40z-168
Instance tree2 is running on node v40z-169

$ ps -ef | grep ora_


oracle 26879 1 0 22:31:46 ? 0:00 ora_lmd0_tree1
oracle 26893 1 0 22:31:46 ? 0:00 ora_smon_tree1
oracle 26883 1 0 22:31:46 ? 0:00 ora_lms1_tree1
oracle 26877 1 0 22:31:46 ? 0:00 ora_lmon_tree1
oracle 26895 1 0 22:31:46 ? 0:00 ora_reco_tree1
oracle 26901 1 0 22:31:46 ? 0:00 ora_s000_tree1
oracle 26881 1 0 22:31:46 ? 0:00 ora_lms0_tree1
oracle 26891 1 0 22:31:46 ? 0:00 ora_ckpt_tree1
oracle 27019 24200 0 22:32:59 pts/4 0:00 grep ora_
oracle 26989 1 0 22:32:15 ? 0:00 ora_q001_tree1
oracle 26899 1 0 22:31:46 ? 0:00 ora_d000_tree1
oracle 26903 1 0 22:31:47 ? 0:00 ora_lck0_tree1
oracle 26987 1 0 22:32:10 ? 0:00 ora_q000_tree1
oracle 26889 1 0 22:31:46 ? 0:00 ora_lgwr_tree1
oracle 26885 1 0 22:31:46 ? 0:00 ora_mman_tree1
oracle 26875 1 0 22:31:45 ? 0:00 ora_diag_tree1
oracle 26897 1 0 22:31:46 ? 0:00 ora_cjq0_tree1
oracle 26940 1 0 22:32:00 ? 0:00 ora_mmnl_tree1
oracle 26938 1 0 22:32:00 ? 0:00 ora_mmon_tree1
oracle 26887 1 0 22:31:46 ? 0:00 ora_dbw0_tree1
oracle 26936 1 0 22:32:00 ? 0:00 ora_qmnc_tree1
oracle 26873 1 0 22:31:45 ? 0:00 ora_pmon_tree1
oracle 26962 1 0 22:32:04 ? 0:00 ora_pz99_tree1

=====================================================================
Appendix:

Critical Notes For RAC for Unix (From Metalink)

General Notes For RAC for Unix On Solaris Operating System x86-64:

Oracle Product Version:

o 10g

Product Information:

o This is a certification only and not a native porting. This product will run in a
32-bit mode on this platform.

Processor Chip Information:

o Solaris Operating System x86-64, support on AMD64 Chips that adhere to the
x86-64 architecture with supported Solaris Operating System releases. Running
Oracle 32-bit on AMD64 (64-bit OS) is supported .
o Oracle 32-bit running on AMD64 with a 32-bit OS is supported, refer to platform
Solaris Operating System x86 for more information on product availability.

Technology Information for Solaris Operating System x86

o Crossover Cable is not supported as an Interconnect with 9iRAC/10gRAC on any


platform

10g R1 Certification Summary


(Detailed information is available through the use of Advanced
Search at the bottom of the page)

OS Product Certified With Version Status

10 10g Oracle Clusterware 10g Certified


Operating System: Solaris Operating System x86-64 Version 10
RAC for Unix Version 10g
Oracle Clusterware Version 10g
Status: Certified

Product Version Note:


None available for this product.

Certification Note:

Existing Patch sets:


10.1.0.3 Required
This is a certification only and not a native porting: 32-bit version is certified to
install and run on 32-bit and 64-bit. This product will run in a 32-bit mode on this
platform.
Install Information:
a.. 1. Execute runInstaller with the -ignoreSysPrereqs option.
b.. 2. Select 'Do not create a starter database' when installing Oracle 10g.
c.. 3. During installation, the warning message 'SUNWsprox package not
installed' can be ignored. Press Continue to resume the installation.
d.. 4. Download and install patch 4186426 from metalink.oracle.com after
installing Oracle 10g software.
e.. 5. If you have an End User Solaris 10 distribution, install the
SUNWuiu8 package prior to installing the 10g client.
Doc ID: Note:307323.1
Content Type: TEXT/X-HTML
Subject:Ora-27123 When Creating New
Creation Date: 01-MAY-2005
Database
Last Revision
Type: PROBLEM 09-MAY-2005
Date:
Status: MODERATED

The information in this document applies to:

Oracle Database Configuration Assistant - Version: 10.1.0.3.0


Red Hat Advanced Server DBCA

Errors

ORA-27123 unable to attach to shared memory segment

Symptoms

When using DBCA to create a new DB, if a specify memory usage of 8% or


more of the physical memory is specified ORA-27123 is reported. If memory
usage is specified as 5% the database is created without error.

Why does DBCA raise ORA-27123 attempting to create a database on a


machine with greater than 4Gb physical memory?

Cause

The problem is related to the SGA size. By Default, DBCA will allocate 40% of
the total available memory. DBCA assumes you have a 64 bit OS and
attempts to use a bigger SGA than the OS will support.

As the server has 32Gb memory, SGA allocation will be too large, leading
to an ORA- 27123.

Solution

Please do not take the defaults for the SGA size when using DBCA on a
system with >4G physical memory

Instead, explicitly set some of the SGA parameters so that the total SGA
size will be less than 1.7Gb to allow DBCA to create the database.