Create CloudBoot Compute Resource
CloudBoot compute resources are created in Control Panel > Admin > 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.
Add CloudBoot IPs
To add CloudBoot IPs you need to create an IP net, then add an IP range to the IP net and finally add IPs to the new range.
Add CloudBoot IP Net
To add a CloudBoot IP net:
- Go to your Control Panel > Admin > Settings menu.
- Click the Compute Resources icon, then click CloudBoot IPs tab. On the screen that appears, you'll see the list of CloudBoot IP nets which include IP ranges.
- Click the New IP Net button.
- On the page that loads fill in the following details:
- label
- network address
- network mask
- add default IP range - tick this checkbox for the default IP range to be added to the IP net automatically. Otherwise, you'll need to add the required IP ranges and IPs after the IP net is created.
- Click Submit to save the new IP net.
Add CloudBoot IP Range
To add an IP range to an IP net:
- Go to your Control Panel > Admin > Settings menu.
- Click the Compute resources icon, then click CloudBoot IPs tab. On the screen that appears, you'll see the list of CloudBoot IP nets which include IP ranges.
- Click the Actions icon next to the required IP net and select Add New IP Range.
- Fill in the the start and end address and the default gateway of the new IP range.
- Click Add to save the new IP range.
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.
Add CloudBoot IPs
To add new CloudBoot IP address:
- Go to your Control Panel > Admin > Settings menu.
- Click the Compute resources icon, then click CloudBoot IPs tab. On the screen that appears, you'll see the list of CloudBoot IP nets which include IP ranges.
- Click the Create IP Address button.
- Specify the following IP address properties:
- IP net - the IP net to which you want to add the IP address
- IP range - the IP range to which you want to add the IP address
- IP addresses - start typing the IP address you want to add. You can add the IP addresses that appear in a drop-down list. You can add one or several new IP addresses
- Click Submit.
Create CloudBoot Compute Resource
To create a CloudBoot compute resource:
- Go to your Control Panel > Admin > 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.
Step 1 of 5. Type
At this step, select the type of CloudBoot compute resource you want to create:
KVM - KVM CloudBoot Compute Resource, based on CentOS 6
- KVM - KVM CloudBoot Compute Resource, based on CentOS 7
Xen 4 - Xen 4 CloudBoot Compute Resource, based on CentOS 6
- Xen 4 - Xen 4 CloudBoot Compute Resource, based on CentOS 7
Backup - CloudBoot Provisioning and Backup Resource, for backups maintenance, based on CentOS 6
- Backup - CloudBoot Provisioning and Backup Resource, for backups maintenance, based on CentOS 7
Smart - KVM Cloudboot Compute Resource, where you can deploy a smart server, based on CentOS 6
Smart - KVM Cloudboot Compute Resource, where you can deploy a smart server, based on CentOS 7
Baremetal - XEN CloudBoot Compute Resource, where you can deploy a baremetal server, based on CentOS 6 (legacy provisioning)
Baremetal - KVM CloudBoot Compute Resource, where you can deploy a baremetal server, based on CentOS 7 (new provisioning)
Click Next to proceed to the following step of the wizard to specify the MAC Address.
Step 2 of 5. 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.
Should you receive the "No available Compute Resources discovered" message, you can wait (this step is auto-refreshed every 30 seconds) or click the Refresh button until MAC IP Address appears.
Click Next to proceed to the following step of the wizard to specify the properties.
Step 3 of 5. Properties
At this step, specify the CloudBoot compute resource properties:
- Label - give the compute resource a name
- Pxe IP address - select an IP address for this compute resource from the address pool available
- Enabled - move the slider to the right to allow VSs to be installed/booted on this compute resource
Compute Zone - select the compute zone, to which this compute resource will be assigned, from the drop-down list
Apply Compute Zone Custom Config - move this slider to the right to apply a Compute Zone custom config
If this check box is selected, a Compute Zone custom config is applied before a resource custom config.
Custom Config - specify any custom commands you want to run when compute resource is booted
Centos now defaults to NFSv4. This is known to cause compatibility issues so we strongly recommend that you use NFSv3 for all mounts. This can be done by passing -t nfs -o vers=3 in any mount commands.
We strongly recommend that you recheck if custom config doesn't brake any functionality. So before putting in production, the server with changed custom config should be rebooted, and the server behaviour rechecked. We recommend to perform the Storage Health Check and Network Health Check.
- 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
- Failover option is not available for baremetal servers.
- If you use automatic failover with write-back caching you may lose some data in the event of a failover.
Failover recipe - select a recipe to run before the failover process
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 (depending on a set frame size) and increase CPU utilization during large size file transfers.
SAN bonding mode - choose bonding mode type from the dropdown menu
After editing the SAN bonding mode option, it is required to reboot your Compute Resource to apply the settings.
Please note, that using more than one NIC for SAN subnet requires switch support. Please ensure that your network infrastructure supports the utilized NIC bonding and is configured correctly. By default, the utilized NICs bonding mode is IEEE 802.3ad Dynamic link aggregation which requires grouping appropriate ports together according to the section 5 Switch Configuration of Linux Ethernet Bonding Driver guide.
Storage Controller RAM - specify the storage controller RAM value. You may calculate the amount of memory needed for a storage controller as DB size (128 MB by default) + 10 MB x vDisk parts at the controller.
- Storage Controller DB size - select the storage controller DB size value (minimum 128 MB, maximum 256 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
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 the Tools menu at Admin > 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.
Step 4 of 5. Devices
At this step the compute resource is rebooted and the new configuration, set in step 3, is applied. It can take some time (the wizard makes 10 attempts with 1 minute interval). Once the compute resource comes back online you will be shown a list of devices that it contains - currently these are disks, cache settings and network interfaces. After the compute resource is created these devices can be further managed from the Control Panel (Admin > Settings > Compute Resources > label of compute resource > Tools > Manage devices).
Devices are unassigned by default. You can assign disks and network interfaces to a particular task.
Disks
Disks can be assigned to Storage (typical option when disk is connected to Integrated Storage) or to Cache (as cache device). To assign disks to one of these tasks, click on the required task near the device. Move the Format all assigned disks slider to the right to enable formatting for all disks, which are assigned to a particular task. You will get a confirmation pop-up window before formatting disks.
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.
Please do not unassign and assign the same cache device while migrating, rebalancing, or deleting a destination virtual disk. If you have already unassigned the cache device, please wipe the disk before assigning the device back.
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.
Cache Settings
Cache settings include the following options:
- Number of cache mirrors
- Number of cache stripes
Network Interfaces
- Advanced network interfaces configuration - move the slider to the right to enable the advanced configuration of network interface devices. You will be able to create new custom network interface devices and specify their PCI and MAC address after the compute resource is created.
Network interfaces can be assigned to SAN. Using more than one NIC for SAN subnet requires switch support. Ensure that your network infrustructure supports the utilized NIC bonding and is configured correctly.
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.
Step 5 of 5. Finalize
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.