Uploading Avi LB Upgrade Images via SCP and CLI
search cancel

Uploading Avi LB Upgrade Images via SCP and CLI

book

Article ID: 424844

calendar_today

Updated On:

Products

VMware Avi Load Balancer

Issue/Introduction

Administrators may occasionally encounter issues where uploading an upgrade image through the Avi Controller UI times out or fails to complete.

Cause

This issue typically occurs due to network environment limitations, such as low bandwidth, high latency, or intermediate proxies that restrict large file transfers or long-lived connections between the client and the Controller

Resolution

If the UI upload fails, the upgrade package can be manually uploaded using SCP followed by an import via the Avi CLI.

Follow the steps below to complete this process:

  1. Use SCP to copy the upgrade package from your local machine to the Leader Controller. Example SCP command:

    scp controller-30.2.5-9056.pkg admin@<CONTROLLER_IP>:/tmp/
    
  2. SSH into the Leader Controller and access the Avi shell by typing "shell".

  3. Run the upload image command pointing to the file location in /tmp.

    > upload image filename /tmp/controller-30.2.5-9056.pkg