Unable to start vApp-Invalid vApp properties:Invalid property value size

I recently deployed vSphere replication appliance in vCloud Director and while powering it on I was facing one error

Unable to start vAPP- Invalid vApp properties:Invalid property value size

Due to this power on operation on vApp was failing time and again.

I checked the vCD logs and did not found any error messages for my vApp. All I got was few debug messages:

Read More

vRealize Log Insight: Part-2: Installation/Configuration

In last post Log Insight Introduction of this series we had a look on what is vRealize Log Insight and where did it came from. What is the advantage of using it and how it fit together with other VMware components.

In this post we are going to see basic installation/configuration of the Log Insight appliance.

vRealize Log Insight is available in the form of OVA file and you can evaluate the product by registering and downloading it from here

You can choose to deploy the downloaded ova file as it is or can convert it to ovf file using ovftool. You can use the command shown in following example to do so:

PS C:UsersAdministrator> ovftool “C:UsersAdministratorDownloadsVMware-softOVA FilesLog-Insight-3.3.1.ova” “C:Us
ersAdministratorDownloadsVMware-softOVA FilesLog-Insight-3.3.1.ovf”

Output:

=======================================================
Opening OVA source: C:UsersAdministratorDownloadsVMware-softOVA FilesLog-Insight-3.3.1.ova
Opening OVF target: C:UsersAdministratorDownloadsVMware-softOVA FilesLog-Insight-3.3.1.ovf
Writing OVF package: C:UsersAdministratorDownloadsVMware-softOVA FilesLog-Insight-3.3.1.ovf
Transfer Completed
Warning:
– ExtraConfig option ‘keyboard.typematicmindelay’ is not allowed, will skip it.… Read More

vRealize Log Insight: Part-1: Introduction

This week I decided to test my hands on the log management tool from VMware i.e vrealize Log Insight. We have this tool in our production environment and have to jump into analysis of Alerts received from this tool. Due to lack of knowledge troubleshooting sometime becomes very difficult so I decided to deploy this in my lab and play around options.

What is vRealize Log Insight?

vRealize Log Insight is a log management tool that aggregates logs from various systems into one place.The cool aspect of Log Insight is that it supports the collection of logs either from VMware infrastructure (i.e. ESXi hosts) either from physical infrastructure (i.e. physical servers, physical switches, etc.) either from application (i.e. virtual/physical machines guest operating systems).

With the introduction of vCenter Log Insight (Later renamed as vRealize Log Insight) VMware joined the already crowded log analytics market. There are several other products in market such as Splunk, LogRhythm, Sumo Logic and Loggly which are used for data center log consolidation and analysis.… Read More

Unregistering vSphere Replication Plugin from vCenter

This week I was having some trouble with vSphere Replication appliances in my lab and decided to rip apart my replication setup. I logined to my VR appliance VAMI address and unregistered VRMS from vCenter Server. Deleted my replication appliance in order to deploy it from scratch.

To my surprise vSphere Replication plugin was still present in my vCenter Server, even after I logged out and logged in back to webclient.

I tried to reboot my vCenter Server to see if it clears the plugin, but that trick didn’t worked for me.

Now the only option left was to uninstall the plugin was using vSphere MOB. If you are like me and dont know much about MOB then I would recommend reading this blogpost.

I followed following steps to successfully remove replication plugin from my vCenter Server.

1; Open your favourite browser and point it to URL https://vCenter-FQDN/mob and login.… Read More

LUN Zoning in Openfiler: Presenting a subset of Luns to Esxi hosts

I am currently working on Disaster Recovery  in my lab and as a result I have setup 2 sites: Primary and DR site. On both site I am having one vCenter and 2 Esxi hosts.

For centralized storage I am using openfiler v2.99 in my lab and I have created 2 LUN’s (100 GB each) on openfiler which are presented to Esxi hosts at my primary site.

If you are new to openfiler then I would recommend reading this document which I uploaded on VMTN sometime back.

