Sunday, March 14, 2010

VMware vima howto

how to configure the network
----------------------------
sudo system-config-network-tui

how to configure the firewall
-----------------------------
sudo system-config-securitylevel-tui

how to set proxy for vima-update
-------------------------------
Edit /etc/vmware/esxupdate/vimaupdate.conf and set proxy and proxyport
then run the following commands
sudo vima-update scan
sudo vima-update update

how to change the time zone
---------------------------
You can change the time zone from the vMA Linux console, as follows:
1. Remove the existing localtime file.
sudo rm /etc/localtime
2. Make a symbolic link for the time zone that you want to use. For example, for Tokyo time:
sudo ln -s /usr/share/zoneinfo/Europe/Athens /etc/localtime

how to setup ntpd
-----------------
in file /etc/ntp.conf enter this line
server gr.pool.ntp.org prefer
then enter these commands:
sudo service ntpd start
sudo chkconfig ntpd on

how to add a server to vima
---------------------------
sudo vifp addserver

how to remove a server from vima
--------------------------------
sudo vifp removeserver

how to list all managed hosts on vima
-------------------------------------
sudo vifp listservers

how to enable vi fastpass for a given host
------------------------------------------
This allows you to store credentials without having to pass them in each time you execute a command.
vifpinit

for vima 4.1 use the command
vifptarget -s hostname

how to clean vima and return it to a clean state
-----------------------------------------------
Enter this command
vimaclean
and reboot

...also take a look at this blog posts:
Using vMA as your ESXi syslog server
Administer vSphere using the vSphere Management Assistant

No comments:

Post a Comment