Home » VMware (ESX / vSphere)

Category Archives: VMware (ESX / vSphere)

Server (HP) not reachable on network “Port was disabled because a pause flood was detected” .

Host was not reachable on network. When checked on ILO server is up and running. When I try to ping the server its unresponsive.Host is a blade server, hence suspected an issue with the network module. Therefore, connected virtual connect. Found one of the virtual connect module was degraded. When analysed the HP Virtual connect found an error message stating “Port was disabled because a pause flood was detected”

Further to this when validated the server port assigned to the bay1/bay2 found the status “Not Linked/Pause Flood Detected”. It confirms the issue was caused by pause Flood. In some cases, a flex-10 port can enter into disabled state due to the triggering of “pause-flood”, or network-loop. You can confirm the same port status using Virtual Connect Manager CLI. Connect to Virtual connect using SSH and Execute the below command:

Show port-protect

This would show the blade server that’s in impact. To fix the issue, please execute the below command:

reset port-protect

Verify the port status again using the command “show port-protect” and ensure no port’s protect types are reported as “Pause Flood”.
Another action plan would be to update the Drivers and Firmwares.

You can also disable is using the command listed below
set port-protect pauseFlood=Disabled

Thanks,
WintelAdmin

VMware Virtual Machine Reporting from VSphere

VMware PowerCLI is a powerful utility to generate virtual machine information and status. This is very cool and handy tool. I use to generate VMTools status, Datacenter and ESX host name information.

Command to connect vCenter:

Connect-VIServer vcenter1, vcenter2, vcenter

Initialize VMTools Version:
New-VIProperty -Name ToolsVersion -ObjectType VirtualMachine -ValueFromExtensionProperty ‘Config.tools.ToolsVersion’ -Force

Initialize VMTools Status:
New-VIProperty -Name ToolsVersionStatus -ObjectType VirtualMachine -ValueFromExtensionProperty ‘Guest.ToolsVersionStatus’ -Force

Verify VMTools status on all virtual machines and export the output to excel:
Get-VM | Select Name, ToolsVersion, ToolsVersionStatus | Export-Csv -NoTypeInformation -UseCulture -Path C:\Temp\VMToolsInfo.csv

Export VM name, cluster and ESX Host:
Get-VM | Select Name, @{N=”Cluster”;E={Get-Cluster -VM $_}}, @{N=”ESX Host”;E={Get-VMHost -VM $_}} | Export-Csv -NoTypeInformation C:\temp\VM_CLuster_Host-.csv

Export VM name and Cluster name:
Get-VM | Select Name, @{N=”Cluster”;E={Get-Cluster -VM $_}} | Export-Csv -NoTypeInformation C:\temp\test-VM_CLuster.csv

Thanks,
WintelAdmin.

VMware Tools is no more depended on vSphere/Esxi release.

VMware tools 10.0.0 is now no more dependent on vSphere release/Esxi builds. I think this is the first time when VMware released VMware Tools separately. As per release note its backward compatible, compatible with Esxi 5.0 and also compatible with Workstation 12.0 and VMware Fusion 8.0. It will allow to get the latest new features and enhancements made to the VMware tools faster to the customers.

You can download and install the latest version of VMware Tools from Here.

Thanks,
WintelAdmin

Enable Time Synchronization Between Windows (VM Guest) and ESX (Host).

This is in continuation to my previous post RDP Connection on a virtual server

As discussed earlier there was an issue with the AD authentication and connectivity. It was all because of the different time zone set on an ESX host and the guest operating system. Changing time on DC was not recommended by the AD Team as the impact was unknown and similarly we have no clue on the impact due to time change on ESX cluster. Hence, I decided to manually do the time sync between the ESX host and Guest machine.

Time sync status was validation using the command:
VMwareToolboxCmd.exe timesync status

Enter the command to enable or disable periodic time synchronization.
VMwareToolboxCmd.exe timesync Enable/Disable

We executed below command to fix the issue
VMwareToolboxCmd.exe timesync Enable

Note: VMTools installation directory on Windows is C:\Program Files\VMware\VMware Tools.

Thanks,
WintelAdmin

VMware Error 0x0000005D

