[ovirt-users] vm status
Eli Mesika
emesika at redhat.com
Thu Aug 27 08:03:03 UTC 2015
----- Original Message -----
> From: "InterNetX - Juergen Gotteswinter" <jg at internetx.com>
> To: "Michael Wagenknecht" <wagenknecht at fuh-e.de>, users at ovirt.org
> Sent: Tuesday, August 25, 2015 8:48:55 PM
> Subject: Re: [ovirt-users] vm status
>
> if the vm is really down, you whould find this helpful
This will work only if the VM status is LOCKED for any other status, it will do nothing ....
>
> [root at portal dbscripts]# ./unlock_entity.sh -h
> Usage: ./unlock_entity.sh [options] [ENTITIES]
>
> -h - This help text.
> -v - Turn on verbosity (WARNING:
> lots of output)
> -l LOGFILE - The logfile for capturing output (def. )
> -s HOST - The database servername for the database (def.
> localhost)
> -p PORT - The database port for the database (def. 5432)
> -u USER - The username for the database (def. engine)
> -d DATABASE - The database name (def. engine)
> -t TYPE - The object type {vm | template | disk | snapshot}
> -r - Recursive, unlocks all disks under the selected
> vm/template.
> -q - Query db and display a list of the locked entites.
> ENTITIES - The list of object names in case of vm/template,
> UUIDs in case of a disk
>
> NOTE: This utility access the database and should have the
> corresponding credentals.
>
> In case that a password is used to access the database PGPASSWORD
> or PGPASSFILE should be set.
>
> Example:
> $ PGPASSWORD=xxxxxx ./unlock_entity.sh -t disk -q
>
> [root at portal dbscripts]# pwd
> /usr/share/ovirt-engine/dbscripts
> [root at portal dbscripts]#
>
>
> Am 25.08.2015 um 07:33 schrieb Michael Wagenknecht:
> > Hi all,
> > how can I mark a VM as shut down when the status of the VM is "?"?
> > There is no qemu-kvm process for this VM on the node.
> > But I can't set the node to maintenance mode, because there is a very
> > important VM running.
> >
> > Best Regards,
> > Michael
> > _______________________________________________
> > Users mailing list
> > Users at ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> >
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
More information about the Users
mailing list