In the last chapter, we installed and configured Orchestrator with SSO authentication and an external database. Now, we will integrate Orchestrator into vCenter and ultimately with other VMware or third-party tools. This will place Orchestrator in a central position for all your automation purposes and needs.
You can add a vCenter 5.5 or 5.1 to Orchestrator 6 without any problems. However, please be aware that, if you construct workflows in Orchestrator 6 intended for a vCenter 5.x, you might experience problems. A typical problem is SSO, which underwent some major changes in 5.1, 5.5, and 6.0, and it will make a vSphere Web Client integration hard, if not impossible. If you need to stay compatible, you should use Orchestrator 5.5.x with vSphere 5.5.x.
In this chapter, we will look at the following topics:
Your first task is to link Orchestrator to vCenter. This will allow you to not only automate vCenter tasks with Orchestrator, but also run, schedule, and monitor workflows by using the Web Client.
For Orchestrator to access vCenter, we need these ports open between Orchestrator and vCenter: TCP 443 and 7444.
If you would like to integrate Orchestrator into the vSphere Web Client, you need to have port TCP 443 open between vCenter and Orchestrator.
To get started, we need to make sure that we have access to vCenter. Therefore, we will now assign the new AD group (vroAdmins) that we created in the last chapter to the vCenter Administrators role. You can use your existing Administrator user, such as [email protected], for this. However, for tracking and logging purposes, it's recommended that you use a dedicated user.
Now, we will add vCenter to Orchestrator, as follows:
So, that's it. We added a vCenter to Orchestrator. You can add multiple vCenters to one Orchestrator (don't forget to add their SSL certificate first). This allows you to have a central Orchestrator instance that controls vCenters in several environments, such as development and production.
Now that vCenter has been added to Orchestrator, we can see its contents in Orchestrator. Let's explore this:
If you see the vCenter Server inventory, you know that vCenter has been successfully added to Orchestrator. We will run and work with vCenter workflows in the next chapter.
After seeing that vCenter appears in Orchestrator, let's move on to see how we can make Orchestrator work in the vSphere Web Client:
When you see the Orchestrator instance in the vSphere Web Client, you know that Orchestrator was successfully registered as an extension to vCenter. This now allows you to use the vSphere Web Client to run the Orchestrator workflow directly.
In the next chapter, we will use the vSphere Web Client to run and schedule a workflow.