This is VMware Automation's Typepad Profile.
Join Typepad and start following VMware Automation's activity
Join Now!
Already a member? Sign In
VMware Automation
Recent Activity
@Doug B, You're very welcome!
1 reply
Image
Posted by William Lam Sr. Tech Marketing Engineer Twitter @VMWAutomation By William Lam, Sr. Technical Marketing Engineer Here is another alternative to my previous blog post, which provides an automated way of hardening newly created Virtual Machines by leveraging an SNMP trap sent from vCenter Server to vCenter Orchestrator to execute a “Secure VM” workflow. The video below demonstrates the necessary configurations for both your vCenter Server and vCenter Orchestrator Server and the import of the custom “Secure VM" vCO package. Before getting started, please ensure you have installed the SNMP vCO plugin on your vCO Server. You do not... Continue reading
Posted Jul 23, 2012 at VMware vSphere Blog
@Cody, Yes, stay tuned :)
1 reply
Image
Posted by William Lam Sr. Tech Marketing Engineer Twitter @VMWAutomation By William Lam, Sr. Technical Marketing Engineer In a previous blog post, we demonstrated how you can easily automate the hardening of your Virtual Machines by using a PowerCLI or vSphere SDK for Perl script and apply the latest vSphere 5.0 Security Hardening Guide recommendations for your Virtual Machines. Now, this is great for securing your existing Virtual Machines, but what about new Virtual Machines that are created? Wouldn’t it be neat to have your Virtual Machines automatically secured after they have been created? This is exactly what you can... Continue reading
Posted Jul 20, 2012 at VMware vSphere Blog
@astrolab, since this is regarding the PowerCLI script, I've asked my colleague Alan Renouf who wrote the script to help out.
1 reply
@astrolab, Make sure your ESXi version is 5.0 as this is a new feature in vSphere 5.0. If you are running ESX(i) 4.x, take a look at this KB for the process http://kb.vmware.com/kb/1029786
1 reply
@-AM- Thanks for the comments. Currently today the UI can not be extended, if you wish to add custom "operations" whether that be VMware specific or even external operations is to create a custom portal using the vCloud API. You also have the option of using vCO and webViews as a simple way of presenting an interface to end-users. Thanks
1 reply
Image
By William Lam, Sr. Technical Marketing Engineer A neat little feature that I have been exploring with in vCloud Director is Custom Properties for a vApp and Virtual Machine. This was one of the new features in the vCloud Director 1.5 release which allows users to easily pass data into the guest OSes using OVF descriptors. I found the Custom Properties to be a very interesting capability as it allows users to dynamically provision a vApp and present variety of custom data for the guestOS to access such as guestOS customization, asset tag information as well as application startup parameters.... Continue reading
Posted Jun 21, 2012 at VMware vSphere Blog
Image
By William Lam, Sr. Technical Marketing Engineer For those of you who are familiar with the vCLI’s vifs utility, have probably used it to remotely upload/download files to a datastore located on a vSphere host. An example of this could be uploading a patch or an ISO image as seen in the screenshot below. However, did you know you can use the vCLI’s vifs utility for more than just datastore file management? A recent question that came up was about updating the /etc/hosts file across several hundred vSphere hosts. One solution is to enable SSH access to the vSphere host... Continue reading
Posted Jun 14, 2012 at VMware vSphere Blog
Image
By William Lam, Sr. Technical Marketing Engineer As you probably have heard, VMware has just released the official vSphere 5.0 Security Hardening Guide. In addition to providing the latest guidelines for the vSphere 5.0 platform, the new hardening guide also includes several enhancements, one of which are the CLI (ESXi Shell, vCLI or PowerCLI) commands for assessment and/or remediation for a given guideline. One particular section of the hardening guide that has been quite popular over the years is securing the Virtual Machine’s VMX configuration file. You might ask, how would you go about automating these change across all your... Continue reading
Posted Jun 7, 2012 at VMware vSphere Blog
Image
By William Lam, Sr. Technical Marketing Engineer A question that has comes up from time to time for vCloud Director is how to tell when a vApp and its associated Virtual Machines is ready for use after the initial power on operation? If you look at the vCloud UI, the status of the Virtual Machine shows “Powered On” which is also represented in the vCloud API using the “Status” property for a Virtual Machine. However, this status does not necessarily mean the guestOS is ready, it just means that it is powered on. The Virtual Machines could still be booting... Continue reading
Posted Jun 4, 2012 at VMware vSphere Blog
@Mission Liao, What type of information would you need from within the guestOS? In general, it is a best practice to restrict access from the VM network and the infrastructure management network and this will prevent you from making any direct calls to the infrastructure APIs such as vSphere API.
1 reply
Image
By William Lam, Sr. Technical Marketing Engineer Introduction to the vSphere API Part 1: Overview Introduction to the vSphere API Part 2: Object Model In Part 2 of the series, we took a look at the vSphere Object Model and how objects such as a Virtual Machine, ESXi host, Datacenter, etc. are represented in the API and how to access their properties and capabilities. In this article, we will take a look at the vSphere Inventory Hierarchy and how to go about navigating and searching through the vSphere Objects. Overview The vSphere API organizes its entities (Datacenter, HostSystem, VirtualMachine, etc)... Continue reading
Posted May 24, 2012 at VMware vSphere Blog
Image
By William Lam, Sr. Technical Marketing Engineer Did you know the vCLI (includes ESXCLI) offers several different authentication options? This is actually not a very well known fact and I thought I share some of the different options, as this question comes up from time to time. Note: In the examples below, I am using the vCLI 5.0 release. 1. Traditional username and password - You can either specify both the --username and --password or only specify the --username and you will then be prompted to enter your password. Here is an example: In the screenshot above, we can specify... Continue reading
Posted May 23, 2012 at VMware vSphere Blog
Image
By William Lam, Sr. Technical Marketing Engineer In vCloud Director today, users can not modify or resize a virtual disk for a Virtual Machine (VM) using the vCloud UI, even if the VM is powered off. Though not ideal, this operation can still be accomplished in vCloud Director by leveraging the vCloud API or vCenter Orchestrator (vCO). In this article, I will demonstrate how you can easily resize a virtual disk for a VM in vCloud Director as well as hot-add and hot-extend a virtual disk for a running VM using the vCloud API. Before getting started, if you are... Continue reading
Posted May 18, 2012 at VMware vSphere Blog
By William Lam, Sr. Technical Marketing Engineer A new whitepaper was recently released by VMware called Backup Design for vCloud Tenant vApps to help provide guidance to partners looking to design and build backup solutions for tenant vApps running in vCloud Director. The document covers the complete process for a backup and restore of a vApp or individual Virtual Machines running in vCloud Director. It also covers several different use cases related to the backup and restore process and provides recommendations on the specific scenarios. The process involves leveraging three key VMware APIs: vCloud API - vApp Metadata processing vSphere... Continue reading
Posted May 7, 2012 at VMware vSphere Blog
Image
By William Lam, Sr. Technical Marketing Engineer I recently received a question about whether it was possible to look up a vCloud Director Object with just knowing the object’s unique identifier (URN format) using the vCloud API? The use case for this was to store the vCloud Director’s unique object ID in an external system and be able to quickly access the objects without having to traverse the vCloud Director Inventory each time. The Query Service API can easily service this request, but currently today it does not support filtering by the HREF or ID property. However, it is still... Continue reading
Posted May 3, 2012 at VMware vSphere Blog
@Luke, The information that is published to these various fields is done by the vendor. It looks like with the case of Cisco, when an upgrade is performed on the VSM, they don't update that info back into the VDS object and hence you're getting the old information. I would recommend you file a bug with Cisco asking them to update their VDS information for any chances they may make on their end. These APIs are completely open and they just need to push their info up and you can then leverage these scripts to collect information about VMware VDS and other 3rd party Distributed Virtual Switches
1 reply
By William Lam, Sr. Technical Marketing Engineer Recently, we have been receiving numerous questions about extracting information from a VMware vSphere Distributed Virtual Switch (VDS) and whether it was possible to do the same with 3rd party Distributed Virtual Switches that have integrated with the vSphere platform such as the Cisco’s Nexus 1000v. The answer is yes and we can easily do so with the help from the vSphere API. To give you a little background from the API perspective, both a VMware VDS and Cisco Nexus 1000v are represented as a DistributedVirtualSwitch managed object base type in the vSphere... Continue reading
Posted Apr 27, 2012 at VMware vSphere Blog
@Chad, You can interact with the REST API over HTTP/HTTPs, and cURL is just one of many tools that you could use to interact with a URL, in this case we're using it to interact with vCloud REST API.
1 reply
Image
By William Lam, Sr. Technical Marketing Engineer If you are trying to power off or shutdown a vApp for deletion using the vCloud API, you probably thought about using either the powerOff or shutdown API call. What you might have noticed is that even though the Virtual Machines within the vApp are powered off, you are still unable to delete the vApp. If you take a look at the vCloud Director UI, the status of the Virtual Machines show they are in a “Partially Powered Off” state. If you perform the same operation using the vCloud Director UI, you will... Continue reading
Posted Apr 16, 2012 at VMware vSphere Blog
Image
By William Lam, Sr. Technical Marketing Engineer In earlier releases of vCloud Director (1.0), to find a particular vCloud object using the vCloud API, you always had start at the root of your vCloud instance and traverse through the links to find the object in question. This meant that users were required to make multiple API requests to vCloud Director to discover the various links to a given set of objects such a Virtual Machine or Catalog. With the release of vCloud Director 1.5, a new feature was introduced called the Query Service that provides a quick and efficient way... Continue reading
Posted Apr 5, 2012 at VMware vSphere Blog
Image
By William Lam, Sr. Technical Marketing Engineer There were some questions on twitter last night about the number of syslog servers that can be configured for an ESXi host and the answer depends on the version of ESXi you are running. With ESXi 4.x, you could only forward to a single syslog server, but with ESXi 5.0 you can now forward to multiple syslog servers which is great for providing redundancy when shipping your logs. In addition to supporting multiple syslog servers, with the release of ESXi 5.0, you can specify different transport protocols: UDP (default), TCP and SSL. You... Continue reading
Posted Apr 4, 2012 at VMware vSphere Blog
@Tim, Which script are you referring to?
1 reply
Image
By William Lam, Sr. Technical Marketing Engineer I recently have been exploring a really neat feature in the vCloud API (introduced in vCloud Director 1.5) which allows users to create custom metadata (key/value pair) for various objects such as a Virtual Machine, vApp, Provider vDC, etc. in vCloud Director. Here are two possible use cases for using the metadata feature: When a new vApp is requested, there is generally some associated “business” or “environmental” information such as the purpose, requestor, asset tag, ticket number, contact information, etc. with the new vApp request. This information can not easily be associated with... Continue reading
Posted Mar 29, 2012 at VMware vSphere Blog