情况1:保养数据库及操作系统,服务器,需要关闭DB(所有实例),OS及SERVER
a.首先停止oracle10g环境$srvctl status nodeapps -n dbrac1(检查vip,gsd,listener,ONS等)
[oracle@rac2 ~]$ srvctl status nodeapps -n rac2
VIP 正在运行的节点: rac2
GSD 正在运行的节点: rac2
监听程序正在节点上运行: rac2
ONS 守护程序正在节点上运行:rac2
2.$crsctl check crs(检查 oracle cluster的状态:CSS,CRS,EVM)
[oracle@rac2 ~]$ crsctl check crs
CSS appears healthy
CRS appears healthy
EVM appears healthy
3.$crs_stat -t(全面检查状态)
[oracle@rac2 ~]$ crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora.iptv.db application ONLINE ONLINE rac2
ora....v1.inst application ONLINE OFFLINE
ora....v2.inst application ONLINE ONLINE rac2
ora....SM1.asm application ONLINE OFFLINE
ora....C1.lsnr application ONLINE OFFLINE
ora.rac1.gsd application ONLINE OFFLINE
ora.rac1.ons application ONLINE OFFLINE
ora.rac1.vip application ONLINE ONLINE rac2
ora....SM2.asm application ONLINE ONLINE rac2
ora....C2.lsnr application ONLINE ONLINE rac2
ora.rac2.gsd application ONLINE ONLINE rac2
ora.rac2.ons application ONLINE ONLINE rac2
ora.rac2.vip application ONLINE ONLINE rac2