Skip to content

vCenter Installation, and SSO Configuration

T20A02 edited this page Sep 29, 2023 · 7 revisions

vCenter Installation

vCenter Stage 1

vCenter is a powerfull tool, and is critical in its role of clustering ESXi hosts, from VMware into one group allowing central management, SSO, permissions control, backups, and migrations along with much more functionality from a single web portal.

Before installing vCenter you will need to have your vCenter .iso file, or disk mounted to the system you use for management, on the same network as the device. Additionally you will want to make any DNS records you plan on using.

  1. First Verify connection, and resolution to your AD controller, by pining it by name, and IP to verify it is working properly.

  2. Now open the VSCA .iso directory, via cli, from your management device, and enter the /media/vsca-ui-installer/ directory, then move to the folder based on your guest OS.

image

  1. Now run the "Installer" file in that directory, to launch the Ui vCenter installer, where you will be greeted with this window.

image

  1. Click Install, Then next, Then accept the the EULA

image

  1. Once you reach the following page, enter the FQDN or IP of the ESXI server, then the login credentials for it, and click "Next", and Accept the Certificate warning. This is warning the user that the ESXI host selected is using a self signed cert. This is not an issue in most environments, but should be addressed for large production environments.

image

image

  1. Once those settings are validated, and the ESXI system has been connected to the installer, then you must configure a VM name, and root password for the vCenter "Vm", as it will act on the ESXI host.

image

  1. Next Pick the size of the deployment, this is entirely up to the size of the environment, and the resources available. Here I picked "Small".

image

  1. Then you must pick the datastore, on the host esxi server, that will hold the vCenter VM

image

  1. Finally configure the network settings to be used by the vCenter instance. Here I used a reserved address for the server, the gateway was my PFSense router IP, and the DNS server was my Domain Controller.

image

  1. Click next, to review your settings, and then finish to install vCenter, and complete Stage 1. This will take some time

Stage 2, ESXI Configuration

Now that the server has been provisioned we must complete setup.

  1. First we will be greeted by that original start page for the UI. Stage 2 will no longer be greyed out, and Stage one should have a green check indicating completion. Click Next

image

  1. Configure the NTP server settings to be used for the vCenter server. I recommend configuring a server, and not using system time, to prevent desync issues between ESXI Host's, vCenter, and the AD Controller once SSO is enabled. I used pool.ntp.org

  2. Next use "Create a new SSO domain" for now to create a local domain, so that we can have multiple accounts, even if SSO stops working.

image

  1. Finally decline the CEIP setup, and make sure to uncheck the CEIP box;

image

  1. Finally Verify your settings, and hit finish, again this will take some time.

Stage 3, Adding Licensing, and Hosts

Here we now have a completed vCenter install, and we are going to add our ESXI host, and add our licensing information

  1. Connect the the vcenter server using the IP set in Stage 1, or a FQDN set on the AD server, and click Launch Vsphere Client.

image

  1. Sign in with the "administrator@vsphere.local" account created in stage 2 of the vCenter installation. After that you will be greeted with the dashboard.

image

  1. Now add your license by going to the 3 bars at the top left, Then click "administration"

image

  1. Now on the left, click "Licenses"

image

  1. Now click add, and enter each license key, one per line, then click next, set names, and then apply them.

image

  1. Finally go to the assets tab, and apply the vCenter license.

  2. Now we are going to add out host. To do this first we must go to our menu in the top left, then right click the vCenter domain, the New data center, and name it. Here i used SYS350

image

  1. Once the data-center is created, now we will right click it and select "add Host"

image

  1. Now enter the IP or FQDN of the device. Note: This IP/Name will dictate the name of the host in the inventory tab, and cannot be changed without orphaning and rejoining the host

image

  1. Click next, and enter the login information for the host, and click next

image

  1. Now accept the Security alert, and click next, then next again for host settings.

  2. Then assign a ESXI License, and click Next

  3. Leave lock down disabled, then select your new cluster for the location, and then click Complete.\

image

  1. Now your host is joined to vCenter, and you should see it, and any VM's it was hosting on the left panel, under the data center.

SSO Configuration

Here we will connect our domain, to the vCenter server, to allow Domain admins to access the vCenter environment accordingly.

  1. First go to the menu at the top left again, and then click administration, then under "Single Sign On" select configuration

image

  1. Then select "Active Directory Domain"

![imaimage

  1. Then click "join AD" and enter your domains information, including the credentials of a domain admin. once this in completed you must reboot vCenter

  2. To reboot vCenter, login to the vCenter management page via "https://domainname.local:5480" Then enter your administrator@vsphere.local credentials. After login you will be greeted with the vCenter dash panel

image

  1. Next at the top right, click "Actions" and then reboot. This will take some time, and this dash will recover before the main login will.

  2. After the reboot, login to the VSphere client page, not the dashboard, and go to the SSO Users and Groups page

image

  1. Now navigate to "Groups", then click "Administrators"

image

  1. Now click "Add Members", switch the domain to your newly joined domain, and search "Domain Admins" adding it to the box below. Then click Save.

image

  1. Finally to make the domain you selected the default choice, click on "Identity Sources" then your domain entry, and click "Set as Default". This will make you only have to use the domain user's logon name, not the full domain string.

image

Now we are complete, you can logout of your administrator@vsphere.local user and log in using your domain admin account.

Clone this wiki locally