Hi, On Wed, May 28, 2008 at 01:41:07PM +0200, Andreas Reschke wrote: > Hi Dejan, > it doesn't work for me: > bgstsapgtsls1:~ # /etc/init.d/heartbeat start > Starting High-Availability services2008/05/28_12:05:47 INFO: Resource is > stopped > heartbeat[18617]: 2008/05/28_12:05:47 ERROR: Invalid Stonith configuration > parameter [ bgstsapgtsls2 10.20.12.24 root password]
Oops. > heartbeat[18617]: 2008/05/28_12:05:47 ERROR: Heartbeat not started: > configuration error. > heartbeat[18617]: 2008/05/28_12:05:47 ERROR: Configuration error, > heartbeat not started. > > Thats my new config: > bgstsapgtsls1:~ # cat /etc/ha.d/ha.cf | grep -v \# > > debugfile /var/log/ha-debug > logfile /var/log/ha-log > keepalive 2 > deadtime 30 > warntime 10 > initdead 120 > auto_failback off > bcast eth2 > bcast eth3 > node bgstsapgtsls1 > node bgstsapgtsls2 > stonith_host * external/ibmrsa bgstsapgtsls2 10.20.12.24 root password Can you please try: stonith_host * external/ibmrsa bgstsapgtsls2 10.20.12.24 root password ibm Thanks, Dejan > What's wrong? > > Andreas > > > > Dejan Muhamedagic <[EMAIL PROTECTED]> > Gesendet von: [EMAIL PROTECTED] > 28.05.2008 11:55 > Bitte antworten an > General Linux-HA mailing list <[email protected]> > > > An > General Linux-HA mailing list <[email protected]> > Kopie > > Thema > Re: [Linux-HA] Question to stonith and external/ibmrsa > > > > > > Hi, > > On Wed, May 28, 2008 at 08:32:51AM +0200, Andreas Reschke wrote: > > Hello, > > I've created a HA-Cluster with 2 IBM 3650 with RSA-Adapter and SuSE > Linux > > Enterprise 10 SP1 (64Bit). When the slave-server take over the service > > (SAP), he must poweroff the master-server over the RSA-Adapter with the > > Stonith-Module external/ibmrsa. But what is the syntax for the poweroff > > and how can I include this in the ha.cf? > > That's my ha.cf > > > > debugfile /var/log/ha-debug > > logfile /var/log/ha-log > > keepalive 2 > > deadtime 30 > > warntime 10 > > initdead 120 > > auto_failback off > > bcast eth2 > > bcast eth3 > > node bgstsapgtsls1 > > node bgstsapgtsls2 > > It's all described in the ha.cf delivered with the distribution. > > Add such a line: > > stonith_host * external/ibmrsa node rsaip user pass > > node: node to be managed > rsaip: ip of the rsa > > If you're worried about security then try with > > stonith external/ibmrsa /etc/ha.d/ibmrsa.cf > > where ibmrsa.cf contains the configuration. > > If you're running v2 then the story's different. Take a look at > the linux-ha.org web pages. > > Thanks, > > Dejan > > > > > > > Thanks for your help > > > > Andreas Reschke > > > > _______________________________________________ > > Linux-HA mailing list > > [email protected] > > http://lists.linux-ha.org/mailman/listinfo/linux-ha > > See also: http://linux-ha.org/ReportingProblems > _______________________________________________ > Linux-HA mailing list > [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems > > > > > _______________________________________________ > Linux-HA mailing list > [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
