Re: run command after failover

Ron <[email protected]> Wed, 31 Dec 2008 10:06:09 +0800
Newsgroups gmane.linux.highavailability.ultramonkey
Message-ID <[email protected]>
Thanks Simon

db-mngr-1 \
         ldirectord::ldirectord.cf \
         LVSSyncDaemonSwap::master \
         IPaddr2::10.10.10.216/28/eth1/10.10.10.223

So i simply need to add the resource on my haresource above?
Like the ldirectord on the second line?


db-mngr-1 \
         asterisk::asterisk.conf \ <-- like this?
         ldirectord::ldirectord.cf \
         LVSSyncDaemonSwap::master \
         IPaddr2::10.10.10.216/28/eth1/10.10.10.223

Thanks

Regards,
Ron

Simon Horman wrote:
> On Wed, Dec 31, 2008 at 09:04:35AM +0800, Ron wrote:
>> Thanks Simon, can you refer me to any website on how to create that script?
> 
> Hi Ron,
> 
> Does this help? I'm assuming you are familiar with init scripts.
> 
> http://www.linux-ha.org/resource
> http://www.linux-ha.org/HeartbeatResourceAgent
> 
_______________________________________________
Ultramonkey-users mailing list
[email protected]
http://lists.vergenet.net/listinfo/ultramonkey-users