Virtual Machine Files Type

When you browse a VM folder on a datastore you find different types of files listed there . Each file has specific role in a VM functioning. We will learn here for which purpose which files are created. Typically you will find following types of files in a VM directory:

VMDK files – VMDK files names as (VMware Virtual Disk file) are the actual virtual hard drive for the virtual guest operation system. You can create dynamic or fixed virtual disks. With dynamic disks, the disks start small and grow as the disk inside the guest OS grows. With fixed disks, the virtual disk started out at the same (large) disk size decided initially while creating VM.

Log files – Log files are just that- a log of VM server activity for a single virtual server. Log files can be used only while doing any troubleshooting with a virtual machine. It can be more than 1 or 2 and modified each time while we Start, Suspend or reboot the Virtual Machine. 

VMX files – a VMX file is the primary configuration file for a virtual machine. When you create a new virtual machine and answer questions about the operating system, disk sizes, and networking, those answers are stored in this file. As you can see from the screenshot below, a VMX file is actually a simple text file that can be edited with Notepad.

VMEM – A VMEM file is a backup of the virtual machine’s paging file. It will only appear if the virtual machine is running, or if it has crashed.

VMSN files – these files are used for snapshots. A VMSN file is used to store the exact state of the virtual machine when the snapshot was taken. Using this snapshot, you can then restore your machine to the previous state as when the snapshot was taken.

VMSD files — A VMSD file stores information about snapshots metadata. You’ll notice that the names of these files match the names of the snapshots.

NVRAM files – These files are the BIOS for the virtual machine. The VM must know how many hard drives it has and other common BIOS settings. The NVRAM file is where that BIOS information is stored.

VMSS files – A VMSS file is VMware Suspended virtual machine state and it is created while you suspend any Virtual machine. It stores the information of the running application while suspending the machine.

VMXF Files – A VMXF file is VMware team member file which is created during creation of Virtual machine and its shows the information about the client MetaData Attributes & VMID.

Posted in Vmware | 2 Comments

VMware Compliance Checker

VMware’s free Compliance Checker for vSphere is a fully-functional product that provides detailed compliance checks against the VMware vSphere® Hardening Guidelines. For example, you can print Compliance Checker reports and run compliance checks across multiple ESX and ESXi servers at once.


VMware Compliance Checker can be downloaded from  Here

Key Features

Features of VMware Compliance Checker for vSphere:

  • Check compliance for multiple VMware ESX and ESXi servers concurrently — Run compliance check on up to five ESX or ESXi servers at a time and produce reports.
  • Supports VMware vSphere hardening guidelines — Perform checks on VMware ESX and ESXi servers to conform with the latest VMware vSphere hardening guidelines.
  • Roll up compliance assessment by benchmarks and by machines — After a compliance run, you can view the assessments by machines and by benchmark type.
  • Save and print assessment results — You can save, print and email the compliance assessment reports to your team for review and they can be saved for archival needs.
Posted in Vmware | Leave a comment

Registrations Opened for vExpert2015

The VMware vExpert program is VMware’s global evangelism and advocacy program. The program is designed to put VMware’s marketing resources towards your advocacy efforts. Promotion of your articles, exposure at our global events, co-op advertising, traffic analysis, and early access to beta programs and VMware’s roadmap. VMware will provide you with a unique vExpert id that will allow insights into analytics to help understand customer trends to assist you and keep your advocacy activities on track.

The awards are for individuals, not companies, and last for one year. Employees of both customers and partners can receive the awards. In the application, we consider activities from the previous year as well as the current year’s activities in determining who gets awards. We look to see that not only were you active but are still active in the path you chose to apply for.

Become a vExpert today and join the 3 million member customer ecosystem and amplify your efforts and ours. To apply read more information

Application process

Here are the main steps from application to award announcement:

  • Application Path.Choose which path to becoming a vExpert most applies to you.
    • Evangelist Path. For book authors, bloggers, tool builders, public speakers, VMTN contributors, and other IT professionals who share their knowledge and passion with others with the leverage of a personal public platform to reach many people. Build up your presence in the social realm by maintaining a blog, speaking at events, writing white papers and books, participating in VMTN forums, etc. In general, we look for a sustained social presence in the previous year and current year.
    • Customer Path. For leaders from VMware customer organizations who have been internal champions in their organizations, worked with VMware to build success stories, act as a customer reference, given public interviews, spoken at conferences, or were VMUG leaders.
    • Partner Path. For employees of our partner companies who lead with passion and by example, who are committed to continuous learning through accreditations and certifications, and to making their technical knowledge and expertise available to many. VMware employee reference is required for this path.
  • Submit Application. Complete and submit your vExpert application. Be sure you have included all relevant information and links so that your application can be easily evaluated. Don’t be afraid to give us too much information. Please ready the full 2015 vExpert application announcement
  • Application Review and Voting. All applications for the given time frame will be reviewed and voted on by the team corresponding to the application path selected (evangelist, partner, or customer).
  • Notification and Announcement. After the announcement a list of the individuals most recently awarded the title of vExpert will be posted in the vExpert forum and on the VMTN blog at on February 5th, 2015.
  • New vExperts will need to fill out the complete application and returning 2014 vExperts will only need to fill out the fastrack application.
Posted in Vmware | Leave a comment

How to install Spacewalk Server on Centos 6

Spacewalk is an open source Linux systems management solution. Spacewalk is the upstream community project from which the Red Hat Satellite product is derived.

Spacewalk manages software content updates for Red Hat derived distributions such as Fedora, CentOS, and Scientific Linux, within your firewall. You can stage software content through different environments, managing the deployment of updates to systems and allowing you to view at which update level any given system is at across your deployment. A central web interface allows viewing of systems, their associated software update status, and initiating update actions.

Additional Management Capabilities

Spacewalk provides provisioning and monitoring capabilities, allowing you to manage your systems throughout their lifecycle. Via Provisioning, Spacewalk enables you to kickstart provision systems and manage and deploy configuration files. The monitoring feature allows you to view the status off your systems alongside their software update status. Spacewalk also has virtualization capabilities to enable you to provision, control, manage, and monitor virtual KVM and Xen guests.

The supported database options are Postgres and Oracl, so in this case we are using Postgres. Follow the steps shown below to install Spacewalk Server on Centos 6

Download the spacewalk repo

[root@server]# wget

Install the spacewalk repo

[root@server]# rpm –ivh spacewalk-repo-1.9-1.el6.noarch.rpm

Install the yum priorities plugin

[root@server ]# yum install yum-plugin-priorities

Install the rest of the required repo’s

[root@server]# rpm -Uvh

[root@server]# rpm -Uvh

[root@server]# rpm -Uvh

[root@server~]# rpm –ivh

Next you need to make a change to the jpackage repo

[root@server]# vim /etc/yum.repos.d/jpackage.repo

Look for the following section at the bottom


name=JPackage (free) for distro $releasever






You need to change the mirrorlist line so it looks like the following. The difference is the $releasever has been changed to 5.0


name=JPackage (free) for distro $releasever






Next Step is to Cleanup  YUM

[root@server]# yum clean all

Next install Postgres, set it to run on boot and run the initial configuration

[root@server~]# yum install postgresql postgresql-contrib postgresql-devel postgresql-server

[root@server~]# chkconfig postgresql on

[root@server~]# service postgresql initdb

[root@server~]# service postgresql start

 Create the database and user for Spacewalk

[root@server~]# su – postgres -c ‘PGPASSWORD=spacepw; createdb spacedb ; createlang plpgsql spacedb ; yes $PGPASSWORD | createuser -P -sDR spaceuser’

Now you need to configure the user to use an md5 password

[root@server~]# vim /var/lib/pgsql/data/pg_hba.conf

At the bottom of the config file you will see to following lines

# “local” is for Unix domain socket connections only

local                 all         all                                            ident

# IPv4 local connections:

host                 all         all               ident

# IPv6 local connections:

host                 all         all         ::1/128                        ident

Before those lines add the following:

local     spacedb           spaceuser         md5

host     spacedb           spaceuser      md5

host     spacedb           spaceuser         ::1/128             md5

local     spacedb           postgres           ident

Reload Postgres for the changes to take effect

[root@server~]# service postgresql reload

Now install Spacewalk. It will take some time on a minimal install it had to install over 400 dependencies.

[root@server~]# yum install spacewalk-postgresql

[root@server~]#  yum install spacewalk-setup-embedded-postgresql

Once it is installed run the Spacewalk setup

[root@server~]# spacewalk-setup –disconnected

You will first be prompted for the database information. Leave the location blank, the database is spacedb, the username is spaceuser and the password is spacepw

** Database: Setting up database connection for PostgreSQL backend.

Hostname (leave empty for local)?

Database? spacedb

Username? spaceuser

Password? spacepw

The rest you can use the defaults. The final step will be generating a SSL certificate, just enter your details as required

Access the web interface by going to https://IPADDRESS you will be prompted to create a user. Once done you are ready to start connecting client machines.

How to walk with spacewalk

Populate Spacewalk

The goal is to deploy a new machine with an os, this means the obvious next step is to populate spacewalk with a Red Hat derived Linux distribution of your choice.

First step is to mount the CentOS 6.1 iso’s somewhere on your spacewalk server. Make sure to get a full distro iso, this means that required directories like, for example, images/pxeboot do exist. The packages which belong to a distribution are administered in Spacewalk as software channels, so we first have to create a software channel before we can add/upload packages to it.

Create a new software channel by opening the spacewalk console and navigate to:

“Channels” -> “Manage Software Channels” -> “Create New Channel”

Enter a reasonable channel name (this is for display only, e.g: “CentOS 6.1 – 64 Bit”), a channel label (remember this name for later use,e.g: “centos6.1-x86_64″) and select the correct architecture (x86_64).

Next step is to populate spacewalk with the CentOS packages, this proces is started by issuing the following command:

rhnpush -v –channel=centos6.1-x86_64 –server=http://localhost –dir=/path/to/Packages

where “/path/to/Packages” is the absolute path of the Packages directory of the mounted iso.

CentOS 6.1 consists of two dvd’s, execute above step for both dvd’s.

The rhnpush process uploads all packages and registers them in spacewalk. On average, rhnpush processes packages at a rate of around 2000 packages per 30 minutes (ofcourse depending on the configuration of your host and vm). CentOS 6.1 contains almost 6200 packages so, it will take around one and a half hour to upload all packages from dvd1 and dvd2 to spacewalk.

The deployed linux system should to be able to connect to the spacewalk server and use it’s package and configuration management facilities it is recommended to include the spacewalk client packages in a spacewalk channel as well. Now we will upload the packages directly from the online repository into a child channel of the just created CentOS channel.

In the spacewalk console navigate to:

“Channels” -> “Manage Software Channels” -> “Create New Channel”

Enter a reasonable channel name ( e.g. : “Spacewalk Client 1.5 – el6 – 64 Bit”), a channel label (e.g.  “swclnt1.5-el6-x86_64″), the correct architecture (x86_64) and the correct parent channel (e.g. : “CentOS 6.1 – 64 Bit”).

Populating spacewalk with the spacewalk client packages directly from the online repository is started by issuing the following command:

spacewalk-repo-sync -c swclnt1.5-el6-x86_64 –url

The spacewalk client has a dependency on the python-hwdata-1.2-1.el6.noarch.rpm package from the epel repository. Download the python-hwdata-1.2-1.el6.noarch.rpm package from the epel repositor

and upload it to the spacewalk client child channel using the command (assuming you downloaded the rpm to a folder named epel):

rhnpush -v –channel=swclnt1.5-el6-x86_64 –server=http://localhost -dir=epel

Create a distribution

For automating the installation of a Linux system a method called kickstart can be used. First, we have to setup a directory structure on the spacewalk server based on content of the CentOS dvd1 iso. From your CentOS 6.1 dvd1, copy the following directories:

  • images
  • isolinux
  • repodata


Next, open the spacewalk console and navigate to the following location:

systems -> kickstart -> distributions -> new distribution

Enter the following parameters for the new distribution:

  • Distribution label: centos6.1-x86_64
  • tree path: /var/distro-trees/centos6.1-x86_64
  • Base Channel: CentOS 6.1 – 64 Bit
  • Installer Generation: Red Hat Enterprise Linux 6

Next step is to create a kickstart profile for the channel and distribution. Open the spacewalk console and navigate to the following location:

systems -> kickstart -> create new kickstart profile

Enter the following parameters for the new kickstart profile:

  • Label: centos61-minimal
  • Base channel: CentOS 6.1 – 64 Bit
  • Kickstartable tree: centos6.1-x86_64
  • Virtualization type: none

To make sure the spacewalk client repository is used during kickstart, navigate to the following location:

systems -> kickstart -> profiles -> centos61-minimal -> operating system

Make sure the child channel swclnt1.5-el6-x86_64 is checked.

Also, have a look at the other tabs to have an idea of the configuration options which are available. Possible interesting area’s are:

  • Software: Adding extra packages or package groups in addition to the base installation. Add the package just by adding it on a new line, package groups can be added by an @-sign followed by the group name. A package can be excluded by an hyphen (-) followed by the package name
  • Kickstart details -> Details -> Kernel options: Adding and removing kernel options. You can add a kernel option, just by adding it’s key/value pair to the input field. Removal is done by just mentioning the kernel option preceded by an ! and giving it ~ as a value. For example, the value “!text=~ resolution=800×600″ in the kernel option box forces the use of the graphical installer (remove the text kernel option) and sets screen resolution to 800×600.
  • Kickstart details -> Advanced options: Allows detailed configuration of the kickstarted system. For example, to add an user,during installation, named weblogic with password weblogic01, tick the “user” checkbox and add the value “–name=weblogic –password=weblogic01 –plaintext” to the input field.
  • Kickstart details -> Variables: the usage of variables can be done by adding a key/value pair and refer to it in another tab. For example , to define the hostname during kickstart, add a key/value pair (hostname=appsrvr1) in the variables tab and refer to it in the Advanced options by adding “–hostname $hostname” to the network text box.

Let’s cobbler

Next step is to create an iso image to boot a new vm from.

