5 articles ESXi

How to install MegaCli on ESXi 5.x

Enable ssh service (you can use Vsphere client for that purpose, or directly on the VM Host with F2 -> Troubleshooting Options) Download MegaCli 08.07.07 Copy attached VIB to ESXi host using SFTP / SCP (I use FileZilla) to /tmp/ Install VIB with PUTTY using following command: esxcli software vib install -v=/tmp/vmware-esx-MegaCli-8.07.06.vib –force –maintenance-mode –no-sig-check…

Graphing disk temperatures with the Eluna Graph System

I have been using the Eluna Graph System for several years, as I like it’s simplicity. As per this post, I graph my ESXi disk temperatures so that I can keep an eye on them. Content of create.sh: #!/bin/bash rrdtool create esxi_disks.rrd \ –start `date +%s` \ –step 300 \ DS:disk1:GAUGE:600:0:U \ DS:disk2:GAUGE:600:0:U \ DS:disk3:GAUGE:600:0:U…

VMWare / ESXi logging disk temperatures

Following on from a previous post, this details how I log my ESXi disk temperatures. The temperatures are gathered with this script: #/bin/sh # /vmfs/volumes/datastore2/hp/hpacucli ctrl slot=16 pd all show detail |grep “Current Temperature (C):” |awk -F “:” {‘print $2’} |xargs |sed -e ‘s/ /,/g’ > /vmfs/volumes/datastore2/hp/disk_temps.txt cat /vmfs/volumes/datastore2/hp/disk_temps.txt | nc -w 3 1025 Port…

Adding firewall rules to ESXi 5.5

I needed to add a custom firewall rule to my ESXi box, so that it could send email notifications. Firstly, I created an smtp.xml file (see below) and this is stored on one of my datastores (in my case /vmfs/volumes/datastore2/hp/). To make this persistent across reboots add the following lines to: /etc/rc.local.d/local.sh cp /vmfs/volumes/datastore2/hp/smtp.xml /etc/vmware/firewall/…