ITPub博客

首页 > Linux操作系统 > Linux操作系统 > oracle rac

oracle rac

原创 Linux操作系统 作者:nokilled 时间:2008-04-01 20:56:44 0 删除 编辑

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/,如需转载,请注明出处,否则将追究法律责任。

上一篇: erp clone record
下一篇: linux学习点滴
请登录后发表评论 登录
全部评论

注册时间:2007-12-30

  • 博文量
    108
  • 访问量
    288346