On 8/24/07, Dave Blaschke <[EMAIL PROTECTED]> wrote:
> Jose Jerez wrote:
> > Hello,
> >
> > I want to configure stonith in my cluster and since they are LPARs in
> > a p Series 570 y can use the ibmhmc stonith agent; my questions are:
> >
> > -What user initiates the connection from the cluster to the HMC? I
> > know there will be a ssh connection and the end user is hscroot, but
> > the initiating user is <fill in here>?   I need this info to configure
> > de public key ssh authentication
> >
> The user is root, but you can use the optional password parameter and
> then ssh keys aren't necessary as the plugin will login as hscroot using
> that password (no keys necessary since the password is provided with
> each ssh command)
> > -Once connected the the HMC does the stonith agent rely in DNS
> > resolution to contact the nodes?  In my test cluster they have entries
> > in /etc/hosts but the HMC itself won't be able to resolve the names of
> > the nodes.
> >
> The LPAR names need to match the corresponding "uname -n" results for
> each node in the cluster, which should also match the node names in ha.cf
> > -And finally , whats the exact command that is executed in the HMC
> > secure shell to stop/reboot the nodes?
> >
> Add the -d option to the stonith command line and the plugin will dump
> most of the commands it uses, such as lssyscfg to determine the LPAR's
> current state (Running, Starting, etc.) and chsysstate to power on/off
> and, as in the following example, reset the LPAR:
>
> chsysstate -m managedsystemname -r lpar -o shutdown -n lparname --immed
> --restart
> > Kind regards.

Thanks for the clarifications Dave,

now I got it working and stonithing the LPARs ;-)

Finally I chose the public key authentication, don't feel comfortable
with the hscroot password in the heartbeat configuration.

One final question:  "man chsysstate"  or the redbook sg247038 don't
show anything about the options --immed and --restart, any other
public source of documentation for these?

Thanks again.
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to