Versions Compared

Key

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

 The unit of host server that composes a cluster.
If two nodes are used to compose a cluster, it is called a two node cluster. If one node is used, it is called a single node cluster.
In MCCS, you can register max two nodes for a cluster.


Column
width350px
Panel

이 페이지의 주요 내용

Table of Contents
maxLevel4

...

Node attribute can be identified from NodeAttributes view of MCCS console.
From the node management view of MCCS console, select node, then select the ‘Node Attributes’ tab located on right top of detailed information panel.
The values of gray colored are for read only. They just contain and show the information of node state. The values of white colored are configurable by user definition. Below is description of some of them.

[그림] 노드 속성 화면Figure] Node Attribute View

 

Attribute

Description

Type

Default

Edit

Note
BootMode

It is value that indicate whether auto-start or not when MCCS service starts..

BOOLEAN X 
ExpirationDate

It shows license MAC of the node.

STRING   
HostID

It shows license MAC of the node.

STRING X 
IsolationTestAddress

It enters the IP address to test Isolation. It is recommended the reliable IP address.
If two or more IPs are entered, they will be separated by ",".
If no IP address is entered, the split brain cannot be identified.

IP ADDRESS O 
LicenseTypeIt shows license type of the node.STRING X 

NodeName

It indicated the name of the node.
You can use an actual host name or nickname. 
In any case, it should be a unique name within a cluster.

NAME

 

X

 

NodeState

It indicated the state of the node.

STRING

 

X

 

PrimaryHB

It shows an IP address of the Primary Heartbeat defined in the MCCS server.

IP ADDRESS

 

X

 
PrimaryHBStatusIt indicates state of primary heartbeatIP ADDRESS X 

SecondaryHB

It shows an IP address of the Secondary Heartbeat defined in the MCCS server.

IP ADDRESS

 

X

 
SecondaryHBStatusIt indicates state of secondary heartbeatIP ADDRESS X 
StandAlone

It indicates whether standalone mode or not.

BOOLEAN falseX 

...

핫빗 네트워크의 단절이 클러스터 속성에 정의되어 있는 일정 시간 간격 이상의 시간차로 발생할 경우는 노드 장애 보다는 핫빗 네트워크 전체에 대한 불안정을 의심할 수 있습니다. 
Thus, it is deemed that the heartbeat node status cannot be trusted and it does not detect system failures but maintains the current status. When heartbeat communication is restored, the nodes in the clusters will restart the MCCS service and return to the running status.
그렇지 않으면 INITING 상태에서 핫빗 통신이 정상화될 때까지 대기하게 됩니다.

Isolation

일정 시간 내에 모든 핫빗이 단절된 경우라도 상대 노드를 장애로 판단하기 전에 먼저 로컬 노드 자신이 모든 네트워크로부터 단절된 상황인지를 확인할 필요가 있습니다.
만일 게이트웨이 혹는 DNS 서버와 같이 공인된 네트워크 지점과의 통신이 가능한 상태라면 로컬 노드 자신은 단절된 상황은 아니며, 상대 노드가 장애 상태인 것으로 판단하여 상대 노드에서 운영중인 서비스의 복구를 시도할 수 있습니다.
그러나 그렇지 않은 경우에는 상대 노드가 로컬 노드의 상황을 고립으로 판단합니다.
상대 노드는 로컬 노드를 장애 상태로 결정하고, 로컬에서 운영중인 서비스에 대한 복구를 시도하기 때문에, 로컬 노드는 가능한 빨리 운영중인 서비스를 종료해야 합니다Before declaring the opposite node as a failure even when all the heartbeats are disconnected within a certain time period, MCCS check the local node is disconnected from the whole network.
If the node can communicate to authorized network points such as gateway or DNS server, the local node is not disconnected, and it can be concluded that the opposite node is in a failure state and will not try to recover.
It that is not the case, it can be considered as isolation state.
Since standby node considers local node has a failure while local is trying to recover the service, service on local node needs to be terminated as soon as possible.

Remote Node Fault

When a local node cannot communicate to opposite node within a defined timeout and it is not in an isolation state, local node will try to keep its state as RUNNING, and bring ONLINE the services which taken OFFLINE from remote node.

 

 

CLI

...

Use(mcnode

...

command)

노드에 관한 명령을 전달 합니다. 노드에 대해 속성 조회, 속성 값 변경, 라이선스 입력, 서포트 파일 다운로드 명령을 내릴 수 있습니다It sends the node commands. You can command to inquire about or change the node attributes, enter the license or download the support file.

Info

MCCS 는 설치시 최초 사용자 계정으로 id 가 When you install MCCS, the initial user account ID is set to 'admin' 암호가 and the password is set to 'password'인 계정을 생성합니다.
CLI 명령을 실행시 id 와 password를 입력하지 않으면 , 위의 최초 사용자 계정의 id와 암호로 실행됩니다.
따라서 최초 사용자의 패스워드 변경시, 필수적으로 CLI 명령에 id와 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

Code Block
mcnode [-n nodename] [-a attribute] [-l license] [-p download_path]

 

Options

옵션Option설명Description

-h

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

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

-n

명령을 실행하기 위해 접근할 노드를 지정합니다Designate a node to be accessed to run the command.

-a

If the [modify] 명령일 경우 변경할 속성과 속성값을 지정합니다command is used, set the attribute and the attribute values to change.
attribute : 그룹의 속성을 지정합니다Designate the group attribute
.

-p

서포트 파일 다운 받을 경로를 지정합니다. path 지정 생략시 user.home으로 다운로드 됩니다Designate the path for downloading the support file. If you do not enter the path, it will be downloaded to 'user.home'.

-l지정한 노드의 입력할 라이선스 값을 지정합니다Enter the license value to be entered for the designated node.

 

Example

modify

Modify the attribute values for testNode-1의 노드 속성값을 수정합니다1.

Code Block
mcnode -u admin -pw password -modify -n testNode-1 -a IsolationTestAddress value

license

Enter the license for testNode-1 노드의 라이선스를 입력합니다.

Code Block
mcnode -u admin -pw password -license -n TestNode-1 [ -all ] license_value

 

support

Download the support file of testNode-1 노드의 서포트 파일을 to /root/Desktop/mantech 에 다운로드 받습니다.
(If you enter -all 입력시 노드 전체에 대하여 서포트파일을 생성 후 다운로드 합니다all, it will create the support file for all the nodes and then download them.)

Code Block
mcnode -u admin -pw password -supprot [-n TestNode-1 (-all)] -p /root/Desktop/mantech

 

list

노드의 속성 리스트를 보여줍니다Show the list of node attributes.
(noname 입력시 입력한 해당 노드에 대한 속성 값만 출력If you enter noname, it will only display the attribute values for the node entered.)

Code Block
mcnode -u admin -pw password -list (-n nodename)