I just finished upgrading my HP DL360e Gen8 server to the latest build. My HP DL360e Gen8 server was first installed using the HP VMWare image for VMWare 6. I have an 8GB SD card in a slot on the motherboard for VMWare 6. I followed the VMWare Cookbook an installed the patches and firmware for all the hardware. I like to keep my server running optimally.
How to clean up and shrink the thin provisioned disks.
When I moved stuff from one web site to another and deleted it. I needed to run this to reclaim the space in eSXi. It will save on backups.
/var/www is the apache2 folder for the virtual hosts or all my web sites. In VMWare 6, when you delete files, it doesn’t clean up after itself. The thin provisioned disks don’t shrink back down. You need to do two things. zero out each partition or disk and run the vmkfstools -K command to shrink it.
I verified the zeroes files was removed and trash was removed and emptied.
vmkfstools -K UbuntuwebWP.vmdk
vmkfstools -K UbuntuwebWP_1.vmdk
vmkfstools -K UbuntuwebWP_2.vmdk
vmkfstools -K UbuntuwebWP_3.vmdk
I ran the command on the 3 partitions. Took about an hour to do all 3. Took it down from 511 GB to 175 GB.
/var had the trash file from the web sites files moved.
Current servers running on VMWare 6 U3 as VMs
I have 5 Linux Server VMs running on my HP DL360e Gen8 server. Cisco Virtual Lab for my Cisco CCNP simulations. It was a install file from Cisco that had 5 active NICs. I have two CentOS 7 servers: WordPress and a Files server. I have two Ubuntu 16.04.5 servers: WordPress and Syslog-NG. I have two ISP connections that each host one WordPress server.
VMWare Tools upgrading of Linux
All 5 of my Linux servers from CentOS 7 and Ubuntu 16.04.5 have VMWare Tools installed running guest OS. On my data center, I download VMWare Tools and place them inside eSXi and then the VMs can be upgraded. VMWare recommends using the Open-VM-Tools over its downloads. They said they are modified to properly work with all my Linux distros.