Skip to end of metadata
Go to start of metadata

If you are using standalone VMware servers (i.e. ones that VCL did not deploy using xCAT), you first need to configure a VM Profile to match your setup. Next, add the VMWare servers. Then, you need to add the virtual machines. You can either add them individually (Adding Individual VMWare Servers/Virtual Machines), or if they have sequential hostnames and IP addresses, you can add them all at once (Adding Multiple VMWare Servers/Virtual Machines).

Once you have added at least one computer, you can add more computers by going to Manage Computers->Edit Computer Information and clicking Add Single Computer or Add Multiple Computers.

  1. Configure VM Profile(s)
  2. Add VMware Host Servers
  3. Add Virtual Machines
  4. Assign Virtual Machine(s) to a Virtual Host
  5. Add entries to dhcpd.conf
  6. Add entries to /etc/hosts

Configure VM Profile(s)

  1. Click Virtual Hosts
  2. Select the VM Host Profiles tab
  3. Select a profile whose name matches your setup or click New Profile...
    1. If using an existing profile, click Configure Profile
    2. If creating a new profile:
      1. Enter the name of the profile
      2. Click Create Profile
  4. Configure the profile to match your setup. Hover over any ? icons to get further information about that field. More information is available on the VMware Configuration page

    Just click on the text of any field you want to edit to change it. After changing it, click somewhere else to save the changed value for that field. Changes are immediate; there is no "save" button for this tab.

Add VMware Host Servers

Adding Individual VMware Servers

  1. Click Manage Computers
  2. Select the Add Single Computer radio button
  3. Click Submit
  4. Fill in the following:
    • Hostname
    • Type - blade
    • Public IP Address
    • Private IP Address (optional)
    • Public MAC Address (optional)
    • Private MAC Address (optional)
    • Provisioning Engine - "None"
    • State - vmhostinuse
    • VM Host Profile - use a default profile or one configured in the previous step
    • Owner - admin@Local
    • RAM
    • No. Cores
    • Processor Speed
    • Network Speed
    • Physical Location (optional)
    • Click the checkbox under allComputers
  5. Click Confirm Computer
  6. Click Submit

    The computer you just added isn't listed after clicking Submit. This is not a problem.

Adding Multiple VMWare Servers

  1. Click Manage Computers
  2. Select the Add Multiple Computers radio button
  3. Click Submit
  4. Fill in the following:
    • Hostname - the hostnames of all the computers must have a numerical part that is sequential, use a % as a placeholder where that part would be
    • Start value - the first number of the numerical part of the hostname
    • End value - the last number of the numerical part of the hostname
    • Type - blade
    • Start Public IP Address - if using static public addresses, the IP addresses must be sequential; enter the first address here; if using DHCP, just enter something like 1.1.1.1
    • End Public IP address - the last IP address of the sequence; if using DHCP, you'll need to enter something that would work out to the last address relative to Start Public IP Address (i.e. if adding 3 computers, use 1.1.1.1 for start and 1.1.1.3 for end)
    • Start Private IP Address (optional) - the IP addresses must be sequential; enter the first private address here
    • End Private IP Address (optional) - the last IP address of the sequence
    • Start MAC Address (optional) - if MAC addresses are sequential, with the first one being the private MAC address for the first computer, the second one being the public MAC address for the first computer, the third one being the private MAC address of the second computer, etc, you can enter the first one here and then have the option of downloading data to add to your dhcpd.conf file from the Computer Utilities page
    • Provisioning Engine - "None"
    • State - vmhostinuse
    • VM Host Profile - use a default profile or one configured in the previous step
    • Owner - admin@Local
    • RAM
    • No. Cores
    • Processor Speed
    • Network Speed
    • Physical Location (optional)
    • Click the checkbox under allComputers
  5. Click Confirm Computers
  6. Click Submit

Add Virtual Machines

