[oracle@rh4racdb02 bin]$ onsctl start
Number of onsconfiguration retrieved, numcfg = 2
onscfg[0]
{node = rh4racdb01, port = 6200}
Adding remote host rh4racdb01:6200
onscfg[1]
{node = rh4racdb02, port = 4948}
Adding remote host rh4racdb02:4948
Number of onsconfiguration retrieved, numcfg = 2
onscfg[0]
{node = rh4racdb01, port = 6200}
Adding remote host rh4racdb01:6200
onscfg[1]
{node = rh4racdb02, port = 4948}
Adding remote host rh4racdb02:4948
onsctl: ons started
[oracle@rh4racdb02 bin]$ ps -ef | grep opmn
oracle 19433 10 11:19 ?00:00:00 /u01/app/oracle/product/10.2.0/crs/opmn/bin/ons -d
oracle 19434 194331 11:19 ?00:00:00 /u01/app/oracle/product/10.2.0/crs/opmn/bin/ons -d
oracle 19499 133310 11:19 pts/200:00:00 grep opmn
[oracle@rh4racdb02 bin]$ onsctl ping
Number of onsconfiguration retrieved, numcfg = 2
onscfg[0]
{node = rh4racdb01, port = 6200}
Adding remote host rh4racdb01:6200
onscfg[1]
{node = rh4racdb02, port = 4948}
Adding remote host rh4racdb02:4948
ons is running ...
整个过程中, crs_stat 里面显示的ONS 都是online 的。
|