Performance Charts service returned an invalid response

Today while working in my lab I was facing performance issues with one of my Esxi host and decided to analyze the performance chart of the host to find out the root cause.

When I select the host and clicked on Performance tab, there was nothing in there and instead it returned an error “Performance Charts service returned an invalid response

perf-1

However when I switched to advance view I was able to see the charts.

perf-2

This was strange. I started googling with the error message and came to a discussion thread on VMTN where someone has suggested to enable IPv6 on host.

perf-3

I followed the same thing and enabled IPv6 on my Esxi host and rebooted it for changes to take affect. Once host was rebooted I again selected the performance charts and still I was seeing the same error.

I continued with googling and came to a cool Blog-Post by MATT BRADFORD and followed the steps.Read the rest

Using Template Host for Consistent Network Configuration in dvSwitch

Yesterday while configuring dvSwitch and Port groups I came across a new cool feature in vSphere 6 and I was amazed to see this. I will talk about this feature in this post and will demonstrate how to use it.

Let’s see what this feature is all about.

In my last post Configuring dvSwitch and Port Groups I demonstrated how to add Esxi hosts to dvSwitch and migrate virtual networking from Standard switch to dvSwitch. If you remember I have added only one host at beginning as I am not very much comfortable with dvSwitch at the moment.

Once it was successfully added I was trying to add the remaining 2 hosts to dvSwitch and during doing so, discovered a new feature which I have not seen earlier. Let me give a little bit background of this feature.

In vSphere 6 there is a feature of using template host in dvSwitch.… Read the rest

vSphere-6:Part 7-Configuring dvSwitch & Port groups

In last post of this series we have seen how to configure and install licenses for vCenter Server and Esxi hosts. Also we have performed some basic tasks like creating Datacenter/Cluster and adding hosts to cluster.

In this post we will see how to configure networking in vCenter Server.

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

6: vCenter Server 6 Basic Configuration

This post will be revolving around dvSwitch and associated components so that we can take benefits of some advanced features provided by dvSwitch.

If you are a newbie to VMware then I would recommend going with standard switches in beginning and playing around options to gain clarity on how virtual networking works and what are the differences between while working with physical networks and then with virtual networks in VMware vSphere.… Read the rest

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.… Read the rest

vSphere-6:Part 5-Adding AD Authentication in vCenter Server

In last post of this series we learnt how to install vCenter Server 6 on Server 2012. I am new to vSphere 6 so at beginning I had kept things simple and installed vCenter and PSC on a single machine (embedded mode) and also used embedded vPostgres database.

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

Earlier vCenter Server was holding the SSO component, but in vSphere 6 it is included as part of PSC. The Platform Services Controller contains the shared services that support vCenter Server and vCenter Server components.

In this post we will learn how to configure AD authentication in vCenter Server 6.0.

The vCenter SSO authentication service makes the VMware infrastructure more secure by allowing the various vSphere software components to communicate with each other through a secure token exchange mechanism, instead of requiring each component to
authenticate a user separately with a directory service like Active Directory.… Read the rest

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 the rest

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 the rest

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 the rest

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 the rest

Configuring Port Binding Using CLI

In my last post Configuring Multipathing for Software iSCSI Using Port Binding we saw how to configure port binding and achieve multipathing for software iSCSI using GUI. In this post we will learn how to achieve the same using CLI.

I have posted an article Managing vSphere Network From Command Line sometime back and we will be using some commands to configure the network first. So lets begin.

1: Verify number of uplinks available on Esxi host

# esxcli network nic list

icli-1

2: List all Standard vSwitch along with associated uplink

# esxcli network vswitch standard list

icli-2

So we have 3 uplinks on Esxi host here: vmnic0,vmnic1 and vmnic2. Out of this vmnic0 is connected to vSwitch0 and providing the management network. We will create a new vswitch and use vmnic1 and vmnic2 as uplink to that vswitch.

3: Create a standard vSwitch by name iscsi-vSwitch

#  esxcli network vswitch standard add -v iscsi-vSwitch -P 256

4: Add vmnic1 and vmnic2 as uplink to “iscsi-vSwitch”

# esxcli network vswitch standard uplink add -u=vmnic1 -v=iscsi-vSwitch

# esxcli network vswitch standard uplink add -u=vmnic2 -v=iscsi-vSwitch

icli-3

5: Make the uplinks as active

#  esxcli network vswitch standard policy failover set -a vmnic1,vmnic2 -v iscsi-vSwitch

6: Add 2 portgroups (iscsi-PG1 and iscsi-PG2) to iscsi-vSwitch

# esxcli network vswitch standard portgroup add -p=iscsi-PG1 -v=iscsi-vSwitch

# esxcli network vswitch standard portgroup add -p=iscsi-PG2 -v=iscsi-vSwitch

icli-4

7: Associate the uplinks with the correct portgroups

# esxcli network vswitch standard portgroup policy failover set -a vmnic1 -p iscsi-PG1

# esxcli network vswitch standard portgroup policy failover set -a vmnic2 -p iscsi-PG2

icli-5

8: Create the VMkernel interfaces and associate them with the portgroups iscsi-PG1 and iscsi-PG2

# esxcli network ip interface add -p iscsi-PG1 -i vmk1

# esxcli network ip interface add -p iscsi-PG2 -i vmk2

# esxcli network ip interface ipv4 set -i vmk1 -I 192.168.0.161 -N 255.255.255.0 -t static

# esxcli network ip interface ipv4 set -i vmk2 -I 192.168.0.162 -N 255.255.255.0 -t static

icli-6

9: Enable and Configure the iSCSI Software Adapter

# esxcli iscsi software set -e true

icli-7

10: Configure IP addresses of the iSCSI targets

# esxcli iscsi adapter discovery sendtarget add -a 192.168.0.90:3260 -A vmhba33

icli-8

Configure Port Binding

11: Bind the VMkernel network adapter to the iSCSI adapter

# esxcli iscsi networkportal add –nic vmk1 –adapter vmhba33

# esxcli iscsi networkportal add –nic vmk2 –adapter vmhba33
icli-11

Note: Binding details can be verified by using the following command:

# esxcli iscsi networkportal list –adapter vmhba33

iSCSI Re-login

If you have an already established iSCSI session before port binding configuration, you can remove the existing iSCSI sessions and log in again for the port binding configuration to take effect.… Read the rest