'Oracle Database/Oracle Admin'에 해당되는 글 21건
- 2011.03.02 Oracle 11g RAC Basic Commands (운영 기본 명령어)
Oracle 11g RAC Basic Commands (운영 기본 명령어)
#####################################################################################
-- Listener (stop, start, status)
-- srvctl stop listener -n <hostname> -l LISTENER
#####################################################################################
srvctl stop listener -n rac1 -l LISTENER
srvctl start listener -n rac1 -l LISTENER
srvctl status listener -n rac1 -l LISTENER
srvctl stop listener -n rac2 -l LISTENER
srvctl start listener -n rac2 -l LISTENER
srvctl status listener -n rac2 -l LISTENER
#####################################################################################
-- Oracle instance and service (status)
-- srvctl status database -d <database_name>
#####################################################################################
srvctl status database -d CRMDB
#####################################################################################
-- Oracle 11g RAC stop commands
-- srvctl stop instance -d <database_name> -i CRMDB1<instance_name>
-- srvctl stop listener -n r<hostname> -l LISTENER
-- srvctl stop nodeapps -n <hostname>
#####################################################################################
--RAC1
emctl stop dbconsole
srvctl stop instance -d CRMDB -i CRMDB1
srvctl status instance -d CRMDB -i CRMDB1
srvctl stop listener -n rac1 -l LISTENER
srvctl status listener -n rac1 -l LISTENER
srvctl stop nodeapps -n rac1
--RAC2
emctl stop dbconsole
srvctl stop instance -d CRMDB -i CRMDB2
srvctl status instance -d CRMDB -i CRMDB1
srvctl stop listener -n rac2 -l LISTENER
srvctl status listener -n rac2 -l LISTENER
srvctl stop nodeapps -n rac2
#####################################################################################
-- Oracle 11g RAC start commands
-- srvctl start listener -n r<hostname> -l LISTENER
-- srvctl start instance -d <database_name> -i <instance_name>
#####################################################################################
--RAC1
srvctl start nodeapps -n rac1
srvctl status nodeapps -n rac1
srvctl start listener -n rac1 -l LISTENER
srvctl status listener -n rac1 -l LISTENER
srvctl start instance -d CRMDB -i CRMDB1
srvctl status instance -d CRMDB -i CRMDB1
emctl start dbconsole
--RAC2
srvctl start nodeapps -n rac2
srvctl status nodeapps -n rac2
srvctl start listener -n rac2 -l LISTENER
srvctl status listener -n rac2 -l LISTENER
srvctl start instance -d CRMDB -i CRMDB2
srvctl status instance -d CRMDB -i CRMDB2
emctl start dbconsole
#####################################################################################
-- All Database (stop, start)
-- srvctl start database -d <database name>
#####################################################################################
srvctl start database -d CRMDB
srvctl stop database -d CRMDB
'Oracle Database > Oracle Admin' 카테고리의 다른 글
[오라클] 히든 파라미터 보기 Hidden parameter View (0) | 2012.03.09 |
---|---|
[오라클] SGA 영역 FLUSH 하기 ALTER SYSTEM FLUSH (0) | 2012.03.09 |
[오라클] Oracle 11g 패스워드 대소문자 및 패스워드 자동 잠김 변경 (0) | 2011.01.31 |
[오라클] 특정 데이터파일에 들어있는 오브젝트 조회 (0) | 2010.12.24 |
[오라클] Trigger를 이용한 사용자 DDL 권한 금지 (0) | 2010.12.23 |