看来不少的兄弟觉得有帮助,所以贴出来了。 Install Oracle 10g R2 RAC on SFRAC Eric Zhang 1. jumpstart install 2 nodes : sxrtfs01 and sxrtfs04 OS version : solaris 10 x64 u2 . swap 8g / 40gb sxrtfs01 10.198.90.92 sxrtfs04 10.198.90.91 2. Modify /etc/hosts on both nodes sxrtfs01: /etc/hosts # Internet host table # 127.0.0.1 localhost 10.198.90.92 sxrtfs01 loghost 10.198.90.91 sxrtfs04 192.168.13.1 sxrtfs01-priv 192.168.13.4 sxrtfs04-priv 10.198.90.8 sxrtfs01-vip 10.198.90.4 sxrtfs04-vip sxrtfs04:/etc/hosts # Internet host table # 127.0.0.1 localhost 10.198.90.91 sxrtfs04 loghost 10.198.90.92 sxrtfs01 192.168.13.1 sxrtfs01-priv 192.168.13.4 sxrtfs04-priv # 10.198.90.8 sxrtfs01-vip 10.198.90.4 sxrtfs04-vip 3. configure root user's rsh configure #cd / #vi .rhosts + # rsh sxrtfs04 Last login: Sat Aug 25 19:32:44 from 172.29.0.82 Sun Microsystems Inc. SunOS 5.10 Generic January 2005 # # rsh sxrtfs01 Last login: Sat Aug 25 19:32:35 from 172.29.0.82 Sun Microsystems Inc. SunOS 5.10 Generic January 2005 # 4. change root 's sh root:x:0:0:Super-User:/:/usr/bin/bash 5. modify /etc/system on both nodes add set noexec_user_stack=1 set semsys:seminfo_semmni=100 set semsys:seminfo_semmns=1024 set semsys:seminfo_semmsl=256 set semsys:seminfo_semvmx=32767 set shmsys:shminfo_shmmax=4294967295 set shmsys:shminfo_shmmin=1 set shmsys:shminfo_shmmni=100 set shmsys:shminfo_shmseg=10 6. sync cluster time -bash-3.00# svcs -a|grep time disabled Jul_31 svc:/network/daytime:dgram disabled Jul_31 svc:/network/daytime:stream disabled Jul_31 svc:/network/time:dgram disabled Jul_31 svc:/network/time:stream -bash-3.00# svcadm enable time:stream -bash-3.00# svcadm enable time:dgram -bash-3.00# rdate sxsfrac04 Fri Aug 3 18:34:53 2007 7. /etc/profile (should only change oracle user's .here just for easier) PATH=$PATH:/usr/sbin:/sbin:/usr/bin:/usr/lib/vxvm/bin:\ /opt/VRTSvxfs/sbin:/opt/VRTSvcs/bin:/opt/VRTS/bin:\ /opt/VRTSvcs/rac/bin:/opt/VRTSob/bin:/opt/VRTSvcs/vxfen/bin/:. MANPATH=$MANPATH:/usr/share/man:/opt/VRTS/man:. ORACLE_BASE=/opt/app/oracle ORACLE_HOME=/opt/app/oracle/orahome ORACLE_SID=rac CRS_BASE=/opt/app/crs CRS_HOME=/opt/app/crs/crshome PATH=$PATH:$ORACLE_HOME/bin:$CRS_HOME/bin CLASSPATH=$CLASSPATH:$ORACLE_HOME/JRE:$ORACLE_HOME\ /jlib:$ORACLE_HOME/rdbms/jlib:$ORACLE_HOME/network/jlib export ORACLE_BASE ORACLE_HOME PATH MANPATH 8. reboot all the nodes 9. Install SFRAC -bash-3.00# cd /net/10.198.90.16/re/release_train/x86/5.0x64/alpha/5.0x64-2007-06-20a/dvd1/storage_foundation_for_oracle_rac -bash-3.00# ./installsfrac -rsh sxrtfs01 sxrtfs04 -installonly SFRAC的licence:XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XXX 10 . Add oracle user and group groupadd -g 301 dba groupadd -g 300 oinstall mkdir -p /export/home/oracle useradd -u 250 -c "Oracle user" -d /export/home/oracle -g "oinstall" -G dba -m -s /usr/bin/bash oracle passwd oracle 10. configure SFRAC -bash-3.00# ./installsfrac -rsh sxrtfs01 sxrtfs04 -configure Enter the unique cluster name: [?] ericrac Enter the unique Cluster ID number between 0-65535: [b,?] 8899 Enter the NIC for the first private heartbeat link on sxrtfs01: [b,?] e1000g1 Would you like to configure a second private heartbeat link? [y,n,q,b,?] (y) Enter the NIC for the second private heartbeat link on sxrtfs01: [b,?] e1000g2 Would you like to configure a third private heartbeat link? [y,n,q,b,?] (n) Are you using the same NICs for private heartbeat links on all systems? [y,n,q,b,?] (y) y Do you want to add single user access on sxrtfs01 [y,n,q,?] (y) Enter login account name for DBA user: oracle Do you want to add group access on sxrtfs01 [y,n,q,?] (y) Enter group name for DBA users: dba 11. reboot all the nodes 12. check the cluster's status -bash-3.00# hastatus attempting to connect....connected group resource system message --------------- -------------------- -------------------- -------------------- sxrtfs01 RUNNING sxrtfs04 RUNNING cvm sxrtfs01 ONLINE cvm sxrtfs04 ONLINE ------------------------------------------------------------------------- vxfsckd sxrtfs01 ONLINE vxfsckd sxrtfs04 ONLINE cvm_clus sxrtfs01 ONLINE cvm_clus sxrtfs04 ONLINE cvm_vxconfigd sxrtfs01 ONLINE ------------------------------------------------------------------------- cvm_vxconfigd sxrtfs04 ONLINE on sxrtfs01 -bash-3.00# lltconfig -a list Link 0 (e1000g1): Node 0 sxrtfs01 : 00:14:4F:28:59:3D permanent Node 1 sxrtfs04 : 00:14:4F:3F:CB:61 Link 1 (e1000g2): Node 0 sxrtfs01 : 00:14:4F:28:59:3E permanent Node 1 sxrtfs04 : 00:14:4F:3F:CB:62 on sxrtfs04 -bash-3.00# lltconfig -a list Link 0 (e1000g1): Node 0 sxrtfs01 : 00:14:4F:28:59:3D Node 1 sxrtfs04 : 00:14:4F:3F:CB:61 permanent Link 1 (e1000g2): Node 0 sxrtfs01 : 00:14:4F:28:59:3E Node 1 sxrtfs04 : 00:14:4F:3F:CB:62 permanent -bash-3.00# gabconfig -a GAB Port Memberships ============================ Port a gen dd2f01 membership 01 Port b gen dd2f05 membership 01 Port d gen dd2f02 membership 01 Port f gen dd2f0c membership 01 Port h gen dd2f05 membership 01 Port o gen dd2f04 membership 01 Port v gen dd2f08 membership 01 Port w gen dd2f0a membership 01 13. prepare I/O fencing -bash-3.00# vxdg init vxfencoorddg EMC_CLARiiON0_0 EMC_CLARiiON0_1 EMC_CLARiiON0_2 -bash-3.00# vxdisk -o alldgs list DEVICE TYPE DISK GROUP STATUS EMC_CLARiiON0_0 auto:cdsdisk EMC_CLARiiON0_0 vxfencoorddg online EMC_CLARiiON0_1 auto:cdsdisk EMC_CLARiiON0_1 vxfencoorddg online EMC_CLARiiON0_2 auto:cdsdisk EMC_CLARiiON0_2 vxfencoorddg online EMC_CLARiiON0_3 auto:cdsdisk - - online EMC_CLARiiON0_4 auto:cdsdisk - - online c1t2d0s2 auto:none - - online invalid c3t0d0s2 auto - - error -bash-3.00# vxdg list NAME STATE ID vxfencoorddg enabled,cds 1188179750.18.sxrtfs04 -bash-3.00# 14. set I/O fencing disk propertise -bash-3.00# vxdg -g vxfencoorddg set coordinator=on 15. check I/O fencing disk set up -bash-3.00# vxfentsthdw -n -c vxfencoorddg VERITAS vxfentsthdw version 5.0 Solaris The utility vxfentsthdw works on the two nodes of the cluster. The utility verifies that the shared storage one intends to use is configured to support I/O fencing. It issues a series of vxfenadm commands to setup SCSI-3 registrations on the disk, verifies the registrations on the disk, and removes the registrations from the disk. This is the logfile generated for vxfensthdw Enter the first node of the cluster: sxrtfs01 Enter the second node of the cluster: sxrtfs04 ******************************************** Testing sxrtfs01 /dev/rdsk/c0t600601608FA51A004C2F11C14B75DB11d0s2 sxrtfs04 /dev/rdsk/c0t600601608FA51A004C2F11C14B75DB11d0s2 Evaluate the disk before testing ........................... Pre-existing keys I/O fencing appears to be configured. Please shutdown fencing then continue. 16. deport I/O fencing disk group -bash-3.00# vxdg deport vxfencoorddg -bash-3.00# vxdg -t import vxfencoorddg -bash-3.00# vxdg deport vxfencoorddg 17 . on each node -bash-3.00# echo "vxfencoorddg" >/etc/vxfendg 18. config I/O fencing to VCS -bash-3.00# haconf -dump -bash-3.00# hastop -all -bash-3.00# /etc/init.d/vxfen stop Stopping vxfen.. Stopping vxfen.. Done -bash-3.00# -bash-3.00# cd /etc/VRTSvcs/conf/config -bash-3.00# cp main.cf main.orig -bash-3.00# -bash-3.00# vi /etc/VRTSvcs/conf/config/main.cf cluster ericrac ( UserNames = { admin = dlmElgLimHmmKumGlj } Administrators = { admin } HacliUserLevel = COMMANDROOT UseFence = SCSI3 ) -bash-3.00# hacf -verify /etc/VRTSvcs/conf/config -bash-3.00# rcp main.cf sxrtfs01:/etc/VRTSvcs/conf/config 19 . choose fencing mode on each node For dmp configuration: -bash-3.00# cp /etc/vxfen.d/vxfenmode_scsi3_dmp /etc/vxfenmode For raw configuration: -bash-3.00# cp /etc/vxfen.d/vxfenmode_scsi3_raw /etc/vxfenmode -bash-3.00# /etc/init.d/vxfen start Starting vxfen.. Checking for /etc/vxfendg Starting vxfen.. Done -bash-3.00# /opt/VRTS/bin/hastart -bash-3.00# 20 . check -bash-3.00# hastatus attempting to connect....connected group resource system message --------------- -------------------- -------------------- -------------------- sxrtfs01 RUNNING sxrtfs04 RUNNING cvm sxrtfs01 ONLINE cvm sxrtfs04 ONLINE ------------------------------------------------------------------------- vxfsckd sxrtfs01 ONLINE vxfsckd sxrtfs04 ONLINE cvm_clus sxrtfs01 ONLINE cvm_clus sxrtfs04 ONLINE cvm_vxconfigd sxrtfs01 ONLINE ------------------------------------------------------------------------- cvm_vxconfigd sxrtfs04 ONLINE -bash-3.00# gabconfig -a GAB Port Memberships =============================================================== Port a gen dd2f01 membership 01 Port b gen dd2f15 membership 01 Port d gen dd2f02 membership 01 Port f gen dd2f1e membership 01 Port h gen dd2f18 membership 01 Port o gen dd2f04 membership 01 Port v gen dd2f1a membership 01 Port w gen dd2f1c membership 01 -bash-3.00# -bash-3.00# vxfenadm -d I/O Fencing Cluster Information: ================================ Fencing Protocol Version: 201 Fencing Mode: SCSI3 Fencing SCSI3 Disk Policy: raw Cluster Members: 0 (sxrtfs01) * 1 (sxrtfs04) RFSM State Information: node 0 in state 8 (running) node 1 in state 8 (running) -bash-3.00# [ 本帖最后由 blue_stone 于 2007-9-7 18:17 编辑 ] Chinese_Dragon 回复于:2007-08-29 10:05:34 21. configure rsh for oracle user -bash-3.00# cd /export/home -bash-3.00# chown -R oracle:oinstall oracle -bash-3.00# su - oracle Sun Microsystems Inc. SunOS 5.10 Generic January 2005 -bash-3.00$ echo "+" >.rhosts -bash-3.00$ 22. prepare to install CRS -bash-3.00# cd /opt/VRTS/install -bash-3.00# ./installsfrac -rsh sxrtfs01 sxrtfs04 -configure Enter Oracle UNIX user name: (oracle) Enter Oracle UNIX user id (numerical): 250 Enter Oracle UNIX user home dir: /export/home/oracle Enter Oracle UNIX group name: (oinstall) Enter Oracle UNIX group id (numerical): 300 User oracle already exists on all the nodes with the same configuration. Do you want to create secondary groups for Oracle user? [y,n,q] (y) Enter Oracle UNIX secondary group name: dba Enter Oracle UNIX secondary group id (numerical): 301 Group dba already exists on all the nodes. Adding Oracle user (oracle) to group (dba) on sxrtfs01 ........... Done Adding Oracle user (oracle) to group (dba) on sxrtfs04 ........... Done Press [Return] to continue: Enter the private IP for sxrtfs01: 192.168.13.1 Checking 192.168.13.1 in /etc/hosts on sxrtfs01 ................ exists Discovering NICs on sxrtfs01 ... discovered e1000g0 e1000g1 e1000g2 e1000g3 Enter the NIC 1 for private network for sxrtfs01 (x if done): e1000g1 Enter the NIC 2 for private network for sxrtfs01 (x if done): e1000g2 Enter the NIC 3 for private network for sxrtfs01 (x if done): x Enter the private IP for sxrtfs04: 192.168.13.4 Checking 192.168.13.4 in /etc/hosts on sxrtfs04 ................ exists Discovering NICs on sxrtfs04 ... discovered e1000g0 e1000g1 e1000g2 e1000g3 Enter the NIC 1 for private network for sxrtfs04 (x if done): (e1000g1) Enter the NIC 2 for private network for sxrtfs04 (x if done): (e1000g2) Enter the NIC 3 for private network for sxrtfs04 (x if done): x Enter the netmask for private network: 255.255.255.0 23. check -bash-3.00# hares -state ora_priv #Resource Attribute System Value ora_priv State sxrtfs01 ONLINE ora_priv State sxrtfs04 ONLINE -bash-3.00# ifconfig -a lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1 inet 127.0.0.1 netmask ff000000 e1000g0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2 inet 10.198.90.91 netmask fffff800 broadcast 10.198.95.255 ether 0:14:4f:3f:cb:60 e1000g1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3 inet 192.168.13.4 netmask ffffff00 broadcast 192.168.13.255 ether 0:14:4f:3f:cb:61 24. prepare oracle installation directories mkdir /opt/app mkdir -p /opt/app mkdir -p /opt/app/crs mkdir -p /opt/app/crs/crshome mkdir -p /opt/app/oraInventory mkdir -p /opt/app/oracle mkdir -p /opt/app/oracle/orahome chown -R oracle:oinstall /opt/app chmod -R 775 /opt/app mkdir -p /ocrvote echo >/ocrvote/ocr echo >/ocrvote/vote chown -R oracle:oinstall /ocrvote chmod -R 775 /ocrvote 25. prepare ocr and vote share storage -bash-3.00# vxdg -s init ocrvotedg EMC_CLARiiON0_1 EMC_CLARiiON0_4 -bash-3.00# vxassist -g ocrvotedg make ocrvotevol 1g nmirror=2 -bash-3.00# mkfs -F vxfs /dev/vx/rdsk/ocrvotedg/ocrvotevol version 7 layout 2097152 sectors, 1048576 blocks of size 1024, log size 16384 blocks largefiles supported on each node -bash-3.00# mount -F vxfs -o cluster /dev/vx/dsk/ocrvotedg/ocrvotevol /ocrvote -bash-3.00# chown -R oracle:oinstall /ocrvote -bash-3.00# chmod -R 775 /ocrvote -bash-3.00# 26. Add to VCS haconf -makerw hares -add ocrvote_mnt CFSMount cvm hares -modify ocrvote_mnt Critical 0 hares -modify ocrvote_mnt MountPoint “/ocrvote” hares -modify ocrvote_mnt BlockDevice “/dev/vx/dsk/ocrvotedg/ocrvotevol” hares -add ocrvote_voldg CVMVolDg cvm hares -modify ocrvote_voldg CVMDiskGroup ocrvotedg hares -modify ocrvote_voldg CVMVolume -add ocrvotevol hares -modify ocrvote_voldg CVMActivation sw hares -link ocrvote_mnt ocrvote_voldg hares -link ocrvote_mnt vxfsckd hares -link ocrvote_voldg cvm_clus hares -modify ocrvote_voldg Enabled 1 hares -modify ocrvote_mnt Enabled 1 haconf -dump -makero 27. check -bash-3.00# hares -online ocrvote_voldg -sys sxrtfs01 -bash-3.00# hares -online ocrvote_voldg -sys sxrtfs04 -bash-3.00# hastatus attempting to connect....connected group resource system message --------------- -------------------- -------------------- -------------------- sxrtfs01 RUNNING sxrtfs04 RUNNING cvm sxrtfs01 ONLINE cvm sxrtfs04 ONLINE ------------------------------------------------------------------------- vxfsckd sxrtfs01 ONLINE vxfsckd sxrtfs04 ONLINE cvm_clus sxrtfs01 ONLINE cvm_clus sxrtfs04 ONLINE cvm_vxconfigd sxrtfs01 ONLINE ------------------------------------------------------------------------- cvm_vxconfigd sxrtfs04 ONLINE ora_priv sxrtfs01 ONLINE ora_priv sxrtfs04 ONLINE ocrvote_mnt sxrtfs01 ONLINE ocrvote_mnt sxrtfs04 ONLINE ------------------------------------------------------------------------- ocrvote_voldg sxrtfs01 ONLINE ocrvote_voldg sxrtfs04 ONLINE 28. prepare ocr and vote file -bash-3.00# su - oracle Sun Microsystems Inc. SunOS 5.10 Generic January 2005 -bash-3.00$ echo >/ocrvote/ocr -bash-3.00$ echo >/ocrvote/vote -bash-3.00$ 29. verify the crs preparation -bash-3.00# cd /mnt/ORA/crs/clusterware/cluvfy -bash-3.00# cd /mnt/ORA/crs/clusterware/cluvfy -bash-3.00# -bash-3.00# ./runcluvfy.sh stage -pre crsinst -n sxrtfs01,sxrtfs04 -verbose 30 . add swap space -bash-3.00# mkfile 1g /opt/swapfile -bash-3.00# swap -a /opt/swapfile -bash-3.00# chown -R oracle:oinstall /dev/vx/dsk/ocrvotedg/ocrvotevol -bash-3.00# chmod -R 775 /dev/vx/dsk/ocrvotedg/ocrvotevol Chinese_Dragon 回复于:2007-08-29 10:06:11 31. install crs -bash-3.00# cd /opt/VRTS/install -bash-3.00# ./installsfrac -rsh sxrtfs01 sxrtfs04 -configure on sxrtfs01: -bash-3.00# ./root.sh WARNING: directory '/opt/app/crs' is not owned by root WARNING: directory '/opt/app' is not owned by root WARNING: directory '/opt' is not owned by root Checking to see if Oracle CRS stack is already configured Checking to see if any 9i GSD is up Setting the permissions on OCR backup directory Setting up NS directories Oracle Cluster Registry configuration upgraded successfully WARNING: directory '/opt/app/crs' is not owned by root WARNING: directory '/opt/app' is not owned by root WARNING: directory '/opt' is not owned by root Successfully accumulated necessary OCR keys. Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897. node <nodenumber>: <nodename> <private interconnect name> <hostname> node 0: sxrtfs01 sxrtfs01-priv sxrtfs01 node 1: sxrtfs04 sxrtfs04-priv sxrtfs04 Creating OCR keys for user 'root', privgrp 'root'.. Operation successful. Now formatting voting device: /ocrvote/vote Format of 1 voting devices complete. Startup will be queued to init within 30 seconds. Adding daemons to inittab Expecting the CRS daemons to be up within 600 seconds. CSS is active on these nodes. sxrtfs01 CSS is inactive on these nodes. sxrtfs04 Local node checking complete. Run root.sh on remaining nodes to start CRS daemons. -bash-3.00# on sxrtfs04: -bash-3.00# ./root.sh WARNING: directory '/opt/app/crs' is not owned by root WARNING: directory '/opt/app' is not owned by root WARNING: directory '/opt' is not owned by root Checking to see if Oracle CRS stack is already configured Checking to see if any 9i GSD is up Setting the permissions on OCR backup directory Setting up NS directories Oracle Cluster Registry configuration upgraded successfully WARNING: directory '/opt/app/crs' is not owned by root WARNING: directory '/opt/app' is not owned by root WARNING: directory '/opt' is not owned by root clscfg: EXISTING configuration version 3 detected. clscfg: version 3 is 10G Release 2. Successfully accumulated necessary OCR keys. Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897. node <nodenumber>: <nodename> <private interconnect name> <hostname> node 0: sxrtfs01 sxrtfs01-priv sxrtfs01 node 1: sxrtfs04 sxrtfs04-priv sxrtfs04 clscfg: Arguments check out successfully. NO KEYS WERE WRITTEN. Supply -force parameter to override. -force is destructive and will destroy any previous cluster configuration. Oracle Cluster Registry for cluster has already been initialized Startup will be queued to init within 30 seconds. Adding daemons to inittab Expecting the CRS daemons to be up within 600 seconds. CSS is active on these nodes. sxrtfs01 sxrtfs04 CSS is active on all nodes. Waiting for the Oracle CRSD and EVMD to start Oracle CRS stack installed and running under init(1M) Running vipca(silent) for configuring nodeapps Creating VIP application resource on (2) nodes... Creating GSD application resource on (2) nodes... Creating ONS application resource on (2) nodes... Starting VIP application resource on (2) nodes... Starting GSD application resource on (2) nodes... Starting ONS application resource on (2) nodes... Done. 32. install database -bash-3.00# ./installsfrac -rsh sxrtfs01 sxrtfs04 -configure two nodes : sxrtfs10 sxrtfs04 intall software only . 33. patch oracle (option , ignore it ) 34. relink oracle on each node -bash-3.00# /opt/app/crs/crshome/bin/crsctl stop crs Stopping resources. Successfully stopped CRS resources Stopping CSSD. Shutting down CSS daemon. Shutdown request successfully issued. -bash-3.00# cd /opt/VRTS/install -bash-3.00# ./installsfrac -rsh sxrtfs01 sxrtfs04 -configure Is this information correct? [y,n,q] (y) Verifying CRS on sxrtfs01 ........................................ Down Verifying CRS on sxrtfs04 ........................................ Down sxrtfs01 Copying /opt/VRTSvcs/rac/lib/libskgxn2_64.so /opt/ORCLcluster/lib/libskgxn2.so ... success sxrtfs04 Copying /opt/VRTSvcs/rac/lib/libskgxn2_64.so /opt/ORCLcluster/lib/libskgxn2.so ... success Aug 27 12:55:31 sxrtfs01 ipc_version_chk[7514]: [ID 139116 user.alert] VCSIPC for Oracle: Minor version mismatch: oracle 0, ipc library 5, Aug 27 12:55:31 sxrtfs01 VERITAS IPC '5.0' 20:03:58 Mar 2 2007 sxrtfs01 Copying /opt/VRTSvcs/rac/lib/libskgxp10_ver25_64.so /opt/app/oracle/orahome/lib/libskgxp10.so ... success Removing /opt/app/oracle/orahome/lib/libodm10.so .............. success Linking /opt/VRTSodm/lib/amd64/libodm.so /opt/app/oracle/orahome/lib/libodm10.so ... success Setting permissions oracle:oinstall /opt/app/oracle/orahome/lib/libskgxp10.so ... success sxrtfs04 Copying /opt/VRTSvcs/rac/lib/libskgxp10_ver25_64.so /opt/app/oracle/orahome/lib/libskgxp10.so ... success Removing /opt/app/oracle/orahome/lib/libodm10.so .............. success Linking /opt/VRTSodm/lib/amd64/libodm.so /opt/app/oracle/orahome/lib/libodm10.so ... success Setting permissions oracle:oinstall /opt/app/oracle/orahome/lib/libskgxp10.so ... success Press [Return] to continue: 35. create Database -bash-3.00# /opt/app/crs/crshome/bin/crs_stat CRS-0184: Cannot communicate with the CRS daemon. -bash-3.00# /opt/app/crs/crshome/bin/crsctl start crs Attempting to start CRS stack The CRS stack will be started shortly -bash-3.00# /opt/app/crs/crshome/bin/crs_stat NAME=ora.sxrtfs01.gsd TYPE=application TARGET=ONLINE STATE=OFFLINE NAME=ora.sxrtfs01.ons TYPE=application TARGET=ONLINE STATE=OFFLINE NAME=ora.sxrtfs01.vip TYPE=application TARGET=ONLINE STATE=OFFLINE NAME=ora.sxrtfs04.gsd TYPE=application TARGET=ONLINE STATE=OFFLINE NAME=ora.sxrtfs04.ons TYPE=application TARGET=ONLINE STATE=OFFLINE NAME=ora.sxrtfs04.vip TYPE=application TARGET=ONLINE STATE=OFFLINE -bash-3.00# vxdctl -c mode mode: enabled: cluster active - MASTER master: sxrtfs01 -bash-3.00# vxassist -g ocrvotedg make oradatavol 5g -bash-3.00# mkfs -F vxfs /dev/vx/rdsk/ocrvotedg/oradatavol version 7 layout 10485760 sectors, 5242880 blocks of size 1024, log size 16384 blocks largefiles supported -bash-3.00# mkdir /oradata -bash-3.00# mount -F vxfs -o cluster /dev/vx/dsk/ocrvotedg/oradatavol /oradata -bash-3.00# chown -R oracle:oinstall /oradata -bash-3.00# chmod 755 /oradata -bash-3.00# su - oracle Sun Microsystems Inc. SunOS 5.10 Generic January 2005 -bash-3.00$ DISPLAY=172.29.0.82:0.0 export DISPLAY -bash-3.00$ dbca& 36. SQL> connect / as sysdba; Connected. SQL> show sga; Total System Global Area 1224736768 bytes Fixed Size 2118688 bytes Variable Size 329100256 bytes Database Buffers 889192448 bytes Redo Buffers 4325376 bytes SQL> |
评论