mkdir ~/.ssh
chmod 700 ~/.ssh
ssh-keygen -t rsa
ocfs2-2.6.9-55.ELsmp
ocfs2-2.6.9-55.ELsmp
http://oss.oracle.com/projects/ocfs2/files/RedHat/RHEL4/i386/1.2.5-2/
srvctl stop service -d -s
srvctl stop service -d devdb -s devdb
srvctl stop database -d
srvctl stop asm -n
srvctl stop asm -n
srvctl stop nodeapps -n
srvctl stop nodeapps -n
crs_stat -t
srvctl start nodeapps -n rac1
srvctl start nodeapps -n rac2
srvctl start asm -n rac1
srvctl start asm -n rac2
srvctl start database -d devdb
srvctl start service -d devdb
srvctl stop service -d devdb
srvctl stop database -d devdb
srvctl stop asm -n rac2
srvctl stop asm -n rac1
srvctl stop nodeapps -n rac2
srvctl stop nodeapps -n rac1
---
/etc/init.d
[root@rac2 init.d]# ./init.crs stop
00:00:00 /u01/app/oracle/product/10.2.0/db_1/perl/bin/perl /u01/app/oracle/product/10.2.0/db_1/bin/emwd.pl dbconsole /u01/app/oracle/product/10.2.0/db_1/rac2_devdb2/sysman/log/emdb.nohup
crs_stat -t
srvctl status nodeapps -n rac1
srvctl status nodeapps -n rac2
srvctl status asm -n rac1
srvctl status asm -n rac2
检查 Oracle 集群件的状态。
rac1-> crsctl check crs
CSS appears healthy
CRS appears healthy
EVM appears healthy
rac2-> crsctl check crs
CSS appears healthy
CRS appears healthy
EVM appears healthy
select
instance_name,
host_name,
archiver,
thread#,
status
from gv$instance;
sqlplus system@devdb1
sqlplus system/sys123@devdb1;
sqlplus system/sys123@devdb2;
sqlplus system/sys123@devdb ;
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/46907/viewspace-223908/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/46907/viewspace-223908/