Re: [Pacemaker] Low cost stonith device

2009-11-11 Thread Lars Marowsky-Bree
On 2009-10-01T08:24:44, Mario Giammarco wrote: A bit late, but I just noticed this. If you have shared storage, check-out the external/sbd fencing agent. Regards, Lars -- Architect Storage/HA, OPS Engineering, Novell, Inc. SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)

Re: [Pacemaker] Low cost stonith device

2009-10-06 Thread Johan Verrept
On Tue, 2009-10-06 at 12:50 +0200, Dejan Muhamedagic wrote: > Well, if we already have the option to use port-nodename mapping, > that should be preferable to increasing the configuration size. > Still, perhaps you could add a hostlist parameter like in most > stonith plugins. Then just use that i

Re: [Pacemaker] Low cost stonith device

2009-10-06 Thread Dejan Muhamedagic
Hi, On Tue, Oct 06, 2009 at 10:55:11AM +0200, Johan Verrept wrote: > > Hi Lars, > > > Yes. > > hostname (-s, -f) and uname differ in that > > uname -n just does one syscall (uname), > > and hostname (typically) does a gethostname(), > > then a gethostbyname(), the result of the latter > > heavil

Re: [Pacemaker] Low cost stonith device

2009-10-06 Thread Johan Verrept
Hi Lars, > Yes. > hostname (-s, -f) and uname differ in that > uname -n just does one syscall (uname), > and hostname (typically) does a gethostname(), > then a gethostbyname(), the result of the latter > heavily influenced by whatever is in your nsswitch, > resolv and other .conf, as well as wha

Re: [Pacemaker] Low cost stonith device

2009-10-06 Thread Lars Ellenberg
> On Mon, Oct 05, 2009 at 02:39:19PM +0200, Florian Haas wrote: > > And whether or not these node names are fully-qualified or not is > > actually not up to the user, but depends on the distro used. That was my > > point. :) > > On the contrary, all my (Debian) pacemaker nodes have their FQDN as

Re: [Pacemaker] Low cost stonith device

2009-10-05 Thread Matthew Palmer
On Mon, Oct 05, 2009 at 02:39:19PM +0200, Florian Haas wrote: > And whether or not these node names are fully-qualified or not is > actually not up to the user, but depends on the distro used. That was my > point. :) On the contrary, all my (Debian) pacemaker nodes have their FQDN as the node name

Re: [Pacemaker] Low cost stonith device

