Bug #42360 | Support for MySQL + DRBD failover | ||
---|---|---|---|
Submitted: | 27 Jan 2009 2:12 | Modified: | 30 Nov 2010 9:59 |
Reporter: | Meiji KIMURA | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Enterprise Monitor: Agent | Severity: | S4 (Feature request) |
Version: | 2.0 | OS: | Any |
Assigned to: | Mark Matthews | CPU Architecture: | Any |
Tags: | ha |
[27 Jan 2009 2:12]
Meiji KIMURA
[28 Jan 2009 2: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 2009 12:30]
Oli Sennhauser
Possibly duplicate of 40695.
[30 Nov 2010 9:58]
Meiji KIMURA
We can use 'agent-host-id=HOSTID' for this configuration. See more details about this option, please refer these manual of MEM2.2. [English] http://dev.mysql.com/doc/mysql-monitor/2.2/en/mem-deployment-config-agent-options.html#opt... [日本語] http://dev.mysql.com/doc/mysql-monitor/2.2/ja/mem-deployment-config-agent-options.html#opt... As a result, I closed this issue.
[30 Nov 2010 10:11]
Meiji KIMURA
See also this, But#49260. http://bugs.mysql.com/bug.php?id=49260
[30 Nov 2010 10:31]
Meiji KIMURA
Now it is documented on MEM 2.0. So I supposed that this function is supported MEM 2.0 or later. http://dev.mysql.com/doc/mysql-monitor/2.0/en/mem-deployment-config-agent.html#option_mysq...