Section | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
핫빗을 수정하는 방법
- 콘솔에서 클러스터를 선택합니다.
[그림] 클러스터 선택 화면 - 메뉴의 편집 - 핫빗 구성 편집을 선택합니다.
[그림] 핫빗 구성 편집 화면 - 확인을 누르면 핫빗 구성을 변경이 진행됩니다.
[그림] 핫빗 구성 변경 확인 화면 - 핫빗 구성 편집 초기화면이 나타납니다.
[그림] 핫빗 구성 편집 초기화면 - 핫빗을 수정하고 테스트 버튼으로 연결상태를 확인합니다.
[그림] 핫빗 수정 후 연결상태 테스트 화면 - 적용 버튼을 클릭하여 핫빗 내용을 수정한것을 적용합니다.
[그림] 핫빗 적용 확인 창 화면 - 엔진이 재 시작되면 재시작되었다는 메시지가 표시됩니다.
[그림] 엔진 재 시작 완료 메시지
노드이름을 변경하는 방법
...
How to edit heartbeat
- After selecting a cluster in the console, go to the 'Menu' and select 'Edit' - 'Heartbeat Config Edit'.
[Figure] Edit Heartbeat Configuration View - It shows heartbeat configuration setting.
[Figure] Heartbeat Configuration Edit Initial View - Edit heartbeat and check connection state by clicking test.
[Figure] Test Connection State after changing heartbeat - Click "Yes" button to apply heartbeat changes.
[Figure] Check heartbeat changes View - After applying heartbeat, wait for restart.
[Figure] After Restart Engine and Waiting View - 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.
Info |
---|
When you install MCCS, the initial user account ID is set to 'admin' and the password is set to 'password'. |
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 |
clustermodify
The testCluster cluster name is changed to newCluster.
mchb -u admin -pw password -clustermodify -u admin -pw password -c newCluster |
hbport
Change the heartbeat port to 12345.
mchb -u userid -pw password -hbport 12345 |
hbmodify
In the heartbeat lines, the Primary1 heartbeat is changed to 200.200.200.1 and 200.200.200.2.
mchb -u userid -pw password -hbmodify -node Active 200.200.200.1,100.100.100.1,10.10.7.71 -node -StandBy 200.200.200.2,100.100.100.2,10.10.7.72 |
newcofig
Configure the heartbeat.
Cluster name: MCCS_Cluster
Heartbeat port: 14321 , network address of other node: 10.10.7.72
Node name: Active , StandBy
mchb -u admin -pw password -newcofig -clustername MCCS_Cluster -hbport 14321 -remote 10.10.7.72 -node Active 100.100.100.1,200.200.200.1,10.10.7.71 -node StandBy 100.100.100.2,200.200.200.2,10.10.7.72 |