Authenticating with vSphere
vSphere authentication is the classic setup: infrastructure teams log in to Orchestrator with the same accounts they use for vCenter. It’s the most common choice when there’s no VCF Automation in the picture.
Getting ready
- A deployed appliance (recipe 1.2), and a root shell on it: log in as
vmware-system-userand runsudo su -(recipe 2.1). - vCenter 9.x and an SSO administrator account, typically
administrator@vsphere.local. - A decision on who administers Orchestrator. You’ll name an SSO group, and its members become Orchestrator administrators.
How to do it
- In the vSphere Client, go to Menu > Administration > Single Sign On > Users and Groups and open the Groups tab.
- Click Add, enter a group name such as
OrchestratorAdmins, keep the domainvsphere.local, add yourself under Add Members, and click Add. Using the built-inAdministratorsgroup also works, but a dedicated group is easier to audit.
vSphere Client 9, Administration > Single Sign On > Users and Groups > Groups > Add with the group name OrchestratorAdmins and one member.
- SSH in as
vmware-system-userand switch torootwithsudo su -(recipe 2.1), and set vSphere as the provider. You’ll be asked for the SSO administrator’s password and to accept vCenter’s certificate:
vracli vro authentication set -p vsphere \ --hostname https://vc01.vmw.lab \ --username administrator@vsphere.local \ --tenant vsphere.local \ --admin-group OrchestratorAdmins \ --admin-group-domain vsphere.local- Check the staged values:
vracli vro authentication- Redeploy the Orchestrator services so the change takes effect. This takes several minutes:
/opt/scripts/deploy.sh- Browse to
https://vco01.vmw.lab, open the client, and log in as a member ofOrchestratorAdmins.
How it works
Orchestrator registers itself with vCenter’s Single Sign-On service, using the administrator account you supplied. From then on, every login is checked by SSO, and the token SSO issues is what Orchestrator uses to identify you.
The --admin-group decides who gets full rights. vSphere authentication has no other roles and no groups: you’re either an Orchestrator administrator or a user without a role, who can only see your own runs and answer user interactions. If you need designers, viewers, and group permissions, use a VCF Automation organization (recipe 1.5) instead.
There's more
Running workflows from the vSphere Client. With vSphere authentication you can also bring Orchestrator into the vSphere Client, so that workflows show up in the right-click menu of inventory objects. Enable it with vracli capabilities vcoin --enable, run /opt/scripts/deploy.sh, then run the Register VCF Operations Orchestrator Plug-in for vSphere Web Client Extension workflow. Only one vCenter can host the extension. Chapter 8 covers it fully.
See also
- 1.9 Registering your first vCenter, the natural next step with vSphere authentication.
- Broadcom TechDocs: Integrate VCF Operations orchestrator with vSphere.
