On Thu, Apr 24, 2008 at 5:06 PM, Truong Thi Xuan Mai
<[EMAIL PROTECTED]> wrote:
>
>
>  Hi,
>  I have heartbeat 2.0.8 installed on OpenSuse OS. I don't have stonith hw 
> devices, and I'd like to try ssh plugin. I encountered the problem that 
> somehow stonith ssh plugin doesn't work properly.


make sure atd is running.
to enable at boot, run: insserv atd

>  If I run
>  stonith -t ssh -p "pc103" -T reset pc103
>  I receive
>   ** INFO: Initiating ssh-reset on host: pc103.
>  Everything seems to be ok, but the reset didn't happen at all.
>
>  If I run
>  stonith -t  external/ssh -p "pc103" -t reset pc103
>  then it returns:
>  ** (process:22894): CRITICAL **: external_reset_req: 'ssh reset' for host 
> pc103 failed with rc 256
>
>  In detail, when -d is used:
>  .......
>  ** (process:22925): DEBUG: PILS: Looking for stonith2/external => 
> [/usr/lib64/stonith/plugins/stonith2/external.so]
>  ** (process:22925): DEBUG: Plugin path for stonith2/external => 
> [/usr/lib64/stonith/plugins/stonith2/external.so]
>  ** (process:22925): DEBUG: Creating PluginType for stonith2
>  ** (process:22925): DEBUG: NewPILPlugintype(0x607200)
>  ** (process:22925): DEBUG: Plugin stonith2/external  init function: 
> stonith2_LTX_external_pil_plugin_init
>  ** (process:22925): DEBUG: NewPILPlugin(0x607b90)
>  ** (process:22925): DEBUG: Plugin stonith2/external loaded and constructed.
>  ** (process:22925): DEBUG: Calling init function in plugin stonith2/external.
>  ** (process:22925): DEBUG: NewPILInterface(0x607be0)
>  ** (process:22925): DEBUG: NewPILInterface(0x607be0:stonith2/external)*** 
> user_data: 0x2ac6d04dc1b0 *******
>  ** (process:22925): DEBUG: IfIncrRefCount(101 + 1 )
>  ** (process:22925): DEBUG: PluginIncrRefCount(0 + 1 )
>  ** (process:22925): DEBUG: external_get_confignames: called.
>  ** (process:22925): DEBUG: external_run_cmd: Calling 
> '/usr/lib64/stonith/plugins/external/ssh getconfignames'
>  ** (process:22925): DEBUG: external_get_confignames: 'ssh getconfignames' 
> returned 0
>  ** (process:22925): DEBUG: external_set_config: called.
>  ** (process:22925): DEBUG: external_status: called.
>  ** (process:22925): DEBUG: external_run_cmd: Calling 
> '/usr/lib64/stonith/plugins/external/ssh status'
>  ** (process:22925): DEBUG: external_status: running 'ssh status' returned 0
>  ** (process:22925): DEBUG: external_getinfo: called.
>  ** (process:22925): DEBUG: external_run_cmd: Calling 
> '/usr/lib64/stonith/plugins/external/ssh getinfo-devid'
>  ** (process:22925): DEBUG: external_getinfo: 'ssh getinfo-devid' returned 0
>  ** (process:22925): DEBUG: external_reset_req: called.
>  ** (process:22925): DEBUG: Host external-reset initiating on pc103
>  ** (process:22925): DEBUG: external_run_cmd: Calling 
> '/usr/lib64/stonith/plugins/external/ssh reset pc103'
>  ** (process:22925): DEBUG: external_reset_req: running 'ssh reset' returned 
> 256
>
>  ** (process:22925): CRITICAL **: external_reset_req: 'ssh reset' for host 
> pc103 failed with rc 256
>  .....
>
>  What I've done wrong?
>  Thanks in advance.
>
>  Xuan Mai
>
>  ________________________________________________________
>  AKCIÓS árak-ORSZÁGOS házhozszállítás-VIDEÓ termékbemutató
>
>
>
>  AEG-ELECTROLUX beépíthető gépek,mosogatógépek,mosógépek,hűtők
>
>
>
>  Raktárról azonnal az AEGshop.hu-tól
>
>  http://ad.adverticum.net/b/cl,1,6022,259982,311010/click.prm
>  _______________________________________________
>  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

Reply via email to