I was looking for a way to create 2 more LUN’s and expose those LUN’s only to Esxi hosts that are on my DR site. I did not wanted that all my Esxi host should have visibility to all LUN’s that are created on openfiler. In short I was looking for LUN Zoning kind of things with openfiler in my home lab.

I have never done this and did not had much Idea on how to achieve that.… Read More

Problem Installing vCenter Server 6: The user associated with the DSN has insufficient privileges

Today while working in my lab I was facing one issue when I was trying to install vCenter Server on top of Server 2012. I was experimenting to deploy vCenter Server with external SQL 2014 database. This was my first experience with working on external database for vCenter Server and I knew I am gonna face some issues.

I created vCenter Server database on my SQL Server and tested connection from vCenter Server to database (ping, telnet etc) and all went fine. I setup 64 bit DSN on my vCenter Server to connect to the SQL Server and that too went fine and I was very relaxed that most difficult part is already over.

This is when my happiness was blown away by error as described below.

On database settings page when I choose next I was getting error “The user associated with the DSN has insufficient privileges“. This is shown below:

I was not aware of this issue so I started googling and immediately found the solution.… Read More

vSphere Replication-Part 5: Replicating and Recovering VM’s using VR

In last post of this series we saw how to deploy vSphere Replication appliance. In this appliance we will see the basic configurations of the replication appliance and will replicate a VM from source site to DR site. Also we will see how to recover VM on target (DR) site when your primary site has gone down.

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

1:Introduction to vSphere Replication

2: Lab Setup

3: Preparing vCenter for Replication

4: Deploying vSphere Replication Appliance

Let’s jump into lab and see things into action.

1: Configure vSphere Replication Appliance

a: To start configuring vSphere Replication appliance, login to the VAMI console of the appliance. This is typically accessible over URL https://VRA_FQDN:5480

Login to appliance with user root and password set during deploying vSphere Replication appliance.

b: Review your Network configuration by clicking on Network tab.… Read More

Deprecated VMFS volume(s) found on the host. Please consider upgrading volume(s) to the latest version

Today while working in my Lab I was seeing following warning message on my Esxi host:
Deprecated VMFS volume(s) found on the host. Please consider upgrading volume(s) to the latest version

This error occurred just after I added a new shared LUN from my openfiler appliance.

If you SSH to Esxi host you will see error similar to as shown below in the /var/log/hostd.log file

Read More

How To Configure NTP Server for vSphere Lab

Today while working in my lab I was facing an issue where my vSphere Replication appliance was not getting registered to my vCenter server and while troubleshooting I came to find out this is happening because of time difference on my vCenter Server and Replication appliance.

We all know how critical is NTP in vSphere infrastructure as it keep time on all pieces of infrastructure in sync with each other and saves us from common problems that can occur due to time difference on servers.

So I decided to setup NTP server in my home lab. I have read a blog somewhere in past that primary domain controller (PDC) can be configured as NTP server. I have a domain controller in my lab so I followed the following steps to force my PDC to sync its time from internet and later point all my infrastructure servers (vCenter, esxi, replication appliance) to sync its time from my PDC.… Read More

vSphere Replication-Part 4: Deploying vSphere replication Appliance

In last post of this series we saw the prerequisites that needs to be configured in vCenter Server before start deploying the replication appliance. In this post we will see how to deploy vSphere Replication appliance.

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

1:Introduction to vSphere Replication

2: Lab Setup

3: Preparing vCenter for Replication

Let’s dive into the installation process of replication appliance.

The vSphere Replication appliance is available in  ovf format. Download the ovf file from here.

1: Login to vCenter Web Client and select the Esxi host where you want to deploy the replication appliance and right click on it and choose Deploy OVF template.

2: Browse to the directory where you have downloaded the ovf file and hit Next.

3: Review the ovf details and hit Next.

4: Accept the EULA and hit Next to continue.… Read More