How to start and stop a virtual machine via ssh

Post Reply
m-i-n
First post
Posts: 1
Joined: Mon Jul 20, 2015 2:53 pm

How to start and stop a virtual machine via ssh

Post by m-i-n »

How to start and stop a virtual machine via ssh or script.
"virsh" does not work - command not found

TVS-673 4.3.3.0361
VirtualizationStation 3.0.2836
User avatar
OneCD
Guru
Posts: 12155
Joined: Sun Aug 21, 2016 10:48 am
Location: "... there, behind that sofa!"

Re: How to start and stop a virtual machine via ssh

Post by OneCD »

Hi and welcome to the forum. :)

I don't use Virtualization Station myself, so I can't confirm this, but you may need to modify a couple of environment variables to access virsh:

Code: Select all

export LD_LIBRARY_PATH=/KVM/opt/lib:/KVM/opt/lib64/
export PATH=$PATH:/KVM/opt/bin/:/KVM/opt/sbin/
This was taken from Philippe's notes here.

ImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImageImage
Post Reply

Return to “Virtualization Station”