LVSSyncDaemonSwap questions.
Jean Figarella <[email protected]> Tue, 19 Sep 2006 09:21:23 -0400
| Newsgroups | gmane.linux.highavailability.ultramonkey |
|---|---|
| Organization | Vecna Tecnologies, Inc. |
| Message-ID | <[email protected]> |
Hello everyone, Here is my version of heartbeat to start with: # rpm -qa | grep heartbeat heartbeat-stonith-1.2.3.cvs.20050927-1.centos4 heartbeat-pils-1.2.3.cvs.20050927-1.centos4 heartbeat-ldirectord-1.2.3.cvs.20050927-1.centos4 heartbeat-1.2.3.cvs.20050927-1.centos4 I am using CentOS4.4 just FYI. Ok, so I am following this how-to (http://www.howtoforge.com/high_availability_loadbalanced_apache_cluster) for a loadbalanced high-availability apache cluster, and after installing and configuring all files, everything seems to work fine except for the LVSSyncDaemonSwap daemon. The guide says to execute this command: /etc/ha.d/resource.d/LVSSyncDaemonSwap master status and that the output should be similar to this: master running (ipvs_syncmaster pid: 1591) Well, this is the output of when I execute this command: # /etc/ha.d/resource.d/LVSSyncDaemonSwap master status master stopped Then after looking at my log file I see the following messages: ... Sep 18 17:35:10 dir1 heartbeat: info: Running /etc/ha.d/resource.d/ldirectord ldirectord.cf start Sep 18 17:35:10 dir1 heartbeat: debug: Starting /etc/ha.d/resource.d/ldirectord ldirectord.cf start Sep 18 17:35:11 dir1 ldirectord[18423]: Starting Linux Director v1.77.2.32 as daemon Sep 18 17:35:11 dir1 heartbeat: debug: /etc/ha.d/resource.d/ldirectord ldirectord.cf start done. RC=0 Sep 18 17:35:11 dir1 ldirectord[18425]: Added virtual server: 192.168.254.240:80 Sep 18 17:35:11 dir1 ldirectord[18425]: Added fallback server: 127.0.0.1:80 ( x 192.168.254.240:80) (Weight set to 1) Sep 18 17:35:11 dir1 ldirectord[18425]: Quiescent real server: 192.168.254.171:80 mapped from 192.168.254.171:80 ( x 192.168.254.240:80) (Weight set to 0) Sep 18 17:35:11 dir1 heartbeat: info: Running /etc/ha.d/resource.d/LVSSyncDaemon Swap master start Sep 18 17:35:11 dir1 heartbeat: debug: Starting /etc/ha.d/resource.d/LVSSyncDaemonSwap master start Sep 18 17:35:11 dir1 heartbeat: info: ipvs_syncmaster up Sep 18 17:35:11 dir1 heartbeat: info: ipvs_syncmaster obtained Sep 18 17:35:11 dir1 heartbeat: debug: /etc/ha.d/resource.d/LVSSyncDaemonSwap master start done. RC=0 Sep 18 17:35:11 dir1 heartbeat: info: Running /etc/ha.d/resource.d/IPaddr2 192.168.254.240/24/eth1/192.168.254.255 start Sep 18 17:35:11 dir1 heartbeat: debug: Starting /etc/ha.d/resource.d/IPaddr2 192.168.254.240/24/eth1/192.168.254.255 start ... It seems like LVSSyncDaemon is starting up just fine. My question is then, is this supposed to stay running in the background? Or does it runs, performs its function and then stops? I have checked and rechecked my configuration files and I am positive that they are fine, but I have never been ables to execute "/etc/ha.d/resource.d/LVSSyncDaemonSwap master status" with the outcome being that it is running? Thanks, jean -- Ultra Monkey - http://www.ultramonkey.org/ To UNSUBSCRIBE, email to [email protected], with a body: unsubscribe ultramonkey-users [email protected] where "[email protected]" is YOUR email address.