Print

Removing the Appliance Virtualization Platform patch from the ESXi host CLI

About this task

Use the procedure to restore the Appliance Virtualization Platform software to the earlier version.

In this procedure, the command installs the older release on the new release that you want to replace.

noteNote

You can remove the Appliance Virtualization Platform patch only from the host CLI. You cannot use System Manager Solution Deployment Manager or the Solution Deployment Manager client.

Before you begin

Procedure

  1. To stop all virtual machines that are running on the Appliance Virtualization Platform host, at the prompt, type /opt/avaya/bin/stopallvms.py.
  2. To rollback from Appliance Virtualization Platform Release 7.1.3 to any of the previous releases, perform the following:
    1. Type the /opt/avaya/bin/rollback_bootbank.sh /vmfs/volumes/server-local-disk/<complete path name of the rollback patch> command.

      Ensure to type the complete path name of the rollback patch. Do not use a relative path.

      To rollback from Appliance Virtualization Platform Release 7.1.3 to Release 7.0.0.x (avaya-avp-7.0.0.1.0.2.zip), type the following command:

      /opt/avaya/bin/rollback_bootbank.sh /vmfs/volumes/server-local-disk/avaya-avp-7.1.0.0.0.9.zip

    2. To reboot the system, type /opt/avaya/bin/avpshutdown.sh -r.
  3. To rollback from Appliance Virtualization Platform Release 7.1.2 to Release 7.1.0.x, perform the following:
    1. Type the /opt/avaya/bin/rollback_bootbank.sh /vmfs/volumes/server-local-disk/<avaya-avp-7.1.0.0.0.9.zip> command.

      Ensure to type the complete path name of the rollback patch. Do not use a relative path.

    2. To reboot the system, type /opt/avaya/bin/avpshutdown.sh -r.
    3. To enable SSH by using the Solution Deployment Manager client, on VM Management, click More Actions > Enable SSH.

      You can also enable SSH by using the VMware vSphere client.

    Issue the following commands after reboot:

    /opt/avaya/bin/reduceReservation.sh
    /opt/avaya/bin/installvibs.sh
    reboot
  4. To rollback from Appliance Virtualization Platform Release 7.1.2 to Release 7.0.0.x, perform the following:
    1. Type the /opt/avaya/bin/rollback_bootbank.sh /vmfs/volumes/server-local-disk/<avaya-avp-7.1.0.0.0.9.zip> command.
      ramgb=$(($(esxcli --formatter=keyvalue hardware memory get \
       | grep -e "Memory\.PhysicalMemory\.integer" \
       | cut -d "=" -f 2) / (1024 * 1024 * 1024)))
      if [ "$ramgb" -le 48 ]; then
      memMinFreePct=1
      if [ "$ramgb" -le 16 ]; then
      memMinFreePct=2
      fi
      esxcli system settings advanced set -o /Mem/MemMinFreePct -i $memMinFreePct
      fi

      Ensure to type the complete path name of the rollback patch. Do not use a relative path.

    2. To reboot the system, type /opt/avaya/bin/avpshutdown.sh -r.
    3. To enable SSH by using the Solution Deployment Manager client, on VM Management, click More Actions > Enable SSH.

      You can also enable SSH by using the VMware vSphere client.

    Issue the following commands after reboot:

    /opt/avaya/bin/reduceReservation.sh
    /opt/avaya/bin/installvibs.sh
    reboot
  5. To rollback from Appliance Virtualization Platform Release 7.0.1.0.5 or 7.1.0.x to Release 7.0.0.0.0.21, type /opt/avaya/bin/rollback_bootbank.sh /vmfs/volumes/server-local-disk/<avaya-avp-7.0.0.0.0.21.zip>.

Next Steps

Verify the Appliance Virtualization Platform software release and the ESXi version.