ESXi commands!


Automatic Start VM on VMWorkstation!

Open notepad and save with file.bat copy to startup folder.

“C:\Program Files (x86)\VMware\VMware Workstation\vmrun.exe” -T ws start “C:\Users\username\Documents\Virtual Machines\Windows-ActiveDirectorySRV\Windows-ActiveDirectorySRV.vmx”

“C:\Program Files (x86)\VMware\VMware Workstation\vmrun.exe” -T ws start “D:\Virtual Machine\Linux-OpenFiler\Linux-OpenFiler.vmx”

Use PowerCLI to get Quick Stats


A while back, I started to do a little bit of work with PowerCLI, VMware’s PowerShell based scripting language. PowerCLI can be used for a number of tasks, including creating, managing and monitoring virtual hosts and guests. In this article, part one of a new series, you will learn how to use basic PowerCLI commands to pull information from an ESX host.

Sometimes you just want to get an at-a-glance view of your VMware environment. Other times, you may want to store historical information outside vCenter/ESX in order to manipulate it in other tools. With PowerCLI, getting some down and dirty statistics is quite simple. PowerShell also provides database connectivity cmdlets that enable you to write statistics information into a SQL Server database. Later in this series, I’m going to show you how to grab pertinent information from an ESX server and also show you how you can write some of this information into a database for later viewing.
Tiếp tục đọc

Top Five Reasons Your Company Needs VMware Horizon View 5.2


VMware Horizon View is a universal client solution that enables users to access their desktops, data, and applications as they’ve come to expect – anywhere, anytime, and from any device. With the advent of the personal computer, the IT group lost control of desktop computing, and now it’s time to seize control of the end user computer again and move it back into the datacenter. VMware Horizon View provides this opportunity. With VMware Horizon View, users get an individualized view of their applications and data on any device of their choosing; virtual desktops do not need the complexity, power, or operational expenses like physical desktops. Data and applications are secure in the datacenter with logical and physical security, plus administrators can quickly respond to application demands, provisioning more resources as needed. Horizon View can provision additional desktops without administrator intervention, reducing manual tasks associated with provisioning for additional capacity and new users. Virtual machines (VMs) are easy to copy, simplifying business continuity planning and disaster recovery. Thin clients consume approximately ten percent of the actual power consumption of a physical desktop. There are five top reasons why your company needs VMware Horizon View 5.2:
Tiếp tục đọc

vSphere 5.5 Quick Stats Not Up to Date Error

I have seen this error since I upgraded to vSphere 5.5 last week. There is a kb article here on how to fix this. According to this kb article this is a known issue in vCenter 5.5. I am using the vCSA (vCenter Server Appliance) and it is affected as well. So I just wanted to share what to do based on the KB article.

Screenshot of the error.


Open putty and ssh to your vCSA and execute the following.

cd /etc/vmware-vpx/
 cp vpxd.cfg vpxd.cfg.orig
vim vpxd.cfg

Now scroll down to the line before </vpxd> and insert the following code from the kb article referenced above.

<quickStats> <HostStatsCheck>false</HostStatsCheck> <ConfigIssues>false</ConfigIssues> </quickStats>

Now restart vCenter Server Service

service vmware-vpxd restart

Now after the services have restarted all should be good.


ESXi 5.1 Unable to install / upgrade VMware Tools on Guest OS

When you use vCenter 5.5 to management Esxi 5.1  ,you will have error

“Unable to install VMware Tools. An error occurred while trying to access image file “/usr/lib/vmware/isoimages/windows.iso” needed to install VMware Tools: 2 (No such file or directory). If your product shipped with the VMware Tools package, reinstall VMware ESX, then try again to install the VMware Tools package in the virtual machine.   The required VMware Tools ISO image does not exist or is inaccessible.”
Tiếp tục đọc