When you try to install Windows Operating System, you would come across an error code 0x0000005D. This is purely an issue related to the virtual machine profile. Please validate if you have selected a correct profile. if not please choose the correct profile and restart the installation process.

In my case, was trying to deploy Windows 2003 std edition for a legacy application using SCCM 2012. Had no clue with the error code 0x0000005D, though I have set Windows 2003 Std 32 Bit in profile. Later realized that the SCCM is using the latest version and then selected the corresponding 64bit profle like Windows Server 2003 Enterprise x64 Edition – from the drop-down list. Voila it fixed my issue.

VM profile is available at below path.

VM->Edit Settings->Options->General Options->Version

Regards,
WintelAdmin

VMware P2V or V2V gives error Unable to contact the specified host.

When you do a P2V or V2V of Windows 2008 server using VMware Converter you might get the below error:

Unable to contact the specified host. The host is not available, there is a network configuration problem, or the management services on the host are not responding.

In order to execute the conversion process, it is necessary to open the required ports on the source. This error would be displayed when the required TCP and UDP ports are not open.

Hence, the best solution is to disable the firewall to fix the issue.

In my case the issue was fixed using the below command.

NetSh Advfirewall set allprofiles state off

Thanks,
WintelAdmin

VM Tools Update Failure [solved]

During VM Tools update, if you find any issues like unable to remove older version of VMware Tools or error 1714, you can remove old version manually from the registry to resolve the issue:

1. Open the Windows Registry using regedit.
2. Browse to HKLM\Software\Microsoft\Windows\CurrentVersion\uninstall.
Search for the branch with a key named DisplayName and has a value of VMware Tools.
Delete the branch associated with that entry. Do not delete the entire uninstall branch.
3. Browse to HKLM\Software\Classes\Installer\Products.
Search for the branch with the key named ProductName and has a value of VMware Tools.
Delete the branch associated with that entry.
4. Browse to HKEY_CLASSES_ROOT\Installer\Products.
Search for the branch with the key named ProductName and has a value of VMware Tools.
Delete the branch associated with that entry.
5. Browse to HKLM\Software\VMware.
Delete the branch called VMware Tools.
6. Ensure the folder located in %ProgramFiles%VMwareVMware Tools is deleted.
7. Install the new version of VMware Tools.

NOTE: Take the backup of the registry before performing the above steps.

Thanks,
WintelAdmin

Error Code 0x0000005D – Please hold down the power button

I was very recently trying to re-image a Windows 2003 server with Windows 2008. Unfortunately, I was getting an Error code Error Code 0x0000005D – Please hold down the power button. I tried changing the SCSI controller, VM Hardware update, etc but nothing worked. However, I was bit lucky to get a solution. I changed guest operating system profile as “Microsoft Windows Server 2008” in General Options under “Options” available at the Virtual Machines Properties”.

Thanks,
Winteladmin

VM Tools installation Error “Setup cannot continue. The Microsoft Runtime DLL installer failed to complete installation”

Recently, I was having issues in upgrading the VM Tools on a Windows 2003 server.Installation was not getting completed successfully. Hence, I tried uninstalling and re-installing the VM Tools. Unfortunately, I was unable to install the VM Tools and the error was “Setup cannot continue. The Microsoft Runtime DLL installer failed to complete installation”.

Luckily, I got an timely idea, I clicked on the setup, and when the error pop-up (before clicking “OK”) I opened %temp% directory and executed vcredist_x64.exe and VMware Tools.msi file manually, this worked perfectly.

Thanks,
WintelAdmin

VMware – Virtual Machine Consolidation Needed.

One of the virtual machine was not responding and was unable to power on the machine. When check on alarm, there was a message stating “Virtual Machine Consolidation Needed”.

In order to consolidate virtual machine disk, right click on the virtual machine, navigate to snapshot and choose consolidate.

After the consolidation is over machine will be able to power on.

Note:

1. Consolidation needed due to multiple snapshots.
2. Removal of snapshot takes long time considering the size of the disk.
3. If consolidation is stopped, it may lead to data corruption.
4. Virtual machine performance may be degraded during snapshot.

Thanks,
WintelAdmin.


Visitors Count

Subscriber Count

    3806
March 2017
M T W T F S S
« Feb    
 12345
6789101112
13141516171819
20212223242526
2728293031