In my previous post I showed you how to configure vMA 4.1 and integrate it into your existing network. This post is all about actually using the vMA appliance and running commands against remote ESX/ESXi servers.
You can connect to your vMA server using either the vSphere client console or putty. Putty is a free telnet/ssh client and is my preferred choice. Download the .exe and connect to the IP address of your vMA appliance:
Run the following linux command to set a password for the vi-user account. After you run the command you will be prompted to enter a new password and confirm it:
sudo passwd vi-user
We are now going to add an ESXi system as a target for the vMA. Login to the vMA as the vi-admin user account and enter the following command:
vifp addserver <Server>
When prompted enter the servers root password to authenticate. The vMA will authenticate and add two users accounts to the host. The vi-admin and vi-user will be added to the host and the encrypted password will be stored in the VMware credential store:
vifptarget –s <Server>
vifp removeserver <server>
vSphere Management Assistant Guide for more information and advanced options. In the next post I’ll show you how to configure your vMA to retrieve logs files from ESX/ESXi servers.