Re: [one-users] Number of running VMs on a host is incorrect, how to reset?
Thank you very much for the hint. Ran ‘onedb fsck’, found and fixes 83 errors. -- 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 On Jan 23, 2015, at 5:06 , Carlos Martín Sánchez cmar...@opennebula.org wrote: 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 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 GROUPNAMESTAT UCPUUMEM HOST TIME 62478 gmu1 vcl vmguest-vcl314 runn64.2G BC3-11 43d 23h13 63450 gmu1 vcl vmguest-vcl59 ( runn64.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
Re: [one-users] Number of running VMs on a host is incorrect, how to reset?
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 GROUPNAMESTAT UCPUUMEM HOST TIME 62478 gmu1 vcl vmguest-vcl314 runn64.2G BC3-11 43d 23h13 63450 gmu1 vcl vmguest-vcl59 ( runn64.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
Re: [one-users] Number of running VMs on a host is incorrect, how to reset?
Hi, I traced it back to slow DB performance. After running 'onehost show' several times all VMs finally show up... -- 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 On Jan 22, 2015, at 10:46 , 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 GROUPNAMESTAT UCPUUMEM HOST TIME 62478 gmu1 vcl vmguest-vcl314 runn64.2G BC3-11 43d 23h13 63450 gmu1 vcl vmguest-vcl59 ( runn64.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