DefinIT

Installing and configuring VMware Infrastructure Navigator 5.8

According to VMware, Infrastructure Navigator is

…a component of the VMware vCenter Operations Management Suite. It automatically discovers application services, visualizes relationships and maps dependencies of applications on virtualized compute, storage and network resources.

Effectively it takes a look at the network connections that are running between your VMs (and physical servers) and works out which applications and services are running on each, and the dependencies – both upstream and downstream – for each VM.

This is particularly useful in large enterprise environments where perhaps application developers have not (shock) documented the dependencies for a particular application. I can think of several times when I’ve been 100% confident that (according to all the documentation provided) I can decommission a server, or the service running on a server, only to have to turn it back on due to a production outage – because an un-documented dependency exists.

Effectively, Infrastructure Navigator leverages VMware Tools to run a netstat command on each VM and work out what connections are being used. It comes with a library of already classified services – e.g. MSSQL running on port 1433 is a pretty obvious service. Non-classified services (or services configured for running on a non-standard port) can be easily added to the library to build up a detailed picture of which VMs depend on each other (as well as “unmanaged” servers/services that are out of the scope of vCenter).

Licensing

Infrastructure Navigator comes as part of vCenter Operations Management Suite Advanced or Enterprise editions, which may put it out of reach of many SMEs. That said, for me it’s ideal use is the mapping of really complex enterprise environments where VMs and applications can number in the thousands and tens of thousands.

Prerequisites

Infrastructure Navigator comes in the form of an OVA which deploys a single VM, this has 2 vCPUs and 4GB of RAM (though I’m running it in my lab with just 2GB). It requires about 20GB of disk (but can be thin provisioned) and a Gigabit Ethernet connection.

vCenter Infrastructure Navigator is supported on vCenter Server 5.1 U1 and 5.5, with the vSphere Web Client 5.5.
In addition to all builds of ESXi 5.x, a lot of previous ESX/ESXi versions are supported, check the product interop matrix for specifics.

Deploying the vApp

VIN 5.8 Deploy Wizard - Select the OVA

Select the OVA file

VIN 5.8 Deploy Wizard - Review details

Review the vApp details, and tick the box to accept the configuration risk

VIN 5.8 Deploy Wizard - Accept EULA

Read and accept the EULA

VIN 5.8 Deploy Wizard - Name and Location

Name the VM and select a location to deploy to

VIN 5.8 Deploy Wizard - Select storage

Select your datastore and disk format – I’ve gone with thin provisioning

VIN 5.8 Deploy Wizard - Select network

Select the network you wish to use – bear in mind it should have access to vCenter and Hosts

VIN 5.8 Deploy Wizard - Customise template

Customise the vApp – enter a password and then you can set IP details, if you don’t have DHCP or would prefer a static IP

VIN 5.8 Deploy Wizard - vService bindings

Review the vService bindings

VIN 5.8 Deploy Wizard - Ready to complete

Review all your settings and finish.

At this point, I made a cup of coffee while the vApp deployed. Once it had completed I took a look at the virtual machine. I also took the opportunity to edit the settings and drop the RAM to 2GB. You can see that the appliance is a SUSE Linux Enterprise 11 64-bit VM. The VM tools are 3rd party, which really bugs me – if anyone can make sure that their VM runs the proper and up-to-date VM tools you’d think it’d be VMware right? Anyway…the VM is deployed correctly, so power it on.

VIN 5.8 - VM is deployed

The VM is deployed

Some Initial Configuration Steps

Once the VM was booted, I opened the console and it tells you where to go to manage the VM – in my case https://192.168.1.109:5480. I duly opened the web page.

VIN 5.8 - VIN Console

You can log in using the user name “root” and the password that you specified in the vApp deployment. You get a fairly familiar looking web interface for some basic appliance management:

VIN 5.8 - VIN Web Interface

I went to the network tab and updated the network settings to use a static IP that I’ve pre-defined for the appliance. If you re-IP the appliance after you connect to vCenter, you’ll need a reboot to continue working with it.

If you want to change the hostname for the appliance, you can’t use the hostname command, or edit the /etc/HOSTNAME or /etc/hosts files – they will not persist across reboots. There’s a script that runs when the appliance reboots that checks the reverse DNS lookup for the primary IP address, and sets the hostname accordingly. If the script can’t see a DNS entry for the IP it will rename it to localhost.localdomain. (Credit to Juan Rey for this info)

Configuring vCenter Infrastructure Navigator in vCenter Web Client

If you’re still logged into the vCenter Web Client, you’ll need to log out and back in again to see the Infrastructure Navigator components.

Assign a license key

VIN 5.8 - Licensing tab

From the Web Client home, click on the Licensing icon, then select the Solutions tab. You can see that VIN is unlicensed. Select it and click “Assign License Key…”

VIN 5.8 - Assigning Licensing

Select your license key (mine is a vCloud Suite license and covers vCenter Operations Suite too) and apply it

Configure Infrastructure Navigator’s access to VMs

VIN 5.8 - Configuring VIN

From the vSphere Web Client home page, click on the Infrastructure Navigator icon, you get presented with another annoying getting started page!

VIN 5.8 - Access to VMs

Select the settings tab, then click the “Turn on access to VMs” button

VIN 5.8 - Access to VMs - Credentials

Enter some administrative credentials to allow VIN to access VMs. It’s better to use a dedicated admin account, rather than your own, but this is a lab 🙂

VIN 5.8 - Access to VMs is on

VIN can now access your VMs and will begin to gather information on a scheduled basis.

VIN 5.8 - VIN tab on a VM status

If you now select a VM in your inventory, you’ll see that theres a new box for VIN and that it’s “Pending first discovery”. Give it plenty of time to complete discovery depending on your environment size. My lab took 15 minutes.

VIN 5.8 - VIN discovery completed

This is the completed discovery of the VM – in this case my vCloud Director VM. You can see that the information is less than an hour old and that it’s detected vCloud Director as an Application Service running on the VM. You can also see that it’s detected 2 dependencies.

Viewing Dependencies

Now that it’s installed and running, I couldn’t finish without a really quick view of it working, and how to add a definition for an unknown service.

VIN 5.8 - Viewing dependency maps

You can click on “View Dependencies” from a VM overview page, or select the “Manage” tab and then the “Applicaiton Dependencies” tab. This will, by default, show one level of dependencies. You can see that it’s defined some known services, and that there’s an unknown service running on my VCSA appliance.

VIN 5.8 - Expanding dependency maps

Now I’ve expanded out the dependencies to a second level, you can see more links and more services that are used within this application dependency map.

Defining Custom Services

VIN 5.8 - Define a custom service

In the services tab, from the Application Dependencies view, you can see an undefined service talking on port 445. I happen to know that it’s an SMB share on my NAS which is mapped from my DC and SQL VMs. Click on the + symbol to define the service.

VIN 5.8 - Custom service definition

Enter the details for the new service definition – remember that it’s not specific to this server or my NAS, so just naming the protocol is sufficient.

VIN 5.8 - Updated map with custom service definition

Now the application map has updated with my new SMB definition.