Important note: In the next couple of steps we are going to deploy a new linux virtual machine. If the virtualization network setup supports a dns where the spacewalk server can be found by its hostname skip the next step.

In other words, your newly created vm must be able to find the spacewalk server using it’s hostname during boot/initial setup. If this is not the case or if you are unsure, please perform the following step to change the spacewalk hostname to its ip-address, if you are sure dns is in place you can skip this step:

In /etc/rhn/rhn.conf change the value of the parameter to the ip address of the spacewalk server.
In /etc/cobbler/settings change the value of the parameters server and redhat_management_server  to the ip-address of the spacewalk server.

On the spacewalk server, run the command (this only needs to be done once):

cobbler get-loaders

Next, start building the iso using the command:

cobbler buildiso

The result of the buildiso command is a file named generated.iso in the directory from where you issued the command.

Let’s kickstart

On your host, create a new virtual machine and provide it with the generated.iso file to boot from. Upon boot you will see a menu as shown below allowing you to specify the centos61-minimal setup to be installed.


Installation will take some time. After installation is finished we will configure this client to talk with spacewalk server.

Configuring spacewalk client

The following instructions are for configuring a Centos 6 box to talk to a Spacewalk server

Install the Spacewalk Client repo

[root@client~]# rpm -Uvh

Clean all the yum repos

[root@client~]# yum clean all

Install the required packages

[root@client~]# yum install rhn-client-tools rhn-check rhn-setup rhnsd m2crypto yum-rhn-plugin

Now you need to generate a activation key. The steps to do this are:

  1. Log into the Spacewalk web interface
  2. From the top navigation select Systems
  3. In the left navigation select Activation Keys
  4. In the top right hand corner click New Key
  5. Enter a name for this activation key and click Create Activation Key
  6. The activation key will then populate

On the client run the configuration tool. Replace the IP and activation key with those from your setup. Once done your computer will be visible in the list of systems in spacewalk.

[root@client~]# rhnreg_ks –serverUrl=http://x.x.x.x/XMLRPC –activationkey=1-414ace93e6c3e94c85aec54a653e761d

Note: x.x.x.x is your spacewalk server IP address

Posted in Linux/CentOS | Leave a comment

Collecting Horizon View logs with PowerShell script

If you are facing any issues in Horizon View environment and need to do troubleshooting it’s a very difficult task to cycle throughout all component logs. Also it’s a bit difficult to remember the location of every log file is across the different components.

I found a PowerShell script on internet which can ease your paint of collecting the log files for Horizon View environment.

This powershell script is written by VMware Architect Markt Ewert. This script automates the log files collection, including Connection Servers, Security Gateways, Desktops, View Composer and Transfer Servers.

# VMware View Log Collector v1.0
# Copyright 2013 VMware. All Rights Reserved.
# Collects VMware View 4.x/5.x log files from View servers and virtual desktops.
# Developed 2012-2013 by Mark F. Ewert, Architect – Technical Enablement

# This script has been well tested but is not supported.
# Run the script without any parameters for detailed help
# Get parameters passed on the command line
[string]$Mode = “”,
[string]$LogType = “”,
[string]$Desktop = “”,
[string]$LogRepository = “”,
[string]$TargetShare = “”

