4- Node

4- Node

Node Attribute

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 or not to been started according to the bootMode value setting 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

 

IsolationTestAddresses

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

 

LicenseType

It 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

 

PrimaryHBStatus

It indicates state of primary heartbeat

IP ADDRESS

 

X

 

SecondaryHB

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

IP ADDRESS

 

X

 

SecondaryHBStatus

It indicates state of secondary heartbeat

IP ADDRESS

 

X

 

StandAlone

It indicates whether standalone mode or not.

BOOLEAN

 false

X

 

 

 

How MCCS Works

MCCS connects nodes as one cluster through heartbeat connection. 
Action of the cluster is decided by the state and role of the node, and node states are decided not only by the system state but also the state of heartbeat connection.
Following are node states for Cluster Mode. 

Node states of the Cluster Mode

State

Description

State

Description

EXITED

This is a state where MCCS engine is terminated..

INITING

This is a state before configuring the heartbeat after starting the engine.
This is initial state before both nodes communicate each other through heartbeat network and collect mutual status of node state after MCCS engine is started.
This state is normally changed to the LOCAL_BUILD or REMOTE_BUILD state, but if there is a problem with the configuration or physical environment, it remains in the INITING state,
or is automatically terminated to the EXITED state.

LOCAL_BUILD

When every node in the cluster is in the INITING state, the node with the highest priority at establishing of heartbeat communication is changed to the LOCAL_BUILD state,
and the node in this state forms a cluster database from the local configuration file($MCCS_HOME/config/main.json).
Only one node within the cluster goes through this state to the RUNNING state, and other nodes undergo the REMOTE_BUILD state that receives information from that node.

REMOTE_BUILD

When a node in the INITING state detects a node in the RUNNING state through heartbeat communication, it establishes by downloading the configuration

RUNNING

This is the state when establishing a configuration database through the LOCAL_BUILD or REMOTE_BUILD is completed,
and starts agents and group administrators of all the resources defined at this state.

FAULTED

When all the heartbeats with the node in the RUNNING state are disconnected, the node is FAULTED.

 

 

Action step according to Node State

Following is the process of the change of the node state of MCCS.