# Avaya Diagnostic Server - ADS

# Administration, upgrades and maintenances

# ADS - Backup

Creating a backup for any device in the network is important.

ADS has its own automatic process to create scheduled backups and upload it to a remote server.

The most important part is having an SFTP server running and accessible from the ADS IP address. To implement the automatic backup of ADS expand ***Configuration*** menu then select ***Backup Configuration***

<div class="wp-block-group has-white-background-color has-background is-layout-flow" id="bkmrk-"><div class="wp-block-group has-white-background-color has-background is-layout-flow"><div class="entry-content wp-block-post-content is-layout-flow"><figure class="wp-block-image aligncenter size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-338.png)</figure></div></div></div>In the next screen select ***Schedule Backup***

<div class="wp-block-group has-white-background-color has-background is-layout-flow" id="bkmrk--1"><div class="wp-block-group has-white-background-color has-background is-layout-flow"><div class="entry-content wp-block-post-content is-layout-flow"><figure class="wp-block-image aligncenter size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-339.png)</figure></div></div></div>Enter the information that fill out your needs.

In the backup method select SFTP and enter the information already set up in your server.

Backup history provides information for the last backup created.

# ADS - Migrate ADS v3.3 to v4.0 Export/Import Managed Devices

Migrate from ADS v3.3 to v4.0 can be implemented using Export/Import Managed Devices in the web portals.

In the current ADS 3.3 use the option Export, this will create a CSV file with all the managed devices

<div class="entry-content wp-block-post-content is-layout-flow" id="bkmrk-"><div class="entry-content wp-block-post-content is-layout-flow"><figure class="wp-block-image size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-340.png)</figure></div></div>Deploy the OVA for version 4.0 (this deploy will only install the OS required to run ADS).

Change the default password for admin (admin01) and root (root01) users in ADS OS, password will be required to change after first login.

After changing the password for root, ADS wizard runs by default, it will require default information for OS (hostname, IP, mask, gateway, DNS and timezone):

<div class="entry-content wp-block-post-content is-layout-flow" id="bkmrk--1"><div class="entry-content wp-block-post-content is-layout-flow"><figure class="wp-block-image size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-341.png)</figure><figure class="wp-block-image size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-342.png)</figure><figure class="wp-block-image size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-343.png)</figure></div></div>Avaya Diagnostic Server comes with software installer which is located in folder /installer

This is the GA software any updates or service packs needs to be applied after installing the GA software.

In this case only ADS 4.0 will be installed.

Move to /installer/ and extract the files to start the implementation of the ADS, issue the command:

***tar -xvf ADS-Installer-4.0.0.0-843.tar.gz***

<div class="entry-content wp-block-post-content is-layout-flow" id="bkmrk--2"><div class="entry-content wp-block-post-content is-layout-flow"><figure class="wp-block-image size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-344.png)</figure></div></div>After extracting a new folder is now available in the /installer folder, issue the following command to check this new folder:

***ls -ltr***

<div class="entry-content wp-block-post-content is-layout-flow" id="bkmrk--3"><div class="entry-content wp-block-post-content is-layout-flow"><figure class="wp-block-image size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-345.png)</figure></div></div>Move to the new folder, use the following command:

***cd*** ***ADS-Installer-4.0.0.0-843***

<div class="entry-content wp-block-post-content is-layout-flow" id="bkmrk--4"><div class="entry-content wp-block-post-content is-layout-flow"><figure class="wp-block-image size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-346.png)</figure></div></div>Modify parameters on *ADS\_Response.properties* file to perform an unattended installation (make sure SMTP parameters are included as they are mandatory to run the installation), use the following command:

***./install.sh -unattended***

After ADS installation is completed successfully, you should be able to access the web portal for ADS [https://IP\_Address:7443](https://ip_address:7443)

This CSV file can be used to be imported in the ADS 4.0

<div class="entry-content wp-block-post-content is-layout-flow" id="bkmrk--5"><figure class="wp-block-image size-large is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-347-1024x746.png)</figure></div>

# ADS - Installing Security Service Pack

Sometimes ADS require to have patches installed, here is the procedure followed to install Avaya Diagnostic Server 4.0 Security Service Pack SSP #2, detailed instructions can be found in [https://download.avaya.com/css/public/documents/101081346](https://download.avaya.com/css/public/documents/101081346)

<div class="entry-content wp-block-post-content is-layout-flow" id="bkmrk-download-service-pac">1. Download service pack file from Avaya and uploaded into Avaya Diagnostic Server 4.0 (in this example, file was uploaded to /home/admin folder)
2. Extract the file using ***tar -xvf ADS\_SAL\_SLAMON\_PM40\_SSP\_002\_01.tar.gz***
3. Current SSP version can be verified using ***/opt/avaya/common-os/bin/av-version***
4. Run the patch installer using ***./apply\_ssp.sh AV-ADS4.0-RHEL8.4-SSP-002-01.tar.bz2***
5. Verify the new SSP version ***/opt/avaya/common-os/bin/av-version***
6. Reboot

<figure class="wp-block-image size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-361.png)</figure><figure class="wp-block-image size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-362.png)</figure></div>

# ADS - Migrate ADS v3.3 to v4.0 migration backup

