Archive for the ‘VMware’ Category

Remove “Safely remove hardware” icon from 2008R2 server on vSphere5

vmware_logo_square
I have 3 identical Windows 2008R2 server VMs hosted on an vSphere5 server for testing a Citrix XenApp 6.5 deployment. After a few weeks I noticed that one server had the “safely remove hardware” notification icon. Anyone could see the possible problems that something like this could have. The other 2 servers did not have this icon which was odd seeing they all came from the same template. After much time spent on google and many forums and trying many things (mostly registry editing)...

VMware: Can not add ESX 4.1 host to vCenter 4.0

vmware_logo_square
If you try to add an ESX 4.1 server to a vCenter 4.0 server one of two things will happen. First the initial connect will succeed but shortly after being connected the host will disconnect with no visible errors. If your lucky the second thing you may see is the actual error “A general system error occured: internal server error: vmodl.fault.HostCommunication”. Unfortunately the only way to solve the problem (that I know of) is to upgrade the vCenter to 4.1, but beware… 4.1 is...

Shutting down ESX guest from command-line/ssh

vmware_logo_square
This can be done through the Service console or through SSH. The path to the configuration file will referred as . This get be obtained by using the command ” vmware-cmd -s listvms” 1) log into the esx server that the guest is located. (I use SSH personally) 2)Run the following command to get a list of the register guests config files on the esx server vmware-cmd -s listvms Output would look like: [root@ESXHOST ~]# vmware-cmd -s listvms /vmfs/volumes/4ba33211-381fb8d0-bc97-0010186458a2/GUSET1/GUEST1.vmx ...

ESX 4.0 Web Access – Error 503

First login into the ESX server via SSH or service console (or whatever you prefer) andcheck if the service was running: service vmware-webAccess status If its not running start it: service vmware-webAccess start To make this change permanent issue the following command: chkconfig –level 345 vmware-webAccess on

Stop the Beeping on terminals and in VMWare Workstation

Resolution (1) Client action required 1. sc stop beep && sc config beep start= disabled Note: since this requires client action is not very effective in an enterprise envirionment. Resolution (2) Terminal Server Side action 1. net stop beep 2. sc config beep start= disabled 3. HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server Name = DisableBeep Type = DWORD Value = 1 And Name = MessageBeep Type = DWORD Value = 1 4. [HKEY_CURRENT_USER\Control Panel\Sound] “Beep”=”no” “ExtendedSounds”=”yes”...

Adding vMotion support for different CPU’s in ESX enviroment

vmware_logo_square
“ESX/vSphere CPU compatibility with vMotion (EVC)” If you dont know what EVC is will you are eventually going to find out. This feature is required for vMotion to be used in an environment with a mixture of CPU. For the Past few years I had all my ESX server using CPU’s in the same family but recently got a great deal on a new dell server with i7 core. To enable this server for vmotion without any downtime I had to do the following. Environment: Existing – 3 HP DL380 G5 servers...

esxcfg-vswif

This tool can manage the Ethernet interfaces of the service console. In a big change from previous versions of ESX, the Ethernet interface of the service console is named with the “vswif” prefix and not “eth” prefix as you may be used to in Linux.During installation of ESX server, your service console Ethernet connection should have been created. However, maybe a mistake was made, or we want to add another service console port for redundancy.In VI Client we can view the...

esxcfg-swiscsi

ESX server 3 supports both hardware and software initiated iSCSI. For hardware iSCSI, we can use host bus adapters which perform the TCP offload and so the vmkernel can just pass SCSI commands to them as normal. The iSCSI hba can then wrap the SCSI command in IP transport and forward them to the iSCSI target.In VI-3, one of the supported iSCSI hardware HBAs is the QLogic 4052. More information about this particular family of adapters can be found at http://support.qlogic.com/support/product_resources.asp?id=964In...

esxcfg-nas

The esxcfg-nas command is used to list, mount and dismount NFS exports for the VMkernel. In the first example we list the NFS datastores which the VMkernel has mounted.[root@esx1host root]# esxcfg-nas -lNFS01 is /NFS from 100.100.100.253 mountedIn the next example, we add a new VMkernel mount to a remote NFS server. This time we are connecting to the NFS server at IP address 100.100.100.253 and the name of the exported directory is “/Test”. We are labelled this NFS mount “NFS02″. [root@esx1host...

esxcfg-vmknic

Used to view and set configure the VMkernel ports on virtual Ethernet switches. A VMkernel port is a special type of port group on a virtual Ethernet switch which is used to assign an IP address to the VMkernel. The VMkernel only needs an IP address for VMotion, software-initiated iSCSI or NFS access.If you need to create a VMkernel port at the command line, then you need to create a port group first and then enable it as a VMkernel port. This tool does not allow you to enable the VMkernel port...
Twitter Delicious Facebook Digg Stumbleupon Favorites More
327 queries in 4.367 seconds.