vSphere-6:Part 4-Install vCenter Server 6

In last post of this series we had learnt how to install Esxi server 6 and we found installation of Esxi 6 hypervisor has not changed much and it is pretty much same as like previous version.

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

In this post I’m going to walk you through the installation of VMware vCenter Server 6.0. The way vCenter server was installed in past has now changed big times. Earlier we had a choice to install SSO, Inventory Service, vCenter Server and Web-Client all on same machine or have a distributed architecture where all components were spread across multiple servers.

With vSphere 6.0 VMware introduced concept of PSC. Now we have only 2 nodes in vCenter deployment.… Read More

vSphere-6:Part 3-Install and Configure Esxi 6

In last 2 post of this series we discussed overview of vSphere 6 and looked closely on components required for building a vSphere 6 lab at home. 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

In this post we will look into installation of Esxi 6. I am using  Esxi version 6.0 update01 (Build 3073146) in my lab for this purpose.

Installation of Esxi has not changed much and its very similar to version 5.5. I am installing Esxi 6 in VMware Workstation on my local SATA hard disk but you may consider other options such as running Esxi host from USB disk or running stateless Esxi host with use of auto deploy.

Esxi 6 Installation

1: Attach the Esxi 6 iso image to the virtual machine and boot the system.… Read More

vSphere-6:Part 2-Lab Setup

In my previous post vSphere 6-Introduction  we discussed a little bit about vSphere 6 and looked on what new features have been added in vSphere 6 along with change in configuration maximums. We also had a look on change in vCenter Server architecture and improvements in VMware Web-Client.

In this post we will have a look on the pieces which are required to build a vSphere 6 lab. With this let’s get started.

Hardware Component

I have a Dell M4800 Mobile workstation laptop with 32 GB of RAM and i7 Quad Core processor. I am running all the lab components inside VMware Workstation.

My Lab Components

  1. I installed Server 2012 R2 Datacenter edition as my base OS. This machine will act as my Domain Controller as well as DNS Server (AD Integrated DNS).
  2. I have another Server 2012 R2 Datacenter edition installed in VMware Workstation. This VM is acting as vCenter Server with Embedded vPostgres Database.
Read More

vSphere-6:Part 1-Introduction

As part of my preparation for VCP6-DCV exam I have decided to start learning vSphere 6 and started setting up my lab for the same.

This will be a long series of posts where we will look into Installation, Configuration and Management of vSphere 6 components. A lot has been changed with vSphere 6 and its time to learn some new stuffs. So let’s get started.

Introduction to VMware vSphere 6.0

With Vmware vSphere 6.0 many changes are done in architecture and some new features were introduced. One of the major changes that were introduced in vSphere 6.0 was removing the dependency on inbuilt database server (MS SQL Express) by introducing vPostgres SQL as embedded database for vCenter server installation.

However you can use external database you can use MS-SQL or Oracle (only for windows based vCenter Server). For vCSA you are bounded to use vPostgres SQL database (which I think a hard move from VMware)

vSphere 6.0 version comparison

vSphere 6.0 is coming in 3 editions:

1: Standard: The standard version of vSphere 6 provides you following feature:

  • HA and FT for 2 vCPU
  • Data protection(VDP) and vSphere Replication (For replicating VM from one vSphere Infrastructure to other)
  • vVOLS(Must be supported by backend storage) for creating virtualization aware storage
  • SPBM(Storage Policy Based Management): For creating storage policies and assign it to VM to place it on appropriate storage.
Read More

Troubleshooting vRealize IaaS SSL Certificate Registration Issue

Today I was working on replacing SSL certificates on my vRealize IaaS server so as to complete the SSL certificate replacement on all vRealize components that I have deployed in my lab.

I am not going to cover here the steps needed to generate signed SSL certificates as I have covered them in my earlier  blog posts. If you are looking for Step by Step demonstration of the same please have a look on this Article Grant Orchard.

After replacing the IaaS SSL certificates, IaaS Server needs to re-register the new certificates to the vRA Appliance. The commands used to achieve this is as follows:

Read More

Lesson Learnt While Working With SSL Certificates

From last 2 days I was working on using signed certificates for my vSphere lab and was determined to replace my self-signed certificate with signed certificate generated by my CA server.

