mysql一套

/mysql安裝/+/主從+主主/+/Mysql+keepalived雙主熱備高可用/+/Mysql雙主熱備+LVS+Keepalived高可用操做記錄/html

    4部分操做以下:mysql

    1 http://www.cnblogs.com/kevingrace/p/6109679.htmlsql

    2 http://www.cnblogs.com/kevingrace/p/6261091.htmlserver

    3 http://www.cnblogs.com/kevingrace/p/6710136.htmlhtm

    4 http://www.javashuo.com/article/p-xfqocgkx-k.htmlblog

完整操做完成,須要4臺虛擬機6.30/6.38/93.131/93.135實現;get

具體操做看4篇文章,其中遇到的問題以下:同步

1.keepalived:configure: error: libnfnetlink headers missing
解決:yum install -y libnfnetlink-devel
2.MySQL主從同步錯誤解決和Slave_IO_Running: NO
解決:1. mysql> show variables like'server_id';查看server_id是否同樣
    mysql> set global server_id=553;
   2.查看master_log_pos值 ; flush logs;
    change master to master_host='192.168.6.30',master_user='slave',master_password='123456',master_log_file='mysql-bin.000002',master_log_pos=120;虛擬機

相關文章
相關標籤/搜索