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.
node2
node1
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.
3. 在第二个节点上运行时会多比在第一个节点上运行多执行一个任务
-------运行$CRS_HOME/bin/vipca.sh
VIPCA.sh主要是配置vip并启动crs的默认资源(未建库时默认为6个),多启动三个后台进程。
root@node1 # ps -ef|grep crs|grep -v grep
oracle 18347 17447 0 14:51:06 0:00 /oracle/crs/bin/evmlogger.bin -o /oracle/crs/evm/log/evmlogger.info -l /oracle/
oracle 17447 1 0 14:50:47 0:00 /oracle/crs/bin/evmd.bin
oracle 17763 17756 0 14:50:48 0:00 /oracle/crs/bin/ocssd.bin
oracle 17756 17643 0 14:50:48 0:00 /bin/sh -c ulimit -c unlimited; cd /oracle/crs/log/node1/cssd; /oracle/crs
oracle 21216 1 0 14:52:28 0:00 /oracle/crs/opmn/bin/ons -d
oracle 21217 21216 0 14:52:28 0:00 /oracle/crs/opmn/bin/ons -d
oracle 17771 17642 0 14:50:48 0:00 /bin/sh -c cd /oracle/crs/log/node1/cssd/oclsmon; ulimit -c unlimited; /ora
oracle 17773 17771 0 14:50:48 0:00 /oracle/crs/bin/oclsmon.bin
root 17449 1 0 14:50:47 0:01 /oracle/crs/bin/crsd.bin reboot
root@node2 # ps -ef|grep crs|grep -v grep
oracle 18212 18211 0 14:47:28 0:00 /oracle/crs/bin/ocssd.bin
oracle 27467 27466 0 14:52:25 0:00 /oracle/crs/opmn/bin/ons -d
oracle 25252 17886 0 14:51:16 0:00 /oracle/crs/bin/evmlogger.bin -o /oracle/crs/evm/log/evmlogger.info -l /oracle/
oracle 27466 1 0 14:52:25 0:00 /oracle/crs/opmn/bin/ons -d
oracle 18191 18180 0 14:47:28 0:00 /oracle/crs/bin/oclsmon.bin
oracle 17886 1 0 14:47:27 0:00 /oracle/crs/bin/evmd.bin
oracle 18180 18092 0 14:47:28 0:00 /bin/sh -c cd /oracle/crs/log/node2/cssd/oclsmon; ulimit -c unlimited; /ora
root 17889 1 0 14:47:27 0:00 /oracle/crs/bin/crsd.bin reboot
oracle 18211 18093 0 14:47:28 0:00 /bin/sh -c ulimit -c unlimited; cd /oracle/crs/log/node2/cssd; /oracle/crs
从现在node2上的进程就能看出,执行完vipca.sh后,会多出三个后台进程。
root@node1 # crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora....c03.gsd application ONLINE ONLINE node1
ora....c03.ons application ONLINE ONLINE node1
ora....c03.vip application ONLINE ONLINE node1
ora....c04.gsd application ONLINE ONLINE node2
ora....c04.ons application ONLINE ONLINE node2
ora....c04.vip application ONLINE ONLINE node1
4. 安装数据库软件(binary)时需在最后一步:执行$ORACLE_HOME/root.sh
root@node2 #$ORACLE_HOME/root.sh
Running Oracle10 root.sh script...
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /oracle/10g
Enter the full pathname of the local bin directory: [/usr/local/bin]:
The file "dbhome" already exists in /usr/local/bin. Overwrite it (y/n) [n]: y
Copying dbhome to /usr/local/bin ...
The file "oraenv" already exists in /usr/local/bin. Overwrite it (y/n) [n]: y
Copying oraenv to /usr/local/bi