There are a number of reasons why you might want to create vSwitches via the command line on a VMware ESXi host. Creating a script to setup vSwitches (and other networking settings) in the command line can be useful when rolling out many ESXi hosts or creating a fast recovery plan for DR. To create […]
Continue reading…
Posts tagged with 'ESXi 5'
Unable To Expand VMware Disk – Expand Disk Greyed Out
If you are unable to expand a VMware ESXi disk and find that the option to expand the disk is greyed out, then it’s probably because: The VM is powered on There are snapshots of the VM The VMware disk is IDE emulated, instead of SCSI emulated Once the VM is powered off, snapshots are […]
Continue reading…
Call HostNetworkSystem.UpdateNetworkConfig For Object NetworkSystem On vCenter Server Failed
When trying to remove a vSwitch in VMware ESXi 5, you may get this error: Call hostnetworksystem.updatenetworkconfig for object <object name> networksystem on vCenter server <vCenter server name> failed This error is basically saying that the vSwitch cannot be removed because it’s in use. Under Configuration -> Networking, you should be able to see if any […]
Continue reading…
Unable To Add E1000e Network Adapter – No Option, Only E1000
I was confused to see that I only had the option of adding an E1000 or VMXNET3 network adapter to my VM and unable to add the new and improved E1000e card. The first thing I did was check the Virtual Machine hardware version, because the E1000e network card only comes with version 8 of […]
Continue reading…
Hidden Configuration Options In VMware ESXi
Recently I was having trouble installing Hyper-V on a VMware VM, when I stumbled upon a plethora of hidden configuration options available to change settings on VMware VMs. These hidden settings are applied to a VM via editing the VMX file thusly: snapshot.maxSnapshots = Control the maximum number of VMware snapshots monitor_control.restrict_backdoor = Run virtual […]
Continue reading…
How To Setup iSCSI On VMware ESXi
Setting up iSCSI datastores on VMware ESXi is easy, but not a lot of people know how to setup iSCSI load balancing correctly. When people setup iSCSI they tend to just team the NICs as you would for a VM Port Group, this will work but it’s not the optimal way to setup iSCSI on […]
Continue reading…
Failed To Log Into NFC Server – VMware
Whilst trying to upload or download files directly from VMware ESXi 5 by browsing the datastore, I received this error: Failed to log into NFC server I’m not sure what the cause or fix for this is because I RDP’d to a non Windows 8 PC and used a different installation of the vSphere Client […]
Continue reading…
How Many CPUs Should A VM Have?
Today I thought I’d write about CPU scheduling in VMware. CPU scheduling pertains to how VMware’s hypervisor (ESX and ESXi) allocates CPU and helps to answer questions like: How many CPU’s should a VM have? Is there an optimum number of processors / cores to allocate a VM? How do I get the best performance […]
Continue reading…
How To Restart VMware Managment Agents
To restart VMware management agents, log onto the console of the ESXi server and go into Troubleshooting Options, then go into Restart Management Agents and hit OK. Restarting VMware management agents is useful if the ESXi server cannot be managed from the vSphere client. If this doesn’t fix your problem you can restart the VMware […]
Continue reading…
Veeam Backup And Replication Fails After Upgrading ESXi
Your Veeam backups can be working fine and then suddenly start to fail after upgrading ESXi or vSphere. This is because Veeam stores references to ESXi hosts in its SQL database and it thinks that the upgraded VMware ESXi hosts are new servers. It fails to update the Hosts table and gets confused by duplicate […]
Continue reading…