Section | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Column | |||||||||||||
Section | |||||||||||||
|
핫빗을 수정하는 방법
...
핫빗 구성 편집 초기화면이 나타납니다.
[그림] 핫빗 구성 편집 초기화면
핫빗을 수정하고 테스트 버튼으로 연결상태를 확인합니다.
[그림] 핫빗 수정 후 연결상태 테스트 화면
...
노드이름을 변경하는 방법
...
CLI 사용(mcres 명령)
mchb 명령
핫빗에 관한 명령을 전달 합니다. 핫빗 구성 리스트, 핫빗 구성 , 핫빗 수정, 클러스터명 수정, 핫빗 포트 수정을 명령 내릴 수 있습니다.
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 ViewEdit 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] Restart Engine Completed Message
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] - command options [-c newClustername ] [ -hbport port ] [ - n node nodeName] |
Options
...
...
-h
...
Option | Description |
-h | Display Help. |
-u | Designate the user ID. |
-pw | Enter 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
testCluster 클러스터를 이름을 newCluster로 변경합니다The testCluster cluster name is changed to newCluster.
mchb -clustermodify -u admin -pw password password -clustermodify -c newCluster |
hbport핫빗
포트를 12345로 변경합니다Change the heartbeat port to 12345.
mchb -hbport -u userid admin -pw password -hbport 12345 |
hbmodify
구성되어 있는 핫빗 라인중에 Primary1 핫빗을 In the heartbeat lines, the Primary1 heartbeat is changed to 200.200.200.1 과 and 200.200.200.2 로 변경합니다.
mchb -hbmodify -u userid admin -pw password 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 -newcofig -u userid admin -pw password 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 |