Solved

Custom updates to vCenter via VMTools

Posted on 2010-08-23
1
440 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Unable to remove VSphere from Host Machine 5 77
vCenter upgrade from 5.5 to 6.5 7 182
VM delta disk 2 48
cheap host service for my VMWare guest server 3 57
Will try to explain how to use the VMware feature TAGs in the VMs and create Veeam Backup Jobs using TAGs. Since this article is too long, I will create second article for the Veeam tasks.
When rebooting a vCenters 6.0 and try to connect using vSphere Client we get this issue "Invalid URL: The hostname could not parsed." When we get this error we need to do some changes in the vCenter advanced settings to fix the issue.
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

749 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