vSphere-6:Part 6-vCenter Server Basic Configuration


In last 2 post of this series we learnt how to install vCenter Server 6 on Server 2012 and how to enable AD authentication for SSO so that your domain users can login to vCenter server and manage it.

If you have missed earlier posts of this series then you can access the same by clicking on below links:

1: Introduction to vSphere 6

2: vSphere 6-Lab Setup

3: Installing and Configuring Esxi Server 6

4: Installing vCenter 6

5: Enabling AD Authentication for vCenter Server

In this post we will touch down on basic tasks that needs to configure vCenter before we can start using it in Lab/Production. Steps included in this post are typically for Lab environment and you might need to perform some additional tasks before your prod vCenter goes live.

Let’s talk less in this post and dive directly into configuring vCenter server.

1: Configuring Licenses for vCenter and Esxi hosts

Installing vCenter Server and Esxi host license is something which I love to do as soon as I complete installation process. By default vCenter Server has 60 days evaluation period and if you are trying your hands on vSphere 6 before making a decision to purchase it for your production environment you can go ahead with evaluation mode as well.

Note: You will not be able to manage your infrastructure past 60 days evaluation period.

To install licenses for vCenter Server and Esxi hosts login to vCenter Server using vSphere Web-Client.

Note: With vSphere 6, licensing has shifted to PSC and if you are running vCenter with External PSC then login to PSC UI to install licenses.

wc-1

As soon as you login to vCenter server, you will see a message “There are vcenter servers systems with expired or expiring licenses in your inventory”

wc-2

To install licenses navigate to Home > Administration > Licenses and click on Licenses tab. Click on “+” to start adding your licenses.

 

wc-3

Note: The way licenses were applied to vCenter Server and Esxi host have changed a bit with vSphere 6. Earlier we had to select the device and right click on device to associate license to that device.

With vSphere 6 you first have to add licenses in inventory and then it will be associated to corresponding devices.

Clicking + sign will open a new window. Paste your license key in this window and hit next.

wc-4

Provide a name to your license key as per your naming standard and hit next. vSphere will automatically detect the license type (whether it is vCenter license or Esxi host license)

wc-5

Hit finish button to complete adding your license.

wc-6

Follow similar procedure for adding Esxi host license.

Once you done with adding all your licenses your screen will look like as shown below:

wc-7

2: Creating Datacenter/Cluster

From home page click on Hosts and Cluster and select vCenter server. Click on Create Datacenter.

wc-8

Provide name to your datacenter and click OK.

wc-9

Next is to create cluster. Select the datacenter which you just created and click on “Create a cluster”

wc-10

A new window will be launched. Give a name to your cluster and click on arrow button in front of DRS and HA to expose advanced option.

Select the checkbox “Turn ON” in front of DRA and HA.

In my lab I am using DRS in fully automated mode. Also I have disabled Admission Control under HA (Which is not a good practice to follow especially in Prod environment). To disable Admission Control uncheck “Enable admission control” checkbox.

Once you are done with selecting the appropriate options click on OK button to start creating a cluster.

wc-11

3: Adding Esxi hosts to cluster

The next task after creating cluster is to add esxi hosts to your cluster. I have 3 esxi hosts in my lab namely optimus, megatron and galvatron which I will be adding to my cluster.

Select your cluster which you have just created and click on Add a Host.

wc-12

Provide IP address or FQDN of your Esxi host and click on Next.

wc-13

Provide credentials of your root user and hit Next.

wc-14

Accept the SSL thumbprint of host.

wc-15

Under Assign license select your license and click next.

wc-16

For lockdown mode select Disabled unless and until you have specific requirement to use it in your environment. Hit next after making your selection.

Note: When lockdown mode is enabled, Esxi host can only be managed via vCenter server and if a host has disconnected from vCenter server, you will not be able to login to host directly using C# client. So chose this option carefully.

wc-17

For Resource pool option select ” Put all of this host’s virtual machine in the cluster root resource pool”

Well a question arises when to use this option or not. My simple theory is that if you are not using any resource pools on your Esxi hosts prior to adding it to vCenter Server then there is no harm in going with option 1.

If you had any resource pool created on your host prior to adding it to vCenter Server and you want to preserve the resource pool settings then you can go ahead with option 2 in below screenshot.

wc-18

On Ready to complete page review your settings and hit Finish to complete host addition process.

wc-19

You can see the events triggered in Recent Tasks.

wc-20

In next post of this series we will see how to configure networking in dvSwitch and will play around various options present within dvSwitch.

I hope you enjoyed reading this post. Feel free to share this on social media if it is worth sharing. Be sociable 🙂

About Alex Hunt

Hi All I am Manish Kumar Jha aka Alex Hunt. I am currently working in VMware Software India Pvt Ltd as Operations System Engineer (vCloud Air Operations). I have around 5 Years of IT experience and have exposure on VMware vSphere, vCloud Director, RHEL and modern data center technologies like Cisco UCS and Cisco Nexus 1000v and NSX. If you find any post informational to you please press like and share it across social media and leave your comments if you want to discuss further on any post. Disclaimer: All the information on this website is published in good faith and for general information purpose only. I don’t make any warranties about the completeness, reliability and accuracy of this information. Any action you take upon the information you find on this blog is strictly at your own risk. The Views and opinions published on this blog are my own and not the opinions of my employer or any of the vendors of the product discussed.
This entry was posted in Vmware, vSphere 6 and tagged . Bookmark the permalink.

6 Responses to vSphere-6:Part 6-vCenter Server Basic Configuration

  1. Pingback: vSphere-6:Part 7-Configuring dvSwitch & Port groups | Go Virtual.

  2. Sheikvara says:

    Excellent docs. Thanks for all. Who all are contributed for this docs.

    Like

  3. Pingback: Newsletter: January 10, 2016 | Notes from MWhite

  4. Pingback: vSphere-6:Part 8-Configuring Esxi Hosts Settings | Go Virtual.

  5. Pingback: vSphere-6:Part 9-Installing vSphere Update Manager | Go Virtual.

  6. Pingback: vSphere-6:Part 10-Configuring vSphere Update Manager | Go Virtual.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s