On Wednesday 27 October 2010 09:18:15 Simon Jansen wrote: > Hi all, > > I'm trying to configure an active/passive DHCP3 server on Ubuntu 10.04 LTS > Server test systems running pacemaker. I set up a DRBD partition to > replicate the data between the clusternodes. The DRBD partition works fine. > I moved the relevant DHCP data (dhcpd.leases and dhcpd.conf) to the DRBD > partition. So when a failover occurs the other node is able to continue the > service with the same data. I'm able to start the DHCP server manually by > running the following command: /usr/sbin/dhcpd3 -pf > /var/run/dhcp3-server/dhcpd.pid -cf > /mnt/DRBD/clusterData/drbd0/dhcp/cnf/dhcpd.conf -lf > /mnt/DRBD/clusterData/drbd0/dhcp/data/dhcpd.leases > > Further I configured the following cluster resource using the antything RA: > primitive resDHCP ocf:heartbeat:anything \ > params binfile="/usr/sbin/dhcpd3" cmdline_options="-pf > /var/run/dhcp3-server/dhcpd.pid -cf > /mnt/DRBD/clusterData/drbd0/dhcp/cnf/dhcpd.conf -lf > /mnt/DRBD/clusterData/drbd0/dhcp/data/dhcpd.leases" > pidfile="/var/run/dhcp3-server/dhcpd.pid" \ > op monitor interval="10" timeout="50" depth="0" > But the service fails to start. The error description is 'unknown error'. > Maybe somone has a clue to fix this problem. > > In addition I would like to know if it is recommended to use the anything > RA or should I change the paths in the init script and use the lsb RA?
Hi, error: Please send logs. Especially those with "ERROR" in it ;-) RA: I'd prefer the init script since it is more specific for this service. Please check if a good status() section is included that detects possible problems. Greetings, -- Dr. Michael Schwartzkopff Guardinistr. 63 81375 München Tel: (0163) 172 50 98
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker