Skip to content

meetingFuture/Keepalived_for_MySQL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Keepalived_for_MySQL

Keepalived for MySQL Version: 1.0

Howto:

  1. You need to define the config.py which is the config of the check scripts

  2. And set your sms url of the function send_sms in MySQLib.py

Instruction:

  1. MySQLib.py: The project library with the connection\Logging\Email\Sms Funcs.

  2. checkMySQL.py: Keepalived check alived script which will check MySQL instance health and gatway is alive.

  3. notify.py: When Keepalived switch to master or backup or fail state, the script will be executed.

  4. config.py: The project's config file.

Other language version

简体中文

Email: hailong.sun1982@gmail.com QQ: 173386747

About

Keepalived for MySQL

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages