Executing a program inside a VM

In this recipe, we will take a look at how to use Guest Operations (formerly called VIX) with Orchestrator. Guest Operations is a method by which vCenter can transfer files and execute programs inside a VM using VMware Tools. This method is of interest in DMZs, where security reduces the amount of automation possible.

Getting ready

We will need a running VM of any OS flavor you are happy with. This VM also needs to have VMware Tools installed. In this example, we will use a Windows VM.

We also need a program to install in the operating system. In this example, we will use Java for Windows. The silent install instructions can be found at https://www.java.com/en/download/help/silent_install.xml .

You will need to upload ...

Get VMware vRealize Orchestrator Cookbook - Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.