...
리소스에 따른 그룹 자동 시작 옵션
필수 조건 | 미러디스크 DRBD가 있을 경우 | 미러 디스크 DRBD가 없을 경우 | |
---|---|---|---|
AutoStart 가 true 로 설정되어 있어야 합니다. |
| 1.모든 원격 노드 가 FAULTED상태가 아니어야 한다. | 1.양 노드가 부팅 될 경우는 먼저 부팅한 노드로 자동 시작됩니다 .한 노드가 부팅 될 경우는 원격노드가 장애상태 일 경우만 자동 시작 됩니다.. |
*Failover (true/false)
장애로 인한 페일오버가 진행 중인지를 나타냅니다.
...
Info |
---|
MCCS 는 설치시 최초 사용자 계정으로 id 가 'admin' 암호가 'password'인 계정을 생성합니다. |
Syntax
mcgroup [-u userid -pw password] [-ip node_ip_address] [-p port] -command [ group ] [-a attribute] [-r resource] [-n node] |
...
Example
add
그룹 testGroup을 생성합니다.
mcgroup -add testGroup |
delete
그룹 testGroup을 삭제합니다.
mcgroup -delete testGroup |
...
testNode에서 testGroup을 온라인 시킵니다.
mcgroup -online testGroup [-n testNode] |
...
testNode에서 testGroup을 오프라인 시킵니다.
mcgroup -offline testGroup [-n testNode] |
...
testNode로 testGroup을 페일오버 시킵니다.
mcgroup -move testGroup [-n testNode] |
...
testNode에서 testGroup의 장애 표시를 제거합니다.
mcgroup -clear testGroup [-n testNode] |
...
testNode의 testGroup을 초기화 시킵니다.
mcgroup -flush testGroup -n testNode |
...
testNode의 testGroup 속성을 수정합니다.
mcgroup -modify test -a attribute value -n testNode |
testNode의 testGroup 속성인 AutoStart를 true로 변경합니다.
mcgroup -modify testGroup -a AutoStart true -n testNode |
list
그룹 상태를 출력합니다.
mcgroup -list [group [-all] | [-dep [-r resource]] | [-a attribute] [-n testNode]] |
그룹의 모든 속성값을 출력합니다.
mcgroup [-ip node_ipaddress] [-p port] -list [group [ -all]] |
그룹에 속한 리소스의 의존성을 보여줍니다.
mcgroup [-ip node_ipaddress] [-p port] -list [-dep [-r resource]] |
그룹의 속성값을 확인합니다.
mcgroup [-ip node_ipaddress] [-p port] -list [-a attribute] [-n testNode]] |
...
testGroup을 임시 잠금 상태로 합니다.
mcgroup -lock testGroup |
testGroup을 영구 잠금 상태로 합니다.
mcgroup -lock testGroup -p |
unlock
testGroup의 잠금 상태를 해제합니다.
mcgroup -unlock testGroup |
...
test Node의 testGroup 상태를 출력합니다.
mcgroup -state testGroup [-n testNode] |
...
testGroup 상태를 interval 간격으로 모니터링 합니다.
mcgroup -monitor testGroup [-t interval(seconds)] |