문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 | ||
dbms:oracle:admin:oracleracmanage [2008/04/14 14:16] joang77 |
dbms:oracle:admin:oracleracmanage [2010/05/21 19:08] (현재) starlits |
||
---|---|---|---|
줄 1: | 줄 1: | ||
====== Oracle RAC Management ====== | ====== Oracle RAC Management ====== | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
===== srvctl ===== | ===== srvctl ===== | ||
- | === srvctl === | + | - Syntax : <color blue>**srvctl command object [options]**</ |
- | * Syntax : srvctl command object [options] | + | |
- | | + | |
+ | ===== srvctl command ===== | ||
^ command | ^ command | ||
|srvctl add|node applications, | |srvctl add|node applications, | ||
줄 28: | 줄 19: | ||
|srvctl setenv and unsetenv|node applications, | |srvctl setenv and unsetenv|node applications, | ||
- | * SRVCTL Objects | + | ===== SRVCTL Objects |
^ Object Noun Name ^ Abbreviation | ^ Object Noun Name ^ Abbreviation | ||
- | |asm|asm|ASM instances에서 add, configure, enable, start, obtain the status of, stop, disable, and remove명령어 사용| | + | |asm |asm |**ASM instances**에서 add, configure, enable, start, obtain the status of, stop, disable, and remove명령어 사용| |
- | |database|db|databases에서 add, configure, modify, manage environment variables for, enable, start, obtain the status of, stop, disable, and remove 명령어 사용| | + | |database |db |**databases**에서 add, configure, modify, manage environment variables for, enable, start, obtain the status of, stop, disable, and remove 명령어 사용| |
- | |instance|inst|database instances에서 add, configure, modify, manage environment variables for, enable, start, obtain the status of, stop, and remove 명령어 사용| | + | |instance |inst |**database instances**에서 add, configure, modify, manage environment variables for, enable, start, obtain the status of, stop, and remove 명령어 사용| |
- | |nodeapps|no abbreviation|node applications에서 add, configure, modify, manage environment variables for, start, obtain the status of, stop, and remove 명령어 사용| | + | |nodeapps |no abbreviation |**node applications**에서 add, configure, modify, manage environment variables for, start, obtain the status of, stop, and remove 명령어 사용| |
- | |service|serv|cluster database에서 서비스를 add, configure, modify, manage environment variables for, enable, start, obtain the status of, relocate, disable, stop, and remove 할 수 있는 명령어 사용| | + | |service |serv |**cluster database**에서 서비스를 add, configure, modify, manage environment variables for, enable, start, obtain the status of, relocate, disable, stop, and remove 할 수 있는 명령어 사용| |
- | + | ||
- | | + | ===== SRVCTL Option ===== |
+ | | ||
^ Option | ^ Option | ||
줄 54: | 줄 46: | ||
|-q|Prompt for user credentials connect string from standard input(database) \\ Query connect string from standard input(instance)| | |-q|Prompt for user credentials connect string from standard input(database) \\ Query connect string from standard input(instance)| | ||
|-h|도움말을 보여줌| | |-h|도움말을 보여줌| | ||
- | |-f force|서비스를 강제로 중단; 모든 세션이 transactionally하게 SRVCTL과 연결이 끊겨서 다른 인스턴스로 서비스가 재연결되어 세션의 서비스가 제공됨| | + | |-f force|서비스를 강제로 중단; |
|-f|비활성화된 applications 포함| | |-f|비활성화된 applications 포함| | ||
|-v|Verbose output| | |-v|Verbose output| | ||
- | + | ===== SRVCTL Example ===== | |
- | === srvctl 예제(시작·종료) | + | |
- RAC 전체를 기동한다. < | - RAC 전체를 기동한다. < | ||
# srvctl start database -d SOAF | # srvctl start database -d SOAF | ||
줄 96: | 줄 86: | ||
# srvctl config nodeapps -n rac1 | # srvctl config nodeapps -n rac1 | ||
</ | </ | ||
+ | |||
줄 105: | 줄 96: | ||
===== crsctl ===== | ===== crsctl ===== | ||
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | * command | + | ===== crsctl |
^ Command | ^ Command | ||
줄 146: | 줄 137: | ||
===== ASM ===== | ===== ASM ===== | ||
- | - ASM디스크 확인 < | + | - ASM디스크 확인 < |
- | SQL> | + | select d.name, a.path, a.state |
+ | from v$asm_disk a, v$asm_diskgroup d | ||
+ | where a.group_number=d.group_number; | ||
</ | </ | ||