Hello all, and welcome back to this multi-part series on VMware ESXi 5. So far we have installed the ESXi 5 software, Configured the Host Management network, and downloaded the vSphere Client to a workstation. Now we are going to finish the configuration of the ESXi Host using the vCenter Server.
We will be connecting to the ESXi host, Verifying DNS and routing info, Configuring an NTP source, and integrating into active directory. I have been cutting these pieces into very small bite size chunks. I think that small steps ease you into becoming comfortable with VMware. So let’s get started.
Before we get started with this there are some pre-requisites. Even in the most virtual of virtual environments, I like to have one physical Domain Controller. As your virtual environment builds some people like to remove the physical DC just to say they are 100% virtual, but I am happy with the 99.999% virtual. In this lab, the DC will also act as the DNS Server and NTP Server for the Domain. Moving forward you can add other virtual DC's and DNS server in order to split up the work load. So you need the Name and IP address of your external Domain Controller NTP Source and DNS server. In this lab they will all be the same.
The first thing that we need to do is to log into our ESXi host with the vSphere Client. At the Client login screen, in the IP address / Name field, type in the ip address of the ESXi server. If you have configured an A record in your DNS server you can also type in the host name here. A nice feature is that once you connect to a system, the client remembers this and you can just select it from the dropdown.
Under user name, type in root and in the password field type in the password that you set for the root account.
You will get a security warning, due to the fact that VMware uses self-signed certificates. Check the box to Install this certificate and do not display any security warnings for"*". Then click on the Ignore button. This will stop any warnings from this particular ESXi host.
This will take you to the Home screen of the vSphere Client. From the Home screen we want to click on the Inventory Icon in order to get into the Inventory screen.
This will take us to the inventory screen. The Screen splits into a two panel section. On the right you will see a group of tabs to select from to configure your host. Select the Configuration tab.
On the Configuration tab you will see two panels on the left side Hardware and Software. The default view is that of the Health Status sub section of the Hardware panel. We are interested in going into the DNS and Routing sub section of the Software panel.
Once you click on the DNS and Routing link you will see all of the info that you put in when you were configuring the management network. You may notice that this has changed since the last lab. That is one of the fun parts of building and rebuilding labs. Verify that this info is correct.
Next we will go in and configure this as an NTP Client. From the Configuration Tab Select the Time Configuration sub-section under the Software Panel
Click on the Properties... link to open up the Time Properties.
In the Time Configuration screen verify that the check box for NTP Client Enabled is checked. Next there is a button for Options.. Click on this.
You will then see the NTP Daemon Options box. In there you have a General and NTP Settings sections. Select the NTP Settings, when this is selected you will see the NTP Servers listing. Click on Add... in order to add the ip address of the NTP Server. Click on OK
Once this is done you will see the NTP server listed in the NTP Servers Section. Check the box to Restart the NTP service to apply changes.
Click on the General Tab. Make sure that the radio button is set to start and stop the NTP Service with the Host and click on Start.
In the Recent Tasks Section you will see the tasks that you have run related to the NTP time.
Next we will configure the host to use AD. Click on the Authentication Services sub-section under the Software Heading on the Configuration tab. This will show you that the device is currently using local authentication. Click on Properties...
This will open up the Directory Services Configuration dialogue box. Select Active Directory from the drop down in the Select Directory Service Type. In the Domain Box fill in the Domain that you want to add this server to.
Please note that this will not work if DNS is misconfigured and the device cannot find the domain. Click on Join Domain.
Once you click on Join Domain you will get a pop up prompting you to enter in the user name and password. Type in the user name of a domain admin and the corresponding password. Click on Join Domain.
This wll take you back to the Directory Services Configurations You will now see the Join Domain button changed to a Leave Domain button. Click on the OK button
This will bring you back to the Authentications Services Settings. You will now see that Directory Services Type is Active Directory and the Domain that you listed is in the list.
That is all there is to it. Now your ESXi host is integrated with AD and you are ready to start creating some Virtual Machines.