Oracle 11g RAC集群日常运维与管理

01-RAC基本维护命令

查看环境:/etc/hosts
#cat /etc/hosts
Oracle 11g RAC集群日常运维与管理_第1张图片

[root@ouzy01 ~]# cat /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4
::1         localhost localhost.localdomain localhost6
# Public
192.168.230.101 ouzy01
192.168.230.102 ouzy02
# Virtual
192.168.230.103 ouzy01-vip
192.168.230.104 ouzy02-vip
# Private
10.10.10.11 ouzy01-priv
10.10.10.12 ouzy02-priv
# Scan-ip
192.168.230.100 rac-scan

查询rac状态
#crs_stat -t

[grid@ouzy01 ~]$ crs_stat -t
Name           Type           Target    State     Host        
------------------------------------------------------------
ora.DATA.dg    ora....up.type ONLINE    ONLINE    ouzy01      
ora....ER.lsnr ora....e

你可能感兴趣的:(ORACLE)