[Linux-HA] Check role of a node in a heartbeat cluster?

2009-05-12 Thread jimbob palmer
Hello! How can I check which role a node has on a heartbeat version 1 box? I realise I could check the drbd device (if it has one) to see which status it shows, or on a device with a floating ip I can check for that, or even check through the logs. Is there also a binary which heartbeat will ret

Re: [Linux-HA] Check role of a node in a heartbeat cluster?

2009-05-13 Thread Dejan Muhamedagic
Hi, On Wed, May 13, 2009 at 12:14:56AM +0200, jimbob palmer wrote: > Hello! > > How can I check which role a node has on a heartbeat version 1 box? What do you mean by role? I guess something like primary/secondary. That's only spelled out in haresources. Nodes themselves are otherwise equal. T

Re: [Linux-HA] Check role of a node in a heartbeat cluster?

2009-05-14 Thread jimbob palmer
2009/5/13 Dejan Muhamedagic : > Hi, > > On Wed, May 13, 2009 at 12:14:56AM +0200, jimbob palmer wrote: >> Hello! >> >> How can I check which role a node has on a heartbeat version 1 box? > > What do you mean by role? I guess something like > primary/secondary. That's only spelled out in haresources

Re: [Linux-HA] Check role of a node in a heartbeat cluster?

2009-05-14 Thread Dejan Muhamedagic
Hi, On Thu, May 14, 2009 at 08:21:41PM +0200, jimbob palmer wrote: > 2009/5/13 Dejan Muhamedagic : > > Hi, > > > > On Wed, May 13, 2009 at 12:14:56AM +0200, jimbob palmer wrote: > >> Hello! > >> > >> How can I check which role a node has on a heartbeat version 1 box? > > > > What do you mean by ro