Prerequisites
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 navigation bar, select Compute > ISO Image, click Upload ISO Image, and upload the ISO image of AOC.
Create the AOC virtual machine.
In the left navigation bar of the web console, select Compute > VM, click Create VM, and select Create blank VM.
In the Create VM dialog box, enter the virtual machine name.
Set the compute resource parameters for the virtual machine and add a virtual disk. You should consider various factors such as the number of clusters managed by AOC, the number of hosts and virtual machines, along with the CPU utilization, available memory, and storage capacity of the hosts, to configure appropriate computing resource parameters for the AOC virtual machine.
Note:
- When adding virtual disks, make sure to mount the ISO image below other disks.
- AOC has two configuration levels:
Low configurationsandHigh configurations. For the differences, refer to Determining the AOC configuration level.- If you need to deploy Arcfra Kubernetes Engine (AKE) or Arcfra File Storage (AFS) in an ACOS cluster through AOC, you must select High configurations as the configuration level.
If you have no special requirements, it is recommended that vCPU allocated be set to 8 vCPU, Memory allocated be set to 19 GiB, and Capacity of the virtual volume be set to 400 GiB.
Set other parameters. It is recommended to use the system default parameter values.
Click Load ISO Image to load the AOC ISO image.
Click Create to complete the virtual machine setup.
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.
In the virtual machine's guest operating system, execute the following commands in sequence to install AOC.
sudo bash
cd /usr/share/arcfra/tower
sh ./preinstall.sh
cd ./installer
./binary/installer deployIf you cannot access AOC using the default virtual IP (for example, if the virtual machine has multiple IP addresses assigned), you need to run the following command to install AOC. $VM_IP refers to the IP address that can access AOC.
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.
If the check passes, the system will start installing AOC.
If the check fails, a failure message will be output in the log. Follow the solutions provided in the table below to resolve the issue to solve the problem and install AOC again.
| Failure information | 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 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.