Hi,

On Thu, Jan 22, 2015 at 4:46 PM, Dmitri Chebotarov <dcheb...@gmu.edu> wrote:

> Hi
>
> I have few hosts showing wrong number of running VMs.
> I.e. below RUNNING VMS: 7, actual VMs: 2.
>
> Is there a way to reset the number and resources for those hosts?
>

You can use the onedb fsck command to fix it:

http://docs.opennebula.org/4.10/administration/references/onedb.html

Regards.

--
Carlos Martín, MSc
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | cmar...@opennebula.org | @OpenNebula
<http://twitter.com/opennebula> <cmar...@opennebula.org>

On Thu, Jan 22, 2015 at 4:46 PM, Dmitri Chebotarov <dcheb...@gmu.edu> wrote:

> Hi
>
> I have few hosts showing wrong number of running VMs.
> I.e. below RUNNING VMS: 7, actual VMs: 2.
>
> Is there a way to reset the number and resources for those hosts?
>
> [oneadmin@ONE ~]$ onehost show 176
> HOST 176 INFORMATION
> ID                    : 176
> NAME                  : BC3-11
> CLUSTER               : RHEL
> STATE                 : MONITORED
> IM_MAD                : kvm
> VM_MAD                : kvm
> VN_MAD                : ovswitch
> LAST MONITORING TIME  : 01/22 10:40:53
>
> HOST SHARES
> TOTAL MEM             : 47G
> USED MEM (REAL)       : 13.2G
> USED MEM (ALLOCATED)  : 28G
> TOTAL CPU             : 2400
> USED CPU (REAL)       : 14
> USED CPU (ALLOCATED)  : 1400
> RUNNING VMS           : 7
>
> MONITORING INFORMATION
> ARCH="x86_64"
> CPUSPEED="1596"
> HOSTNAME="BC3-11"
> HYPERVISOR="kvm"
> MODELNAME="Intel(R) Xeon(R) CPU           X5660  @ 2.80GHz"
> NETRX="0"
> NETTX="0"
> RESERVED_CPU=""
> RESERVED_MEM=""
> VERSION="4.8.0"
>
> VIRTUAL MACHINES
>
>     ID USER     GROUP    NAME            STAT UCPU    UMEM HOST
>  TIME
>  62478 gmu1 vcl      vmguest-vcl314  runn    6    4.2G BC3-11      43d
> 23h13
>  63450 gmu1 vcl      vmguest-vcl59 ( runn    6    4.2G BC3-11       1d
> 22h44
> --
> Thank you,
>
> Dmitri Chebotarov
> VCL Sys Eng, Engineering & Architectural Support, TSD - Ent Servers &
> Messaging
> 223 Aquia Building, Ffx, MSN: 1B5
> Phone: (703) 993-6175 | Fax: (703) 993-3404
>
> _______________________________________________
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to