
1 About This Document
1.1 Purpose
The purpose of this document is to describe the upgrade installation procedure of the Ericsson SNMP Agent (ESA).
The supported upgrade paths are the following:
- From ESA 4 to ESA 16
- From any ESA 16 version to a newer ESA 16 version
1.2 Target Group
The target group for this document is Ericsson personnel responsible for the upgrade installation of the ESA.
1.3 Prerequisites
It is assumed that the user of this document fulfils the following prerequisites.
- The user has system administrator authority to the server, in which the ESA is installed.
- The system has already an ESA 4 or ESA 16 installed.
1.4 Typographic Conventions
The typographic conventions used in this document are described in Reference [1].
2 Introduction
The document contains brief instructions about the steps to take for executing the upgrade process. For detailed information about ESA configuration files and configuration parameters, see Reference [3].
This document is divided in the following main parts:
- Upgrade from ESA 4 to ESA 16
The installation procedure is automated, which means the newer version replaces existing ESA 4 installation is automatically migrated.
Attention!If ESA cluster mode is used, a manual migration of configuration from the previous clusterCfg.xml to the new cluster.conf is needed because of the new cluster solution in ESA 16. Also, one additional tag is added to the mainCfg.xml which need to be configured if the ESA Master Agent cluster should be used.
- Upgrade an existing ESA 16 to a newer ESA 16 version
The installation procedure is automated, which means the newer version replaces existing ESA 16 installation and the configuration files are automatically migrated.
3 ESA Software
3.1 Overview
The ESA software consist of software packages for the ESA Basic Package and software packages for the optional ESA Monitoring Package; IBM Netcool SSM.
The IBM Netcool SSM package is only installed if purchased.
3.2 ESA Basic Package
The following software packages are for the ESA Basic Package.
- Linux: esa-<version>.rpm
This package is deployed on the Linux platforms RHEL and SLES.
- Unix: esa-<version>.sh
This package is deployed on all Unix variants, which means Solaris, RHEL and SLES.
- Windows: esa-<version>.exe
This package is deployed on Windows.
3.3 IBM Netcool SSM
The IBM Netcool SSM is an option to the ESA Basic Package. If the SSM option has been purchased, one or several of the following packages are also to be considered during installation.
The following software packages are used for upgrading the IBM Netcool SSM option. They shall be deployed in the order of appearance.
Please not that if available fix packs and/or patches for the IBM Netcool SSM component, they need to be installed separately.
- Linux x86/x64:
These packages are deployed on RHEL and SLES running on the x86/x64 platform.
- netcool-ssm-<version>-linux-x86.installer
or
netcool-ssm-<version>-linux-x86_64.installer
- netcool-ssm-<version>-linux-x86.installer
- Solaris sparc:
These packages are deployed on Solaris running on the sparc platform.
- netcool-ssm-<version>-solaris-sparc.installer
- Solaris x86/x64:
These packages are deployed on Solaris running on the x86/x64 platform.
- netcool-ssm-<version>-solaris-x86.installer
or
netcool-ssm-<version>-solaris-x86_64.installer
- netcool-ssm-<version>-solaris-x86.installer
- Windows:
These packages are deployed on Windows running on the x86/x64 platform.
- netcool-ssm-<version>-win32.exe
4 Upgrade of ESA
4.1 Introduction
An existing ESA deployment (ESA 4 or later) can be upgraded to a newer ESA version using an automated upgrade procedure with a manual migration of the cluster configuration file, if cluster mode is activated.
The installer application can run in three different modes; GUI, Console and Silent.
- GUI
The manual and interactive Graphical User Interface (GUI) mode supports an upgrade process through Wizard Panels and Dialog Boxes.
Go to Section 4.2.
- Console
The manual and interactive Console or Command Line Interface (CLI) mode is primarily used for remote upgrades, or on systems without a graphical window environment.
Go to Section 4.3.
- Silent
The silent mode do not interact with the user at all. An additional parameter is given to achieve a silent upgrade.
Go to Section 4.4.
- Linux RPM
The Linux RPM upgrade is only supported for ESA 16 and later.
Go to Section 4.5.
Please note that the logging configurations are set to default logging configuration during the upgrade procedure, which means the existing log4j configurations are overwritten. The logging configuration used in the ESA prior to the upgrade is however stored in backup directory {esa basedir}/.backup. If needed, the logging configuration can be manually copied to restore the logging configuration to what it was prior to the upgrade.
Note that fix packs and/or patches for the IBM Netcool SSM component can be included. See Section 4.6 for further information.
4.2 GUI Mode Upgrade
The GUI mode upgrade procedure:
- Login to the server where the ESA is to be upgraded.
- Prepare the ESA software package(s) to install. See Section 3.2.
- Start the installer application in GUI mode.
Unix # sh esa-<version>.sh Windows C:\> esa-<version>.exe Please note that the upgrade file is the same as the installation file. The installation will detect an existing ESA installation.
- The installation detects an existing ESA installation
and presents an overview of the upgrade scenario.
Click Next to continue the upgrade process.
- Make the selection to start the ESA after upgrade or not.
Check the box if the ESA shall start up immediately after upgrade.
- Note:
- Do not check the box to automatically start ESA after the upgrade if ESA cluster mode is used. Manual migration of the clusterCfg.xml and the mainCfg.xml is needed prior to ESA processes are started. Please see Section 4.7 Configuration files migration how to do the migration.
Click Next to continue the upgrade process.
- The upgrade summary is presented, including selected options.
Click Next to continue the upgrade process.
- The ESA upgrade is finished.
Click Finish to end the upgrade process.
- If logging configurations are backed up during the upgrade, they can be found in {esa basedir}/.backup. If needed, manually copy the missing logging configuration from the backed up files to the newly upgraded logging configuration files.
4.3 Console Mode Upgrade
The console mode upgrade procedure:
- Login to the server where the ESA is to be installed.
- Prepare the ESA software package(s) to install. See Section 3.2.
- Start the installer application in console mode.
Unix # sh esa-<version>.sh -c Windows C:\> start /wait esa-<version>.exe -c The installation can at any time be stopped by using the operating environment key combination for stop process, such as using key combination CTRL+C.
- Make the selection to start the ESA after upgrade or not.
Welcome to the Ericsson SNMP Agent Setup Wizard Do you want to start Ericsson SNMP Agent after upgrade? Start Ericsson SNMP Agent after upgrade? Yes [y], No [n, Enter]
Enter y and press Enter to continue the upgrade process.
- Note:
- Do not choos to automatically start ESA after the upgrade if ESA cluster mode is used. Manual migration of the clusterCfg.xml and the mainCfg.xml is needed prior to ESA processes are started. Please see Section 4.7 Configuration files migration how to do the migration.
- An upgrade summary is presented and the upgrade procedure
is initiated and finalized.
Ericsson SNMP Agent is updated to the following version. Installed version <current version> Installation directory <directory> Product name: Ericsson SNMP Agent Product version: <new version> Product number: 190 89-CXC <product number> Product revision: R<revision> Start ESA after upgrade: yes Stopping services Stopping Services Extracting files ... Starting services Setup has finished installing Ericsson SNMP Agent on your computer. Finishing installation ...
- The upgrade is finished.
- If logging configurations are backed up during the upgrade, they can be found in {esa basedir}/.backup. If needed, manually copy the missing logging configuration from the backed up files to the newly upgraded logging configuration files.
4.4 Silent Mode Upgrade
The silent mode upgrade procedure:
- Login to the server where the ESA is to be upgraded.
- Prepare the ESA software package(s) to install. See Section 3.2.
- Start the installer application in silent mode.
Unix # sh esa-<version>.sh -q Windows C:\> esa-<version>.exe -q -console - Note:
- Argument -console only provides the option to output the upgrade text to the console. It can be left out.
Please note that the upgrade file is the same as the installation file. The installation will detect an existing ESA installation.
- After the silent mode upgrade has finished, the ESA processes are not running.
- If cluster mode is used in the ESA installation, please follow the steps in Section 4.7 Configuration files migration to manually migrate the ESA 4 cluster and main configuration files to the new ESA 16 format. If cluster mode is not used, please ignore this step and proceed to the next step.
- If logging configurations are backed up during the upgrade, they can be found in {esa basedir}/.backup. If needed, manually copy the missing logging configuration from the backed up files to the newly upgraded logging configuration files.
4.5 Linux RPM Upgrade
The Linux RPM upgrade is not supported for the ESA 4 RPM package. In case of an ESA 4 to ESA 16 upgrade, the existing installation must be uninstalled and the new version installed.
Please note that using the backup command on the existing installation and then restore command on the new installation is not recommended. There are changes in the configuration files that will make the new installation to not start properly.
Instead, please use the silent installation method with a response file in order to mimic the installation to upgrade.
The Linux RPM upgrade procedure for ESA 16 and later:
The ESA 16 RPM is upgradeable, meaning that RPM upgrade from ESA 16 to a later version is supported.
- Login to the server where the ESA is to be installed.
- Upgrade the ESA Linux RPM package.
# rpm -Uvh esa-<version>.rpm
- The Linux RPM package is upgraded.
4.6 IBM Netcool SSM Upgrade
4.6.1 Introduction
The IBM Netcool SSM in the ESA product package is installed separately from the ESA Basic Package, which means the SSM binaries, configuration files and log files are not found in the ESA directories.
The SSM installer application can run in two different modes; Console and Silent. A GUI mode upgrade procedure is only supported on Windows.
4.6.2 Upgrade SSM
The upgrade procedure:
- Login to the server where the SSM is to be upgraded.
Linux/Unix Login as user root. Windows Login as the system administrator. - Note:
- The reason for installing as user root is that the SSM requires access to system resources for efficient and proper system monitoring.
- Prepare the SSM software package(s) to use in the upgrade process. See Section 3.3.
- First, execute the installer file.
The following command line format is used for Unix/Linux.
./netcool-ssm-<version>-<platform>-<arch>.installer [install|upgrade] [silent|record] [<param>=<value> ...]
The following is an example command line showing the use of command option upgrade.
./netcool-ssm-<version>-<platform>-<arch>.installer upgrade silent
- Second, execute the Fix Pack run installer.
See SSM documentation Reference [6] for further details and options about installing the SSM Fix Pack.
- Third, execute additional patch package run installers
that applies to the platform you are using.
See SSM documentation Reference [6] for further details and options about installing the patches.
- Upgrade is finished.
4.7 Configuration files migration
After the upgrade is performed, one additional tag is added to the mainCfg.xml: <ma active="data">. If the Master Agent cluster should be used, set this tag to yes and if not, leave it as no. The Master Agent cluster is only used if SNMPv3 and VIP is to be used. Please see Reference [3] for more information about the Master Agent cluster.
The following shows the different formats between ESA 4 and ESA 16:
Configuration format ESA 4:
<cluster active="data" master="data">
<fm active="data">
<alarmPersistency>data</alarmPersistency>
</fm>
</cluster>
|
Configuration format ESA 16:
<cluster active="data" master="data">
<ma active="data">
<fm active="data">
<alarmPersistency>data</alarmPersistency>
</fm>
</cluster>
|
A new configuration file called cluster.conf is created in directory {esa basedir}/conf. This file will replace the old clusterCfg.xml file used in the ESA 4 cluster solution.
Consider the following tags in the clusterCfg.xml:
- bind_addr
This parameter holds the IP address of the node where the ESA being configured is running. The same IP address should be used in the hostname tag in the cluster.conf.
- initial_hosts
This attribute lists all the cluster members, using IP address and port number. Copy all IP addresses and use them in the seed_ip_address in the seed-nodes list(s) in the cluster.conf
The following formats are the expected:
Configuration example ESA 4: <TCP bind_addr="10.1.1.1" bind_port="2551" singleton_name="esa-cluster" /> <TCPPING initial_hosts="10.1.1.1[2551], 10.1.1.2[2551], 10.1.1.3[2551]" port_range="0" />
The configuration below is a mapped JGroups configuration for TCP-ping to an Akka TCP configuration where both the FM and the Master clusters are activated:
Configuration example ESA 16: FmAgent{ ... cluster { seed-nodes = [ "akka.tcp://FMCluster@10.1.1.1:2551", "akka.tcp://FMCluster@10.1.1.2:2551", "akka.tcp://FMCluster@10.1.1.3:2551"] } remote { enabled-transports = ["akka.remote.netty.tcp"] netty { tcp { hostname = "10.1.1.1" port = 2551 } } } ... } MasterAgent{ ... cluster { seed-nodes = [ "akka.tcp://MACluster@10.1.1.1:2552", "akka.tcp://MACluster@10.1.1.2:2552", "akka.tcp://MACluster@10.1.1.3:2552"] } remote { enabled-transports = ["akka.remote.netty.tcp"] netty { tcp { hostname = "10.1.1.1" port = 2552 } } } ... }- Note:
- Please see Reference [3] for more information about the ESA 16 cluster setup and configuration.
- After all nodes are migrated and all ESA services are
running, run the
# esaclusterstatus
command on all nodes and make sure that all of them has joined the cluster. Please see Reference [3] for information about the Cluster Status command.
- When all nodes are upgraded and has joined the new Akka cluster, the old clusterCfg.xml can be removed from the {esa basedir}/conf.
Glossary
| Glossary |
| ESA Glossary of Terms and Acronyms, 0033-CSH 109 532 |
Reference List
| ESA Documentation |
|---|
| [1] ESA Library Overview, DIRECTIONS FOR USE, 1/1553-CSH 109 532 |
| [2] ESA Installation Instruction, INSTALLATION INSTRUCTIONS, 1531-CSH 109 532 |
| [3] ESA Setup and Configuration, SYSTEM ADMINISTRATION GUIDE, 1/1543-CSH 109 532 |

Contents