In a previous entry, same upgrade was implemented using export/import devices, but we will work now performing the same upgrade but now using a migration backup in ADS v3.3 and restoring it in ADS v4.0, this is my preferred was as all settings and administration tasks (scheduled backups and other settings) are included in the migration backup.

The first step is create the migration backup in ADS v3.3 using the following commands:

***mkdir /tmp/backup*** &lt;- create a folder to save the backup file

***cd /opt/avaya/ads/backuprestore*** &lt;- move to the script folder used for the backup

***./migration\_backup.sh /tmp/backup*** &lt;- create a migration backup file in the folder created in the first step

<div class="entry-content wp-block-post-content is-layout-flow" id="bkmrk-"><div class="entry-content wp-block-post-content is-layout-flow"><figure class="wp-block-image size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-348.png)</figure></div></div>Verify the result backup file created with the following command:

***ls -ltr /tmp/backup***

<div class="entry-content wp-block-post-content is-layout-flow" id="bkmrk--1"><div class="entry-content wp-block-post-content is-layout-flow"><figure class="wp-block-image size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-349.png)</figure></div></div>The next step is to download the file to your PC which will be used in the next steps.

Deploy the OVA for version 4.0, it’s important to note that this deploy will only install the OS required, ADS software needs to be installed and configured.

After VM is installed try log in into the new ADS v4.0 using the default passwords.

You will be forced to change the default password for admin (admin01) and root (root01) users in ADS OS after first login.

As soon as you change the root password, ADS wizard runs by default, it will require default information for OS (hostname, IP, mask, gateway, DNS and timezone).

Make sure old ADS v3.3 is turned off before you take same the IP address to avoid duplicated IP address in your network.

<div class="entry-content wp-block-post-content is-layout-flow" id="bkmrk--2"><div class="entry-content wp-block-post-content is-layout-flow"><figure class="wp-block-image size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-350.png)</figure><figure class="wp-block-image size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-351.png)</figure><figure class="wp-block-image size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-352.png)</figure></div></div>At this point ADS is now available in the network.

Upload the migration backup file created at the beginning of this document into ADS v4.0 (you can use any SFTP client like WinSCP) in this case file was uploaded in /home/admin

<div class="entry-content wp-block-post-content is-layout-flow" id="bkmrk--3"><div class="entry-content wp-block-post-content is-layout-flow"><figure class="wp-block-image size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-353.png)</figure></div></div>Avaya Diagnostic Server comes with GA software installer located in /installer, any updates or service packs needs to be applied after installing the GA software.

In this case only ADS 4.0 will be installed (no Policy Manager will be deployed).

Move to /installer/ and extract the files to start the implementation of the ADS, issue the command:

***cd /installer***

***tar -xvf ADS-Installer-4.0.0.0-843.tar.gz***

<div class="entry-content wp-block-post-content is-layout-flow" id="bkmrk--4"><div class="entry-content wp-block-post-content is-layout-flow"><figure class="wp-block-image size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-354.png)</figure></div></div>After extracting, a new folder is now available in the /installer folder, issue the following command to list the folder:

***ls -ltr***

<div class="entry-content wp-block-post-content is-layout-flow" id="bkmrk--5"><div class="entry-content wp-block-post-content is-layout-flow"><figure class="wp-block-image size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-355.png)</figure></div></div>Move to the new folder, use the following command:

***cd ADS-Installer-4.0.0.0-843***

<div class="entry-content wp-block-post-content is-layout-flow" id="bkmrk--6"><div class="entry-content wp-block-post-content is-layout-flow"><figure class="wp-block-image size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-356.png)</figure></div></div>When listing all files inside ***/installer/ADS-Installer-4.0.0.0-843*** you will need to modify ADS\_Response.properties.

This file is used to run a silent installation of ADS.

<div class="entry-content wp-block-post-content is-layout-flow" id="bkmrk--7"><div class="entry-content wp-block-post-content is-layout-flow"><figure class="wp-block-image size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-357.png)</figure></div></div>Use vi or any other text file editor you feel comfortable.

Modify ADS\_Response.properties with the corresponding values

<div class="entry-content wp-block-post-content is-layout-flow" id="bkmrk-for-the-ads_agreelic"><div class="entry-content wp-block-post-content is-layout-flow">- For the ADS\_AGREELICENSE property in the response file, replace the value n with y.
- For the BACKUP\_FILE\_PATH property, set the value as the full path of the backup file. (include the file name and extension)
- For the AGREE\_ADS\_COMPONENTS\_CORESIDENT property, replace the value n with y, if user is installing both SAL Gateway and SLA Mon.
- For the ADS\_COMPONENT\_TO\_INSTALL property, set the value as 3, if user is installing both SAL Gateway and SLA Mon.

<figure class="wp-block-image size-full is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-358.png)</figure></div></div>After ADS installation is completed successfully, you should be able to access the web portal for ADS [https://IP\_Address:7443](https://ip_address:7443)

Verify all managed devices are loaded correctly.

<div class="entry-content wp-block-post-content is-layout-flow" id="bkmrk--8"><figure class="wp-block-image size-large is-resized">![](https://whereismyvoicepacket.com/wp-content/uploads/2022/10/image-360-1024x746.png)</figure></div>