ESXi Hardware VMWare

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 […]


Windows command line for various control panel options

Control panel tool Command —————————————————————– Accessibility Options control access.cpl Add New Hardware control sysdm.cpladd new hardware Add/Remove Programs control appwiz.cpl Date/Time Properties control timedate.cpl Display Properties control desk.cpl FindFast control findfast.cpl Fonts Folder control fonts Internet Properties control inetcpl.cpl Joystick Properties control joy.cpl Keyboard Properties control main.cpl keyboard Microsoft Exchange control mlcfg32.cpl (or Windows Messaging) […]

CentOS Debian ESXi Linux VMWare

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 #!/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/ cp /vmfs/volumes/datastore2/hp/smtp.xml /etc/vmware/firewall/ […]


Windows Server 2012: Deactivating UAC

Deactivating UAC in Windows 2008 R2 was possible via running msconfig (for example winkey+r -> msconfig), going to the Tools tab and launching “Change UAC settings”. There, you select “Never notify” to disable UAC. The same approach is still available in Windows Server 2012, although UAC is still active after you selected “Never notify”. You […]


Server 2012 – taking ownership of files

I recently had issues where taking ownership of files through the GUI simply failed every time, despite indicating that it had been successful. A bit of ‘Googling’ led me to an article on Microsoft’s website. Launch Powershell as Administrator (if not logged in as Administrator) Change the the drive containing the files / folders you […]

iptables Linux

Blocking bogons with iptables

ipsets is a fairly recent addition to the netfilter family. It is possible to define networks / addresses and then use them in iptables. ipset –create bogons nethash ipset –add bogons ipset –add bogons ipset –add bogons ipset –add bogons ipset –add bogons ipset –add bogons ipset –add bogons […]