You can review and change the hardware properties of a virtual machine.

Prerequisites

The virtual machine must be powered off.

Procedure

  1. On the Virtual Datacenters dashboard screen, click the card of the virtual data center you want to explore and select Virtual Machines from the left panel.
  2. Click Card Icon to view the list in a card view and, optionally, filter the list of virtual machines from the Look in drop-down menu.
  3. In the card of the virtual machine you want to edit, click Details.
  4. Click Hardware to expand the list of hardware properties that you can view and edit.

    Option

    Description

    Number of virtual CPUs

    Edit the number of CPUs.

    The maximum number of virtual CPUs that you can assign to a virtual machine depends on the number of logical CPUs on the host and the type of guest operating system that is installed on the virtual machine.

    Cores per socket

    Edit the cores per socket.

    You can configure how the virtual CPUs are assigned in terms of cores and cores per socket. Determine how many CPU cores you want in the virtual machine, then select the number of cores you want in each socket, depending on whether you want a single core CPU, dual-core CPU, tri-core CPU, and so on.

    Expose hardware-assisted CPU virtualization to guest OS

    You can expose full CPU virtualization to the guest operating system so that applications that require hardware virtualization can run on virtual machines without binary translation or paravirtualization.

    Total Memory

    Edit the memory resource settings for a virtual machine. The virtual machine memory size must be a multiple of 4 MB.

    This setting determines how much of the ESXi host memory is allocated to the virtual machine. The virtual hardware memory size determines how much memory is available to applications that run in the virtual machine. A virtual machine cannot benefit from more memory resources than its configured virtual hardware memory size.

    Memory hot add

    If you enable memory hot-add, you can add memory resources to a virtual machine while the machine is powered on. This feature is only supported on certain guest operating systems and virtual machine hardware versions greater than 7.

    Virtual CPU hot add

    If you enable virtual CPU hot-add, you can add virtual CPUs to the virtual machine while it is powered on. You can add only multiples of the number of cores per socket. This feature is only supported on certain guest operating systems and virtual machine hardware versions.

    Number of sockets

    View the number of sockets.

    The number of sockets is determined by the number of virtual CPUs available. The number changes when you update the number of virtual CPUs.

    Removable Media

    View the available removable media, such as attached CD/DVD and floppy drive.

  5. Under Hard Disks, click Add to add a hard disk and fill out the following details.

    Option

    Description

    Size

    Enter the hard disk size in MB.

    Policy

    The storage policy for the virtual machine is used. You can override this selection.

    Bus Type

    Select the bus type.

    The options are Paravirtual (SCSI), LSI Logic Parallel (SCSI), LSI Logic SAS (SCSI), IDE, and SATA.

    Bus Number

    Enter the bus number.

    Unit Number

    Enter the logical unit number for the hard disk drive.

    By default, all the hard disks attached to a virtual machine use the storage policy specified for the virtual machine. You can override this default for any of these disks when you create a virtual machine or modify its properties. The Size column for each hard disk includes a drop-down menu that lists all the storage policies available for this virtual machine.

  6. Under NICs, click Add, and fill out the following details.

    You can add up to 10 NICs. For information about the number of supported number of NICs depending on the virtual machine hardware version, see: http://kb.vmware.com/s/article/2051652. vCloud Director supports modifying virtual machine NICs while the virtual machine is running. For information about supported network adapter types, see http://kb.vmware.com/kb/1001805.

    Option

    Description

    Primary NIC

    A flag displays when the primary NIC is selected.

    Select a primary NIC. The primary NIC setting determines the default and only gateway for the virtual machine. The virtual machine can use any NIC to connect to virtual and physical machines that are directly connected to the same network as the NIC, but it can only use the primary NIC to connect to machines on networks that require a gateway connection.

    NIC

    Number of the NIC.

    Connected

    Select the check box to connect a NIC.

    Network

    Select a network from the drop-down menu.

    IP Mode

    Select an IP mode:

    • Static - IP Pool

      Pulls a static IP address from the network IP pool.

    • Static - Manual

      Allows you to specify a specific IP address manually. If you select this option, you must type an IP address in the IP Address column.

    • DHCP

      Pulls an IP address from a DHCP server.

    MAC Address

    Enter the network interface MAC address.

  7. Click Save.