Huang Zhen wrote:
Hi, Rodrigo Henriquez,

Thank you for trying the new management daemon and GUI code.

Now there are several issues to run the management daemon and GUI client.

1. we need install following packages on the machine running the GUI client
    swig
    python(2.4) and python-devel
    python-gtk(>2.4)
    gnutls

2. we need install following packages on the machine running the daemon
    gnutls
    pam-devel

3. we need building python binding library on the machine running the GUI client. Run following commands in lib/mgmt/ :
    swig -python pymgmt.i
    gcc -c pymgmt_wrap.c -I /usr/include/python2.4/ -I ../../include/
gcc -shared pymgmt_wrap.o libmgmtclient_la-mgmt_client_lib.o libmgmttls_la-mgmt_tls_lib.o libmgmtcommon_la-mgmt_common_lib.o `libgnutls-config --libs` -o _pymgmt.so
    cp _pymgmt.so pymgmt.py /usr/lib/heartbeat/

For the point 1, 2 and 3, thank Mr. Sun Jiang Dong, he is helping me on the makefile, it should be ready tomorrow.

4. change the /etc/pam.d/mgmtd to the format according to the distribution of the node running the daemon.

5. we need add mgmtd to ha.cf as root.
"
...
apiauth         mgmtd   uid=root
crm             1
respawn         root    /usr/lib/heartbeat/mgmtd -v

Shouldn't this be a resource? You need a cluster IP, after all, as there is no default cluster IP? Otherwise, how would anyone know what node to direct it to. If the node you've chosen is down, you would have to manually choose another IP.

But, if you make it a cluster resource, then it will be highly available :-)


--
    Alan Robertson <[EMAIL PROTECTED]>

"Openness is the foundation and preservative of friendship... Let me claim from you at all times your undisguised opinions." - William Wilberforce
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to