This section explains how to install Avi Load Balancer in Cisco CSP.
Uploading Controller Image
The following are the steps to upload the Controller image:
Log in to the CSP dashboard on a browser.
Navigate to
.Click the + sign, and browse to and select the Controller qcow2 image.
Click Upload.
The Controller itself can have a day-zero YAML file before it is spun up. The YAML file needs to be imported into the repository prior to creating an image. Ensure that you have VNC access to the console. In a large deployment, this might require additional firewall rules.
A CSP cluster may have multiple copies (equal to the number of cluster hosts ) of the same image/YAML file. Consequently, when any deletions are required, all copies should be deleted. Typically, you can change a key (such as auth token) with the same filename and re-upload.
Configuring Controller Metadata File
To configure the Controller management Interface statically, the IP, netmask, and gateway information must be passed as a YAML file. The name of the metadata file must be in avi_meta/*.yml
format.
For instance, create a text file with name avi_meta_controller.yml with contents as:
avi.mgmt-ip.CONTROLLER: "10.128.2.20" avi.mgmt-mask.CONTROLLER: "255.255.255.0" avi.default-gw.CONTROLLER: "10.128.2.1"
Here avi.mgmt-ip.CONTROLLER
is the management IP for the Avi Load Balancer Controller, avi.mgmt-mask.CONTROLLER
is the network mask and avi.default-gw.CONTROLLER
is the gateway IP address for the management network.
Ensure that you replace the IP address in the example with the correct ones for your network. Upload this metadata file to the CSP repository.