Versions Compared

Key

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

...

Attribute
Description
Type
Default
Edit
Note
Actions 

Define the resource operation type.
OnOff value is the command resource. None is the resource command only for monitoring
.

STRING X 
ArgList 

It represents the necessary arguments for each type of resource.
Based on these arguments, you can create variables in an agent and characterize the types.
You can check it in the type.json file but the value cannot be modified by a user.

STRING X 
CleanTimeout 

It represents the time out until execution of CleanProgram is finished.
When the limit is exceeded, it will be forcefully terminated.

INTEGER60 secO 
FaultOnMonitorTimeouts 

If the timeout specified by this value occurs, it is regarded as trouble.
If it is '0', it is not regarded as trouble.

INTEGER4 timesO 
MonitorInterval

It represents the time interval until the next monitoring of online resource.
If the value is too small, it could mistakenly start monitoring before receiving the proper monitoring results.
If the value is too big, then it will take too long until it detects the status changes.

INTEGER10 secO 
MonitorTimeoutIt represents the time elapsed until monitoring is finished or terminated.INTEGER10 secO 
OfflineMonitorInterval

It is the time interval until the next monitoring of offline resource.
If the time interval is '0', the offline resources will not be monitored.

INTEGER60 secO 
OfflineTimeoutIt represents the max time until the final decision is made on the success/failure of resource going offline.INTEGER300 secO 
OnlineRetryLimitSet the number of retries if the resource fails to restart.INTEGER0 timeO 
OnlineTimeoutIt represents the max time until the final decision is made on the success/failure of resource going online.INTEGER300 secO 
OnlineTrustTime

It is the time to reset the restart number of resource.
Initialize the number of retries if the normal condition is maintained for the duration specified after the resource is started

INTEGER600 secO 
OnlineWaitLimit

If the time our occurs while determining whether the resource goes online properly, it will retry as many times as designated.
It is the time interval of retry is defined in 'MonitorInterval'.

NTEGER2 timesO 
* ToleranceLimit

When the monitoring results cannot be trusted , monitoring will be retried as many times as designated.
For instance, if the network condition is not good, and you cannot trust the ping test results, then you need to perform monitoring several more times until you get a good result.

INTEGER0 timeO 

 

CLI

...

Use (mctype

...

command)

리소스 타입에 관한 명령을 전달 합니다. 리소스 타입에 대해 속성 조회, 속성 값 변경 명령을 내릴 수 있습니다Sends command related the resource type. You can command to inquire about the attribute or change the attribute values.

Info

MCCS 는 설치시 최초 사용자 계정으로 id 가 'admin' 암호가 'password'인 계정을 생성합니다.
CLI 명령을 실행시 id 와 password를 입력하지 않으면 , 위의 최초 사용자 계정의 id와 암호로 실행됩니다.
따라서 최초 사용자의 패스워드 변경시, 필수적으로 CLI 명령에 id와 password를 옵션으로 입력해야만 합니다.

 When you install MCCS, the initial user account ID is set to 'admin' and the password is set to 'password'.
When you run the CLI command, you need to enter the ID and the password. Otherwise, the above initial ID and password will be used.
Thus, when you change the initial user password, you must enter the ID/password in the CLI command as options.

  

Syntax 

 

mctype [-u userid -pw password] -t resoruceType -a attribute

 

Options 

옵션Option설명Description

-h

도움말을 출력합니다Display Help.

-u 사용자 계정을 지정합니다Designate the user ID.
-pw 사용자 Password를 지정합니다Create the user password with the -u option.

-r

수정할 리소스 타입 이름을 지정 합니다Designate the name of resource type to be modified.

-a

수정할 리소스 타입의 속성 이름을 지정합니다Designate the attribute names for the resource type to be modified.

-list

리소스 타입 리스트가 나열 됩니다Display the list of resource types.
[ -t resourceType ]
특정 리소스 타입 지정시 지정한 리소스 타입에 대하여 나열 됩니다List the resource types designated when a specific resource type is selected.

 

Example

modify

MirrorDisk의 MonitorInterval 속성값을 수정합니다Modify the MonitorInterval attribute values for MirrorDisk.

 

mctype -modify -t MirrorDisk -a MonitorInterval value

 

list

...

Display the attribute values for all the resource types.
(If you enter -t

...

resourceType, the attribute values for the designated resource type will be displayed.)

 

mcnode -list [t -resourceType]