PowerCLI: Check ESXi Scratch Location and Syslog Server Settings


As part of the ESXi health check, we need to ensure the scratch location and syslog server has been configured correctly. Here is my script to check the settings: $VMHost = Get-Content C:\powercli\Servers.txt Foreach ($_ in $VMHost) {$Scratch = Get-VMHostAdvancedConfiguration -VMHost $_ -Name ScratchConfig.ConfiguredScratchLocation $SyslogServer = Get-VMHostAdvancedConfiguration -VMHost $_ -Name syslog.global.loghost$SyslogDir = Get-VMHostAdvancedConfiguration -VMHost $_ … Continue reading PowerCLI: Check ESXi Scratch Location and Syslog Server Settings

TSM 6.3: Backup VMware VM with Physical RDM or Independent Disks


When deploy some application servers which require a high IO performance (like Exchange, Database server) on VMware ESXi, It is common to place the data on the physical RDM (Raw Device Mapping). To backup such VM, you have to explicitly tell TSM to exclude the physical RDM and independent disks from the backup. Otherwise, the … Continue reading TSM 6.3: Backup VMware VM with Physical RDM or Independent Disks

vSphere Profile-Driven Storage Service Failed to Start


I received such error "vSphere Client cannot connect to Profile-driven storage service at https://vcenter:443/sps/sdk" when trying to run the VM Storage Profile in vCenter. I logon the vCenter server and found ‘vSphere Profile-Driven Storage Service’ is stopped.  And I tried to manually start the service, but failed. Then I restarted the vCenter server, the service … Continue reading vSphere Profile-Driven Storage Service Failed to Start

Performance statistics rollup from past day to past week is not occurring in the database


If you see such warning messages in the ‘vCenter Service Status’, it means the Performance Statistics  rollup maintenance jobs are not running properly on the SQL server. To fix it, login into the SQL server and check the ‘SQL Server Agent’ service is started, and manually run those jobs to see if they can run … Continue reading Performance statistics rollup from past day to past week is not occurring in the database

Some Tips About Applying Host Profile in vCenter 5.0


- If you received ‘The request failed because the remote server took too long to respond’ when trying to apply the host profile. Try to use PowerCLI to run it, the command line is: C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI> Apply-VMHostProfile myHostName -profile myProfileName - If you have not joined the host into the Active Directory, you … Continue reading Some Tips About Applying Host Profile in vCenter 5.0