Chris Hall bio photo

Chris Hall

Principal Technical Consultant

PolarCloudsUK Chris LinkedIn Github
Chris Hall Nutanix Certified Master - Multicloud Infrastructure 6 Chris Hall VMware vExpert 2024 Chris Hall VMware vExpert NSX 2023 Chris Hall Nutanix Certified Professional - Multicloud Infrastructure 6 Chris Hall Nutanix Certified Professional - Unified Storage 6 Chris Hall VMware vExpert 2023 Chris Hall VMware vExpert 2022
Because I can never remember and the pieces of paper floating around in my laptop bag are looking more and more dog-eared...

Mounting USB Stick (needs to be formatted FAT / FAT32):
1.  Log onto console first (tty1 preferred - alt F1)
2.  Plug in USB stick
3.  You should see a message detailing device inserted
4.  Look for a device ID assigned by ESX to the USB. For example '/dev/sda'
5.  Mount USB device:   mount -t auto /dev/sda1 /mnt/flash
6.  sda1 being the 1st partition on the USB stick: cd /mnt/flash and then ls
7. USB contents will be there
8. When finished: umount /mnt/flash  (remember to change directory away from /mnt/flash first!)
9. Pull USB and go

Yea I know.  Easy when you know how.
 

Setting up SNMP on ESX:
1.  Log onto console first (tty1 preferred - alt F1).
2.  Sudo to root su -   
3.  Open snmp config file  nano /etc/snmp/snmpd.conf
4.  Edit the following:
 
syslocation Datacentre x Bay x, Row x, Rack Asset x, Uxx-Uxx
rocommunity [snmp public string]
trapcommunity [snmp admin string]
trapsink [ip address of snmp receiving server]

5.  Restart the snmp daemon /etc/init.d/snmpd restart 
6.  Open ESX firewall port for snmp  esxcfg-firewall -e snmpd
7.  Make snmpd service automatic  chkconfig snmpd on 

Use this free tool to test.

Screenshots:




Nice!

- Chris