Thursday, June 25, 2015

All VMs are showing "?" instead of power-up (green) or down (red) status

For any kind of inconsistency on any of the host, use following status:


1) Migrate all the VMs and make sure of it.

2) Cross check VMs on this hosts

# vdsClient -s host02 list table
7dd2737c-df9b-406d-ab53-00788db5005e  29389  de01adaup009         Up                   10.205.0.14
774c0144-dc94-47cc-838c-3b0a1607e491  29193  de01adaup012         Up                   10.199.107.62
97c26b75-8291-4564-818f-0cb37b98605e  30798  de01addxp014         Up                   192.168.5.151
96442b3b-e509-4ba6-aae2-c05d16fcd3d7  27957  cfme02               Up                   10.199.102.36
caff5937-d4f6-4fef-a6db-6ead5d7cb884  32197  de01addxshruti       Up
a64626c2-78d6-4054-a445-3d93f4867a0f  32529  de01addxt004         Up                   10.199.102.41
61994678-bf13-461a-aef3-5b868ac8fc63  14220  Nagios               Up
202aafc8-5bb4-4b2d-b7d8-d4736c46aaef  32335  de01addxp021         Up                   10.199.102.28
6b9c8ef9-3f0c-4bbd-a42a-074ce7db4da4  32779  de01addxt002         Up                   10.199.102.102



We can try command line Migration (.NA.)
vdsClient -s 0 migrate vmId=61994678-bf13-461a-aef3-5b868ac8fc63 method=online src=localhost dst=host03


This is the process to avoid any shutdown of VMs: 1) Disable power management for this host. Do this from the webUI by opening the Edit menu for the host, opening the Power Management tab, uncheck "Enable Power Management" and then click ok. 2) On the host, kill the two libvirt processes.

ps -ef|grep libvirt|grep listen 3) Start libvirtd again, note that this requires initctl instead of service on RHEL 6: # initctl start libvirtd
4) Wait about 60 seconds and then try the migration again.vdsmd restart

No comments:

Post a Comment