Archive for the ‘WMware’ Category.

VMware Infrastructure Client 2.5 Authentication passthrough

To keep from typing your password when using VI Client 2.5, instead of

"C:\Program Files\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\VpxClient.exe"

Use

"C:\Program Files\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\VpxClient.exe" -passthroughAuth -s [admin console DNS Name]

Your would need to be logged in with the appropriate credentials on your client.

Moving a .VMKD in VMware ESX 3.5

For those savvy in the ways of Unix and maybe even VMware, here is what you need to do…

vmkfstools -i /<source directory>/<VM name>.vmdk /<destination directory>/<VM name>.vmdk
cp /<source directory>/<VM name>.nvram /<destination directory>/<VM name>.nvram
cp /<source directory>/<VM name>.vmx /<destination directory>/<VM name>.vmx

Edit beyond01.nvram and change the swap volume path - AKA sched.swap.derivedName
Register - vmware-cmd register -s /vmfs/volumes/OS_Store/beyond01/beyond01.vmx

Error message about msg.uuid.moved. Use Keep if you are just moving.

Now for the long answer
Continue reading ‘Moving a .VMKD in VMware ESX 3.5’ »

VMware error - Multiple connections to a server or shared resource…

When doing a hot import of a server into a VM, you might see this error.

"Multiple connections to a server or shared resource by the same user, using more than one user name, are not allowed.
Disconnect all previous connections to the server or shared resource and try again."

If you see it, just use this command…

 net use * /d

Find out if HV support is enabled in ESX 3.5

Login to your Service Console and type

esxcfg-info -w | grep HV

If you see..

|—-VT Support…………………………………………3

It was called VT in ESX 3.0. Just search for VT instead of HV

TCP/IP Ports required by VMware Converter

Converter application to remote physical machine 445 and 139
Converter application to VirtualCenter Server 443
Converter application to ESX Server 3.x 443
Physical machine to VirtualCenter Server 443
Physical machine to ESX Server 3.x 443

VMWare Configuration File Locations

/etc/vmware/esx.conf - configuration files live here
/usr/sbin/vmware-authd - authentication daemon. The configuration files live at /etc/xinetd.d/vmware-authd
/etc/vmware/netmap.conf - map of virtual switches to device names
/etc/vmware/devnames.conf - maps device names to modules and their PCI addresses
/etc/vmware/hwconfig - hardware configuration in a text file

VMWare Commands Line Tools

ESXCFG Commands

esxcfg-advcfg - ‘-g’ to get settings ‘-s’ to set them.
esxcfg-auth - configures the service console authentication options including NIS, LDAP, Kerberos and Active Directory.
esxcfg-boot - configure the GRUB options
esxcfg-dumppart - configure crash dump partition
Continue reading ‘VMWare Commands Line Tools’ »

VMWare Tips

VMWare ESX Server, by default, does not allow outgoing SSH connections.

You must be very careful where you place your memory.  On  a dual proc HP 385, as an example, you have two processors and 8 slots for memory.  Each processor must have access to the same size of memory.  For example, proc A has slots 1 & 2 full of 1GB DIMMs, then proc B must have slots 5 & 6 with 1GB DIMMs.  You will pull a lot of hair with the errors you’ll see if you make this mistake.