RAC 11GR2 in linux vmware
时间:2010-10-27 来源:linnong
host1: racnode1
host2: racnode2 modify /etc/hosts(both host)
add racnode1,racode2,racnode1-priv,racnode2-priv,racnode1-vip,racnode2-vip set bind(DNS) in racnode1, add racnode-cluster-scan item in the DNS start/stop cluster root: /u01/app/11.2.0/grid/bin/crsctl start/stop cluster -n racnode1 (stop node1)
-all (stop both nodes)
/u01/app/11.2.0/grid/bin/crs_stat -t (view cluster status) start/stop database(instances) oracle:srvctl start/stop database -d ora11g( start/stop database in both node)
srvctl start/stop instance -d ora11g -i ora11g1( start/stop instance ora11g1 in node1) notes: 1)dns must start in node1
2)modify archive/noarchive must shutdown all instances. manual start a instance in mount status, use
'alter database archivelog' to start archive mode.
host2: racnode2 modify /etc/hosts(both host)
add racnode1,racode2,racnode1-priv,racnode2-priv,racnode1-vip,racnode2-vip set bind(DNS) in racnode1, add racnode-cluster-scan item in the DNS start/stop cluster root: /u01/app/11.2.0/grid/bin/crsctl start/stop cluster -n racnode1 (stop node1)
-all (stop both nodes)
/u01/app/11.2.0/grid/bin/crs_stat -t (view cluster status) start/stop database(instances) oracle:srvctl start/stop database -d ora11g( start/stop database in both node)
srvctl start/stop instance -d ora11g -i ora11g1( start/stop instance ora11g1 in node1) notes: 1)dns must start in node1
2)modify archive/noarchive must shutdown all instances. manual start a instance in mount status, use
'alter database archivelog' to start archive mode.
相关阅读 更多 +