| Bug #42360 | Support for MySQL + DRBD failover | ||
|---|---|---|---|
| Submitted: | 27 Jan 3:12 | Modified: | 27 Jan 8:27 |
| Reporter: | Meiji KIMURA | ||
| Status: | Verified | ||
| Category: | Monitoring: Agent | Severity: | S4 (Feature request) |
| Version: | 2.0 | OS: | Any |
| Assigned to: | Mark Matthews | Target Version: | |
| Tags: | ha | ||
| Triage: | Needs Triage: D5 (Feature request) | ||
[27 Jan 3:12]
Meiji KIMURA
[28 Jan 3:19]
Meiji KIMURA
[Suggested fix]
(3) provide a method to take over contens of mysql.inventory from Active to Client.
An example of contents of mysql.inventory is,
+--------+--------------------------------------+
| name | value |
+--------+--------------------------------------+
| uuid | 2273a4a8-4469-4779-9750-66bb33251bda |
| hostid | mac:{001c239da3e80000} |
+--------+--------------------------------------+
uuid is changed by re-creating, but hostid is same.
I guess hostid is generated by these (1) or (2) methods.
(1) 'hostid' is generated by an identifier based on physical address of ethernet
connection without SSL. (Here is an output of ipconfig /all on windows.)
Ethernet adapter local area connection:
Connection-specific DNS Suffix:
Description . . . . . . . . . : Broadcom 440x 10/100 Integrated Controller
Physical Address. . . . . . . : 00-1C-23-9D-A3-E8
(2) 'hostid' is generated by using these command. It is displayed by a warning message of
an agent.
(warning) agent.c:428: extracted the host-id from 'sh -c "ssh-keygen -l -f
/etc/ssh/ssh_host_key.pub | awk '{print \"ssh:{\"$2\"}\"}'"'
I know that it is difficult to change physical address of (1), but it is easy to change
an agument of (2) like,
'sh -c "ssh-keygen -l -f ssh_host_key_of_active_machine | awk '{print
\"ssh:{\"$2\"}\"}'"'
Please consider this option when you implement new features for this feature request.
Regards,
[27 May 14:30]
Oli Sennhauser
Possibly duplicate of 40695.
