ESXi Tutorials

After working on a new three node ESXi cluster today, I thought I'd post some helpful command tutorials.

Enable SNMP via vSphere CLI  (v4.1)

Launch vCLI from desktop/startmenu shortcut.

Verify you are in the correct directory:
C:\Program Files\VMWare\VMWare vSphere CLI\bin

1) Configure SNMP community string and trap host
vicfg-snmp --server <server_ip_address> --username root --password <password> -c <public, private, custom> -p 161 -t targetIP@161/<your_string_here>

2) Enable SNMP Agent  
vicfg-snmp.pl --server <server_ip_address> --username root --password <password> -E
3) Test SNMP trap 
vicfg-snmp.pl --server <server_ip_address> --username root --password <password> -T

Patching your ESXi System with vSphere CLI

The latest patches can be downloaded here:
http://www.vmware.com/patch/download/

1) Download all the necessary patches to your local machine with the vSphere CLI installed.
2) Shutdown or move all VM's off the system.
3) Using vSphere Client, place the host in maintenance mode.
4) To extract/install the patch with one command:
vihostupdate.pl --server <server_name> -i -b <c:\path_to_filename.zip>

5) Once the install completed, exit maintenance mode.
6) Reboot the host and verify the version has updated.

Install Dell OpenManage on VMware ESX or ESXi 4/4.1

Download the latest OM module from http://support.dell.com/

Dell Instructions
http://support.dell.com/support/edocs/software/smsom/6.3/en/omsa_ig/html/instesxi.htm

I used: OM-SrvAdmin-Dell-Web-6.3.0-2075.VIB-ESX41i_A00.8.zip

Follow the same process as above:

1) Move or shutdown all VM's.
2) Place host in maintenance mode.
3) Extract/install patch using the -i and -b switches:
vihostupdate.pl --server <server_name> -i -b <c:\path_to_filename.zip>
4) Reboot system

Comments

Popular posts from this blog

Dell iDRAC 6 Update via SSH & TFTP

vCenter Server Appliance - Full Database Partition

Update Intel NIC Firmware