hb_gui on 2.0.8: Can't connect to server

wangdonsy
hb_gui on 2.0.8: Can't connect to server

Upon installation of heartbeat and its assorted RPMs, I've found that the
symlink to haclient.py is incorrect. It should be:

/usr/bin/hb_gui -> /usr/lib/heartbeat-gui/haclient.py

After setting the ip, username and password, the console returns the
following error:

TypeError: mgmt_connect() argument 4 must be string, not None

After looking at the function call, it seems the port assignment was
missing:

ret = mgmt_connect(ip, username, password, port)

This is a bit misleading, but OK. Adding the ":694" after the IP/hostname
seems to make it happy.

My real problem is trying to connect to the server. it keeps saying that it
"Can't connect to server". I've made sure that heartbeat is running and it
is listening on that port (netstat says it is), but I can't seem to connect.

Is anyone else having these problems? I've thought about downgrading to
2.0.7, but not sure if that's the right thing to do here.

rainbow
在ha.cf中配置mgmt要启动,参考 :

apiauth         mgmtd   uid=root
respawn         root    /usr/lib/heartbeat/mgmtd -v

应该是 可以 访问的。