Upgrading Versa Appliances(FlexVNF/Director/Analytics) Using CLI

================================================================


==> Check current release.

Administrator@versa-director> show system package-info

  Package             Versa Director Software

  Release             16.1R1

  Build               S3.5

  Release date        20171204

  Package id          aff7bb0

  UI Package id

  Package name        versa-director-20171204-112911-aff7bb0-16.1R1S3

  Branch              16.1R1S3


==> Check if desired package is already available or not. Upgrade file ends with .bin.

Administrator@versa-director> request system package list

packages {

    name versa-director-20171204-112911-aff7bb0-16.1R1S3.deb

}

packages {

    name *.bin

}


==> Check the directory of current release "versa-director-20171204-112911-aff7bb0-16.1R1S3.deb". You need to copy .bin file to

the same location.

- Go to root directory

cd /


- Search the file "versa-director-20171204-112911-aff7bb0-16.1R1S3.deb".

admin@versa-director:/$ find . -name versa-director-20171204-112911-aff7bb0-16.1R1S3.deb

./var/versa/packages/vnms/versa-director-20171204-112911-aff7bb0-16.1R1S3.deb


For Versa-Director:

- Copy .bin file to "/var/versa/packages/vnms/" directory.


For Versa FlexVNF/Analytics:

- Copy .bin file to "/home/versa/packages/" directory.


admin@versa-director:/$ scp lal@10.192.135.1:/home/lal/versa-director-20180220-113539-0acf224-16.1R1.bin var/versa/packages/vnms/  <---- replace this with /home/versa/packages/ in case you are upgrading branch

The authenticity of host '10.192.135.1 (10.192.135.1)' can't be established.

ECDSA key fingerprint is 48:6f:19:a0:9e:85:29:7c:9c:9b:93:c2:55:d7:b3:10.

Are you sure you want to continue connecting (yes/no)? yes

Warning: Permanently added '10.192.135.1' (ECDSA) to the list of known hosts.

lal@10.192.135.1's password: <<<<enter the password here.

versa-director-20180220-113539-0acf224-16.1R1.bin                                                                                                                             100%  403MB 100.8MB/s   00:04


==> Confirm that .bin file is available for upgrade.

Administrator@versa-director> request system package list

packages {

    name versa-director-20171204-112911-aff7bb0-16.1R1S3.deb

}

packages {

    name versa-director-20180220-113539-0acf224-16.1R1.bin

}


==> Upgrade from R1S3.5 to R1S5. Upgrade takes around 5 to 10 minutes. While upgrade is going on, do not configure or do anything

on the box. No need to reboot the box after an upgrade.

Administrator@versa-director> request system package upgrade versa-director-20180220-113539-0acf224-16.1R1.bin

Will restart Versa Director (all processes). Are you sure? [no,yes] yes

status  Installing..

[ok][2018-09-04 03:55:56]

Administrator@versa-director> Starting upgrade..

Stopping vnms service..

admin@versa-director:/$ Taking vnms backup..

Removing existing vnms package..

Installing vnms package..

<snip>

VNMS started successfully..

Upgrade to versa-director-20180220-113539-0acf224-16.1R1.bin successful!


==> Now confirm that the new release is reflected.

Administrator@versa-director> show system package-info


  Package             Versa Director Software

  Release             16.1R1

  Build               S5

  Release date        20180220

  Package id          0acf224

  UI Package id       53f2526

  Package name        versa-director-20180220-113539-0acf224-16.1R1

  Branch              16.1R1