# Set Main variables
$ServerLogTypes = @(“debug”,”log”,”securitygateway”)
$DesktopLogTypes = @(“debug”,”log”,”pcoip_agent”,”pcoip_server”,”persona”)
$ComposerLogTypes = @(“vmware-viewcomposer.”,”vmware-viewcomposer-audit”)
$TransferServerLogTypes = @(“debug”,”log”)
$Modes = @(“server”,”desktop”,”composer”,”transferserver”)
If ($Modes -notcontains $Mode) {$Mode = “help”} # default to display help
If (($Mode -eq “server”) -and ($ServerLogTypes -notcontains $LogType)) {$LogType = “all”} # default to all server log types
If (($Mode -eq “desktop”) -and ($DesktopLogTypes -notcontains $LogType)) {$LogType = “all”} # default to all desktop log types
If ($Mode -eq “composer”) {$LogType = “all”} # collect all Composer logs by default
If (($Mode -eq “transferserver”) -and ($TransferServerLogTypes -notcontains $LogType)) {$LogType = “all”} # default to all transfer server log types
$CollectedCount = 0
$ConnectionServers = @()
$vCenterServers = @()
$TransferServers = @()
$SystemsWithLogs = @()
$LogTypes = @()
If (!$targetshare) {$TargetShare = “C$”} # default to C$ share
If (!$LogRepository) {$LogRepository = “”} # SET DEFAULT LOG REPOSITORY HERE
$2008_Win7_LogLocation = “ProgramData\VMWare\VDM\logs” # 2008\Windows 7 log location
$2003_WinXP_LogLocation = “\Documents and Settings\All Users\Application Data\VMware\VDM\logs” # 2003\Windows XP log location
$2008_Composer_LogLocation = “\Documents and Settings\All Users\Application Data\VMware\View Composer\Logs” # 2008 Composer log location
$2003_Composer_LogLocation = “\ProgramData\VMware\View Composer\Logs” # 2003 Composer log location
$TitleColor = “green”
$WarningColor = “yellow”
$AlertColor = “red”
# Load VMware View PowerCLI Snapin if not already loaded
if (!(get-pssnapin -name VMware.View.Broker -erroraction silentlycontinue)) {
add-pssnapin VMware.View.Broker

Function TitleScreen () {
# Display Title
Write-Host “VMware View Log Collector” -foregroundcolor $TitleColor
write-host “Mode: ” -nonewline; write-host “”$Mode -nonewline -foregroundcolor $WarningColor; write-host ” Log type to collect:” -nonewline; write-host “”$LogType -foregroundcolor $WarningColor

Function Wait4KeyPress () {
# Pause for key press
Write-Host “Press any key to continue …” -nonewline -foregroundcolor $WarningColor
$KeyPress = $host.UI.RawUI.ReadKey(“NoEcho,IncludeKeyDown”)

Function ShowHelp () {
Write-Host “VMware View Server Log Collector Help” -foregroundcolor $TitleColor
Write-Host “————————————-” -foregroundcolor $TitleColor
Write-Host “This script collects VMware View virtual desktop infrastructure log files,”
Write-Host “centralizing them on a CIFS file share. To simplify log analysis, the name”
Write-Host “of the system the logs were copied from is appended to the filename.”
Write-Host “The collector copies the latest, non-zero length log file. If the most recent”
Write-Host “two log files of a specific type are both zero length, none are copied.”
Write-Host “Program Modes” -foregroundcolor $TitleColor
Write-Host “————-” -foregroundcolor $TitleColor
Write-Host “Logs can be collected from View Connection\Security Servers, Virtual Desktops,”
Write-Host “Composer Servers and Transfer Servers. The type of system to collect logs from”
Write-Host “is specified using the ” -nonewline; write-host “-mode” -nonewline -foregroundcolor $WarningColor; write-host ” parameter. The following modes are supported:”
Write-host “server” -foregroundcolor $WarningColor
Write-host “desktop” -foregroundcolor $WarningColor
Write-host “composer” -foregroundcolor $WarningColor
Write-host “transferserver” -foregroundcolor $WarningColor
Write-Host “If no mode is selected, this help information is dislayed.”
Write-Host “Server, composer and transferserver modes automatically identify the servers to”
Write-Host “collect logs from by querying View (server,composer) or vSphere (transferserver)”
Write-Host “Desktop mode requires specification of a desktop. This can be done on the”
Write-Host “command line using the ” -nonewline; Write-Host “-desktop” -nonewline -foregroundcolor $WarningColor; Write-Host ” parameter. If none is specified the”
Write-Host “script will prompt for it.”
Write-Host “Log Types” -foregroundcolor $TitleColor
Write-Host “———” -foregroundcolor $TitleColor
Write-Host “Each mode supports different log types that can be collected as detailed below.”
Write-Host “Server” -nonewline -foregroundcolor $WarningColor; Write-Host ” log types: debug, log, securitygateway”
Write-Host “Desktop” -nonewline -foregroundcolor $WarningColor; Write-Host ” log types: debug, log, pcoip_agent, pcoip_server”
Write-Host “Composer” -nonewline -foregroundcolor $WarningColor; Write-Host ” log types: all (collects the two Composer logs)”
Write-Host “TransferServer” -nonewline -foregroundcolor $WarningColor; Write-Host ” log types: debug, log”
Write-Host “Log type: “-nonewline; Write-Host “all” -nonewline -foregroundcolor $WarningColor; Write-Host ” can also be specified to collect all types of logs from the”
Write-Host “target system(s). If no log type is specified or is specified incorrectly,”
Write-Host “the script defaults to: ” -nonewline; Write-Host “all” -foregroundcolor $WarningColor
Write-Host “Log Repository” -foregroundcolor $TitleColor
Write-Host “————–” -foregroundcolor $TitleColor
Write-Host “The script needs to be configured with a Log Repository to store the collected”
Write-Host “logs. Any CIFS-based file share is supported. The user account running the ”
Write-Host “script must have the Windows NTFS equivalent of ” -nonewline; Write-Host “Modify” -nonewline -foregroundcolor $WarningColor; Write-Host ” rights.”
Write-Host “The log repository can be specified on the command line using the”
Write-Host “parameter: ” -nonewline; Write-Host “-LogRepository” -nonewline -foregroundcolor $WarningColor; Write-Host “. The repository can also be set”
Write-Host “within the USER CONFIGURABLE VARIABLES section near the top of the script to”
Write-Host “prevent having to specify one each time the script is run. Be sure to enclose”
Write-Host “the repository in quotations if there are any spaces in the path.”
Write-Host “Target Share and Security” -foregroundcolor $TitleColor
Write-Host “————————-” -foregroundcolor $TitleColor
Write-Host “By default the script connects to each target system using the ” -nonewline; Write-Host “C$” -nonewline -foregroundcolor $WarningColor; Write-Host ” share and”
Write-Host “requires the user account running the script to be able to connect to this path.”
Write-Host “A different share can be specified using the ” -nonewline; Write-Host “-targetshare” -nonewline -foregroundcolor $WarningColor; Write-Host ” parameter.”
Write-Host “Log Locations” -foregroundcolor $TitleColor
Write-Host “————-” -foregroundcolor $TitleColor
Write-Host “The script collects logs from the standard VMware View log locations as”
Write-Host “detailed in: ” -nonewline; Write-Host “KB 1027744″ -nonewline -foregroundcolor $WarningColor; Write-Host ” by default. These locations can be changed using”
Write-Host “the respective variables also located within the USER CONFIGURABLE VARIABLES”
Write-Host “section near the top of the script.”
Write-Host “Examples” -foregroundcolor $WarningColor
Write-Host “——–” -foregroundcolor $WarningColor
Write-Host “logcollector.ps1 -mode desktop -desktop HRDSKTOP112 -logtype pcoip_server”
Write-Host “-logrepository \\nashost.domain.local\viewlogs”
Write-Host “logcollector.ps1 -mode server -logtype debug -logrepository”
Write-Host “\\fileserver.domain.local\log_repository”
Write-Host “logcollector.ps1 -mode server -logtype all -targetshare log_share”
Write-Host “-logrepository \\fileserver.domain.local\logs”
Write-Host “logcollector.ps1 -mode composer”
Write-Host “Powershell Requirements” -foregroundcolor $TitleColor
Write-Host “———————–” -foregroundcolor $TitleColor
Write-Host “All collection modes require the VMware View PowerCLI which is”
Write-Host “installed on each Connection Server by default. This script must”
Write-Host “be run on a Connection Server using an account that has Administrative”
Write-Host “rights to both the Connection Server and the View Infrastructure. When”
Write-Host “launching the script or opening a Powershell session to run the script”
Write-Host “be sure to launch it as an Administrator ” -nonewline; write-host “(Run as Administrator)” -foregroundcolor $WarningColor
Write-Host “Transferserver mode also requires the account running the script to”
Write-Host “have rights to connect to the vSphere vCenter Servers supporting the”
Write-Host “View Infrastructure and read the Notes associated with each Virtual Machine.”
Write-Host “This is required in order to identify the deployed Transfer Servers.”
Write-Host “Make sure the vSphere PowerCLI supporting the version of vSphere deployed”
Write-Host “has been installed on the Connection Server where this script will”
Write-Host “be executed.”
Write-Host “Script developed by: Mark F. Ewert, Architect – Technical Enablement, VMware” -foregroundcolor $WarningColor
Write-Host “Script copyright VMware 2013 – All Rights Reserved” -foregroundcolor $WarningColor

Function LogCollector ($SystemsWithLogs,$Mode,$LogType) {
ForEach ($System in $SystemsWithLogs) {
# First check if system is running Windows 2003 or 2008
If ($Mode -ne “composer”) {
$LogLocation = $2008_Win7_LogLocation
$FullLogPath = “\\”+$System+”\”+$TargetShare+”\”+$LogLocation+”\”
# Assume 2008 but check to see if it’s actually 2003
If (!(Test-Path -path $FullLogPath)) { # if 2008 log directory doesn’t exist, it’s 2003
$LogLocation = $2003_WinXP_LogLocation
$FullLogPath = “\\”+$System+”\”+$TargetShare+”\”+$LogLocation+”\”
Else { # must be composer mode
$LogLocation = $2008_Composer_LogLocation
$FullLogPath = “\\”+$System+”\”+$TargetShare+”\”+$LogLocation+”\”
# Assume 2008 but check to see if it’s actually 2003
If (!(Test-Path -path $FullLogPath)) { # if 2008 log directory doesn’t exist, it’s 2003
$LogLocation = $2003_Composer_LogLocation
$FullLogPath = “\\”+$System+”\”+$TargetShare+”\”+$LogLocation+”\”
# finish creating path and filename for log to collect
If ($LogType -ne “securitygateway”) {
$Log2Fetch = $FullLogPath+””+$LogType+”*”
Else {
$Log2Fetch = $FullLogPath+”PCoIP Secure Gateway\”+$LogType+”*”
# Fetch details for last two logs
$LogFiles = @()
$LogFiles = @(gci $Log2Fetch -ea SilentlyContinue | sort LastWriteTime | select -last 2)
If ($LogFiles) {
# Check for zero size logs handling situation where only one file was returned
If (!$LogFiles[1]) {
$LogFiles += $LogFiles[0]
$Size = Get-Item $LogFiles[1]
If ($Size.length -ne 0) {
[string]$LogFileAndPath = $LogFiles[1]
Else {
$Size = Get-Item $LogFiles[0]
If ($Size.length -ne 0) {
[string]$LogFileAndPath = $LogFiles[0]
Else {
# turn persona log type back into human understandable
If ($LogType -eq “vmvvp”) {$LogType = “persona”}
Write-Host “Warning: ” -nonewline -foregroundcolor $WarningColor; Write-Host “The two latest $LogType logs for $System are 0 bytes and will not be collected”
$LogFileAndPath = $null
Else {
# turn persona log type back into human understandable
If ($LogType -eq “vmvvp”) {$LogType = “persona”}
Write-Host “Warning: ” -nonewline -foregroundcolor $WarningColor; Write-host “No $LogType log was found on”$System
$LogFileAndPath = $null

# If there’s a recent non zero sized log file, collect it
If ($LogFileAndPath) {
[string]$LogFileName = $LogFileAndPath.SubString($FullLogPath.length)
$LogFileExtension = [System.IO.Path]::GetExtension($LogFileName)
$NewLogFileName = “”+$LogRepository+”\”+$LogFileName.TrimEnd($LogFileExtension)+”_-_”+$System+$LogFileExtension
Copy-Item -Path $LogFileAndPath -Destination $NewLogFileName
write-host “Success: ” -nonewline -foregroundcolor $TitleColor; write-host “$LogType log collected from”$System
# Increase count of collected logs
Return $CollectedCount

# Main Program

# Check to see if HELP was requested
If ($Mode -eq “help”) {

# Verify a Log Repository was specified

If (!$LogRepository) {
Write-Host “Please specify a repository the next time the script is”
Write-Host “executed or configure a default respository using the”
Write-Host “LogRepository variable in the USER CONFIGURABLE VARIABLES”
Write-Host “section near the top of the script.”

# Verify the Log Repository exists
If (!(Test-Path -path $LogRepository)) {
Write-Host “Please verify log repository settings before re-running the script.”

# Display Title Screen

# Server Mode
If ($Mode -eq “server”) {
# create PCoIP log repository sub-directory if it doesn’t already exist.
$SecureGatewayLogPath = $LogRepository + “\PCoIP Secure Gateway\”
If (!(Test-Path -path $SecureGatewayLogPath)) {New-Item $SecureGatewayLogPath -Type Directory}
# Get Connection Servers from View
$ConnectionServers = Get-ConnectionBroker
ForEach ($ConnectionServer in $ConnectionServers) {
$SystemsWithLogs += $ConnectionServer.broker_id
# set LogTypes to server log types
$LogTypes = $ServerLogTypes
Write-Host “View Servers: ” -nonewline; write-host “”$SystemsWithLogs -foregroundcolor $WarningColor

# Desktop Mode
If ($Mode -eq “desktop”) {
# Prompt for name of desktop if one was not entered on the command line
If ($Desktop) {
Write-Host “Desktop: ” -nonewline; write-host “”$Desktop -nonewline -foregroundcolor $WarningColor
While (!$Desktop) {
Write-Host “Enter Name of Desktop containing logs: ” -nonewline -foregroundcolor $WarningColor; $Desktop = Read-Host
$SystemsWithLogs = $Desktop
# set LogTypes to desktop log types
$LogTypes = $DesktopLogTypes

# Composer Mode
If ($Mode -eq “composer”) {
# Get the name of the View Composer server from View
$VC = Get-ViewVC
$ComposerURL = $VC.composerUrl
$Composer = $ComposerURL.TrimStart(“https://”)
$Composer = $Composer.SubString(0,($Composer.LastIndexOf(‘:’)+1))
$Composer = $Composer.Trim(“:”)
$SystemsWithLogs = $Composer
# set LogTypes to composer log types
$LogTypes = $ComposerLogTypes
Write-Host “View Composer IP Address: ” -nonewline; write-host “”$SystemsWithLogs -foregroundcolor $WarningColor

# Transfer Server Mode
If ($Mode -eq “transferserver”) {
# Load VMware vSphere PowerCLI Snapin if not already loaded
If (!(get-pssnapin -name VMware.VimAutomation.Core -erroraction silentlycontinue)) {
add-pssnapin VMware.VimAutomation.Core
Write-Host “Scanning vCenter(s) for Transfer Servers… Please Wait…” -foregroundcolor $WarningColor
# Get vCenter Server(s) from View
@($ViewVCs = Get-ViewVC)
ForEach ($ViewVC in $ViewVCs) {
$vCenterServers += $ViewVC.serverName
# Now get Transfer Servers from vCenter
ForEach ($vCenterServer in $vCenterServers) {
connect-viserver $vCenterServer -ea SilentlyContinue | Out-Null
@($VMs = Get-VM)
ForEach ($VM in $VMs) {
$Annotations = Get-Annotation -CustomAttribute “Transfer Server Status” $VM
If ($Annotations.Value) {
$SystemsWithLogs += $VM
# set LogTypes to transfer server log types
$LogTypes = $TransferServerLogTypes
# Display Title Screen
Write-Host “Transfer Servers: ” -nonewline; write-host “”$SystemsWithLogs -foregroundcolor $WarningColor
# Collect Logs
write-host “—————————————————-” -foregroundcolor $WarningColor
$LogCollectionAttempts = 0
If ($LogType -eq “all”) {
ForEach ($Log in $LogTypes) {
$LogType = $Log
# check for persona logtype and replace human understandable with actual
If ($LogType -eq “persona”) {$LogType = “vmvvp”}
If (!$SystemsWithLogs.count) {$LogCollectionAttempts++}
Else {$LogCollectionAttempts += $SystemsWithLogs.count}
$Count += LogCollector $SystemsWithLogs $Mode $LogType
$CollectedCount += $Count
Else {
# check for persona logtype and replace human understandable with actual
If ($LogType -eq “persona”) {$LogType = “vmvvp”}
$LogCollectionAttempts = $SystemsWithLogs.count
$CollectedCount = LogCollector $SystemsWithLogs $Mode $LogType
write-host “—————————————————-” -foregroundcolor $WarningColor

If ($CollectedCount) {
write-host “Total number of logs collected:” -nonewline; write-host “”$CollectedCount -foregroundcolor $WarningColor
write-host “Total number of log collection attempts:” -nonewline; write-host “”$LogCollectionAttempts -foregroundcolor $WarningColor
If ($LogCollectionAttempts -ne $CollectedCount) {
If (($LogCollectionAttempts – $CollectedCount) -eq 1) {
write-host “1” -nonewline -foregroundcolor $WarningColor; write-host ” log was not collected”
Else {
write-host ($LogCollectionAttempts – $CollectedCount)”” -nonewline -foregroundcolor $WarningColor; write-host “logs were not collected”
Else {
write-host “ALERT:” -nonewline -foregroundcolor $AlertColor; write-host ” NO LOGS WERE COLLECTED.”
write-host “Total number of log collection attempts:” -nonewline; write-host “”$LogCollectionAttempts -foregroundcolor $WarningColor

Posted in Vmware, Vmware Horizon | Leave a comment

Troubleshooting common P2V Conversion Failures

Conversions sometimes fail no matter how careful you are preparing the server. The failure can occur at various stages in the conversion process; these stages are based on the task bar percent and are estimated values.

1.      Creation of the target virtual machine (VM) (0%-5%)
2.      Preparing to Clone the Disk (5%-6%)
3.      Cloning (6%-95%)
4.      Post-cloning (95%-97%)
5.      Customization/Reconfig (97%-99%)
6.      Install Tools/Power On (99%-100%)

The conversion process may fail at any stage, but if it’s going to fail, it will typically fail at 97%. Converter creates a detailed log file during the conversion process which will contain exact errors pertaining to why the conversion failed.

This log file is located on the server you are converting that is running the Converter agent, and is usually named vmware-converter-0.log and is located in the C:\Windows\temp\vmware-temp directory. Open this log file and scroll towards the bottom and look for failure errors. Once the process fails, Converter will destroy the VM that it created automatically.

One clue to determine which stage it failed at is how fast it gets to 97%. If it jumps to 97% quickly and fails, this usually indicates a problem with network ports, DNS resolution or a required Windows service that is not running. Here are some things to try to resolve these types of problems.

1.      If you used a hostname to choose your VC/ESX server destination make sure you can resolve it on your source server. Also try using the FQDN of the server instead of the short name.

2. On the source server make sure the Workstation, Server, TCP/IP NetBIOS Helper and VMware Converter services are running. On Windows XP and 2003 servers make sure the Volume Shadow Copy service is not disabled, by default it should be set to Manual. This service does not need to be running for Converter to work.

3. Use telnet to see if you can connect to the required ports on the VC/ESX servers. From the source server type “telnet 902”. You should get a response back from the VC/ESX server, also do this on port 443.

4. Try rebooting the source server, this is a requirement for Windows NT and 2000 servers.

If it takes a long time to get to 97%, then typically the clone failed during the data cloning process or the post-cloning procedures. Some possible causes of these types of failures can be lost network connectivity between the servers, excessive network errors and source disk problems. Here are some steps to try to resolve these types of problems.

1.  Verify network speed/duplex settings match on your source server’s NIC and the physical switch port it is connected to.

2.  If you have OS mirroring enabled, break the mirrors.

3.      Clean-up your boot.ini file and make sure it is correct.

4.      Make sure you are using the latest version of Converter. Earlier versions fail if the source server has dynamic disks.

5.      Run chkdsk on your source server to verify file system integrity.

6.      Ensure you have at least 200 MB of free disk on the source server.

7.      If your source server has more then two serial (COM) ports, edit the registry and look for HKLM\HARDWARE\DEVICEMAP\SERIALCOM and remove any ports above serial port 2. You can export the key before you do this and re-import after the conversion is completed if needed.

Finally, if your conversion completes successfully but your server will not boot (or boots to a blue screen) you can try the following things to fix it.

1. Edit the boot.ini on the newly created VM to make sure the disks are in the proper order. Sometimes the boot disk will not be listed as the first partition. To do this, simply use a working VM as a helper and add an additional virtual hard disk. Browse to the newly created VM’s disk file.

You can then browse that disk and edit the boot.ini file. When complete, remove the disk from the helper VM. You can also try running Converter again and selecting “Configure Machine” and select your newly created VM. Run through the Wizard, and (when complete) try powering it on again.

2.  Verify you are using the proper SCSI controller for your virtual disk (BusLogic or LSI Logic).

3.  Boot the VM in safe mode to see if any hardware specific services/drivers are loading.

Enhancing performance in a new virtual machine

When your conversion completes, there are several steps you should to do clean your new VM up so it will perform better.

1. Edit the VM’s hardware. Remove all unnecessary hardware, including floppy drives and serial, parallel and USB ports. You should only give the VM as much RAM as it needs. Reduce it if you can. Most VM’s run better with one vCPU, so consider reducing the number of CPUs if you came from a SMP physical server.

2. Power on the VM, wait a few minutes to let it discover all it’s new hardware then reboot it.

3. Check the server HAL, if you came from a multiple CPU physical system and have a single CPU VM you need to go into Device Manager and edit the CPU (Computer). Select Update Driver, say No to Windows Update, select Install from List, select Don’t Search and select ACPI Uniprocessor instead of ACPI Multiprocessor.

4.      Remove any hardware specific applications and drivers.

5.      Finally, my most important tip: Remove all non-present hardware devices. These are hardware devices that were removed from the system without having been uninstalled and are a by-product of the conversion.

These devices are not physically present in the system any more, but Windows treats them as they were there and devotes system resources to them. They can also cause conflicts when trying to set your new network adapter’s IP address to the same address of the source server. The reason for this is that the old NIC still exists as non-present hardware with an IP address. There will be dozens of non-present hardware devices left after the conversion.

To remove them all simply go to a CMD prompt and type SET DEVMGR_SHOW_NONPRESENT_DEVICES=1.

Then in the same CMD window type DEVMGMT.MSC and then select Show Hidden Devices when the Device Manager window opens.

As you expand each hardware category you will see lots of non-present devices, indicated by grayed out icons. Right-click on each and select uninstall. Reboot once you have removed them all.

Posted in P2V, Vmware | 2 Comments

How to reset MySql Root password in Windows

Resetting the Root Password: Windows Systems
On Windows, use the following procedure to reset the password for all MySQL root accounts:
1. Log on to your system as Administrator.

2. Stop the MySQL server if it is running. For a server that is running as a Windows service, go to the Services manager: From the Start menu, select Control Panel, then Administrative Tools, then Services. Find the MySQL service in the list and stop it.
If your server is not running as a service, you may need to use the Task Manager to force it
to stop.

3. Create a text file containing the following statements. Replace the password with the
password that you want to use.

UPDATE mysql.user SET Password=PASSWORD(‘MyNewPass’) WHERE User=’root’;

Write the UPDATE and FLUSH statements each on a single line. The UPDATE statement
resets the password for all root accounts, and the FLUSH statement tells the server to reload the grant tables into memory so that it notices the password change.

4. Save the file. For this example, the file will be named C:\mysql-init.txt.

5. Open a console window to get to the command prompt: From the Start menu, select Run, then enter cmd as the command to be run.

6. Start the MySQL server with the special –init-file option (notice that the backslash in the option value is doubled):

C:\> C:\mysql\bin\mysqld-nt –init-file=C:\\mysql-init.txt

If you installed MySQL to a location other than C:\mysql, adjust the command accordingly.

The server executes the contents of the file named by the –init-file option at startup,
changing each root account password.

You can also add the –console option to the command if you want server output to appear in the console window rather than in a log file.

If you installed MySQL using the MySQL Installation Wizard, you may need to specify a —
defaults-file option:

C:\> “C:\Program Files\MySQL\MySQL Server 5.0\bin\mysqld-nt.exe”
–defaults-file=”C:\\Program Files\\MySQL\\MySQL Server 5.0\\my.ini”

The appropriate –defaults-file setting can be found using the Services Manager: From the
Start menu, select Control Panel, then Administrative Tools, then Services. Find the MySQL service in the list, right-click it, and choose the Properties option. The Path to executable
field contains the –defaults-file setting.

7. After the server has started successfully, delete C:\mysql-init.txt.

You should now be able to connect to the MySQL server as root using the new password.

Stop the MySQL server, then restart it in normal mode again. If you run the server as a service, start it from the Windows Services window. If you start the server manually, use whatever command you normally use.

Posted in Linux/CentOS | Leave a comment

Powershell Script to pull records with VM-Name,LUN-Name and Vmdk file name and its path.

This script will export following information into a .csv file:

1) name of the virtual machine (VM)
2) datacenter name
3) cluster name
4) hard disc
5)datastore name
6) path and name of the .vmdk file

Note: Change vCenter Server name to your vCenter Server Name

Connect-VIServer  vCenter_server_name

$VmInfo = ForEach ($Datacenter in (Get-Datacenter | Sort-Object -Property Name)) {

ForEach ($Cluster in ($Datacenter | Get-Cluster | Sort-Object -Property Name)) {

ForEach ($VM in ($Cluster | Get-VM | Sort-Object -Property Name)) {

ForEach ($HardDisk in ($VM | Get-HardDisk | Sort-Object -Property Name)) {

“” | Select-Object -Property @{N=”VM”;E={$VM.Name}},



@{N=”Hard Disk”;E={$HardDisk.Name}},







$VmInfo | Export-Csv -NoTypeInformation -UseCulture -Path “C:\VmQuery.csv”

Posted in PowerShell Scripts, Vmware | Leave a comment

cannot remediate host because it is part of HA Admission Control enabled Cluster


Sometimes you will face an error while patching your esxi servers using VMware Update Manager(VUM). When you try to remediate your esxi host you get the error message:

“The operation is not supported on the selected inventory objects. Check the events for the objects selected for the operation”

Further when you check the event logs you will find following entry:

“cannot remediate host because it is part of HA Admission Control enabled Cluster”

You can also check logs on your VUM server.The log file is vmware-vum-server-log4cpp.log and is located at :

C:\Documents and Settings\All Users\Application Data\VMware\Update Manager


C:\Users\All Users\VMware\VMware Update Manager\Logs

you see an error similar to:

“[DATE’VciHostRemediateTask.VciHostRemediateTask{14}’ 2276 INFO]  [vciHostRemediateTask, 1313] Skipping [HostName] as it is part of HAC enabled cluster”


This issue occurs because the admission control policy that has been set is preventing Update Manager from remediating the host.

vCenter Server uses admission control to ensure that sufficient resources are available in a cluster to provide failover protection and to ensure that virtual machine resource reservations are respected.

Admission control imposes constraints on resource usage and any action that would violate these constraints is not permitted. If an automated process needs to take actions, it might temporarily violate the failover constraints. For example, as part of an upgrade directed by VMware Update Manager.


Before starting patching of your Esxi Servers that are part of the HA Cluster, make sure you disable “Admission Control” till the time when patching and rebooting of Esxi servers are completed.Once you patched all the servers you can re-enable Admission Control on your cluster.

Steps to disable Admission Control”

1: Right-click the cluster and click Edit Settings.

2: Under Cluster Features, click VMware HA.

3: Under Admission Control, select Disable: Power on VMs that violate availability constraints.

4: Click OK.

Posted in HA, update manager, Vmware | Leave a comment

How to restrict Vmware Converter from using SSL to speedup conversion process

A protocol called NFC is used by VMware Converter for the cloning process.

In VMware Converter 5.0 encryption was introduced to increase security for the data transfer but at the expense of performance.

To improve the performance of the converter we can disable this feature.

To do so we need to edit the converter-worker xml file. The default location of this file is

“C:\Users\All Users\Application Data\Application Data\Application Data\VMware\VMware vCenter Converter Standalone\converter-worker.xml”

Open this file and go to the locate the section which contains





Change the value of useSsl from true to false.

After this restart the vmware converter services from services.msc.

Relatively far down you will find the parameter for “nfc” – change the value in “useSsl” from “true” to “false”:

Posted in P2V, Vmware | Leave a comment

PowerShell Script to List all VM’s with a connected CD-ROM/floppy device

This script will report all VMs with a connected CD-ROM/floppy device. It will give you information about the device status – e.g. connected, connect at power on, client device

Replace vCenter Server with your vCenter Server name in the first line:

Connect-VIServer vCenter_name

$vms = Get-VM

write “VMs with a connected CD-ROM:”

foreach ($vm in $vms | where { $_ | Get-CDDrive | where { $_.ConnectionState.Connected -eq “true”}}) {

write $


write “VMs with CD-ROM connected at power on:”

foreach ($vm in $vms | where { $_ | Get-CDDrive | where { $_.ConnectionState.StartConnected -eq “true”}}) {

write $


write “VMs with CD-ROM connected as ‘Client Device’:”

foreach ($vm in $vms | where { $_ | Get-CDDrive | where { $_.RemoteDevice.Length -ge 0}}) {

write $


write “VMs with CD-ROM connected to ‘Datastore ISO file’:”

foreach ($vm in $vms | where { $_ | Get-CDDrive | where { $_.ISOPath -like “*.ISO*”}}) {

write $


write “VMs with connected Floppy:”

foreach ($vm in $vms | where { $_ | Get-FloppyDrive | where { $_.ConnectionState.Connected -eq “true”}}) {

write $


write “VMs with floppy connected at power on:”

foreach ($vm in $vms | where { $_ | Get-FloppyDrive | where { $_.ConnectionState.StartConnected -eq “true”}}) {

write $


write “VMs with floppy connected as ‘Client Device’:”

foreach ($vm in $vms | where { $_ | Get-FloppyDrive | where { $_.RemoteDevice.Length -ge 0}}) {

write $


Note: Copy this code in a notepad and save the file as .ps1

Posted in PowerShell Scripts, Vmware | Leave a comment

PowerShell script to list vm-name-nic-type-and-mac-adress

This script will report the following parameters: VM name, type of the virtual network adapter and MAC address associated with each network adapter.

Note: Replace vCenter Server with your vCenter Server name in the first line:

Connect-VIServer vCenterServer

$VMs = Get-VM *

$Data = @()

foreach ($VM in $VMs){

$VMGuest = Get-View $VM.Id

$NICs = $VM.NetworkAdapters

foreach ($NIC in $NICs) {

$into = New-Object PSObject

Add-Member -InputObject $into -MemberType NoteProperty -Name VMname $VM.Name

Add-Member -InputObject $into -MemberType NoteProperty -Name VMfqdn $VM.Guest.HostName

Add-Member -InputObject $into -MemberType NoteProperty -Name NICtype $NIC.Type

Add-Member -InputObject $into -MemberType NoteProperty -Name MacAddress $NIC.MacAddress

Add-Member -InputObject $into -MemberType NoteProperty -Name AddresType $NIC.ExtensionData.AddressType

$Data += $into



$Data | Export-Csv -Path C:\report.csv -NoTypeInformation

Note: Save this code in a notepad and save the file as .ps1 extension

Posted in PowerShell Scripts, Vmware | Leave a comment

Free tools for VMware Infrastructure

Find below some useful free tools which you can use in your environment for simplifying your day to day activities:

No Tool Name Tool Description Links
1 Manage Engine: Monitor VMware Esx and Esxi servers using VM Health Monitor Tool. This tool helps monitor disk read/write and network Rx/ Tx for virtual servers along with CPU and memory utilization for each guest OS. You can monitor two VMware servers simultaneously. Download
2 Syslog Forwarder: Finding hard to manage syslog messages? Try ManageEngine free Syslog Forwarder Tool. This tool helps forward syslogs to intended destination servers, receive and block syslog messages from devices. Forward syslogs to maximum of 10 syslog servers simultaneously. Download
3 VM Configuration: Configure VMware Virtual server (VM) resources such as CPU, RAM, execute Power operations and change the name of the VM’s using the free VMware Configuration Tool. Monitor CPU usage and view memory, provisioned storage, and network adapter details of VMware host server and its VMs. Download
4 Performance Monitoring tool: Monitor VMware Esx and Esxi servers using VM Health Monitor Tool. This tool helps monitor disk read/write and network Rx/ Tx for virtual servers along with CPU and memory utilization for each guest OS. You can monitor two VMware servers simultaneously. Download
5 Windows Health Monitor Tool: System performance and availability is crucial for business productivity and we have the perfect tool for you! Windows Health Monitor tool is easy to use and monitors up to 20 servers/desktops simultaneously. Download
6 Windows Service Monitor Tool: Free ManageEngine Windows Service Monitor helps monitor Exchange Server, SharePoint services, MySQL services, MSSQL services, DHCP services and more. Monitor up to 3 custom services simultaneously. Download
7 Ping Tool: Want to know if your servers are up and running? Try ManageEngine Free Ping Tool! Monitor the availability of servers, routers, switches, websites, mail servers and trace route server/host. Using this tool fetch Round trip time, packet loss percentage and the number of hops. You can monitor up to 10 servers/websites simultaneously. Download
8 Bandwidth Monitoring Tool: Need to keep track of bandwidth usage? Process Traffic Monitor is the perfect tool for you. Helps find which process/application utilizes more resources in a system, monitor TCP/IP network pattern and set threshold values for incoming and outgoing bandwidth traffic. Download
9 vOptimizer Free: helps prevent VMs from running out of space while also identifying misaligned disk partitions to boost storage performance… now vOptimizer WasteFinder Download
10 Veeam FastSCP: FastSCP provides a fast, secure and easy way to manage files and bulk copy VMs across your VMware ESX environment. Download
11 VKernel Capacity View: provides quick visibility and alerting to the storage and server capacity issues in your VMware virtualized infrastructure. Download
12 VKernel Capacity Modeler: allows you to easily assess the performance impact of capacity changes to your existing virtualized environment Download
13 CPUID System Information: shows the VMHost CPU Info by NTPRO Download
14 RVTools 3.5: uses the VI SDK to display information about your virtual machines and ESX hosts. Download
15 VMware CPU Host Info 2.01: allow you to read out all CPU information from all your ESX Servers by querying your VC server. It will show what features are available on your CPUs and if they are compatible to vmotion VMs and if FT is supported. Download
16 vSphere Mini Monitor 2.0: VMM will now monitor a large number of changes to multiple objects within the vCenter environment Download
17 Trilead VM Explorer: Backup & Restore & Browse for ESX virtual machines Download
18 vLogView: a Windows based application which manages VMware ESX Server log files Download
19 vAlarm: Windows based application which monitors alarms generated by VMware vCenter. Download
20 Vdisk Waste Finder: report which disks are over-allocated Download
21 Vizioncore vOptimizer WasteFinder 3.0: scans vCenter and can shrink VMDKs to reclaim storage and can also realign VMDKs to 64k on 2 VMs for free. Download
22 PHD Virtual Patch Downloader simplifies the task of downloading patches for various ESX and ESXi versions (including vSphere) by automating the task. Download
23 VMDK Stub File Generator: The PHD Virtual Stub File Generator lets you recreate the .vmdk STUB file so that you can re-attach and access the data in the:flat.vmdk, eliminating any data loss from within the virtual disk making it very useful for vmware systems administrators and disaster recover experts. Download
24 VKernel AppVIEW: Monitor your five most important VMs and see detailed data on how these applications are running in your virtual environment. Read my latest blog post VKernel AppVIEW and Your Hidden VI Issues Download
25 Loadstorm: utility to generate CPU and/or memory load within a virtual machine. Great for testing out DRS Download
26 vmClient: a lightweight tool which enables you to control the power of your virtual machines, it’s also capable of presenting the MKS console of your virtual machines (Read More) Download
27 Xangati Free: VMs, networks, storage, apps, end-user devices in one pane of glass. Real-time continuous UI with ability to DVR record anything. Rich historical reporting on VM and application activity Download
28 Solarwinds SAN Monitor: Gain Visibility into Storage Performance & Stay Ahead of SAN Slowdowns Download
29 VMVision Manager: A new way to view the virtual machines in your environment Download
30 vDisk Informer: demonstrates which virtual disks have potentially wasted space on them and which virtual disks are misaligned causing a performance impact Download
31 VMware Scanner 1.4: scan for VMware Servers (ESX, ESXi, VirtualCenter and VMware Server). It uses the VMware API to identify a VMware server and query the product name, version and build number. Download
32 ESXi Customizer: automates the process of customizing the ESXi install-ISO with drivers that are not originally included Download
33 UBERAlign: free and powerful tool to resolve alignment of VMs Download
34 Thinware vBackup: an actual FREE backup solution for virtual infrastructure that can be easily implemented in any environment. Download
35 Veeam Backup & Replication (2 socket license): If you are a VMware vExpert, VMware Certified Professional (VCP), VMware Certified Instructor (VCI) or VMware User Group (VMUG) member, you can get a FREE 2-socket NFR license for your home or work lab. Download
36 VMTurbo Community Edition: a complete suite of Virtual Infrastructure Monitoring capabilities that also includes reporting. Seen many times on the top 10 Free Tools edition. Download
37 IgniteFreeVM: pinpoints the root cause of database performance issues in the query, virtual server, or physical host Download
38 Unitrends Enterprise Backup™ Free Edition: Free Edition to protect 4 VMs for free Download
39 VeeamZIP Version 7: – Backup, archive or copy a VM—without pausing or powering it off
– Restore data from inside a VM
– Restore from backups or SAN snapshots
– Migrate and manage VMs and files
40 Veeam ONE Free Edition: Free powerful and easy-to-use monitoring and reporting. Combination of the previous Monitor and Business View products Download
41 Veeam Extended Generic Report Library: gives you the ability to analyze the health and performance of infrastructure objects without being limited to physical or virtual environments, or specific management packs for Microsoft System Center reporting Download
42 SolarWinds VM-to-Cloud Calculator: Discovers Virtual Machines & Estimates the Cost to Move to the Cloud Download
43 SolarWinds Storage Response Time Monitor: Identifies VMs With High Storage Latency Download
44 Documentation Downloader by Xtravirt: A practical and intelligent tool for offline access to VMware product documentation Download
45 sfvAlarms: A windows utility to allow the export and import of VMware vCenter Alarms Download
46 DoubleCloud Client: a wrapper around a Web browser so that the vSphere Web Client user experience is similar to a standalone C# application. Download
47 Foglight for Virtualization, Free Edition: virtualization freeware suite is comprised of six utilities that provide virtualization administrators with 360-degree visibility into heterogeneous virtualized environments (Snapshot Explorer, Storage Explorer, Change Explorer, Environment Explorer, vScope Explorer, SearchMyVM Explorer) Download
48 vOptimizer WasteFinder: quickly locate and reclaim over-allocated VM storage and dramatically reduce unnecessary storage costs Download
49 Veeam Stencils for Microsoft Visio: Free collection of virtualization Visio stencils for your Hyper-V or VMware deployment planning Download
50 Veeam Management Pack 10-Pack: A free VMware monitoring solution available exclusively for new Veeam MP users who are currently using or planning to deploy Microsoft System Center. Download
51 Hyper9 GuessMyOS Plug-in: replaces generic VM icons in the VI3 and vSphere4 client inventory trees with OS-specific icons for both Windows and Linux guests. Disappeared. No clue where where Solarwinds hid all the Hyper-9 stuff. Download
52 vSphere Client RDP Plug-in: Xtravirt vSphere RDP Plug-in provides integration of the Windows Remote Desktop tool with the VMware vSphere Client. <- data-blogger-escaped-4=”” data-blogger-escaped-compatible.=”” data-blogger-escaped-only=”” data-blogger-escaped-td=”” data-blogger-escaped-vsphere=””> Download
53 vSphere Plugin Wizard 2.0: create a tabbed plugin of your favorite website or admin page inside vCenter. Download
54 sshAutoConnect vCenter Plug-in: creates a direct SSH icon to your ESXi hosts using PuTTy Download
55 Auto Deploy GUI: a front end interface to the Auto Deploy/Stateless infrastructure (now a VMware Fling) Download
56 vCloud Connector: lets you view, operate on and transfer your computing resources across vSphere and vCloud Director in your private cloud environment as well as public clouds from vCloud Service Providers. Walkthru provided by Chris Colotti Download
57 VMware vCenter Support Assistant: provides an easy-to-use, secure, one-stop shop BOTH for creating and managing service requests AND generating and uploading logs. Download
58 PowerGUI: a GUI for all those neat powershell scripts 🙂 Download
59 PowerGUI VMware Community PowerPack: everything from the VESI PowerPack v3 and much much more! Download
60 vGhetto: a nice consolidation of all the scripts written by William Lam and some members of the VMTN community (VMware vSphere CLI & Perl) Download
61 Image Builder & Auto Deploy Powerpack: a PowerGUI Powerpack which enables us as VMware admins to have a graphical interface to Image Builder and Auto Deploy which are currently released as PowerShell snap-ins only. Download
62 DoubleCloud Proxy: Code Generator for vSphere Java API. Similar to Onyx by VMware Labs. Download
63 PHP with vSphere5 Examples: contains examples of PHP code to communicate with vSphere using the vSphere API. it contains the nusoap library files and a small vc_lib file. Download
64 VMmark: Get an accurate measurement of application performance in virtualized environments with VMmark, the industry’s first virtualization benchmark for x86-based computers Download
65 vCenter Converter: of course we all know this appliance for easy P2V migrations Download
66 vSphere Management Assistant: allows administrators and developers to run scripts and agents to manage ESX/ESXi and vCenter Server systems. Download
67 PowerCLI: a powerful command line tool that lets you automate all aspects of vSphere management, including network, storage, VM, guest OS and more. Download
68 VMware Support Toolbar: have a direct way for all the necessary links, downloads, RSS feed news for all things from VMware. Compatible w/ Firefox, IE, and Safari Download
69 VMware SiteSurvey: Produces a report showing hardware compatibility and software configuration compatibility with advanced VMware features such as Fault Tolerance. Download
70 CPU Identification Utility: Displays CPU features for VMotion compatibility, EVC and indicates 64-bit VMware support. Download
71 VMware Studio: an integrated development tool that packages software applications into virtual appliances and vApps that are ready to run and optimized for VMware product platforms and the cloud. Download
72 VMware vCenter Update Manager 4.1 Sizing Estimator: get the right answer to your question whether to install the VMware vCenter Update Manager database on the same DB as vCenter DB or not. And also if yes or not to install VUM at the same host as the vCenter Server host Download
73 VMware Compliance Checker for vSphere: Check the compliance of your IT infrastructure against specific standards and best practices that are applicable for the environment Download
74 VMware vCenter Orchestrator Appliance: Begin automating your vSphere environment Download
75 Wavemaker: a rapid application development environment for building, maintaining and modernizing business-critical Web 2.0 applications Download
76 VMware Posters: VMware posters which were created by Technical Marketing and have been released at VMworld and VMUGs around the world Download
77 Apache Pivot: Like most modern development platforms, Pivot provides a comprehensive set of foundation classes that together comprise a “framework”. These classes form the building blocks upon which more complex and sophisticated applications can be built. Download
78 Dynamo RIO: exports an interface for building dynamic tools for a wide variety of uses: program analysis and understanding, profiling, instrumentation, optimization, translation, etc. Download
79 esxplot: GUI based tool that lets you explore the data collected by esxtop in batch mode. Download
80 Onyx: standalone application that serves as a proxy between the vSphere Client and the vCenter Server. It monitors the network communication between them and translates it into an executable PowerShell code. Later this code could be modified and saved into a reusable function or script. Download
81 SVGA Sonar: demo application for SVGADevTap Download
82 vApprun: vApp features become available to both Workstation and Fusion users Download
83 vCMA: VMware vCenter Mobile Access (vCMA): vCMA allows you to monitor and manage VMware Infrastructure from your mobile phone with an interface that is optimized for such devices. Download
84 VGC: VMware Guest Console, too many cool things to list Download
85 VI Java: vSphere Java API is a set of Java libraries that sits on top of existing vSphere SDK Web Services interfaces Download
86 Virtual USB Analyzer: free and open source tool for visualizing logs of USB packets, from hardware or software USB sniffer tools Download
87 Weasel: insert the ESX Installation DVD, this program guides you through the steps of network configuration, disk selection, etc. Or it can perform an automated install based on a script similar to Redhat kickstart scripts. Download
88 IOBlazer: a multi-platform storage stack micro-benchmark. Download
89 PXE Manager for vCenter: enables ESXi host state (firmware) management and provisioning Download
90 Thinapped vSphere Client: Run vSphere client 4.1 in a snap. No install, just download the EXE and double-click. Download
91 vCenter XVP Manager and Converter: provides basic virtualization management capabilities for non-vSphere hypervisor platforms towards enabling centralized visibility and control across heterogeneous virtual infrastructures Download
92 VMware Auto Deploy: supports automatic PXE boot and customization of large numbers of ESXi systems Download
93 Boomerang: allows you to use multiple vSphere servers simultaneously Download
94 I/O Analyzer: a simple and standardized way of measuring storage performance in a VMware vSphere virtualized environments. Download
95 ESX System Analyzer: help administrators plan a migration from ESX to ESXi Download
96 CloudCleaner: It selectively (or completely) removes all vCD-created virtual machines, resource pools, network pools, and networks. It can also unprepare hosts that have been prepared by vCD. Download
97 InventorySnapshot: allows a user to “snapshot” a given vCenter inventory configuration and then reproduce it. Download
98 vCD-nclient: aims to be a quick start for using the new Notifications feature in vCloud Director v1.5. Download
99 Auto Deploy GUI: a front end interface to the Auto Deploy/Stateless infrastructure Download
100 SilverLining: allows you to build a simplified interface for vCloud Director that works from any modern web-browser that supports HTML5, CSS and Javascript Download
101 Lctree: designed for the visualization of linked clone VM trees created by VMware vCloud Director. Download
102 VCD-nclient: a quick start for using the Notifications feature in vCloud Director Download
103 ThinApp Factory: brings centralized administration and automation to the process of creating virtualized Windows applications with VMware ThinApp technology Download
104 vAudit 1.5: a utility for VMware View environments (3.01 and 3.1). The tool will display when your users are logging in to their virtual machines and it can also display and unsuccessful login attempts Download
105 VDI Calculator: VDI calculator is targeted for VMware View designs, however you can use the calculator for any VDI running on top of vSphere infrastructure Download
106 Quest vWorkspace Desktop Optimizer: 40 optimizations to tweak your golden image. Download
107 PCoIP Log Viewer 2.0: provides capabilities to visualize and analyze PCoIP performance metrics collected from PCoIP server log files and real-time WMI counters. Download
108 TS Tweaker: This Application will allow you to tweak some common registry changes to optimise Terminal Server Download
109 Celerra UBER VSA v3: A VSA of EMC’s Celerra Download
110 UBER VNX (NFS) v1: A VSA of EMC’s VNX currently only working with NFS Download
111 Nexenta: VSA of Nexenta Download
112 NetApp VSA: must login to your NetApp Account to download and must be a NetApp customer Download
113 OpenFiler: OpenFiler Download
114 FreeNAS: FreeNAS Download
115 StarWind Free Edition: iSCSI SAN with Deduplication Download
116 VMware vSphere Visio Stencils from Maish: Box Shots, Icons, and Products. Get them all here. Download
117 Presentation Pack by Xtravirt: 350 high quality icons to superbly illustrate any virtualization solution Download
118 Veeam Stencils: free collection of VMware and Hyper-V virtualization Visio stencils Download
119 VCE Vblock Visio Stencils: free Vblock Visios Download
120 vAudit V2: vAudit is a tool to monitor the usage of your VMware View environment. The traditional logging from the VMware view product has big limitations. It only logs events, but does not actualy record session information. vAudit tries to solve this. Download
121 ITQ VLan and Portgroup Manager: It allows you to easily setup all portgroups and VLan IDs on all your ESX Servers. You can first read out (use the export feature) the network settings of a single ESX Host. With that information you can then setup all your other servers. Download
122 VMJuggler: The program is quite simple, it connects to VirtualCenter 2.x and you can select a VM and 2 hosts. After selecting this you can start the juggler and the VM will be moves every 10 seconds between the hosts. The fun thing to do of course is while this is going on with the virtual machine is to run parallel a load generation program against your VM to see how much it is impacted. It also keeps a counter to see how many vmotions have been taking place. Download
123 VCPlus 1.01: VCplusVCplus is a program (windows service) that can add additional information into your VirtualCenter environment. Currently it can add Disk Usage within the VM, is snapshot is present and shapshot size and it can sync DNS name with display name Download
124 Virtual MAC Tools: The tool was originally developed because of the way we manage IP addresses of our servers – every server (physical and virtual) is configured for DHCP and has a fixed reservation for its MAC address. So we require MAC addresses on our VMs that won’t change. I wrote this little app to make it easier and faster to do this, instead of having to SSH into the host and edit .vmx files by hand, and hope that VirtualCenter doesn’t want to overwrite your changes. Since then it’s been easier for me to add extra little features than write separate apps for everything – so now it also has a basic reporting feature. Overall, the application is very simple. It was designed and built in VB.NET 2005, and uses the VI3 SDK. There is limited error-handling in a few places, but in most cases it will probably just crash. It should be quite safe to use though – all it knows how to do is submit a VM_Reconfigure task with a modified virtual network device – it won’t delete VM’s or anything dangerous. There is no support offered with this tool. Download
125 VM Time: A small utility that measures the time within a Virtual Machine and the time of the Host it is running on. It will report on any time differences between the two. Nice for testing and checking if the VM really knows what time it is and detect any ‘time drifting Download
126 VM PerfMon: This is a simple program to actually measure the actual performance within a VM. It uses the VI3 GuestSDK and shows a graph of the actual CPU usage (not what the VM thinks, but real world usage) and displays in text more information about memory and cpu usage. Download
127 Vmss2core: The vmss2core tool can produce core dump files for the Windows debugger (WinDbg), Red Hat crash compatible core files, a physical memory view suitable for the Gnu debugger gdb, Solaris MDB (XXX), and Mac OS X formats. Debugging Virtual Machines with the Checkpoint to Core Tool provides the usage information for the vmss2core tool. Download
128 vCloud Director REST API Shell (RAS): vCloud Director REST API Shell (RAS) provides an alternative interface for interacting with vCloud Director. Rather than using a web browser, this Fling allows you to interact with vCloud Director through the command-line using a small python script. Download
129 ESXi Google Authenticator: Two-Factor Authentication for ESXi Shell and SSH access; Supports multiple administrators login on esx5.1, and single admin (root) on esx5.0; Support for 30-second TOTP codes; Support for emergency scratch codes; Protection against replay attacks Download
130 View Pool Manager: View Pool Manager is a Fling that allows VMware View administrators to easily manage users across desktop pools and security groups. Download
131 VisualEsxtop: VisualEsxtop is an enhanced version of resxtop and esxtop. VisualEsxtop can connect to VMware vCenter Server or ESX hosts, and display ESX server stats with a better user interface and more advanced features. Download
132 CIM Plugin: ESX includes a CIM Object Manager (CIMOM) that implements a set of server discovery and monitoring features. With the VMware CIM SMASH/Server Management API, clients that use industry-standard protocols can do Enumerate system resources & Monitor system health data. Download
133 CloudFS: CloudFS is a prototype replicated and distributed storage system for the VMware ESX platform. It allows VMs to run using local storage, without any single points of failure. Download
134 Ops Panel for ESX: The Operations Panel is a script tool which runs on the client browser and extends the default ESX server web page with a short list of all available virtual machines. It gives the user the ability to perform simple power operations (start, stop, suspend, resume). The user interface is easily accessible for the most common operations on an ESX host, and is available directly from the ESX home page. Download
135 VIB Author: Create VIBs using custom VIB descriptor files and custom payload files, Sign and verify a VIB, Extract and display VIB information, Publish the VIB as an offline depot ZIP file Download
136 Performance API (PAPI): PAPI, the Performance API project, specifies a standard application-programming interface (API) for accessing hardware performance counters available on most modern microprocessors. These counters exist as a small set of registers that count Events, occurrences of specific signals related to the processor’s function. Monitoring these events facilitates correlation between the structure of source/object code and the efficiency of the mapping of that code to the underlying architecture. Download
137 VMware OS Optimization Tool: You can perform Analyze, Optimize, Viewing History, Managing Template using the VMware OS Optimization Tool Download
138 vCenter 5.1 Pre-Install Check Script: This is a PowerShell script written to help customers validate their environment and assess if it is ready for a 5.1.x upgrade. The script checks against known misconfiguration and issues raised with VMware Support. Download
139 StatsFeeder: Statsfeeder is a tool that enables performance metrics to be retrieved from vCenter and sent to multiple destinations, including 3rd party systems. Download
140 VIX Plugin for vCenter Orchestrator: vCenter Orchestrator supports extended functionality through the use of Plug-Ins. This VIX plug-in allows users to automate virtual machine operations within guest operating systems. Download
141 PyvCO: This Python module allows to connect to a live vCO server through its public SOAP API, and manipulate objects (such as workflows) from there. In particular, it allows building applications on top of vCO, just as the official Java bindings do. Download
142 Ruby vSphere Console: Ruby vSphere Console (RVC) is a Linux console UI for vSphere, built on the RbVmomi bindings to the vSphere API. RVC is a console UI for VMware ESX and VirtualCenter. Download
143 VDSPowerCli: PowerShell is a scripting language Microsoft developed to help administrators manage the Windows environment. Third parties can write their own snap-ins (dynamic linked libraries) to implement new commands, which are called cmdlets. With VDSPowerCli, users can use the cmdlets provided by PowerCLI to manage vSphere Distributed Switch(VDS). Download
144 Guest Reclaim: Guest Reclaim reclaims dead space from NTFS volumes hosted on a thin provisioned SCSI disk. The tool can also reclaim space from full disks and partitions, thereby wiping off the file systems on it. As the tool deals with active data, please take all precautionary measures understanding the SCSI UNMAP framework and backing up important data. Download
145 mksTaskbarPlugin: This is a module which loads into both Explorer (via the IDeskBand COM interface) and vmware-vmx (via the MKSPlugin interface), and renders a resizable thumbnail of your choice of VM console to a panel on the Windows taskbar. It’s useful for, among other things, keeping an eye on a lengthy background operation like software installation in a VM, with the Workstation user interface minimized Download
146 SDelete: SDelete is a command line utility that allows you to delete one or more files and/or directories, or to cleanse the free space on a logical disk. It can also Zero free space which is good for virtual disk optimization Download
147 HD Speed: Measures both sustained and burst data transfer rates of your hard disks, cd/dvd-roms, flash cards/sticks, floppys, etc. Download
148 HDD Low Level Format Tool: This freeware Low Level Format utility will erase, Low-Level Format and re-certify a SATA, IDE or SCSI hard disk drive with any size of up to 281 474 976 710 655 bytes. Will work with USB and FIREWIRE external drive enclosures. Download
149 USB Image Tool: USB Image Tool can create images of USB flash drives, that are mounted as USB drives. It allows you to make an exact backup image of your USB Stick. Download
150 Insight Control Storage Module for vCenter: A plug-in for VMware’s vCenter management console which enables the VMware administrator to quickly obtain context-sensitive information about the HP storage in their VMware environment. Download
151 SvSAN for VMware: Provides a single shared data store on your existing servers disk or other direct attached storage device. Download
152 NSS Virtual Appliance Lite: A pre-built, pre-configured, and ready-to-run software application packaged with an operating system in a virtual machine for the SMB and ROBO. Download
153 UBER VNX (NFS) v1: A free EMC based virtual storage appliance. Download
154 Gnome Partition Editor: GParted is a free partition editor for graphically managing your disk partitions. Download
155 vEcoShell: vEcoShell eliminates the need to create, debug, and manage Windows PowerShell scripts used in the administration of virtual infrastructures. Download
156 ApplicationVIEW: Monitor and diagnose capacity bottlenecks in 5 user-selected application VMs. Download
157 Putty: A free implementation of Telnet and SSH for Windows and Unix platforms, along with an xterm terminal emulator Download
158 ImgBurn: Allows you to create and manage ISO files to use with your VMs. Download
159 Sysinternals Live: Sysinternals Live is a service that enables you to execute Sysinternals tools directly from the Web without hunting for and manually downloading them. Download
160 GuessMyOSToo: This plug-in replaces generic VM icons in the VI3 and vSphere4 client inventory trees with OS-specific icons for both Windows and Linux guests. Download
161 Memtest86+: Memtest86+ is a thorough, stand alone memory test for x86 architecture computers. Download
162 Virtual Disk Development Kit: The Virtual Disk Development Kit (VDDK) is a collection of C libraries, code samples, utilities, and documentation to help you create or access VMware virtual disk storage. The Disk Mount utility to access files and file systems in offline virtual disks on Windows or Linux guest virtual machines. The Virtual Disk Manager utility to manipulate offline virtual disk on Windows or Linux (clone, create, relocate, rename, grow, shrink, or defragment). Download
163 CloudPhysics Community Edition: Discover hidden operational hazards and gain unique insights to better manage your virtualized datacenter. Takes just five minutes to get started with CloudPhysics SaaS platform. Download
Posted in Vmware, VMware Flings | Leave a comment

I/O Analyzer- Fling to measure IO performance Of Storage Devices

I/O Analyzer is a fling from VMware development team that provides a simple and standardized approach to storage performance analysis in VMware vSphere environment. I/O Analyzer, supplied as an easy-to-deploy virtual appliance, automates storage performance analysis through a unified interface that can be used to configure and deploy storage tests and view graphical results for those tests.

I/O Analyzer use Iometer to generate synthetic I/O loads or a trace replay tool to deploy real application workloads. It uses the VMware VI SDK to remotely collect storage performance statistics from VMware ESX/ESXi hosts. I/O Analyzer provides a structured way to generate a variety of I/O workloads on the test systems. It collects I/O performance data about the I/O workload run and provides visualization charts of the results.

Some of the cool features of this fling are:

  • Integrated framework for storage performance testing
  • Readily deployable virtual appliance
  • Easy configuration and launch of storage I/O tests on one or more hosts
  • Integrated performance results at both guest and host levels
  • Storage I/O trace replay as an additional workload generator
  • Ability to upload storage I/O traces for automatic extraction of vital metrics
  • Graphical visualization of workload metrics and performance results

IO Analyzer can be downloaded from Here

Posted in Vmware, VMware Flings | Leave a comment

VMware OS Optimization Tool- A cool fling from VMware

VMware OS Optimization Tool is a fling from VMware which helps in optimizing deployments of Windows 7/8/2008/2012 systems using VMware Horizon View. You can customize templates to enable or disable Windows system services and features using this tool. Since most Windows system services are enabled by default, the optimization tool can be used to easily disable unnecessary services and features to improve performance.


You can download this fling from VMware Flings

Feature enhancements in version 2014!

Updated templates for Windows 7/8

New templates for Windows 2008/2012 RDSH servers for use as a desktop

Combination of Remote and Local tools into one tool

Better template management, with built in and user-definable templates

Results report export feature.

Various bug fixes, usability enhancements, and GUI layout updates.

Posted in Vmware, VMware Flings | Leave a comment

VMware Product Walkthrough- A New initiative from VMware

VMware have recently released a new product walkthrough site, which gives a great overview of VMware’s products and step by step instructions on how to install and configure various vmware products.

The link to this site is VMware Product Walkthrough


The step-by-step demos and How-to’s  thoroughly explains the features of  the product, which will give you a really good technical overview of the products and help you in determining whether or not any product is suited for your environment.

The list of the products which are included in this site are as follows:

IT Outcomes
vCloud Suite
Big Data Extensions
vSphere Upgrades
Storage Management

Do give a shot to the products and provide your feedbacks to Josh Townsend who is responsible for these product walk-throughs.

You can aslo access this portal in your smartphones through VMware Mobile Knowledge Portal (VMKP) App which is available for both Android user and IOS user.

Download Links

For Android: Google Play Store

For IOS user: Apple Store

Posted in Vmware | Leave a comment

vCenter Support Assistant

What is vCenter Support Assistant

VMware vCenter Support Assistant is a free vSphere Web Client plug-in. It provides you with proactive support, by collecting support bundles on а regular basis, analyzing your environment and sending you alerts and recommended fixes for potentially emerging problems.

vCenter Support Assistant provides you an easy-to-use, time-saving application for filing and managing support requests, and for generating and uploading vSphere and vCenter Server support bundles and other files.


Graphic:  Thanks to VMware

VMware vCenter Support Assistant is available as a VA (virtual appliance).

Using vCenter Support Assistant you could identify issues proactively and create a SR right from your vCenter using the vSphere client or the web client.

You can download this tool from Download vCenter Support Assistant 5.5

You can download instllation guide from vCenter Support Assistant Installation Guide

You can aslo download user guide from vCenter Support Assistant User Guide

Posted in Vmware | Leave a comment

How to Access VMTN community From Android Devices

Now you can access VMware VMTN community from your android devices. Follow the steps mentioned below to do so.

1) Login to VMTN community by clicking VMTN Community Login

You need a VMware account for logging to VMTN.


2) Clicking on Login will take you to the myvmware page where you can login with your vmware account.


3) After logging with your vmware account you have to select “Preferences” from a drop down list which will be shown against your name.


4) Enter your device name as shown in the screen below and click on “Get Activation Code”


5) After clicking on get activation code a new page will popup with a QR code. All you need is to scan that code from your android device and follow the webpage link. You can register your device on that page.


Posted in Vmware | Leave a comment

Download Link for Netapp ONTAP 8 Simulator

Before downloading Netapp ONTAP simulator you have to register on Netapp site so that you can proceed with download. You can register at Netapp Site Registration

After registration click on the below link to start downloading your product.

Netapp ONTAP 8 Download

Before start using the simulator keep a note of supported hardware platforms and operating system versions or supported versions of virtualization software’s If you are planning to run this simulator inside it. I have listed below some requirements:

Hardware Requirements:

  • Dual core 64-bit Intel® architecture laptop or desktop
  • 2 GB RAM for one instance of simulator
  • 3 GB RAM for two instances of simulator (4 GB recommended)
  • 40 GB free disk space per instance of simulator
  • Hosts running a 32-bit OS require VT support for Intel® based systems or AMD-V (SVM) for AMD® based systems. The feature must also be enabled in the BIOS if not enabled by default.
  • VT support for Intel® based systems

Supported Operating Systems and Applications:

  • Windows system
    • Microsoft Windows® XP, Windows 7, or Windows Vista
    • VMware® Workstation 8.0.1 or 8.0.2, VMware Player 4.0.1 or 4.0.2
  • Mac system
    • Mac OS X Version 10.6.8
    • VMware Fusion™ 4.1.1

The Simulator is available in both 7-mode and Cluster mode.

Posted in Vmware | Leave a comment

VMware NSX labs

If you want a place to practice your NSX lab, then VMware HOL is the place for you. After a long wait, the VMware NSX labs are available on VMware Hands-on-labs.

There are 2 Labs for practising NSX

1: HOL-SDC-1303 – VMware NSX Network Virtualization Platform

2: HOL-SDC-1319 – VMware NSX for Multi-Hypervisor Environments

Posted in Lab Connect, VMware Labs | Leave a comment

VMware Lab Connect- A place where you can practice your Lab

If you are learning VMware and you don’t have an environment for practicing the things which you have learnt then there is a place where you go and perform your lab activities as a learning path for your certifications

Go to VMware Lab Connect and search the Labs which best suits your needs

The list of Labs that are available on VMware lab connect are:

1: VMware vSphere: What’s New [V5.1]

2: vSphere: Install, Configure, Manage [V5.1]

3: vSphere: Fast Track [V5.1]

4: vSphere: Optimize & Scale [5.1]

5: VMware NSX Technical Overview with Labs [V6.0]

6: VMware Horizon View: Install, Configure, Manage [V5.2]

7: VMware vCloud Director: Install, Configure, Manage [V5.5]

8: VMware vCloud Automation Center: Install, Configure, Manage [V6.0]

9: VMware vSphere: What’s New [V5.5]

10: VMware vSphere: Install, Configure, Manage [V5.5]

VMware Lab Connect may be purchased as a standalone offering but does not fulfill the course requirements for VCP5-DCV. Please refer to VMware Certified Professional 5 – Data Center Virtualization for details.

PS: Labs are not free

Posted in Lab Connect, VMware Labs | Leave a comment

vSphere 5.5 knowledge base

With the release of vSphere 5.5 there are new Knowledge Base (KB) Articles released to help users to help them with workarounds and fixes for the day to day issue that they could possibly run into.

Here’s a official VMware blog that has a whole list of new KB Articles that were released with respect to issues in 5.5.

vSphere 5.5 KB Articles

Posted in KB Articles, Vmware | Leave a comment

How to Install and configure vSphere Data Protection

vSphere Data Protection

vSphere Data Protection is a new backup and recovery solution designed for VMware vSphere. It provides advanced deduplication and is included with vSphere 5.1. vSphere Data Protection is powered by EMC Avamar, leveraging years of backup and data recovery expertise and production-proven quality and performance. vSphere Data Protection provides easy setup and management, deduplication, and high-performance virtual machine image-level backup and recovery.

It is ideally suited to protect smaller environments of up to 2 TB or 100 virtual machines. Larger environments can be protected by scaling out multiple vSphere Data Protection appliances or by deploying vSphere Data Protection Advanced.

I am sharing a video on how to install and configure vSphere data protection virtual appliance:

After completing the installation of VDP Virtual appliance it’s time to configure it.

For login into VDP, point your browser to http://<IP-DAddress&gt;:8543/vdp-configure/

To read more about VDP go to

Posted in Vmware | Leave a comment

Comparison Between vSphere 5.1 and 5.5

With the release of vSphere 5.5 many new features were introduced. Also there are lot of changes in the configuration maximum. I have summarized those changes in a tabular form below

Maximum Type vSphere 5.1 vSphere 5.5
Virtual disk size VM 2TB minus 512 bytes 62TB
Virtual SATA adapters per VM VM NA 4
Virtual SATA devices per virtual SATA adapter VM NA 30
xHCI USB controllers VM 1 NA
Logical CPUs per host Host 160 320
NUMA Nodes per host Host 8 16
Virtual CPUs per host Host 2048 4096
Virtual CPUs per core Host 25 32
RAM per host Host 2TB 4TB
Swap file size Host 1TB NA
VMFS5 – Raw Device Mapping size (virtual compatibility) Host 2TB minus 512 bytes 62TB
VMFS5 – File size Host 2TB minus 512 bytes 62TB
e1000 1Gb Ethernet ports (Intel PCI‐x) Host 32 NA
forcedeth 1Gb Ethernet ports (NVIDIA) Host 2 NA
Combination of 10Gb and 1Gb Ethernet ports Host Six 10Gb and Four 1Gb ports Eight 10Gb and Four 1Gb ports
mlx4_en 40GB Ethernet Ports (Mellanox) Host NA 4
SR-IOV Number of virtual functions Host 32 64
SR-IOV Number of 10G pNICs Host 4 8
Maximum active ports per host (VDS and VSS) Host 1050 1016
Port groups per standard switch Host 256 512
Static/Dynamic port groups per distributed switch Host NA 6500
Ports per distributed switch Host NA 60000
Ephemeral port groups per vCenter Host 256 1016
Distributed switches per host Host NA 16
VSS portgroups per host Host NA 1000
LACP – LAGs per host Host NA 64
LACP – uplink ports per LAG (Team) Host 4 32
Hosts per distributed switch Host 500 1000
NIOC resource pools per vDS Host NA 64
Link aggregation groups per vDS Host 1 64
Concurrent vSphere Web Clients connections to vCenter Server vCenter NA 180
Hosts (with embedded vPostgres database) vCenter Appliance 5 100
Virtual machines (with embedded vPostgres database) vCenter Appliance 50 3000
Hosts (with Oracle database) vCenter Appliance NA 1000
Virtual machines (with Oracle database) vCenter Appliance NA 10000
Registered virtual machines vCloud Director 30000 50000
Powered-On virtual machines vCloud Director 10000 30000
vApps per organization vCloud Director 3000 5000
Hosts vCloud Director 2000 3000
vCenter Servers vCloud Director 25 20
Users vCloud Director 10000 25000
Posted in Vmware | Leave a comment

The Server fault “System Error” had no message

Sometimes when you are trying to edit settings of a VM converted from template you will get below mentioned error.


Follow the steps mentioned below to solve the issue:

– Shutdown the VM

– Right click the VM and select Remove from Inventory.

– Go to the Datastore Browser and browse to VM folder which you just removed.  Right-click the .vmx file and select Add to Inventory.

That’s it. Now when you try to edit the settings of VM that error will not bother you.

Posted in Vmware | Leave a comment

Vmware Certification Roadmap

There are multiple path in the VMware certification and its based on the product it allows us to choose a product and allow to get certified in the master level. Currently vmware have the certification for the below platforms

Cloud – This is Certification is for the vCloud Products

Data Center Virtualization – This is for the vSphere suite and its the standard certification which is there for long time

End user Computing – This is for the desktop products (View, Horizon)

Now lets see about the different levels of certification on the about the platform

VMware Certified Associate (VCA) – This is new certification program launched by VMware and there is no mandatory training required for this certification. This is for the entry level people who are looking to start their carrier in the VMware technologies. This certification can be registered online and the exam can be taken from home. The Associate exam is available for the below platforms

VMware Certified Professional (VCP) – This certification is there for a long time now and you need to attend a mandatory training from a authorized VATC to sit for this exam. One has to have some hands on experience on the product before sitting for the exam. The VCP certification is available on DCV, Cloud and EUC.

VMware Certified Advanced Professional (VCAP) – This is the advanced certification of the VCP and once has to be a VCP and need to required for authorization from VMware before registering for this exam. And in VCAP we have two exams DCA and DCD. The

Data Center Administration (DCA) exam is a 4 hr lab based exam on the day to day vSphere Administration task and Data Center Design (DCD) is objective and visio based exam from vSphere design perceptive. the VCAP is a per-requisite for
the VCDX exam.

VMware Certified Design Expert (VCDX) – This is the highest level of the certification from the VMware and one has to spend considerable amount of time for VCDX preparation. One has to be a VCP and VCAP certified before they can actually submit the application for the VCDX .

There are total of 15 different exams which one can take in Vmware and is described as follows:
VMware Certified Associate – Data Center Virtualization (VCA-DCV)
VMware Certified Associate – Workforce Mobility (VCA-WM)
VMware Certified Associate – Cloud (VCA-Cloud)

VMware Certified Professional 5 – Data Center Virtualization (VCP5-DCV)
VMware Certified Professional 5 – Desktop (VCP5-DT)
VMware Certified Professional – Cloud (VCP-Cloud)

VMware Certified Advanced Professional 5 – Data Center Design (VCAP5-DCD)
VMware Certified Advanced Professional 5 – Data Center Administration (VCAP5-DCA)
VMware Certified Advanced Professional – Cloud Infrastructure Design (VCAP-CID)
VMware Certified Advanced Professional – Cloud Infrastructure Administration (VCAP-CIA)
VMware Certified Advanced Professional – Desktop Administration (VCAP-DTA)
VMware Certified Advanced Professional – Desktop Design (VCAP-DTD)

VMware Certified Design Expert 5 – Data Center Virtualization (VCDX5-DCV)
VMware Certified Design Expert – Cloud (VCDX-Cloud)
VMware Certified Design Expert – Desktop (VCDX-DT)

Posted in Vmware | Leave a comment

Hardening of SSH server

Openssh options are controlled through the /etc/ssh/sshd_config file. This article explains the 7 default options in sshd_config file that you should change to harden your ssh server.

Options that uses the default values contains a commented line with the option and its default value. This makes it easier for us, as we can see the Openssh option name and the default value without having to lookup somewhere else.

For example, sshd_config file contains the following commented line. This indicates that the PubkeyAuthentication option contains “yes” as the default value.

$ grep -i pubkey /etc/ssh/sshd_config

#PubkeyAuthentication yes

If you like to change this, you should remove the comment and change the value (from yes to no)

$ vi /etc/ssh/sshd_config

PubkeyAuthentication no

1. Disable Root Login (PermitRootLogin)

By default you can ssh to the server as root. It is best not to allow root to login directly to the server. Instead, you should login to the system as your account and then do ‘su -’ to login as root.

If you have multiple sysadmins in your organization, and if they all login to the server directly as root, you might not know which sysadmin logged in as root. Instead, if you disable login as root, sysadmins are forced to login as their account first, before they can do ‘su -’, this makes the auditing easier.

Add the following entry to sshd_config to disable root to login to the server directly.

$ vi /etc/ssh/sshd_config

PermitRootLogin no

2. Allow Only Specific Users or Groups (AllowUsers AllowGroups)

By default anybody who is authenticated successfully are allowed to login. Instead you can restrict which users (or groups) you allow to login to the system.

This is helpful when you have created several user accounts on the system, but want only few of them to login.

This is also helpful when you are using NIS, openLDAP (or some other external system) for authentication. Every user in your company might have account on NIS, OpenLDAP etc. But, on a specific server you want only few of them to login. For example, on production system you want only sysadmins to login.

Add the following entry to the sshd_config file to allow only specific users to login to the system. In the example below only ramesh, john and jason can login to this system. Usernames should be separated by space.

$ vi /etc/ssh/sshd_config

AllowUsers ramesh john jason

Add the following entry to the sshd_config file to allow only the users who belong to a specific group to login. In the exampe below only users who belong to sysadmin and dba group can login to the system.

$ vi /etc/ssh/sshd_config

AllowGroups sysadmin dba

3. Deny Specific Users or Groups

Instead of allowing specific users (or groups), you can also deny specific users or groups.

Add the following entry to the sshd_config file to deny specific users to login to the system. In the example below cvs, apache, jane cannot login to this system. Usernames should be separated by space.

$ vi /etc/ssh/sshd_config

DenyUsers cvs apache jane

Add the following entry to the sshd_config file to deny users who belong to a specific group to login. In the exampe below users who belong to developers and qa group cannot login to the system.

$ vi /etc/ssh/sshd_config

DenyGroups developers qa

Note: You can use combination of all the Allow and Deny directivies. It is processed in this order: DenyUsers, AllowUsers, DenyGroups, and finally AllowGroups

 4. Change SSHD Port Number (Port)

By default ssh runs on port 22. Most of the attackers will check if a server is open on port 22, and will randomly use brute force to login to the server using several username and password combination.

If you change the port # to something different, others need to know exactly what port to use to login to the server using ssh. The example below uses port 222 for ssh.

$ vi /etc/ssh/sshd_config

Port 222

From your logs (/var/log/secure), if you see lot of invalid logins using ssh for accounts that don’t exist on your system, from the ip-address that you don’t recognize, it might be some brute-force attack. Those kind of ssh invalid login will stop, if you change the port number.

Please note that this causes little inconvenience to your team who login to the system, as they need to know both the ip-address and the port number.

5. Change Login Grace Time (LoginGraceTime)

When you ssh to a server, you have 2 minutes to login. If you don’t successfully login within 2 minutes, ssh will disconnect. 2 minutes time to login successfully is too much. You should consider changing it to 30 seconds, or may be 1 minute.

Add the following entry to the sshd_config file to change the login grace time from 2 minutes to 1 minute.

$ vi /etc/ssh/sshd_config

LoginGraceTime 1m

6. Restrict the Interface (IP Address) to Login (ListenAddress)

If you have multiple interfaces on the server that are configured to different ip-address, you might not want everybody to login to the server using all those ip-address.Let us assume that you have the following 4 interfaces on the server:

  • eth0 –
  • eth1 –
  • eth2 –
  • eth3 –

By default ssh will listen on all of the above ip-addresses. If you want users to login only using ip-address 200 and 202, do the following in your sshd_config

$ vi /etc/ssh/sshd_config



7. Disconnect SSH when no activity (ClientAliveInterval)

Once you’ve successfully logged in to the system, you might want to get disconnected when there are no activities after x number of minutes. This is basically idle timeout.

In Bash, you can achieve this using TMOUT variable.

In OpenSSH, this can be achieved by combining ClientAliveCountMax and ClientAliveInterval options in sshd_config file.

  • ClientAliveCountMax – This indicates the total number of checkalive message sent by the ssh server without getting any response from the ssh client. Default is 3.
  • ClientAliveInterval – This indicates the timeout in seconds. After x number of seconds, ssh server will send a message to the client asking for response. Default is 0 (server will not send message to client to check.).

If you want ssh client to exit (timeout) automatically after 10 minutes (600 seconds), modify the sshd_config file and set the following two parameters as shown below.

$ vi /etc/ssh/sshd_config

ClientAliveInterval 600

ClientAliveCountMax 0


Posted in Linux/CentOS | Leave a comment

ESXi hosts failing to authenticate against Active Directory

You may noticed ESXi host may fail to authenticate to AD when lsassd service fails

To resolve the issues

  1. Place the host in Maintenance mode
  2. Connect to host using SSH
  3. Stop the lsassd services by runing  /etc/init.d/lsassd stop
  4. Copy the file /etc/krb5.conf from one host where the authentication works fine
  5. Start the lsassd services /etc/init.d/lsassd start
Posted in Vmware | Leave a comment

The filename, directory name, or volume label syntax is incorrect-vmware converter error

If you are using VMware converter to perform a file level clone of a physical server and conversion fails after several hours then review the converter logs. You will found similar errors like shown below:

 “FileLevelCloning::task{12}: Image processing task has failed with PlatformError fault: (123) The filename, directory name, or volume label syntax is incorrect.”

 Read after the log to find out what the cause was and how to fix…

The full converter log is here which details the failure in process:

[#2] [j1] [2010-04-17 19:37:23.875 ‘App’ 1348 verbose] [imageProcessingTaskWrapper,437] Waiting for updates from FileLevelCloning::task{12}
[#2] [j1] [2010-04-17 19:37:23.875 ‘App’ 1348 verbose] [imageProcessingTaskWrapper,668] (Re)Start waiting for property updates from FileLevelCloning::task{12}
[#2] [j1] [2010-04-17 19:37:23.875 ‘App’ 1372 verbose] [imageProcessingTaskImpl,504] FileLevelCloning::task{12}: Starting execution of an image processing task
[#2] [j1] [2010-04-17 19:37:23.875 ‘App’ 1372 verbose] [imageProcessingTaskImpl,154] FileLevelCloning::task{12}: SetState to running
[#2] [j1] [2010-04-17 19:37:23.875 ‘App’ 1372 info] [fileLevelCloningTaskImpl,202] Starting file level cloning …
[#2] [j1] [2010-04-17 19:37:23.875 ‘App’ 1372 verbose] [fileLevelCloningTaskImpl,203] Cloning “e:\” into “\\.\vstor2-converter-42214219007E00000000000007000000\
[2010-04-17 19:37:23.875 ‘App’ 544 verbose] [imageProcessingTaskWrapper,749] Got an update from CloneTask::task{5}
[#2] [j1] [2010-04-17 19:37:23.875 ‘App’ 248 verbose] [imageProcessingTaskWrapper,437] Waiting for updates from CloneTask::task{5}
[#2] [j1] [2010-04-17 19:37:23.875 ‘App’ 248 verbose] [imageProcessingTaskWrapper,668] (Re)Start waiting for property updates from CloneTask::task{5}
[2010-04-17 19:37:23.875 ‘App’ 544 verbose] [imageProcessingTaskWrapper,749] Got an update from FileLevelCloning::task{12}
[2010-04-17 19:37:23.875 ‘App’ 544 verbose] [imageProcessingTaskStep,305] CloneTask::task{5} step “Cloning into volume virtVol={computer={7b5a2691772d153b37f34b64191bcda497ce1e08},2}” 0% completed
[#2] [j1] [2010-04-17 19:37:23.875 ‘App’ 1348 verbose] [imageProcessingTaskWrapper,437] Waiting for updates from FileLevelCloning::task{12}
[#2] [j1] [2010-04-17 19:37:23.875 ‘App’ 1348 verbose] [imageProcessingTaskWrapper,668] (Re)Start waiting for property updates from FileLevelCloning::task{12}
[2010-04-17 19:37:23.890 ‘App’ 1964 info] [stub,42] [Pcopy] Using API function to set file short names.
[2010-04-17 19:37:31.796 ‘App’ 1964 info] [stub,42] [Pcopy] Source file ‘e:\\found.000\dir0004.chkold\>4’ could not be copied (123)
[2010-04-17 19:37:31.796 ‘App’ 1964 info] [stub,42] [Pcopy]  (couldn’t be opened)
[2010-04-17 19:37:31.796 ‘App’ 1964 info] [stub,42] [Pcopy] Warning: failed to clone directory tree ‘e:\\found.000\dir0004.chkold’
[2010-04-17 19:37:31.796 ‘App’ 1964 info] [stub,42] [Pcopy] error Error calling CloneTree: The filename, directory name, or volume label syntax is incorrect (123)

[#2] [j1] [2010-04-17 19:37:33.593 ‘App’ 1372 error] [fileLevelCloningTaskImpl,267] Pcopy_CloneTree failed with err=123
[#2] [j1] [2010-04-17 19:37:33.593 ‘App’ 1372 error] [imageProcessingTaskImpl,556] FileLevelCloning::task{12}: Image processing task has failed with PlatformError fault: (123) The filename, directory name, or volume label syntax is incorrect.

[#2] [j1]
[#2] [j1] [2010-04-17 19:37:33.593 ‘App’ 1372 verbose] [imageProcessingTaskImpl,154] FileLevelCloning::task{12}: SetState to error
[#2] [j1] [2010-04-17 19:37:33.593 ‘App’ 1372 verbose] [imageProcessingTaskWrapper,886] Remote task FileLevelCloning::task{12} completed
[#2] [j1] [2010-04-17 19:37:33.593 ‘App’ 1348 verbose] [imageProcessingTaskWrapper,437] Waiting for updates from FileLevelCloning::task{12}
[2010-04-17 19:37:33.593 ‘App’ 1372 verbose] [imageProcessingTaskWrapper,749] Got an update from CloneTask::task{5}
[#2] [j1] [2010-04-17 19:37:33.593 ‘App’ 248 verbose] [imageProcessingTaskWrapper,437] Waiting for updates from CloneTask::task{5}
[#2] [j1] [2010-04-17 19:37:33.593 ‘App’ 248 verbose] [imageProcessingTaskWrapper,668] (Re)Start waiting for property updates from CloneTask::task{5}
[2010-04-17 19:37:33.593 ‘App’ 1372 verbose] [imageProcessingTaskWrapper,749] Got an update from FileLevelCloning::task{12}
[#2] [j1] [2010-04-17 19:37:33.593 ‘App’ 1348 verbose] [imageProcessingTaskWrapper,515] Cleaning up remote task FileLevelCloning::task{12}
[#2] [j1] [2010-04-17 19:37:33.609 ‘App’ 1348 verbose] [imageProcessingTaskWrapper,1201] Disposing task wrapper for task FileLevelCloning::task{12}
[#2] [j1] [2010-04-17 19:37:33.609 ‘App’ 724 verbose] [disposable,122] object explicitly disposed: FileLevelCloning::task{12}
[#2] [j1] [2010-04-17 19:37:33.609 ‘App’ 724 verbose] [imageProcessingTaskImpl,123] FileLevelCloning::task{12} being destroyed
[#2] [j1] [2010-04-17 19:37:33.609 ‘App’ 1348 error] [imageProcessingTaskStep,423] CloneTask::task{5} step “Cloning into volume virtVol={computer={7b5a2691772d153b37f34b64191bcda497ce1e08},2}” failed
[#2] [j1] [2010-04-17 19:37:33.609 ‘App’ 1348 verbose] [imageProcessingTaskWrapper,1117] Reporting image processing task failure for task FileLevelCloning::task{12}
[#2] [j1] [2010-04-17 19:37:33.609 ‘App’ 1348 error] [imageProcessingTaskWrapper,1124] ImageProcessingTask FAILED. Fault name: sysimage.fault.PlatformError
[#2] [j1] [2010-04-17 19:37:33.609 ‘App’ 1348 info] [imageProcessingTaskStep,194] CloneTask::task{5} step “Cloning into volume virtVol={computer={7b5a2691772d153b37f34b64191bcda497ce1e08},2}” destroyed
[#2] [j1] [2010-04-17 19:37:33.609 ‘App’ 1348 info] [imageProcessingTaskStep,194] CloneTask::task{5} step “clone volumes” destroyed
[#2] [j1] [2010-04-17 19:37:33.609 ‘App’ 724 verbose] [disposable,122] object explicitly disposed: computer={7b5a2691772d153b37f34b64191bcda497ce1e08}
[#2] [j1] [2010-04-17 19:37:33.609 ‘App’ 724 verbose] [diskSet,114] Cleaning up computer’s child objects
[#2] [j1] [2010-04-17 19:37:33.609 ‘App’ 724 verbose] [diskSet,130] Unregistring volume id=virtVol={computer={7b5a2691772d153b37f34b64191bcda497ce1e08},0}
[#2] [j1] [2010-04-17 19:37:33.890 ‘App’ 724 verbose] [diskSet,130] Unregistring volume id=virtVol={computer={7b5a2691772d153b37f34b64191bcda497ce1e08},1}
[#2] [j1] [2010-04-17 19:37:34.234 ‘App’ 724 verbose] [diskSet,130] Unregistring volume id=virtVol={computer={7b5a2691772d153b37f34b64191bcda497ce1e08},2}
[#2] [j1] [2010-04-17 19:37:34.484 ‘App’ 724 verbose] [diskSet,130] Unregistring volume id=virtVol={computer={7b5a2691772d153b37f34b64191bcda497ce1e08},3}
[#2] [j1] [2010-04-17 19:37:34.484 ‘App’ 724 verbose] [diskSet,140] Unregistring disk id=disk={1dcc8ce85007706a5d20038dec93ddad92f52d98}
[#2] [j1] [2010-04-17 19:37:34.484 ‘App’ 724 verbose] [diskSet,140] Unregistring disk id=disk={a0ac7e6fd78ba14994eac262fe0b5a0533137bd6}
[#2] [j1] [2010-04-17 19:37:34.484 ‘App’ 724 verbose] [diskSet,140] Unregistring disk id=disk={5c3d27f5b2802c58ccb6c824b9050761aff9af35}
[#2] [j1] [2010-04-17 19:37:34.484 ‘App’ 724 verbose] [diskSet,140] Unregistring disk id=disk={68833fbc1e937dc3eb7b90879813743ec0d48bcf}
[#2] [j1] [2010-04-17 19:37:34.703 ‘App’ 1348 error] [cloneTask,332] Cloning failed!
[#2] [j1] [2010-04-17 19:37:34.703 ‘App’ 1348 error] [imageProcessingTaskImpl,556] CloneTask::task{5}: Image processing task has failed with PlatformError fault: (123) The filename, directory name, or volume label syntax is incorrect.
[#2] [j1]
[#2] [j1] [2010-04-17 19:37:34.703 ‘App’ 1348 verbose] [imageProcessingTaskImpl,154] CloneTask::task{5}: SetState to error
[2010-04-17 19:37:34.703 ‘App’ 724 verbose] [imageProcessingTaskWrapper,749] Got an update from CloneTask::task{5}
[#2] [j1] [2010-04-17 19:37:34.703 ‘App’ 248 verbose] [imageProcessingTaskWrapper,515] Cleaning up remote task CloneTask::task{5}
[#2] [j1] [2010-04-17 19:37:34.703 ‘App’ 1348 verbose] [imageProcessingTaskWrapper,886] Remote task CloneTask::task{5} completed
[#2] [j1] [2010-04-17 19:37:34.703 ‘App’ 248 verbose] [imageProcessingTaskWrapper,1201] Disposing task wrapper for task CloneTask::task{5}
[#2] [j1] [2010-04-17 19:37:34.703 ‘App’ 724 verbose] [disposable,122] object explicitly disposed: CloneTask::task{5}
[#2] [j1] [2010-04-17 19:37:34.703 ‘App’ 724 verbose] [imageProcessingTaskImpl,123] CloneTask::task{5} being destroyed
[#2] [j1] [2010-04-17 19:37:34.703 ‘App’ 248 error] [imageProcessingTaskStep,423] VmiImportTask::task{4} step “clone to VM” failed
[#2] [j1] [2010-04-17 19:37:34.703 ‘App’ 248 verbose] [imageProcessingTaskWrapper,1117] Reporting image processing task failure for task CloneTask::task{5}
[#2] [j1] [2010-04-17 19:37:34.703 ‘App’ 248 error] [imageProcessingTaskWrapper,1124] ImageProcessingTask FAILED. Fault name: sysimage.fault.PlatformError
[#2] [j1] [2010-04-17 19:37:34.703 ‘App’ 248 info] [imageProcessingTaskStep,194] VmiImportTask::task{4} step “clone to VM” destroyed
[#2] [j1] [2010-04-17 19:37:34.703 ‘App’ 248 error] [vmiImportTask,456] Cloning failed: sysimage.fault.PlatformError
[#2] [j1] [2010-04-17 19:37:34.703 ‘App’ 248 info] [vmiImportTask,1054] Removing destination VM

1. As you can see it fails to clone the following files:





“[2010-04-17 19:37:31.796 ‘App’ 1964 info] [stub,42] [Pcopy] Source file ‘e:\\found.000\dir0004.chkold\>4’ could not be copied (123)” 

The clone will not suceed until this is resolved.

 2. When trying to delete the files booted into the Windows OS presents the following error:

“The filename, directory name, or volume label syntax is incorrect.”

Windows cannot delete the files due to the special characters in the filename “>” which Windows does not allow.

Ironically it was windows check disk (chkdsk) that created these files.

You have to use Linux live CD to fix the problem. Windows got itself into that was stopping my P2V from working.

3. Download the KNOPPIX Live CD ISO and burn to CD.

4. Boot from the KNOPPIX Live CD

5. Once booted and logged in, open a terminal.

6. Now mount the NTFS drive in read/write (rw):


(this will display current mounted drives – all are mounted read only)

 umount /mnt/sdc1

(this will unmount the required disk/partition – changed if yours is different)

vim /etc/fstab

add rw,

(edit fstab and on the line for your disk/partition change add rw)

mount /mnt/sdc1

(mount the disk/partition again – this time it is read/write)

rm -rf /mnt/sdc1/found.000/

7. Shutdown the server.

8. Boot from the VMware Converter CD and Continue your P2V.

Posted in Vmware | Leave a comment

Turn On Linux Servers Remotely Without Physical Access

Wakeonlan enables you to switch ON remote servers without physically accessing it. Wakeonlan sends magic packets to wake-on-LAN enabled Ethernet adapters and motherboards to switch on remote computers.

By mistake, when you shutdown a system instead of rebooting, you can use Wakeonlan to power on the server remotely. Also, If you have a server that don’t need to be up and running 24×7, you can turn off and turn on the server remotely anytime you want.

Overview of Wake-On-LAN

  • You can use Wakeonlan when a machine is connected to LAN, and you know the MAC address of that machine.
  • Your NIC should support wakeonlan feature, and it should be enabled before the
    shut down. In most cases, by default wakeonlan is enabled on the NIC.
  • You need to send the magic packet from another machine which is connected to the same network (LAN). You need root access to send magic packet. Wakeonlan package should be installed on the machine.
  • When the system crashes because of power failure, for the first time you cannot switch on your machine using this facility. But after the first boot you can use wakeonlan to turn it on, if the server gets shutdown for some reason.
  • WakeonLan is also referred as wol.

Check whether wol is supported on the NIC

Execute the following command in the server which you want to switch ON from a remote place.

# ethtool eth0

Settings for eth0:

Supported ports: [ TP MII ]

Supported link modes:   10baseT/Half 10baseT/Full

100baseT/Half 100baseT/Full

Supports auto-negotiation: Yes

Advertised link modes:  10baseT/Half 10baseT/Full

100baseT/Half 100baseT/Full

Advertised auto-negotiation: Yes

Speed: 100Mb/s

Duplex: Full

Port: MII


Transceiver: internal

Auto-negotiation: on

Supports Wake-on: pumbg  [ Note: check whether flag g is present ]

Wake-on: g [Note: g mean enabled. d means disabled]

Current message level: 0x00000001 (1)

Link detected: yes

If Supports Wake-on is g, then the support for wol feature is enabled on the NIC card.

Enabling wol option on the Ethernet Card

By default the Wake-on will be set to g in most of the machines. If not, use ethtool to set the g flag to the wol option of the NIC card as shown below.

# ethtool -s eth0 wol g

Install wakeonlan package on a different machine

Install the wakeonlan package in the machine from where you need to send the magic packet to switch on your server.

Note down the MAC address of the remote server

Note down the MAC address of the server that you wish to switch on remotely.

# ifconfig

eth0     Link encap:Ethernet  HWaddr 00:16:k5:64:A9:68  [ Mac address ]

inet addr:  Bcast:  Mask:

Finally, Switch ON the machine remotely without physical access

When the server is not up, execute the following command from another machine which is connected to the same LAN. Once the magic packet is sent, the remote system will start to boot.

# wakelan 00:16:k5:64:A9:68

Posted in Linux/CentOS | Leave a comment