CRS Process 확인
[root@rac1 bin]# ps -ef |grep crs
root 11568 1 1 11:04 ? 00:01:44 /u01/app/11.2.0/grid/bin/crsd.bin reboot
oracle 13636 12455 0 13:02 pts/1 00:00:00 grep crs
Resource Status 확인
[root@rac1 bin]# pwd
/u01/app/11.2.0/grid/bin
[root@rac1 bin]# ./crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora....ER.lsnr ora....er.type ONLINE ONLINE rac1
ora....N1.lsnr ora....er.type ONLINE ONLINE rac1
ora....N2.lsnr ora....er.type ONLINE ONLINE rac1
ora....N3.lsnr ora....er.type ONLINE ONLINE rac1
ora.asm ora.asm.type OFFLINE OFFLINE
ora.eons ora.eons.type ONLINE ONLINE rac1
ora.gsd ora.gsd.type OFFLINE OFFLINE
ora....network ora....rk.type ONLINE ONLINE rac1
ora.oc4j ora.oc4j.type OFFLINE OFFLINE
ora.ons ora.ons.type ONLINE ONLINE rac1
ora.rac.db ora....se.type ONLINE ONLINE rac1
ora....SM1.asm application OFFLINE OFFLINE
ora....C1.lsnr application ONLINE ONLINE rac1
ora.rac1.gsd application OFFLINE OFFLINE
ora.rac1.ons application ONLINE ONLINE rac1
ora.rac1.vip ora....t1.type ONLINE ONLINE rac1
ora.rac2.vip ora....t1.type ONLINE ONLINE rac1
ora.scan1.vip ora....ip.type ONLINE ONLINE rac1
ora.scan2.vip ora....ip.type ONLINE ONLINE rac1
ora.scan3.vip ora....ip.type ONLINE ONLINE rac1
노드네임 확인
[oracle@rac1 ~]$ grid_env <--.bash_profile에 그리드관련 환경변수 셋팅한것 적용
[oracle@rac1 ~]$ olsnodes -n
rac1 1
rac2 2
CRS 실행
[root@rac2 bin]# crsctl start crs
CRS-4123: Oracle High Availability Services has been started.
ASM 사용시 start/stop 방법
oracle@rac2 ~]$ srvctl start/stop asm -n rac2
Listener start/stop 방법
[oracle@rac2 ~]$ srvctl start listener -n rac2 -l listener
Instance start/stop 방법
[oracle@rac2 ~]$ srvctl start instance -d rac -i rac2 <--DB Unique Name=rac , instance_name=rac2
Database Startup 방법
[root@rac1 bin]# crsctl start crs
CRS-4123: Oracle High Availability Services has been started.
[root@rac1 bin]# ./crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora....ER.lsnr ora....er.type ONLINE ONLINE rac1
ora....N1.lsnr ora....er.type ONLINE ONLINE rac1
ora....N2.lsnr ora....er.type ONLINE ONLINE rac1
ora....N3.lsnr ora....er.type ONLINE ONLINE rac1
ora.asm ora.asm.type OFFLINE OFFLINE
ora.eons ora.eons.type ONLINE OFFLINE
ora.gsd ora.gsd.type OFFLINE OFFLINE
ora....network ora....rk.type ONLINE ONLINE rac1
ora.oc4j ora.oc4j.type OFFLINE OFFLINE
ora.ons ora.ons.type ONLINE ONLINE rac1
ora.rac.db ora....se.type ONLINE OFFLINE <--DB가 올라가고 있는중
ora....SM1.asm application OFFLINE OFFLINE
ora....C1.lsnr application ONLINE ONLINE rac1
ora.rac1.gsd application OFFLINE OFFLINE
ora.rac1.ons application ONLINE ONLINE rac1
ora.rac1.vip ora....t1.type ONLINE ONLINE rac1
ora.rac2.vip ora....t1.type OFFLINE OFFLINE
ora.scan1.vip ora....ip.type ONLINE ONLINE rac1
ora.scan2.vip ora....ip.type ONLINE ONLINE rac1
ora.scan3.vip ora....ip.type ONLINE ONLINE rac1
DB가 올라가고 있는 중이라 메세지 발생
[oracle@rac1 ~]$ srvctl start database -d rac
PRCC-1014 : rac was already running
'Oracle > admin' 카테고리의 다른 글
Purge Scheduler Job Log (0) | 2016.08.30 |
---|---|
ORACLE RAC ON/RAC OFF (0) | 2016.08.30 |
솔라리스 커널파라메터 project 셋팅 참고 (0) | 2016.07.28 |
Oracle 권고 parameters (0) | 2016.07.18 |
Rule Base Optimizer 우선수위 (0) | 2016.07.18 |