Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

※ 위의 표에서  '네트워크카드 리소스' 는 ' * ' 표시 되어있는 속성값만 사용합니다.

 

*Critical

장애 발생시에 페일오버 시킬 것인지를 나타내는 속성입니다.

...

testGroup그룹에 복합 응용 타입으로 testResource 를 생성합니다. 

 

mcres -add testResource -t Application -g testGroup

 

delete

testResource 리소스를 삭제합니다. 

 

mcres -delete testResource

 

...

testResource 리소스를 활성화시킵니다. 

 

mcres -enable testResource

 

...

testResource 리소스를 비활성화 시킵니다. 

 

mcres -disable testResource

 

...

testGroup 에 속한 모든 리소스를 interval 간격으로 모니터링 합니다. 주기가 지정되지 않은 경우에는 3초가 기본값으로 지정됩니다. 

 

mcres -monitor [testGroup] [-t interval(seconds)]

 

testGroup을 10초 간격으로 모니터링 합니다. 

 

mcres -monitor testGroup -t 10

 

...

testResource 리소스의 attribute를 value 값으로 수정합니다. 

 

mcres -modify testResource -a attribute value [ -n node]

 

testGroup의 testResource 리소스의 User속성 값을 administrator로 수정합니다. 

 

mcres -modify testResource -a User administrator -n testGroup

 

...

resource1을 부모로 resource2를 자식으로 의존 관계를 생성합니다. 

 

mcres -link resource1 resource2

 

리소스 의존 관계를 삭제합니다. 

 

mcres -unlink resource1 resource2

 

...

(실제 속성 값 수정은 modify 명령을 통해 수정해 주어야 합니다.)  

 

mcres -local testResource -a attribute

 

...

testResource 의 속성을 모든 노드들의 속성값에 대하여 공통된 값을 입력할 수 있도록 공용화 합니다. 

 

mcres -global testResource -a attribute [value]

 

testResource 의 속성 User를 전체 속성으로 값을 administrator로 설정합니다. 

 

mcres -global testResource -a User administrator

 

...

testNode에 있는 testResource 리소스를 온라인 시킵니다.

 

mcres -online testResource -n testNode

 

...

testNode의 testResource 리소스를 오프라인 시킵니다. 

 

mcres -offline testResource -n testNode

 

...

testNode의 testResource 리소스의 자식 리소스를 오프라인 시킵니다. 

 

mcres -offlineprop testResource -n testNode

 

...

testNode의 testResource 리소스를 탐색합니다.

 

mcres -probe testResource -n testNode

 

...

testNode의 testResource 리소스의 에러를 제거합니다.

 

mcres -clear testResource [ -n testNode]

 

list

현재 리소스 상태를 출력합니다.

 

mcres -list [resource [ -a attribute]] | [-g group [-a attribute]]