SeveralNines,ClusterControl:Add exsisting Cluster(Percona XtraDB Cluster)
向CC中添加已存在的MySQL Cluster。
首先,SSH互信:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
[root@mysql4 ~]# ssh-copy-id -i .ssh/id_rsa.pub 192.168.232.147 root@192.168.232.147's password: Now try logging into the machine, with "ssh '192.168.232.147'", and check in: .ssh/authorized_keys to make sure we haven't added extra keys that you weren't expecting. [root@mysql4 ~]# ssh-copy-id -i .ssh/id_rsa.pub 192.168.232.148 The authenticity of host '192.168.232.148 (192.168.232.148)' can't be established. RSA key fingerprint is 8a:a0:14:27:f9:e5:6b:e7:c7:e5:a1:dd:7b:5c:85:ec. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '192.168.232.148' (RSA) to the list of known hosts. root@192.168.232.148's password: Now try logging into the machine, with "ssh '192.168.232.148'", and check in: .ssh/authorized_keys to make sure we haven't added extra keys that you weren't expecting. [root@mysql4 ~]# ssh-copy-id -i .ssh/id_rsa.pub 192.168.232.149 The authenticity of host '192.168.232.149 (192.168.232.149)' can't be established. RSA key fingerprint is 95:59:35:c9:38:3c:40:4c:3c:50:84:1c:9d:1c:12:46. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '192.168.232.149' (RSA) to the list of known hosts. root@192.168.232.149's password: Now try logging into the machine, with "ssh '192.168.232.149'", and check in: .ssh/authorized_keys to make sure we haven't added extra keys that you weren't expecting. [root@mysql4 ~]# |
验证:
1 2 3 4 5 6 7 |
[root@mysql4 ~]# ssh 192.168.232.147 date Sat Jul 16 05:08:51 PDT 2016 [root@mysql4 ~]# ssh 192.168.232.148 date Sat Jul 16 05:08:56 PDT 2016 [root@mysql4 ~]# ssh 192.168.232.149 date Sat Jul 16 05:08:59 PDT 2016 [root@mysql4 ~]# |
网页操作:
如果看[……]