Remove stale media server cluster and server data in System Manager

Last Updated : Apr 07, 2023 |
Prolog information

Condition

When the media servers are configured to work with System Manager, it may occur that the media server cluster and server data in System Manager becomes invalid or stale. This situation would occur when administrators make change to the media server cluster configuration before first disenrolling the media server cluster from System Manager.

Proposed Solutions

Use the utility script aamsdatautils.sh on System Manager to clean up the stale media server cluster and server data from System Manager database.
Important:
The script must be run as root.

Procedure

  1. Get the cluster names, server names, and server IP addresses for cleanup.
  2. SSH to the System Manager server. Change user to root. Change work directory to /opt/Avaya/mediaserver/utils.
  3. Run the script.
    ADDITIONAL INFORMATION:
    For example:
    ./aamsdatautils.sh --cleanup "cluster 1,cluster 2" "amsName 1,amsName 2" 10.100.200.1,10.100.200.2
    or
    ./aamsdatautils.sh --cleanup cluster1,cluster2 amsName1,amsName2 10.100.200.1,10.100.200.2
  4. Log into System Manager web console. Navigate to the ElementsMedia ServerCluster Administration and ElementsMedia ServerServer Administration to verify the media server cluster and server data has been properly cleaned up.
    ADDITIONAL INFORMATION:
    Note:
    • Ensure to get the correct cluster names, media server names, and media server IP addresses for cleanup. Administrators can check the information through System Manager ElementsMedia ServerCluster Administration and ElementsMedia ServerServer Administration.
    • If a cluster name or a server name contains a whitespace, use single or double quotes to enclose the whole cluster name or server name input.
    • Multiple cluster names, server names, and server IP addresses are separated by a comma ‘,’.
    • The utility script can only properly handle whitespaces in cluster and server names starting with System Manager future releases 8.1.3.8 and 10.1.3.1. For removing stale media server data with whitespaces in earlier System Manager releases, contact Avaya support for assistance.