On 11/07/2012 01:43 PM, Vinzenz Feenstra wrote:
On 11/06/2012 08:54 PM, EricD wrote:
> Hi,
>
> Im really concern about the ovirt-engine.
> I do db & config files backup but is there a way to stop|start VM with
> virsh directly in the hypervisors via CLI if the ovirt-engine ain't
> working, crashed, .... ?
>
> I tried with `*virsh start <VM>`* with the '*vdsm@rhevh*' account but
> didn't work. Seems like this user as restricted privileges.
You can use for example vdsCli (package vdsm-cli) for this.
vdsCli [-s] 0 destroy vmid
vdsCli [-s] 0 list gives you the list of running vms on the node.
Note: 0 stands for the current host you're on. You also can do this
remotely if you replace 0 with the IP of the node/host.
but if you'll run a VM which is already running, the VM disks will get
corrupted!