Solved

Custom updates to vCenter via VMTools

Posted on 2010-08-23
1
441 Views
Last Modified: 2012-05-10
Already VMTools updates important information to vCenter via VMTools such as the operating system.

Is there a way to have it update other information that may be important in my settings?

For example I have a custom field in vCenter for versions of a particular app. I also have a script that reports the version of the app running. I would like to have VMTools populate that information to vCenter so that it is always up to date. As of now there is now guarantee that the app owners update vCenter when they update the App.

I understand that I could have an application update it directly to the SQL database, but my servers have no connections through the firewall to the SQL Database. This is by design and will not be changed.

Thanks.
0
Comment
Question by:brittonv
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 28

Accepted Solution

by:
bgoering earned 500 total points
ID: 33505014
I don't know that you will be able to do that directly with VMware Tools. However you could leverage the VMware vSphere Web Services SDK 4.1 (http://www.vmware.com/support/developer/vc-sdk/visdk41pubs/ApiReference/index.html) in a custom program to do what you wish. You would have to leverage the Windows task scheduler or Linux cron facility to make it run every so often to update whatever it is you are updating.

Tale a look under Data Object Types, the object type would be VirtualMachineConfigInfo, in that schema there is a extraConfig entry that takes Option/Value pairs, where you can specify key and value to update on the vCenter server. Here is the link for that structure: http://www.vmware.com/support/developer/vc-sdk/visdk41pubs/ApiReference/vim.option.OptionValue.html

Good Luck
0

Featured Post

Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
vmware workstation slow 39 214
Dell R730 NVMe Raid Options 4 145
Moving VMs from ESX 4.1 to ESXI 6 1 106
datastore and resource pool of VMWare 6 33
Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
This article outlines why you need to choose a backup solution that protects your entire environment – including your VMware ESXi and Microsoft Hyper-V virtualization hosts – not just your virtual machines.
Teach the user how to install ESXi 5.5 and configure the management network System Requirements: ESXi Installation:  Management Network Configuration: Management Network Testing:
Teach the user how to configure vSphere Replication and how to protect and recover VMs Open vSphere Web Client: Verify vsphere Replication is enabled: Enable vSphere Replication for a virtual machine: Verify replicated VM is created: Recover replica…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question