在VMware Server 2.0.2上安装Oracle 10g RAC手把手详解(三)
mask 022
export LANG=en_US.UTF-8
rac1->export LANG=en
rac1->cd /soft
rac1->cd clusterware/
rac1->pwd
/soft/clusterware
rac1->ll
total 36
drwxrwxrwx 2 oracle oinstall 4096 Jun 3 12:10 cluvfy
drwxrwxrwx 6 oracle oinstall 4096 Jun 3 12:10 doc
drwxrwxrwx 4 oracle oinstall 4096 Jun 3 12:10 install
drwxrwxrwx 2 oracle oinstall 4096 Jun 3 12:10 response
drwxrwxrwx 2 oracle oinstall 4096 Jun 3 12:10 rpm
-rwxrwxrwx 1 oracle oinstall 1328 Jun 3 12:10 runInstaller
drwxrwxrwx 9 oracle oinstall 4096 Jun 3 12:14 stage
drwxrwxrwx 2 oracle oinstall 4096 Jun 3 12:14 upgrade
-rwxrwxrwx 1 oracle oinstall 3445 Jun 3 12:14 welcome.html
ocr disk:/ocfs/cluster/ocr
vote disk:/ocfs/cluster/votingdisk
[root@rac1 ~]# /u01/app/oracle/oraInventory/orainstRoot.sh
[root@rac2 ~]# /u01/app/oracle/oraInventory/orainstRoot.sh
[root@rac1 ~]# cd /u01/app/oracle/product/10.2.0/crs_1/bin
[root@rac1 bin]# ls -l vipca
-rwxr-xr-x 1 oracle oinstall 5014 Aug 12 02:01 vipca
[root@rac1 bin]# vi vipca
unset LD_ASSUME_KERNEL
[root@rac1 bin]# vim sr
vctl
unset LD_ASSUME_KERNEL
[root@rac2 bin]# vi vipca
unset LD_ASSUME_KERNEL
[root@rac2 bin]# vim srvctl
unset LD_ASSUME_KERNEL
[root@rac1 bin]# /u01/app/oracle/product/10.2.0/crs_1/root.sh
[root@rac2 bin]# /u01/app/oracle/product/10.2.0/crs_1/root.sh
dding daemons to inittab
Expecting the CRS daemons to be up within 600 seconds.
CSS is active on these nodes.
rac1
rac2
CSS is active on all nodes.
Waiting for the
Oracle CRSD and EVMD to start
Waiting for the Oracle CRSD and EVMD to start
Waiting for the Oracle CRSD and EVMD to start
Oracle CRS stack installed and running under init(1M)
Running vipca(silent) for configuring nodeapps
Error 0(Native: listNetInterfaces:[3])
[Error 0(Native: listNetInterfaces:[3])]
www.2cto.com
vipca
alias
[root@rac1 ~]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.8.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
10.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 eth1
[root@rac1 ~]# route add default gw 192.168.8.1
[root@rac1 ~]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.8.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
10.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 eth1
0.0.0.0 192.168.8.1 0.0.0.0 UG 0 0 0 eth0
[root@rac2 ~]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.8.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
10.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 eth
[root@rac2 ~]# route add default gw 192.168.8.1
[root@rac2 ~]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.8.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
10.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0