2009-10-05 Thread Johan Verrept
On Mon, 2009-10-05 at 14:38 +0200, Johan Verrept wrote: > Perhaps something in the nature of > > if [ `uname -n` = `hostname -s` ] > then > for host in `list_devices`; > do > echo $host > done; > else > domainname=`hostname -d` > for host in `list_devic

Re: [Pacemaker] Low cost stonith device

2009-10-05 Thread Johan Verrept
On Mon, 2009-10-05 at 14:01 +0200, Florian Haas wrote: > > gethosts) > > # print hosts with domainname > > domain=`domainname` > > for host in `list_devices`; > > do > > echo $host.$domain > > done; > > Can you make sure that this works both on systems where "uname

Re: [Pacemaker] Low cost stonith device

2009-10-05 Thread Florian Haas
On 2009-10-05 14:28, Dejan Muhamedagic wrote: > Hi, > > On Mon, Oct 05, 2009 at 02:01:49PM +0200, Florian Haas wrote: >> On 2009-10-05 10:37, Johan Verrept wrote: >>> Hello guys, >>> >>>I completed the RA and have attached it. As far as I can tell it is >>> fully functional but I would appreci

Re: [Pacemaker] Low cost stonith device

2009-10-05 Thread Dejan Muhamedagic
Hi, On Mon, Oct 05, 2009 at 02:01:49PM +0200, Florian Haas wrote: > On 2009-10-05 10:37, Johan Verrept wrote: > > Hello guys, > > > >I completed the RA and have attached it. As far as I can tell it is > > fully functional but I would appreciate it if someone "in the know" > > would take a loo

Re: [Pacemaker] Low cost stonith device

2009-10-05 Thread Florian Haas
On 2009-10-05 10:37, Johan Verrept wrote: > Hello guys, > >I completed the RA and have attached it. As far as I can tell it is > fully functional but I would appreciate it if someone "in the know" > would take a look and gave me some feedback. I'm unable to test this as I don't have a device

Re: [Pacemaker] Low cost stonith device

2009-10-05 Thread Johan Verrept
Hi Dejan, We are glad to contribute. Pacemaker is an impressive project. I used wget because I had prior experience. I am used to Gentoo systems, so wget is always installed. Since the output isn't restricted to just the information I want, I would have to sed the output anyway and the lack of \n

Re: [Pacemaker] Low cost stonith device

2009-10-05 Thread Dejan Muhamedagic
Hi, On Mon, Oct 05, 2009 at 10:37:54AM +0200, Johan Verrept wrote: > Hello guys, > >I completed the RA and have attached it. As far as I can tell it is > fully functional but I would appreciate it if someone "in the know" > would take a look and gave me some feedback. Many thanks for the con

Re: [Pacemaker] Low cost stonith device

2009-10-05 Thread Johan Verrept
Hello guys, I completed the RA and have attached it. As far as I can tell it is fully functional but I would appreciate it if someone "in the know" would take a look and gave me some feedback. Thank you, Johan Verrept On Fri, 2009-10-02 at 11:04 +0200, Johan Verrept wrote: > Hi, > >

Re: [Pacemaker] Low cost stonith device

2009-10-02 Thread Dejan Muhamedagic
Hi, On Fri, Oct 02, 2009 at 05:22:57AM +, Thomas Mueller wrote: > Am Thu, 24 Sep 2009 16:24:56 -0600 schrieb Remi Broemeling: > > > Hi Mario -- I was just looking into this myself, today. I think the > > lowest cost that you'll be able to find is an IPMI card for your > > motherboard (as lon

Re: [Pacemaker] Low cost stonith device

2009-10-02 Thread Johan Verrept
Hi, in the meantime I got the device and am working on a RA. I will need permission to post it here, so no promises. The telnet access can't manage the ports but there is a documented cgi-based interface. For now, I am pretty happy with the device. J. On Fri, 2009-09-25 at 11:14 +0200,

Re: [Pacemaker] Low cost stonith device

2009-10-01 Thread Thomas Mueller
Am Thu, 24 Sep 2009 16:24:56 -0600 schrieb Remi Broemeling: > Hi Mario -- I was just looking into this myself, today. I think the > lowest cost that you'll be able to find is an IPMI card for your > motherboard (as long as the motherboard in question supports it). To > find out you'll need to lo

Re: [Pacemaker] Low cost stonith device

2009-10-01 Thread Mario Giammarco
Mario Giammarco writes: > > Hello, > > Can you suggest me a list of stonith devices compatible with > pacemaker? > > I need a low cost one. > Thank you for all replies. I have no ilo unfortunately. Looking at this blog it seems that I can easily find stonith devices for $20: http://thecl

Re: [Pacemaker] Low cost stonith device

2009-09-25 Thread Johan Verrept
Hi guys, When I looked into this yesterday , I found this device: http://www.aviosys.com/ip_power_9258hp.html At around 150 euro, it is pretty cheap. It is an independent device and will not do nifty things like server console access (like the IPMI cards) but it should work well for ston

Re: [Pacemaker] Low cost stonith device

2009-09-25 Thread Darren.Mansell
I find the riloe plugin to be very good so if you can get cheap HP servers with iLO then that could constitute a low cost STONITH device. -Original Message- From: Mario Giammarco [mailto:mgiamma...@gmail.com] Sent: 24 September 2009 19:08 To: pacema...@clusterlabs.org Subject: [Pacemaker]

Re: [Pacemaker] Low cost stonith device

2009-09-24 Thread Remi Broemeling
Hi Mario -- I was just looking into this myself, today.  I think the lowest cost that you'll be able to find is an IPMI card for your motherboard (as long as the motherboard in question supports it).  To find out you'll need to look into your specific model of motherboard and see what is needed