Adding Individual Virtual Machines

  1. Click Manage Computers
  2. Select Edit Computer Information
  3. Click Submit
  4. Click Add Single Computer
  5. Fill in the following:
    • Hostname
    • Type - virtualmachine
    • Public IP Address
    • Private IP Address
    • Public MAC Address
    • Private MAC Address

      For VMware virtual machines, the MAC addresses you choose must be in the range 00:50:56:00:00:00 -00:50:56:3F:FF:FF.
      Pay special attention to the upper bound of this range. 00:50:56:40:00:00 - 00:50:56:FF:FF:FF are NOT valid VMware virtual machines.

    • Provisioning Engine - VMware
    • State - maintenance
    • Owner - admin@Local
    • RAM
    • No. Cores
    • Processor Speed
    • Network Speed
    • Check All VM Computers and newvmimages
  6. Click Confirm Computer
  7. Click Submit

Adding Multiple Virtual Machines

  1. Click Manage Computers
  2. Select Edit Computer Information
  3. Click Submit
  4. Click Add Multiple Computers
  5. Fill in the following:
    • Hostname - the hostnames of all the computers must have a numerical part that is sequential, use a % as a placeholder where that part would be
    • Start value - the first number of the numerical part of the hostname
    • End value - the last number of the numerical part of the hostname
    • Type - virtualmachine
    • Start Public IP Address - if using static public addresses, the Public IP addresses must be sequential; enter the first address here; if using DHCP, just enter something like 1.1.1.1
    • End Public IP address - the last Public IP address of the sequence; if using DHCP, you'll need to enter something that would work out to the last address relative to Start IP Address (i.e. if adding 3 computers, use 1.1.1.1 for start and 1.1.1.3 for end)
    • Start Private IP Address - similar to Start Public IP Address, but for the private side
    • End Private IP Address - similar to the End Public IP Address but for the private side
    • Start MAC Address - if mac addresses are sequential, with the first one being the private MAC address for the first computer, the second one being the public MAC address for the first computer, the third one being the private MAC address of the second computer, etc, you can enter the first one here and then have the option of generating data to add to your dhcpd.conf file from the Computer Utilities page.

      For VMware virtual machines, the MAC addresses you choose must be in the range 00:50:56:00:00:00 -00:50:56:3F:FF:FF.
      Pay special attention to the upper bound of this range. 00:50:56:40:00:00 - 00:50:56:FF:FF:FF are NOT valid VMware virtual machines.

    • Provisioning Engine - VMware
    • State - maintenance
    • Owner - admin@Local
    • RAM
    • No. Cores
    • Processor Speed
    • Network Speed
    • Check All VM Computers and newvmimages
  6. Click Confirm Computers
  7. Click Submit

Assign Virtual Machine(s) to a Virtual Host

  1. Click Virtual Hosts
  2. On the VM Hosts tab, select the virtual host server added previously
  3. Click Configure Host, You should see VM limit set to a number along with the vm profile, two columns of VM's assigned to host and Unassigned VMs
  4. Adjust the VM limit to the desired number of vms you would like to run on this host.

    Please consult your hypervisor documentation for the recommended number of virtual machines to run concurrently for your virtual server configuration

  5. Select the virtual machine nodes from the Unassigned VMs: column
  6. Click Add

Add entries to dhcpd.conf

You need to add entries for your VMs to your dhcpd.conf file so that they will correctly be assigned their private addresses at boot.

  1. Click Manage Computers
  2. Select the All VM Computers group in the list at the top
  3. Select the Computer Utilities radio button
  4. Click Submit
  5. Click the Check All link at the bottom of the table
  6. Next to For selected computers, generate computer data for, select dhcpd
  7. Click Generate Data
  8. Enter the private IP address for your management node
  9. Click Generate Data
  10. Copy/Paste the data for dhcpd.conf to the dhcpd.conf file on your management node (ignore the part for dhcpd.leases)
  11. Restart dhcpd

    service dhcpd restart

  12. Scroll to the bottom and click Close

Add entries to /etc/hosts

You need to add entries for your VM hosts and VMs to /etc/hosts

  1. Click Manage Computers
  2. Select the All VM Computers and the allComputers groups in the list at the top
  3. Select the Computer Utilities radio button
  4. Click Submit
  5. Click the Check All link at the bottom of the table
  6. Next to For selected computers, generate computer data for, select /etc/hosts
  7. Click Generate Data
  8. Copy/Paste the data to your /etc/hosts file
  9. Click Close
  • No labels