[ClusterLabs] fence_vbox '--action=' not executing action

durwin at mgtsciences.com durwin at mgtsciences.com
Wed Feb 1 16:16:03 EST 2017


I have 2 Fedora 24 Virtualbox machines running on Windows 10 host.  On the 
host from DOS shell I can start 'node1' with,

VBoxManage.exe startvm node1 --type headless

I can shut it down with,

VBoxManage.exe controlvm node1 acpipowerbutton

But running fence_vbox from 'node2' does not work correctly.  Below are 
two commands and the output.  First action is 'status' second action is 
'off'.  The both get list of running nodes, but 'off' does *not* shutdown 
or kill the node.

Any ideas?

Thank you,

Durwin


02:04 PM root at node2 ~
fc25> fence_vbox --verbose --ip=172.23.93.249 --username=durwin 
--identity-file=/root/.ssh/id_rsa.pub --password= --plug="node1" 
--ssh-options="cmd" --command-prompt='>' --login-timeout=10 
--shell-timeout=20 --action=status
Running command: /usr/bin/ssh  durwin at 172.23.93.249 -i 
/root/.ssh/id_rsa.pub -p 22 cmd
Received: Enter passphrase for key '/root/.ssh/id_rsa.pub':
Sent:

Received:
stty: 'standard input': Inappropriate ioctl for device
Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. All rights reserved.

D:\home\durwin>
Sent: VBoxManage list runningvms

Received: VBoxManage list runningvms
VBoxManage list runningvms

D:\home\durwin>
Sent: VBoxManage list vms

Received: VBoxManage list vms
VBoxManage list vms
"node2" {14bff1fe-bd26-4583-829d-bc3a393b2a01}
"node1" {5a029c3c-4549-48be-8e80-c7a67584cd98}

D:\home\durwin>
Status: OFF
Sent: quit



02:05 PM root at node2 ~
fc25> fence_vbox --verbose --ip=172.23.93.249 --username=durwin 
--identity-file=/root/.ssh/id_rsa.pub --password= --plug="node1" 
--ssh-options="cmd" --command-prompt='>' --login-timeout=10 
--shell-timeout=20 --action=off
Delay 0 second(s) before logging in to the fence device
Running command: /usr/bin/ssh  durwin at 172.23.93.249 -i 
/root/.ssh/id_rsa.pub -p 22 cmd
Received: Enter passphrase for key '/root/.ssh/id_rsa.pub':
Sent:

Received:
stty: 'standard input': Inappropriate ioctl for device
Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. All rights reserved.

D:\home\durwin>
Sent: VBoxManage list runningvms

Received: VBoxManage list runningvms
VBoxManage list runningvms

D:\home\durwin>
Sent: VBoxManage list vms

Received: VBoxManage list vms
VBoxManage list vms
"node2" {14bff1fe-bd26-4583-829d-bc3a393b2a01}
"node1" {5a029c3c-4549-48be-8e80-c7a67584cd98}

D:\home\durwin>
Success: Already OFF
Sent: quit


Durwin F. De La Rue
Management Sciences, Inc.
6022 Constitution Ave. NE
Albuquerque, NM  87110
Phone (505) 255-8611


This email message and any attachments are for the sole use of the 
intended recipient(s) and may contain proprietary and/or confidential 
information which may be privileged or otherwise protected from 
disclosure. Any unauthorized review, use, disclosure or distribution is 
prohibited. If you are not the intended recipient(s), please contact the 
sender by reply email and destroy the original message and any copies of 
the message as well as any attachments to the original message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clusterlabs.org/pipermail/users/attachments/20170201/4794a463/attachment-0002.html>


More information about the Users mailing list