mmm agent cannot connect to MySQL even when mmm agent user is already created on DB
There is something wrong with mmm-agent which runs on database nodes. This is what happening now.
I have made 2 DB nodes and i have 2 virtual IPs [192.168.100.196, 192.168.100.197]. When i start mmm-monitor on monitor node and other agents on DB nodes everything works well. MMM-monitor assigns wirter role to DB1 and reader role to DB2. After 15 or 30 mins mmm-agent on assigned writer node starts throwing error message that it is not able to connect to MySQL. I am not sure why it does so because mmm-agent user is already created under both db nodes and mmm-agent does not throw this message when you start agents. It happens in between automatically after 15-30 mins. Following is the error message.
2011/06/08 14:01:16 FATAL Couldn't deny writes: ERROR: Can't connect to MySQL (host = 192.168.
I have checked configuration files on both nodes and everything is good. Even i have deleted user credentials and created them again just to make sure it is not because of mmm-agent user credentials. This usually happens on node which has been assigned writer role.
Any inputs are welcome.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- mysql-mmm Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Gurvinder Dadyala for more information if necessary.