Chapter 12. Working with vSphere

This chapter is dedicated to working with vSphere—or, to put it bluntly, the vCenter itself. We will be looking at the following recipes:

  • Working with the vCenter API (to change a VM's HA settings)
  • Standard vSwitch and Distributed Switch ports
  • Getting started with vAPI
  • Custom Attributes and Tags (vAPI)
  • Executing a program inside a VM
  • An approval process for VM provisioning

Introduction

Here we will have a look into the vSphere plugin and what we can do with it.

vSphere automation

The interaction between Orchestrator and vCenter is done using the vCenter API. Let's have a closer look at the interaction, and how it works, in more detail.

A user starts an Orchestrator workflow (1) either in an interactive way through the vSphere ...

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

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.