I have written a blog post on how to setup CA server and how to generate signed certificates and how to replace them. If you have missed earlier post of this series you can read them from below links:

1: Installing and Configuring CA Server

2: Creating Certificate Templates

3: Creating SSL Web Certificates Template for VMware

4: Replacing vSphere SSL Certificates

I must say this journey of learning use of signed SSL certificates were not easy for me and I did made a few mistakes before setting everything up right. But I guess it was for my own good that I made these mistakes because then I had to do a lot of troubleshooting to set things correctly and learned quite few things while doing so.… Read More

Setup SSL Certificate For vSphere Lab-Part-5-Creating and Replacing vRealize SSL Certificates

In last post of this series we learnt how to replace SSL certificates for different vSphere Components like SSO, Inventory Service, vCenter Server and Web-Client. In this post I am going one step further and will demonstrate how to replace vRealize SSL Certificates.

If you have missed earlier posts of this series I would recommend reading them first from below links:

1: Installing and Configuring CA Server

2: Creating Certificate Templates

3: Creating SSL Web Certificates Template for VMware

Prerequisites

The following prerequisites must be met before jumping into action:

1: Microsoft Enterprise CA server deployed along with IIS installed.
2: Web-Certificate Template created for vSphere components.
3: Download and install Win32 OpenSSL from Here

I have downloaded and installed Win32 Open SSL software on the same server where my vCenter Server is installed and I have added the path up to bin directory in my environment variables so that I can run openssl command from anywhere.… Read More

Setup SSL Certificate For vSphere Lab-Part-4-Creating and Replacing vSphere SSL Certificates

You have observed that whenever you connect to vCenter Server using vSphere Client or connect via web-client you receive a warning that the certificate presented is not trusted and bla bla bla.

For lab environments or small environments Self-Signed certificates works just fine, but knowing how to use Signed Certificates is invaluable.

In this post we are going to cover how to create SSL Certificate request and how to replace them. If you have missed earlier posts of this series I would recommend reading them first from below links:

1: Installing and Configuring CA Server

2: Creating Certificate Templates

3: Creating SSL Web Certificates Template for VMware

Prerequisites

There are certain prerequisites that must be met before performing the SSL certs creation and replacement. These are listed as below:

1: Microsoft Enterprise CA server deployed along with IIS installed.
2: Web-Certificate Template created for vSphere components.
3: Download and install the vCenter Certificate Automation Tool from VMware.… Read More

Setup SSL Certificate For vSphere Lab-Part-3-Creating SSL Web Certificates Template for VMware

In this post we are going to cover the SSL Web Certificate creation for VMware. If you have missed earlier posts of this series I would recommend reading them first from below links:

1: Installing and Configuring CA Server

2: Creating Certificate Templates

Lets begin with creating SSL Web certificates for VMware.

1: Launch the Certificate Authority MMC and navigate to Certificate Templates folder. Right click the folder and select Manage.

2: From the displayed list of templates, select Web Server template and right click on it and select Duplicate Template.

3: Select the Server 2008 Enterprise option. You can also choose Server 2003 option if you are looking for backward compatibility. Hit OK.

4: Provide a new name for this template. Modify the validity period and renewal period if you want longer period of time for this option and don’t want to go with default time period. Hit Apply OK.… Read More

Setup SSL Certificates For vSphere Lab-Part-2-Creating Certificate templates

In our last post Setup SSL Certificate Authority For vSphere Lab we saw how to add CA Server Role to a windows server 2008 machine. In this post we will see how to generate certificates.

1: Launch Certificate Authority console from Administrative Tools.

2: Right Click on Certificate Template and click Manage.

3: Select the Windows Authentication Template and right click on it and select Duplicate Template.

4: Select Windows server 2008 Enterprise and hit OK.

5: Give the new certificate template a name. Also we need to change some of the properties of the new template.

I have changed the validity period to 5 years and selected Publish certificate in AD and Do not automatically reenroll option.

6: Go to Security tab and  change the “Domain Computers” permissions to read and autoenroll the certificate.

7: Go to Extensions Tab and change the Application Policies to include both Client and Server Authentication.… Read More