This section discusses CLI options to upgrade Avi Load Balancer system.
The auto-suggest option in the CLI provides available values on pressing tab on your keyboard. Use skip_warnings option to skip any warnings and optional must checks.
The following are the various options available for Avi Load Balancer system upgrade:
Use the upgrade system image_ref <image name> command to upgrade the system to a base image.
[admin:-controller]: >upgrade system image_ref 18.2.6-9000-20191031.063017
Use the following to upgrade the system to a base image and a controller patch.
[admin:-controller]: >upgrade system image_ref 18.2.6-9134-20191101.042535 controller_patch_ref 18.2.6-9134-2p1-20190806.011824
Use the following to upgrade the system to a base image and an SE patch.
[admin:-controller]: >upgrade system image_ref 18.2.6-9134-20191101.042535 se_patch_ref 18.2.6-9134-2p1-20190806.011824
Use the following to upgrade the system to a base image, an Avi Load Balancer Controller patch, and an SE patch.
[admin:-controller]: >upgrade system image_ref 18.2.6-9134-20191101.042535 controller_patch_ref 18.2.6-9134-2p1-20190806.011824 se_patch_ref 18.2.6-9134-2p1-20190806.011824
SE Upgrades
The Controller allows you to pick up the number of SE-groups per Controller node.
-
seupgrade_fabric_pool_size
: -
This property allows the Controller to pickup number of SE groups per Controller to upgrade.
For instance, if seupgrade_fabric_pool_size
is set to 3, three SE-groups are picked up per Controller, that means 9 SE groups across the cluster.
The default value of seupgrade_fabric_pool_size is 20. However, you can update this based on the requirement or the load.
-
seupgrade_copy_pool_size
: -
This parameter defines the number of simultaneous SE image downloads in a SEGroup. It is used to pace the SE downloads so that Controller network/ CPU bandwidth is a bounded operation. A value of zero will disable the pacing scheme and all the SE(s) in the SEGroup will attempt to download the image.
seupgrade_copy_pool_size
= n, where ‘n’ is the number of SE within SE group will be picked for copy.
For instance, if seupgrade_copy_pool_size
= 3, the three SE in a picked up SE group will be picked for copy.
The default value of seupgrade_copy_pool_size is 5. However, you can update this based on the requirement or the load.
The following are the steps to configure this:
Configure the Controller properties.
Set
seupgrade_fabric_pool_size <number>
.Set
seupgrade_copy_pool_size <number>
.Save.
[admin:ctrl]: > configure controller properties [admin:ctrl]: controllerproperties> seupgrade_fabric_pool_size 2 Overwriting the previously entered value for seupgrade_fabric_pool_size [admin:ctrl]: controllerproperties> seupgrade_copy_pool_size 2 Overwriting the previously entered value for seupgrade_copy_pool_size [admin:ctrl]: controllerproperties> save [admin:ctrl]: > show controller properties |grep pool | seupgrade_fabric_pool_size | 2 | | seupgrade_copy_pool_size | 2 | [admin:ctrl]: >