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. 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 get to the "Add Single Computer" page more computers by going to Manage Computers->Edit Computer Information and clicking Add . You can get to the "Add Multiple Computers" page by doing the same thing but checking the "Add Multiple" checkbox.Single Computer or Add Multiple Computers".
- Configure VM Profile(s)
- Add VMware Host Servers
- Add Virtual Machines
- Assign Virtual Machine(s) to a Virtual Host
- Add entries to dhcpd.conf
- Add entries to /etc/hosts
Configure VM Profile(s)
TODO complete this section
basic steps for free server profile:
- Click Virtual Hosts
- Select the VM Host Profiles tab
- Select a profile whose name matches your setup or click New Profile...
- If using an existing profile, click Configure Profile
- If creating a new profile:
- Enter the name of the profile
- Click Create Profile
- Configure the profile to match your setup. Hover over any ? icons to get further information about that field
Tip |
---|
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
...
- Click Manage Computers
- Select the Add Multiple Computers radio button
- Click Submit
- 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
- Start 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 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 IP Address (i.e. if adding 3 computers, use 1.1.1.1 for start and 1.1.1.3 for end)
- State - vmhostinuse
Note |
---|
Double-check this because you will not be able to change it later |
- Owner - owner of the computer
- RAM
- Processor Speed
- Network Speed
- Type - blade
- Provisioning Engine - xCAT 2.x
- Check allComputers
- Click Confirm Computers
- Click Submit
- Select a VM Host Profile these VMware hosts will use. See the VMware Configuration page for more information about VM Host Profiles.
Info |
---|
You can modify the VM Host Profile later if needed |
- Click Add Computers
Add Virtual Machines
Adding Individual Virtual Machines
...
- Click Manage Computers
- Select Edit Computer Information
- Click Submit
- Click Add Multiple Computers
- 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.
Note |
---|
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 - owner of the computer
- RAM
- Processor Speed
- Network Speed
- Check All VM Computers and newvmimages
- Click Confirm Computers
- Click Submit
...
Assign Virtual Machine(s) to a Virtual Host
- Click Virtual Hosts
- On the VM Hosts tab, select the virtual host server added previously.
- 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.
- Adjust the VM limit to the desired number of vms you would like to run on this host.
Note |
---|
Please consult your hypervisor documentation for the recommended number of virtual machines to run concurrently for your virtual server configuration. |
- Select the virtual machine nodes from the Unassigned VMs: column.
- 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.
- Click Manage Computer
- Select the All VM Computers group in the list at the top
- Select the Computer Utilities radio button
- Click Submit
- Click the Check All link at the bottom of the table
- Next to For selected computers, generate computer data for, select dhcpd
- Click Generate Data
- Enter the private IP address for your management node
- Click Generate Data
- Copy/Paste the data for dhcpd.conf to the dhcpd.conf file on your management node (ignore the part for dhcpd.leases)
- Restart dhcpd
- 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
...