How to Increase the Size of a VMware Server 2.0 Virtual Disk

From Virtuatopia
Revision as of 19:33, 22 October 2008 by Neil (Talk | contribs)

Jump to: navigation, search

The capacity of a VMware Server 2.0 virtual disk may be increased from within the VMware Infrastructure (VI) Web Access management interface. This is a web based interface which can be accessed by starting a browser, either on the host system on which VMware Server is running, or on any other system which has network access to the host.

Accessing VI Web Access

During the VMware Server 2.0 installation process, the installer prompted for port numbers to be used for both HTTP and HTTPS based access to the VI Web Access interface. The defaults suggested were 8222 and 8333 respectively. If other ports were specified during installation the following examples will need to be modified accordingly.

When connecting locally (in other words from a web browser running on the same system as VMware Server), VI Web Access may be accessed using either an insecure HTTP or secure HTTPS connection. In the case of remote connections, however, HTTP requests will be automatically redirected to the secure HTTPS connection.

To gain access via HTTP use the following URL syntax:

  • http://hostname:8222

Similarly, HTTPS access requires the following URL:

  • https://hostname:8333

where hostname is replaced either by the host name or IP address of the system on which VMware Server is running. If VMware Server is on the local machine, localhost or the TCP/IP loopback address will also suffice. Upon successful connection, a screen will appear requesting the login and password credentials of an authorized administrator account as illustrated in the following figure:

Logging into the VMware Server 2 VI Web Access Management Interface

Once appropriate administrator credentials have been provided, clicking on the Log In button will load the main VI Web Access management interface screen into the browser window as shown in the following figure:

The VMware Server 2 VI Web Access Management Interface

Increasing VMware Server Virtual Disk Capacity

Virtual disks cannot be re-sized while any virtual machines which use the disk are powered on. Before proceeding, therefore, power off any virtual machines which share the virtual disk. Once these virtual machines are powered off, select a virtual machine which uses the virtual disk from the Inventory panel of the VI Web Access interface, click on the required hard disk from the Hardware panel and select Edit... from the menu. Once the disk settings dialog appears, click on the Increase capacity... link to display the disk capacity fields as illustrated in the following figure:

Increasing the size of a VMware Server 2.0 virtual disk

The current size of the virtual disk is listed, together with two text boxes for the amount by which the disk is to be increased and the new capacity. Both are specified in GB, and either may be used to increase the size of the virtual disk. The amount of space available for allocation to the virtual disk is dictated by the available space on the datastore in which the virtual disk file resides. The current free space on the datastore is also listed beneath the capacity text boxes. The increase in virtual disk capacity cannot exceed this value. Once the desired values have been entered, click on the OK to commit the change.