Appendix F- Modify HeartBeat Configuration

Appendix F- Modify HeartBeat Configuration

How to edit heartbeat

  1. After selecting a cluster in the console, go to the 'Menu' and select 'Edit' - 'Heartbeat Config Edit'.


    [Figure] Edit Heartbeat Configuration View

  2. It shows heartbeat configuration setting.


    [Figure] Heartbeat Configuration Edit Initial View

  3. Edit heartbeat and check connection state by clicking test. 


    [Figure] Test Connection State after changing heartbeat

  4. Click "Yes" button to apply heartbeat changes. 


    [Figure] Check heartbeat changes View


  5. After applying heartbeat, wait for restart.


    [Figure] After Restart Engine and Waiting View

  6. When the engine is restarted, a message will appear.


    [Figure] Exit Console View


 

CLI Use(mchb command)

mchb command

Send the heartbeat related command.
You can issue the following commands: heartbeat configuration listing, heartbeat configuration, heartbeat modification, cluster name modification, and heartbeat port modification.

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

 

mchb [-u userid] [-pw password] -options [-c newClustername ] [ -hbport port ] [ -node nodeName]

Options

Option

Description

-h

Display Help.

-u

Designate the user ID.

-pw

Create the user password with the -u option.

-show

It shows the currently configured heartbeat information.

-clustermodify

Enter the new cluster name to switch.

-hbport

Enter the new heartbeat port to switch.

-hbmodify

Change the heartbeat configuration.

-newconfig

Used when you configure the heartbeat for the first time.

Example

show

You can see the heartbeat information configured.

 

mchb -u admin -pw password -show