vSphere Management Assistant
Jump to navigation
Jump to search
Setup
Install vMA Appliance
- Get the OVF URL of the latest version from http://www.vmware.com/support/developer/vima/
- Import OVF into vCentre
- You'll need to specify a cluster/host, datastore, and hostname
- Once imported, power on
- The VM will go into a Wizard
- Update IP information
- Enter a passsword for the
vi-admin
account (dictionary words not allowed)
Setup Date Time
- Remove existing date time zone
sudo rm /etc/localtime
- Add link to appropriate locale
sudo ln -s /usr/share/zoneinfo/Europe/London /etc/localtime
- Enable NTP daemon
sudo chkconfig ntpd on
- Edit the NTP config file to add your NTP server(s)
sudo vi /etc/ntp.conf
- Edit the
server
entries as required
- Start the NTP daemon
sudo /etc/rc.d/init.d/ntpd start
Add ESX to vMA
- Log into the vMA as
vi-admin
- Use
vifp addserver
command to add ESX and enter root password- EG
vifp addserver esx-server.domain.com
- EG
- To test, set the session to use the server
vifptarget --set esx-server.domain.com
- and show NICS
vicfg-nics -l
- To enable logging for all servers
vilogger enable
Enable root
Normally there should be no reason to run as root, everything you need to do can be done via sudo.
- Set root password to something you know
sudo passwd root
- Enable root to login, edit
/etc/passwd
, and change the root line toroot:x:0:0:root:/root:/bin/bash
vilogger
Command | Description |
---|---|
vilogger enable |
Enable vilogger for all connected hosts |
vilogger list |
List vilogger hosts and status |
vilogger disable |
Disable vilogger for all hosts |