CloudBoot compute resources are created in Control Panel's Settings menu. To add a compute resource:
- Configure the IP range which the Control Panel will assign to compute resources.
- Add specific compute resources to the Control Panel itself.
On this page:
Create an IP range
To create an IP range:
- Go to your Control Panel’s Settings menu and click the Compute resources icon.
Click the CloudBoot IPs tab – this is where you add an IP address or range for the compute resource management interfaces, which Compute resources will acquire via DHCP when they boot. It is recommended to locate Compute resources management interfaces on a separate subnet with a NIC on the CP server also attached. In this configuration, the management subnet can use private address space and does not need to be externally addressable.
- Next, power on your Compute resources. As they boot, the Control Panel will detect and record their MAC addresses.
- Click the New IP Address button. On the page that loads, fill in the following information:
- IP Address - enter a single address or a range of addresses to be used by the PXE server- e.g. 192.168.1.100-192.168.1.200 (see the note below).
- Netmask - enter a netmask.
- Gateway - enter a default gateway address (see the note below).
- Click the Submit button to finish.
The dynamic range should be quite a bit larger than the actual IPs that will get assigned. This allows space for reassigning new nodes that come online, without creating address collisions.
Compute resource management interfaces must be on the same subnet as the Control Panel server, and addresses must be valid for that addressable subnet. The Compute resource management interface must also have PXE boot enabled.
Create CloudBoot compute resource
To create a CloudBoot compute resource:
- Go to your Control Panel's Settings > Compute Resources menu.
- Click the Add New CloudBoot Compute Resource button at the bottom of the screen.
- Fill in the wizard step by step. Each of these steps is described in the corresponding sections below.
- Click the Create CloudBoot Compute Resource button to start the creation process.
At this step, select the type of CloudBoot compute resource you want to create:
KVM - KVM CloudBoot Compute Resource
- Xen 3 - Xen 3 CloudBoot Compute Resource (CentOS 5)
Xen 4 - Xen 4 CloudBoot Compute Resource (CentOS 6)
Backup - CloudBoot Provisioning and Backup Resource
Smart - KVM Cloudboot Compute Resource with hardware pass-through
Baremetal - CloudBoot Compute Resource configured to run Baremetal Servers
Click Next to proceed to the following step of the wizard to specify the MAC Address.
At this step, select MAC IP Address of the new compute resource. It will be picked up automatically when you first PXE boot a new server on your cluster using the Control Panel.
Click Next to proceed to the following step of the wizard to specify the properties.
- Show Advanced settings - move this slider to the right to specify advanced compute resource settings:
- Backup IP address - add a provisioning network IP address
- CPU units - set the number of CPU units which will be assigned to the compute resource
- Collect Stats - move the slider to the right to collect statistics for this compute resource
- Disable Failover - move the slider to the right to disable VS migration to another compute resource if this compute resource is marked as offline by the Control Panel server
MTU - specify the maximum transportation unit size. You can set the frame size from 1500 to 9000 bytes
The maximum transportation unit (MTU) is the maximum size of a unit that can be transmitted transferred via ethernet traffic. Any data that exceed the specified MTU value will be divided into smaller units before being transferred. Utilization of jumbo frames allows you to reduce increase throughput and increase CPU utilization during large size file transfers.
- Storage Controller RAM - specify the storage controller RAM value (minimum 640 MB)
- Drives per Controller - specify the number of disks per controller virtual server. You can specify from 1 to 4 disks. By default, the controller virtual server is created per 4 disk drives
- Number of cache mirrors - specify the number of cache mirrors for the compute resource
- Number of cache stripes - specify the number of cache stripes for the compute resource
Power Cycle command - arbitrary command string to be executed by IPMI from the CP server. If the command is entered, a new option "Power Cycle Compute resource" - which will execute the entered command will appear in Tools menu at Settings > Compute resources > Compute resource page.
Currently, a command or commands should be written in one line separated with semicolon. If the command(s) is written in two lines you will receive a "fail" response, although the transaction will be performed.
Click Next to proceed to the following step of the wizard.
At this step the compute resource is rebooted and the new configuration, set in step 3, is applied. Once the compute resource comes back online you will be shown a list of devices that it contains - currently these are disks, network interfaces and PCI devices. After the compute resource is created these devices can be further managed from the Control Panel ( Settings > Compute Resources > label of compute resource > Tools > Manage devices).
Devices are unassigned by default. To assign a device to a particular task, click on the required task near the device. Devices can be assigned to different tasks:
Disks can be assigned to Storage (typical option when disk is connected to Integrated Storage) or to Cache (as cache device). Move the Format all assigned disks slider to the right to enable formatting for all disks, which are assigned to a particular task.
When you assign disk to Cache, then SSD caching is enabled. This feature increases disk I/O performance. There are two basic cache modes of operation:
- Write-through: improves read I/O performance, no impact on reliability
- Write-back: improves both read and write I/O performance, small chance of data loss.
Caching can be configured on two levels: per data store and per disk. For more information refer to the SSD Caching section of OnApp Storage guide.
- Network interfaces can be assigned to SAN
Ensure that the Compute Resource Devices permissions are on before managing devices. For more information refer to the List of all OnApp Permissions section of this guide.
Click Next to proceed to the following step of the wizard.
At this step, wait until compute resource devices configuration is applied. Then you will be indicated that compute resource is successfully configured and ready for operation. Click the Complete button. The compute resource will be added to the system. You can view it under the Compute resources menu. You do not need to power cycle the Compute resource manually – the Control Panel handles this remotely, and takes care of the configuration automatically.