Increase the size of a virtual machine disk on VMware Server and Workstation

Posted on August 31st, 2007 in gparted, home, how to, vmware server by Rich

If you have a VM running on the free VMware Server or VMware Workstation that is running out of disk space then you can use the command line tool vmware-vdiskmanager to grow the virtual disk. Then use the Gparted LiveCD to grow the existing partition to the new disk size. Here are the steps:

The IP address you have entered for this network adapter is already assigned to another adapter

Posted on August 15th, 2007 in P2V, blogs, converter, esx, home, how to, microsoft, platespin, services, vConverter, vi3, vmetc.com by Rich

A common issue error encountered after the P2V migration of a windows server is:

The IP address XXX.XXX.XXX.XXX you have entered for this network adapter is already assigned to another adapter Name of adapter. Name of adapter is hidden from the network and Dial-up Connections folder because it is not physically in the computer or is a legacy adapter that is not working. If the same address is assigned to both adapters and they become active, only one of them will use this address. This may result in incorrect system configuration. Do you want to enter a different IP address for this adapter in the list of IP addresses in the advanced dialog box?

Microsoft KB Article 269155 provides the explanation and the work arounds methods for this issue.

From the KB Article, here is an explanation of the cause of the issue and the most common resolution method.

Undefined Monitor VMware

Posted on August 14th, 2007 in how to, linux, vmtools, vmware by Rich

After installing VMware tools in a Linux VM, if X windows will not start and you get an error similar to “undefined monitor vmware”, then you need to manually modify the xorg.conf file.

Do the following:

1.      Edit the X config file

#nano /etc/X11/xorg.conf

2.      Add the lines

Section “Monitor”

        Identifier   “vmware”

EndSection

3.      Restart X

      #startx 

 

Enable ESX remote ssh root access

Posted on August 4th, 2007 in VAC, esx, home, how to, partner by Rich

If you are getting an error trying to remotely connect to an ESX host via ssh it is because root ssh access is disabled by default. Therefore winscp, putty, or any other remote console tool will fail.

These steps are taken from the VMware Partner Plan and Design toolkit document tilted “VI Assembly and Configuration Guide” written by Pang Chen. Here are the steps necessary to enable root to have ssh remote access.

Step 1a - Enable remote ssh root access

Modify the PermitRootLogin flag to yes in the /etc/sshd/sshd_config file to allow root remote login.

# perl -spi -e ‘s|PermitRootLogin no|PermitRootLogin yes|’ /etc/ssh/sshd_config

Step 1b - Enable remote ssh root accessConfirm change.The value should illustrate yes, with no hash mark prior to the flag.

# grep ‘PermitRootLogin’ /etc/ssh/sshd_config

PermitRootLogin yes

#

Step 1c - Enable remote ssh root access

Restart the sshd service:

# service sshd restart