# Administration, upgrades and maintenances

# Avaya SBCE - Hotfix Installation 8.X

Avaya SBCEs requires patches and hotfixes to be applied regularly.

In this entry lets document the procdure to install a hotfix in a Avaya SBCE 8.1.3

Its important to mention that:

<div class="is-layout-flow entry-content wp-block-post-content" id="bkmrk-the-procedure-is-sim"><div class="is-layout-flow entry-content wp-block-post-content">- the procedure is similar for the EMS and SBCE devices.
- root access is required as to stop services and execute the script
- always start with EMS servers
- if SBCE HA start with the secondary servers
- download the correct patch and verify any official changes in the procedure

</div></div>With the previous comments made, here is the procedure to apply a hotfix/patch :

```bash
1)	Upload hotfix file to /home/ipcs

2)	Change permissions to the file chmod 777 sbce-8.x.x.-xx-xxxxx-hotfix-xxxxxxxx.tar.gz

3)	Unzip the hotfix file tar -zxvf sbce-8.x.x.-xx-xxxxx-hotfix-xxxxxxxx.tar.gz

4)	Change work directory cd sbce-8.x.x.-xx-xxxxx-hotfix-xxxxxxxx

5)	Stop services before patching /etc/init.d/ipcs-init stop

6)	Start the script sh install_hotfix.sh

7)	Reboot /sbin/reboot

8)	Verify version with ipcs-version
```

# Avaya SBCE - Upgrade 8.1.0 to 8.1.2 in VMWare

The following procedure was applied to Upgrade Avaya SBCE solution from 8.1.0 to 8.1.2

One key note using this procedure is that the current VMs were not upgraded, new VMs were deployed (maintaining old VMs were turned off and keep just in case rollback is required). In the next entry we will work in a procedure upgrading the current VMs in production.

Here are some important notes:

```
- New VMs installed with version 8.1.2 require same IPs.
- The order to migrate multiple systems is the following:
  1. Migrate data to the primary EMS first.
  2. Migrate data to the SBCE VMs in any order (HA pair, migrate data to the secondary SBCE 
     first, followed by the primary SBCE.
  3. Migrate data to the secondary EMS last.
```

Procedure

```

1) Download 8.1.2 OVA (sbce-8.1.2.0-31-19809.ova)

2) Download latest patch for 8.1.2 version

3) Download 8.1.2 uberutility

4) Create a backup file from current SBCEs in 8.1.0 using uberutility
   4.1) mkdir /archive/createbkp
   4.2) cd /archive/createbkp
   4.3) upload and copy 8.1.2 uberutility to /archive/createbkp
   4.4) decompress uberutility tar -xvf sbce-8.1.2.0-31-19809_uberutility-a50b843901b.tar.gz
   4.5) execute the following script decompress from uberutility
        python ursbce.py --takemigratebackup --filename_with_path=/archive/createbkp/sbce-backup-<version>-<sbce hostname>.tar.gz
   4.6) copy the file created to an external device making it available

5) Install the VMs using the OVA with their respective roles (EMS and SBCEs)

6) Set temporary IPs using the wizard thru the console

7) Upload the latest patch into the new VMs (connect using the temporal IPs)

8) Apply the latest patch in all new VMs

9) Upload each backup files created in step 4 to the corresponding new VM.

10) Perform a factory reset in each VM using
   sbceconfigurator.py factory-reset

11) Turn off the production SBCE servers (this must be implemented in a maintenance window)

12) Run the wizard in the new VMs using VMWare console

13) Copy the uploaded backup in each server to /archive/backup/upgrade

14) Restore backup (EMS must be migrated first)
   /usr/local/ipcs/icu/scripts/ursbce.py --restoremigratebackup --filename_with_path=/archive/backup/upgrade/file_name.

14) Reboot 

15) In case needed disable SIPS Required.
When doing an upgrade to Release 8.1.2 or later, the SIPS Required 
option in Server Interworking is automatically enabled after the upgrade. 
For any configurations that do not use this feature, you must manually 
disable this option after you do the upgrade. 
For example, you must disable this option in Server Interworking profiles 
when the deployment has or uses Microsoft Teams, Skype for Business, 
and Microsoft Lync.

```

# Avaya SBCE - Upgrade 8.1.3.0 to 8.1.3.1 in VMWare

In a previous entry an upgrade to Avaya SBCE solution was implemented migrating the backup from the current (old) to new VMs. In this entry an upgrade will be implemented but using the same production VMs.

Its important to mention that this upgrade will take more time to be implemented and more time to be rolled back (as the same production VMs are used and rolled back in case needed).

