In addition to the Cloud Services Portal and Device UI, you can configure a physical host and connect it to BloxOne Cloud through a USB drive. You must first download the host configuration template from the Cloud Services Portal, make changes, save it on a USB drive, and then insert it into the physical appliance. Once the appliance detects the configuration file, it automatically starts the process and connects the host to BloxOne Cloud based on the configuration on the USB drive. This method is useful if your physical appliance is offline and you want to reconnect it to BloxOne Cloud.
To configure a host and connect it to BloxOne Cloud using a USB drive, complete the following:
From the Cloud Services Portal, click Administration -> Downloads.
Select Host Configuration Template, and click Host Configuration Template to download the template.
Open the downloaded template and make appropriate changes to it. For example, if you want to change the name server IP address, add that to the template. The following is an example:
{
"network": {
"name": "enp1s0",
"nameServers": ["52.119.40.100"],
"ipv4": {
"type": "static",
"ip": "192.168.0.1",
"netmask": "255.255.255.0",
"gateway": "192.168.0.1",
"mtu": "1500"
},
"ipv6": {
"type": "",
"ip": "",
"cidr": "",
"gateway": "",
"mtu": ""
},
"disablepmtud": ""
},
"httpProxy": "",
"timeSettings": {
"mode": "ntp",
"servers": [],
"pools": []
},
"docker": {
"bip": "172.17.0.1/22"
},
"k3s_network": {
"cluster_cidr": "192.166.0.0/24",
"service_cidr": "192.167.0.0/24"
}
}
Important
You must set the time setting mode to "ntp" for the configuration to take effect. Leaving the time setting mode empty will cause the configuration to fail.
- Save the modified template on a USB drive.
- Insert the USB drive into the physical appliance you want to configure and connect to BloxOne Cloud.
- When the appliance detects the configuration file, it compares the existing configuration with that in the file on the USB drive, and starts the configuration process based on the new information.
- The host will restart when the process is complete.
The host is connected to BloxOne Cloud when it is up and running.
Important
Once the host is connected to BloxOne Cloud, remove the USB drive from the appliance to avoid losing further configuration changes you make to the host.
Note
If the new configuration is invalid, BloxOne service will revert back to the previous or default configuration after a few minutes. For example, if you made a typo while changing the IP address of an interface, the IP address becomes invalid and BloxOne service reverts to the previous or default IP address to ensure that the host is still operational. This validation process happens in the background and does not affect any operations on your host.