Sorry I neglected to mention that the main reason I need/want to 'reload' the services is to ensure that they start listening on the newly acquired virtual IP.
On Tue, Nov 3, 2009 at 8:30 PM, bards 1888 <bards1...@gmail.com> wrote: > Hi, > > I have been playing with pacemaker and openais to try and get some sort of > high-availability for the following services; > > 1. named > 2. squid > 3. dansguardian > > > My basic requirements are, a floating virtual IP that can exist on either > node of my 2 node cluster. Users will have a single server setup for DNS and > proxy and that will be the virtual IP. Obviously, the users will then get > directed to the 'master' node and all will be well. However, I want to be > able to run the services on the second node at the same time, so that, for > example, I can point my browser at the second proxy or have the slave DNS > server updated as zone changes are made on the master. > > Is there any way I can define just the IP address as the Resource agent and > say "if you get the virtual IP, run this script" which would effectively run > /etc/init.d/service reload for each of the three services ? > > Any help/advice would be appreciated. > > Cheers >
_______________________________________________ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker