Find the missing VMs and Hosts - VMWare

Find the missing VMs and Hosts - VMWare


After the vcenter discovery if the VMs and Hosts are missing, query the below table and check

select * from vwentitymomapping where entity_type = 'VirtualMachine';

select * from vwentitymomapping where entity_type = 'HostSystem';

When the MOID is -4, check whether their DNS resolves, if not update it from vsphere client > host property

When the MOID is -5, that's marked as "deleted by user" so opmanager won't be mapping it.

We have run this update query manually and restart opmanager service.

update vwentitymomapping set moid = -4 where moid = -5;

Now automatic discovery will initiate during every restart.  


      New to ADSelfService Plus?

        Resources

            • Related Articles

            • Find the missing VMs and Hosts - HyperV and Xen

              After the HyperV discovery if the VMs are missing, query the below table and check select * from hyperventitymomap where entity_type = 'HyperV-VM'; select * from hyperventitymomap where entity_type = 'HyperV-Host'; When the MOID is -4, check whether ...
            • How to add monitor VmWare Events ?

            • Xen VMs Tab will be empty due to disk name is lengthy

              Xen discovery issue:  Virtual Machines tab will be empty in the host snapshot page due to the Disk name is exceeded more than 100, and the below exception will be found in stderr log Caused by: java.sql.SQLException: Batch entry 21 INSERT INTO ...
            • Where can I find my OpManager database information?

              Question: Where can I find my OpManager database  information? Solution:  OpManager database information is stored  in the file "database_params.conf"  under OpManager/conf folder. The database server name/IP , database name, database type   and user ...
            • Resolving Pgsql Startup due to DNS issue

              1. Stop the OpManager service and wait till all java/postgres processes are closed. (If postgres process doesn't exit for a long time, do not kill the process, instead, run StopPgsql.bat from cmd and wait for the process to terminate.)  2. Navigate ...