The following images show the current version of the EMS and SBCE (GUI and CLI)

<div class="is-layout-flow entry-content wp-block-post-content" id="bkmrk-"><div class="is-layout-flow entry-content wp-block-post-content"><figure class="wp-block-image size-large">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-299-1024x277.png)</figure><figure class="wp-block-image aligncenter size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-300.png)</figure><figure class="wp-block-image aligncenter size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-301.png)</figure></div></div>Here is the procedure to upgrade:

<div class="is-layout-flow entry-content wp-block-post-content" id="bkmrk-download-the-files-f"><div class="is-layout-flow entry-content wp-block-post-content">1. Download the files from Avaya Support.

</div></div>2\. Upload upgrade files in ***/archive/urpackages*** in EMS server (here is a screenshot)

<div class="is-layout-flow entry-content wp-block-post-content" id="bkmrk--1"><div class="is-layout-flow entry-content wp-block-post-content"><figure class="wp-block-image size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-310.png)</figure></div></div>After uploading the files, Software Management will show files and devices to copy files to

<div class="is-layout-flow entry-content wp-block-post-content" id="bkmrk--2"><div class="is-layout-flow entry-content wp-block-post-content"><figure class="wp-block-image size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-311.png)</figure></div></div>Additionally, the upgrade option is now available under Device Management -&gt; Updates

<div class="is-layout-flow entry-content wp-block-post-content" id="bkmrk--3"><div class="is-layout-flow entry-content wp-block-post-content"><figure class="wp-block-image size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-312.png)</figure></div></div>3\. Copy the packages to SBCE servers using Software Management to all SBCE servers.

<div class="is-layout-flow entry-content wp-block-post-content" id="bkmrk--4"><div class="is-layout-flow entry-content wp-block-post-content"><figure class="wp-block-image size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-313.png)</figure><figure class="wp-block-image size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-314.png)</figure></div></div>4\. Perform upgrade for EMS server first, Device Management -&gt; Updates -&gt; Upgrade

<div class="is-layout-flow entry-content wp-block-post-content" id="bkmrk--5"><div class="is-layout-flow entry-content wp-block-post-content"><figure class="wp-block-image size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-315.png)</figure><figure class="wp-block-image size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-316.png)</figure><figure class="wp-block-image size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-317.png)</figure><figure class="wp-block-image size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-318.png)</figure></div></div>5\. Verify upgrade in Device Management (EMS running 8.1.3.1), after EMS upgrade is normal that SBCEs are shown as Down.

<div class="is-layout-flow entry-content wp-block-post-content" id="bkmrk--6"><div class="is-layout-flow entry-content wp-block-post-content"><figure class="wp-block-image size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-319.png)</figure></div></div>6\. Continue upgrading SBCE servers Device Management -&gt; Updates -&gt; Upgrade (start with Secondary servers in HA environment)

<div class="is-layout-flow entry-content wp-block-post-content" id="bkmrk--7"><div class="is-layout-flow entry-content wp-block-post-content"><figure class="wp-block-image size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-320.png)</figure><figure class="wp-block-image size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-321.png)</figure><figure class="wp-block-image size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-322.png)</figure><figure class="wp-block-image size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-323.png)</figure><figure class="wp-block-image size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-324.png)</figure></div></div>7\. Verify upgrade in Device Management (SBCE running 8.1.3.1)

<div class="is-layout-flow entry-content wp-block-post-content" id="bkmrk--8"><div class="is-layout-flow entry-content wp-block-post-content"><figure class="wp-block-image size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-325.png)</figure></div></div>8\. Rollback is available under Device Management -&gt; Updates -&gt; Rollback

<div class="is-layout-flow entry-content wp-block-post-content" id="bkmrk--9"><div class="is-layout-flow entry-content wp-block-post-content"><figure class="wp-block-image size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-326.png)</figure><figure class="wp-block-image size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-327.png)</figure><figure class="wp-block-image size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-328.png)</figure><figure class="wp-block-image size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-329.png)</figure><figure class="wp-block-image size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-330.png)</figure></div></div>After SBCE downgrade is completed is normal to be marked as Down.

EMS needs to be downgraded.

<div class="is-layout-flow entry-content wp-block-post-content" id="bkmrk--10"><figure class="wp-block-image size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-331.png)</figure><figure class="wp-block-image size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-332.png)</figure><figure class="wp-block-image size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-333.png)</figure><figure class="wp-block-image size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-334.png)</figure><figure class="wp-block-image size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-335.png)</figure><figure class="wp-block-image aligncenter size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-336.png)</figure><figure class="wp-block-image aligncenter size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-337.png)</figure></div>