Re: [Linux-HA] status check in resource script for vmware

2007-05-16 Thread Jure Pečar
On Tue, 15 May 2007 10:41:15 +0200 Jure Pečar [EMAIL PROTECTED] wrote: I have a question about the resource script. This is what I came up with so far: #!/bin/bash # see why this is so at http://www.linux-ha.org/HeartbeatResourceAgent usage() { echo usage: $0 VMname start|stop|status

[Linux-HA] status check in resource script for vmware

2007-05-15 Thread Jure Pečar
Hi all, I'm using drbd and heartbeat to create a simple two-node failover cluster that runs a vmware virtual machine. I have a question about the resource script. It's simple to create one to start and stop a virtual machine, however I'd like the status check to test status of the guest OS,

Re: [Linux-HA] status check

2007-04-23 Thread Dejan Muhamedagic
On Fri, Apr 20, 2007 at 04:18:24PM +0200, Andrew Beekhof wrote: On 4/19/07, Alan Robertson [EMAIL PROTECTED] wrote: Andrew Beekhof wrote: On 4/18/07, Lars Marowsky-Bree [EMAIL PROTECTED] wrote: On 2007-04-17T19:40:13, [EMAIL PROTECTED] wrote: Easiest way is to model after an existing

Re: [Linux-HA] status check

2007-04-19 Thread Andrew Beekhof
On 4/18/07, Lars Marowsky-Bree [EMAIL PROTECTED] wrote: On 2007-04-17T19:40:13, [EMAIL PROTECTED] wrote: Easiest way is to model after an existing resource agent, Xen for example. I've found the Dummy one a good start in the past. Simple, and shows the basic required components. Yeah, but

Re: [Linux-HA] status check

2007-04-19 Thread Andrew Beekhof
On 4/19/07, Dejan Muhamedagic [EMAIL PROTECTED] wrote: On Thu, Apr 19, 2007 at 10:07:09AM +0200, Andrew Beekhof wrote: On 4/18/07, Lars Marowsky-Bree [EMAIL PROTECTED] wrote: On 2007-04-17T19:40:13, [EMAIL PROTECTED] wrote: Easiest way is to model after an existing resource agent, Xen for

Re: [Linux-HA] status check

2007-04-19 Thread Alan Robertson
Andrew Beekhof wrote: On 4/18/07, Lars Marowsky-Bree [EMAIL PROTECTED] wrote: On 2007-04-17T19:40:13, [EMAIL PROTECTED] wrote: Easiest way is to model after an existing resource agent, Xen for example. I've found the Dummy one a good start in the past. Simple, and shows the basic