Wednesday, July 10, 2013

vCenter Inventory Service

vCenter Inventory Service Stores vCenter Server application and inventory data, enabling you to search inventory objects across linked vCenter Servers. If the vCenter Inventory Service Database is corrupted or inoperable, you can reset it. You should also reset the vCenter Inventory Database if you reset the vCenter Server database.
Procedure to reset the vCenter Inventory Service database:
  1. Stop the vCenter Inventory Service.
    1. From the Windows Start menu, select Administrative Tools > Services.
    2. Right-click vCenter Inventory Service and select Stop.
  2. Open a command prompt:
    Delete the entire contents of the Inventory_Service_Directory/data directory.For example, if you installed vCenter Inventory Service in the default location, run this command.
    cd /Program Files/VMware/Infrastructure/Inventory Service/data
  3. Change directory to Inventory_Service_directory/scriptsFor example, if you installed vCenter Inventory Service in the default location, run this command.
    cd /Program Files/VMware/Infrastructure/Inventory Service/scripts
  4. Run the createDB.bat command, with no arguments, to reset the vCenter Inventory Service database.
  5. Run the register.bat command to update the stored configuration information of the Inventory Service
    register.bat current_vCenter_Server_fully_qualified_domain_namevCenter_Server_HTTPS_port 
    For example, if the vCenter Server fully qualified domain name is machinename.corp.com and the HTTPS port is 443, run this command.
    register.bat machinename.domain.local 443
  6. Restart the vCenter Inventory Service.
    From the Windows Start menu, select Administrative Tools > Services.
    Right-click vCenter Inventory Service and select Start.
Thanks to VMware, Information is from the white paper provided by VMware.
    

0 comments:

Post a Comment