Tuesday, March 3, 2015
Vmware Reference on Role Permissions
Reference:
https://pubs.vmware.com/vsphere-50/topic/com.vmware.ICbase/PDF/vsphere-esxi-vcenter-server-501-privileges.pdf
Friday, February 20, 2015
vihostupdate does not work for vSphere 5
"This operation is NOT supported on 5.0.0 platform"
Found answer in the reference article below... need to use esxcli and have the ZIP file uploaded to a location that the hosts can access directly, ie. a vmfs volume.
Reference:
https://communities.vmware.com/people/vmroyale/blog/2011/09/15/updating-esxi-5--single-use-esxcli-how-to
Tuesday, February 11, 2014
How to remove cluster warning: ESXi Shell for the Host has been enabled
Reference:
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2003637
Monday, March 25, 2013
How can you tell if VAAI is enabled?
- In the vSphere Client inventory panel, click the host.
- Click the Configuration tab, then click Advanced Settings under Software.
- Check that these options are set to 1 (enabled):
DataMover.HardwareAcceleratedMove
DataMover.HardwareAcceleratedInit
VMFS3.HardwareAcceleratedLocking
If you go to Host > Configuration > Storage, you can see the Hardware Acceleration Status in the panel on the right side.
For each storage device and datastore, the vSphere Client displays the hardware acceleration support status in the Hardware Acceleration column of the Devices view and the Datastores view.
The status values are Unknown, Supported, and Not Supported. The initial value is Unknown. The status changes to Supported after the host successfully performs the offload basic operations. If the offload operation fails, the status changes to Not Supported.
Reference:
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1021976
Tuesday, November 27, 2012
BusLogic SCSI controller not supported on Vmware VM
The guest operating system is
Fix is in reference below...
Reference:
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2007603
Tuesday, August 7, 2012
vShere 5 vCPU
The purpose of this new way to configure vCPU seems to be for licensing trickery as stated in the reference article below...
Reference:
http://kendrickcoleman.com/index.php/Tech-Blog/vsphere-5-hardware-version-8-a-new-vcpu-config-for-licensing-trickery.html
Friday, June 29, 2012
Vmware ESXi Unsupported mode
On the console:
- Press ALT-F1.
- Type "unsupported" and press ENTER. No characters will show on screen.
- Enter ROOT password when prompted should get you into # prompt.
- Be careful, you are in unsupported admin mode.
To Exit:
- At #, type CLEAR and press ENTER to clear screen.
- Type EXIT and press ENTER to exit unsupported mode.
- Press ALT-F2 to switch back to ESXi console page.
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1003677
Monday, February 6, 2012
VM will not power on
"Cannot open the disk '/vmfs/volumes/......vmdk' or one of the snapshot disks it depends on. Reason: Argument list too long."
I went into "Edit Settings" for the VM and found that hard disk 2 was referencing was not valid, an empty file. I removed the hard disk, and re-added the hard disk, but pointing to the correct VMDK file.
After that the VM started up just fine.
Reference:
http://vkarthickeyan.wordpress.com/2011/12/29/virtual-machine-not-powered-on/
Friday, January 20, 2012
VMware: IP address already assigned to another adapter
To resolve this issue, make the ghosted network adapter visible in the Device Manager and uninstall the ghosted network adapter from the registry:
- Select Start > Run, type cmd.exe, and press Enter.
- At the command prompt, run this command: "set devmgr_show_nonpresent_devices=1"
- Enter Start DEVMGMT.MSC and press Enter to start Device Manager.
- Select View > Show Hidden Devices.
- Expand the Network Adapters tree (select the plus sign next to the Network adapters entry).
- Right-click the dimmed network adapter, and then click Uninstall.
- Close Device Manager.
Reference:
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1179
Wednesday, December 28, 2011
Troubleshooting Vmware ESXi migration issues
- "A general system error occurred: Migration failed while copying data, Broken Pipe"
- "A general system error occurred: Failed to start migration pre-copy. Error 0xbad010d. The ESX hosts failed to connect over theVMotion network. "
attempting the put a host in maintenance mode. The VMs would not failover to another host.
Anyway, the fix was #2 under resolution in the link below. Basically, set Migrate.Enabled setting on all hosts to 0, then back to 1. After done on all hosts, the vMotion started working again.
Weird.
Reference:http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1036083
Tuesday, June 21, 2011
Enabling SSH on ESXi Hosts
- Open vSphere client
- Select ESXi host, then the Configuration tab.
- Select Security Profile
- Click on Properties
- In the Services popup dialog, select SSH and press the Options button
- Change settings, then click OK when done.
Reference:
http://www.thomasmaurer.ch/2011/08/enable-ssh-on-esxi-5-via-vsphere-client/
Wednesday, April 6, 2011
VMware Troubleshooting Guides
Reference:
http://www.ntpro.nl/blog/archives/1733-Mind-Map-For-Troubleshooting-vSphere-Network-Issues.html
Thursday, August 5, 2010
VMware virtual machine NIC not working
If you check Windows event viewer, you will see an IPSec error like this:
Event ID 4292: The IPSec driver has entered Block mode. IPSec will discard all inbound and outbound TCP/IP network traffic that is not permitted by boot-time IPSec Policy exemptions.
To fix, disable the IPSec service and reboot the VM.
If that does not work, as specified in the MS KB below, you will have to rebuild the registry policy.
To resolve this issue, delete the following registry subkey and then rebuild the policy:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\IPSec\Local
Delete the local policy registry subkey. To do this, follow these steps:
- Click Start, click Run, type regedit, and then click OK.
- In Registry Editor, locate and then click the following subkey:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\IPSec\Policy\Local - On the Edit menu, click Delete.
- Click Yes to confirm that you want to delete the subkey.
- Quit Registry Editor
Rebuild a new local policy store. To do this, follow this step:
- Click Start, click Run, type regsvr32 polstore.dll, and then click OK.
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1000797
http://support.microsoft.com/kb/870910
Monday, December 21, 2009
Wednesday, August 19, 2009
Friday, August 14, 2009
Hung VM or VM fails to power on with swap file errors
- Login to each ESX host (via Putty or similar app)
- Run
ps -efwww | grep vm_guest_name
on each host to determine which host has the hung VM process. - If you get something like this: (This is the process that has your file open in ESX)
root 1092 1 0 10:33 ? 00:00:00 /usr/lib/vmware/bin/vmkload_app /usr/lib/vmware/bin/vmware-vmx -ssched.group=host/user -# name=VMware ESX Server;version=3.5.0;licensename=VMware ESX Server;licenseversion=2.0 build-82663; -@ pipe=/tmp/vmhsdaemon-0/vmx6a6188c22e804baf; /vmfs/volumes/48729e6e-7cf3b2df-6ca0-001ec9b1b30a/vm_guest_name/vm_guest_name.vmx - Kill the process using: kill -9 pid
, where pid is 1092 in example above. - You should be able to power on the VM now.
ESX Logs
- Login to ESX host (via Putty or similar app)
- Review files in /var/logs
Expanding a VM-Windows partition
- Power off the VM
- Expand VMDK file to final size: One method is to use VIC, Edit settings, select Hard Disk, then change New Size.
- The other is to login to ESX host and use command line tool /usr/sbin/vmkfstools –X #G pathtofile/file.vmdk, where #G is the final disk size and file.vmdk is the vmdk of the virtual server.
- Edit settings of VM and mount the Gparted-livecd-*.iso to the VM.
- Go into Options tab and change Boot Options to for entry into BIOS setup screen and make CD-ROM boot before the hard disk.
- OK to close VM Properties.
- Power on VM
- Once within GParted tool, use the defaults until into the GUI
- Click on current partition
- Select Resize
- Drag arrow to expand partition
- Click Resize
- Click Exit and Shutdown VM
- Edit settings again to remove the Gparted ISO
- Power on VM
- Login via VIC console and Windows will find new hardware.Reboot the VM to complete process.
Reference: http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=994
Friday, July 31, 2009
Notes from VMware VSphere Tour
- Fault Tolerance (FT) can only be enabled for 1-CPU VMs and must used shared storage.
- Data Recovery (DR) images cannot be backed up to tape.
- With Netapp storage, the have Snap Manager for Virtual Infrastructure (SMVI) that plugs into vCenter APIs to backups for VMs.