How to – start with VMware vCenter Orchestrator (vCO)

vCenter Orchestrator is a powerful workflow tool to automate processes in your VMware vSphere infrastructure as well as with other third-party technologies (eg. SQL, Active Directory,…).

Although vCenter Orchestrator license is packaged with your vCenter Server and can be used with no additional costs, a lot of people are probably not using it. Even they do not know that it exists.

It took me a long time, too, till I installed the vCO Appliance for the first time – but it is really a great tool, worth taking a closer look at.

For example you can build very basic workflows to automate some every-day-tasks as eg. server provisioning, or even create extreme complex ones, with integration of Active Directory or SQL,… .

You can install vCO on a windows server, or you go the easy way and use the virtual appliance.

I decided to use the virtual appliance – you can download it here: download vCenter Orchestrator appliance

This how-to includes the following chapters:

  1. vCenter Orchestrator default users/logins and passwords
  2. How to install/configure the vCenter Orchestrator appliance
  3. Orchestrator configuration
  4. How to import SSO service/vCenter Server certificates
  5. How to configure SSO authentication
  6. Activate/Manage Plug-ins
  7. Define a vCenter Server
  8. Check webclient integration
  9. Start your first workflow
  10. Create your first workflow

 

1. vCenter Orchestrator default users/logins and passwords:

When you work with the vCenter Orchestrator appliance you will have to deal with four different credentials… this is a little bit tricky at the first glance. Here you can find a list with all default user/passwords:

  • login to the vCO appliance configuration: root | vmware
  • Orchestrator Configuration: vmware | vmware (you have to change it during first logon)
  • Orchestrator Client: vcoadmin | vcoadmin
  • Web Operator: vcoadmin | vcoadmin

 

2. How to install the vCenter Orchestrator appliance:

templatedetails

  • accept the EULA
  • specify a name and location
  • specify a host/cluster
  • specify a destination storage
  • specify disk format
  • select the network mapping
  • specify the properties of the appliance

appliance_properties

  • review your settings and click finish to deploy the appliance

After deploying the appliance successfully, open a webbrowser to the IP address of the appliance

orchestrator

Select „Appliance Configuration“ to change the root password and (if you want it) to enable SSH. Login with the default user: root | password: vmware

Open the Admin Tab – here you can define a new password:

vCO_root_pw

If you want to enable SSH select „Toggle SSH setting“ from the Action Tab at the right:

togglesshsettings

 

3. Orchestrator configuration:

Before we can start with the first workflow you have to make some additional configurations to the Orchestrator Server. Use the link to the “Orchestrator Configuration”.

For the first login use the default user/password: vmware, vmware – you will be prompted to change the password.

The Orchestrator Configuration GUI is self explaining – problems may occure, when you try to configure the Authentication mode (LDAP or SSO authentication) or when you import the necessary certificates.

 

4. How to – import SSO service/vCenter Server certificates:

Before we can configure the SSO authentication we have to import the certificates from the SSO service and the vCenter Server. You can find all installed certs in the SSL Trust Manager (Network – SSL Trust Manager Tab):

trust_manager_vco

To import the certificates, perform the following steps:

  • select “Startup Options” – “Stop Service”

stop_vCO_Service

  • select “Network” – open the “SSL Trust Manager” Tab
  • to import the vCenter Server Certificate enter the following URL and click “Import”: https://IP_of_vCenter_Server:443
  • the properties of the certificate will be displayed – click “Import” again
  • when you get the message: The SSL certificate is successfully imported repeat the import-steps with the URL for the SSO Service: https://IP_of_SSO_Server:7444

 

5. How to – configure SSO authentication:

After you have successfully imported the certificates change to the “Authentication” menue. Per default LDAP authentication is used, change it to SSO authentication:

SSO_authentication_settings_vCO

You can choose between two options: Basic Mode or Advanced Mode.

I strongly recommend to use the Advanced Mode – as I noticed some problems when using the Basic Mode. In both options most settings are pre-set (eg. Token service and Admin service URL, Host…).

You will only have to insert the SSO Server IP address and  provide the SSO Admin‘s user name and the SSO Admin‘s password.

The default SSO user is admin@system-domain (vSphere 5.1) or administrator@vsphere.local (vSphere 5.5). You have set the password for this user during SSO installation.

Click “Register Orchestrator” and wait for the following message:

vCO_register_Successfull

 

In the same window you can now configure who will be a vCO-administrator. Select an AD group and click “Accept Orchestrator Configuration” when you have made your choice.

6. Activate/Manage Plug-ins:

There are a lot of pre-installed Plug-ins available – but you will have to activate some of them dedicated. Change to the Plug-In menue and select eg. the vCenter Server Plug-in. To make the activation effective restart the appliance!

vCO_plugins

 

7. Define a vCenter Server:

Change to the vCenter Server Tab to define your vCenter Server. Use the “New vCenter Server Host” tab to enter the necessary information. I would recommend you to use the following parameters:

  • Available: Enabled
  • Host: IP of your vCenter
  • port: 443
  • check secure chanel
  • Path: /sdk
  • use session per user
  • Domain: System
  • Username
  • Password

 

8. Check Webclient integration

Open your vSphere Web Client and change to the vCenter Orchestrator Tab:

vCenterOrchestratortab

Check if your vCO applianced is used to manage your vCenter Server

vcenter_managed_by_vco

  • If no -> check if you used an authorized user for vCO to login to your webclient (or maybe it is time to restart your appliance)
  • If yes -> congrats – you have successfully installed vCO and it is time to take a look at the workflows coming along with vCenter Orchestrator.

 

9. Start your first workflow:

Now it’s time to test if the predefined workflows are working – open your vSphere Webclient and right click on any object (eg. virtual machine,…).

You will see, that the context menue is extended with vCenter Orchestrator Actions (=workflows). If you want, select one of the predefined workflows and give them a try.

extended_vCO_context_menue

 

10. Create your first workflow:

There already exist great sources about how to start your first workflow. I recommend you to take a look at the following three youtube videos, uploaded by VMware:

To start the orchestrator client, open a webbrowser to your appliance and select “Start Orchestrator Client”:

orchestrator_client

4 Comments

  1. Kim

    Thank you for this awesome summary!

  2. topuli

    if you use an dns-alias for the vcenter webinterface and login via the alias url you won´t see the vCO Server in the webinterface under Orchestrator Servers

  3. topuli

    sorry false information it was a problem with the userrights

  4. Ivaylo

    Thank You!
    Very useful post. There are not that many posts out there

Leave a Comment

Your email address will not be published. Required fields are marked *