Configuring the VMware vMA (Management assistant) May 8, 2012Posted by vbry21 in VMware blogs.
Today I’ve been looking at the vMA which is VMwares management assistant, the purpose of the utility / Virtual Appliance is to allow administrators of the vSphere product to have command line access to their ESXi hosts, this comes in handy for troubleshooting and configuration.
So the first thing to do is get the vMA, this is available from VMware as a Virtual Appliance, it’s downloaded as an OVF. Once that’s been obtained we need to install.
From the vSphere Client, select
File > Deploy OVF Template
Specify location of the vMA OVF file and then follow the wizard.
Once deployed all we need to do is power up and configure.
We login to the vMA by using a user called vi-admin ,so one of the first tasks is to configure the password for this account (needs to be complex), also specify IP address, subnet mask, default gateway, DNS and vMA name (ensure vMA is on management network).
Once configured we can SSH onto vMA, then we’ll add some hosts to manange.
Once logged in we have the vi-fastpass support, this allows for quick secure access to the things we want to manage.
To add a host we use the vifp addserver command, so for example to add a host called sc-server01.
sudo vifp addserver sc-server01.qavdc.com then enter the root password.
To list the servers use vifp listservers
To remove servers use the vifp removeserver command, so for example to remove a host called sc-server01.
sudo vifp removeserver sc-server01.qavdc.com
Finally to connect to your host use vifptarget -s command, so for example to connect to a host called sc-server01.
vifptarget -s sc-server01.qavdc.com
Then you can issue commands till your heart is content.
For more information on the vMA visit the link below.