vSphere 5.0 Clustering Basic Design Principles


1) Although HA is not dependent on DNS any more, it is still recommended to register the hosts with their FQDN. 2) Ensure syslog is correctly configured and log files are offloaded to a safe location to offer the possibility of performing a root cause analysis in case disasters strikes. 3) In stateless environment, ensure … Continue reading vSphere 5.0 Clustering Basic Design Principles

vSphere 5.0 Security Hardening Recommended VM Settings Check Script


#Uncomment if this SnapIn has not been added#Add-PSSnapIn VMware.VimAutomation.Core CLS $a = "<style>"$a = $a + "BODY{background-color:peachpuff;}"$a = $a + "TABLE{border-width: 1px;border-style: solid;border-color: black;border-collapse: collapse;}"$a = $a + "TH{border-width: 1px;padding: 0px;border-style: solid;border-color: black;background-color:thistle}"$a = $a + "TD{border-width: 1px;padding: 0px;border-style: solid;border-color: black;background-color:palegoldenrod}"$a = $a + "</style>" $creds = Get-VICredentialStoreItem -file “C:\powercli\credfile.xml”Connect-viserver -Server $creds.Host -User $creds.User -Password … Continue reading vSphere 5.0 Security Hardening Recommended VM Settings Check Script

ESXi 5.0 False Alarm ‘no management network redundancy’


In the vCenter, if you see the warning ‘this host currently has no management network redundancy’ in the summary tab for a host, but you are sure there is. It may be caused by that the HA agent (FDM) does not update the information in a timely fashion. To fix it, you have to manually … Continue reading ESXi 5.0 False Alarm ‘no management network redundancy’

Send ESXi 5.0 Syslog to Splunk


1) Install Splunk. In my example, I use Linux as the Splunk server. rpm -i splunk-4.3.4-136012-linux-2.6-x86_64.rpm /opt/splunk/bin/splunk start 2) Go the web server http://dev-linux-01:8000 to open the TCP and UDP 514 port. Do the same to open UDP port 514. 3) Login to the ESXi host to configure the remote syslog host. esxcli system syslog … Continue reading Send ESXi 5.0 Syslog to Splunk

PowerShell: Check VMware Tools Status


To ensure the VMware Tools is running or not out of date, we have to periodically check it. The following PowerShell script can generate a VMware Tools status report in csv format. #Uncomment if this SnapIn has not been added #Add-PSSnapIn VMware.VimAutomation.Core CLS $creds = Get-VICredentialStoreItem -file “C:\powercli\credfile.xml” Connect-viserver -Server $creds.Host -User $creds.User -Password $creds.Password … Continue reading PowerShell: Check VMware Tools Status