小弟刚看到suse的ha的搭建。自己搭建了个环境,node01(主)和node02。
在node01上通过yast2 cluster的图形界面配置好node01(启动了openais;生成了authkey、key_hagroup两个文件),
将authkey、key_hagroup、csync2.cfg、corosync.conf这四个文件拷贝到了node02。
node01和node02未做ssh信任。
之后在node01上执行“csync2 -xv”,出现以下报错:
node01:/etc/corosync # csync2 -xv
Marking file as dirty: /etc/sysconfig/pacemaker
Marking file as dirty: /etc/sysconfig/openais
Marking file as dirty: /etc/samba/smb.conf
Marking file as dirty: /etc/lvm/lvm.conf
Marking file as dirty: /etc/drbd.d
Marking file as dirty: /etc/drbd.d/global_common.conf
Marking file as dirty: /etc/csync2/key_hagroup
Marking file as dirty: /etc/csync2/csync2.cfg
Marking file as dirty: /etc/corosync/corosync.conf
Marking file as dirty: /etc/corosync/authkey
Connecting to host node02 (SSL) ...
Can't connect to remote host.
ERROR: Connection to remote host failed.
Host stays in dirty state. Try again later...
Finished with 1 errors.
node01和node02的能够相互ping通,网络没什么问题。hosts文件也定义过。
这个是什么原因啊?谢谢!