Prerequisite
iso format has been downloaded in advance based on the server CPU architecture of the cluster to run AOC.Precaution
Confirm whether the time zone of the cluster running AOC is consistent with the default time zone of AOC Asia/Shanghai (CST +8:00). If not, it is recommended to modify the timezone during deployment, so that it remains consistent with the timezone of the cluster to run AOC.
Procedure
Enter the virtual management IP of any node in the ACOS (AVE) cluster or the cluster management virtual IP (if configured) in the browser and log in to the Web console management page with the Super administrator root account.
In the left sidebar, select ISO Image in the Compute field, click + Upload ISO Image, and upload the ISO image of AOC.
Create the AOC virtual machine.
In the left sidebar of the Web console management page, select VM in the Compute field, click + Create VM > Create blank VM.
In the Create VM dialog box, enter the virtual machine name.
Set the computing resource parameters for the virtual machine and add a virtual disk. You can take various factors into consideration to configure appropriate computing resource parameters for the AOC virtual machine, such as the number of clusters managed by AOC, the number of hosts and virtual machines, along with the CPU utilization, available memory, and available storage capacity of the cluster.
Information:
- When adding virtual disks, make sure the ISO image is mounted after other disks in order.
- AOC offers two levels:
SmallandLarge. For differences, refer to Determining the AOC configuration level.- If you need to deploy the Arcfra Kubernetes Engine in an ACOS cluster through AOC, you must select Large as the configuration level.
If there are no special requirements, it is recommended to set vCPU allocated to 8, Memory allocated to 19 GB, and Capacity of the virtual volume to 400 GB.
Set other parameters. It is recommended to use the default values preset by the system.
Click Load ISO to load the AOC ISO image.
Click Create to complete configuring the virtual machine.
Complete the installation of the guest operating system in the virtual machine.
cloudtower.Log in to the virtual machine guest operating system. It is recommended to set a static IP for the management NIC and ensure the connectivity between the AOC virtual machine and the node management IP in the ACOS cluster or the ACOS cluster management virtual IP.
Run the following commands in sequence in the guest operating system of the virtual machine to install AOC.
sudo bash
cd /usr/share/arcfra/tower
sh ./preinstall.sh
cd ./installer
./binary/installer deployIf AOC cannot be accessed through the default virtual IP address (for example, if the virtual machine is bound to multiple IP addresses), you need to run the following commands to install AOC, and replace $VM_IP with an IP address from which AOC can be accessed.
sudo bash
cd /usr/share/arcfra/tower
sh ./preinstall.sh
cd ./installer
./binary/installer deploy --vip $VM_IPAfter running the above commands, the system will first pre-check the installation environment.
| Failure message | Cause | Solution |
|---|---|---|
| check-disk-free-space | The AOC virtual machine has insufficient disk space. |
|
| check-distribution | The host operating system and CPU architecture of the AOC installation or upgrade file do not match the Linux distribution and the host CPU architecture of the AOC virtual machine. |
|
| check-vm-spec | The CPU and memory allocated to the AOC virtual machine do not meet the requirements. |
|
The installation process takes approximately 30 minutes. Once done, enter the IP address of the AOC virtual machine in the browser. You should see the AOC initialization page.