Details
If you have ERA Server installed in a Failover Cluster environment in Linux and wish to upgrade the installation, proceed with the steps below.
Solution
Manual upgrade from version 6.3 to latest version
- Disable EraService in Conga (Cluster Administration GUI) under Service groups and ensure that ERA Agent and ERA Server are stopped on both nodes.
-
Upgrade ERA Server on node1 by performing the following steps:
- Mount the shared storage to this node.
- Upgrade ERA Server manually to latest version by executing .sudo ./Server-Linux-x86_64.sh command in a Terminal window.
- Replace the old cluster script located at /usr/share/cluster/eracluster_server.sh with the new one found in /opt/eset/RemoteAdministrator/Server/setup/eracluster_server. Keep the old file name.
- Stop the ERA Server service (stop eraserver) after the upgrade
-
Disable ERA Server autostart by renaming the following 2 files:
mv /etc/init/eraserver.conf /etc/init/eraserver.conf.disabled
mv /etc/init/eraserver-xvfb.conf /etc/init/eraserver-xvfb.conf.disabled
- Unmount the shared storage from this node
- Upgrade ERA Server on node2 by performing the same steps as in previous point 2.
- Start EraService in Conga (Cluster Administration GUI) under Service groups.
- Upgrade ERA Agent on all cluster nodes.
- Check in ERA Console if all nodes are connecting, and if Agent and Server versions for all nodes report the latest version you upgraded to.
Manual upgrade from version 6.1 or 6.2 to version 6.3
- Disable EraService in Conga (Cluster Administration GUI) under Service groups and ensure that ERA Agent and ERA Server are stopped on both nodes.
-
Upgrade ERA Server on node1 by performing the following steps:
- Mount the shared storage to this node.
- Upgrade ERA Server manually to version 6.3 by executing .sudo ./Server-Linux-x86_64.sh command in a Terminal window
- Replace the old cluster script located at /usr/share/cluster/eracluster_server.sh with the new one found in /opt/eset/RemoteAdministrator/Server/setup/eracluster_server. Keep the old file name.
- Stop the ERA Server service (stop eraserver) after the upgrade
-
Disable ERA Server autostart by renaming the following 2 files:
mv /etc/init/eraserver.conf /etc/init/eraserver.conf.disabled
mv /etc/init/eraserver-xvfb.conf /etc/init/eraserver-xvfb.conf.disabled
- Unmount the shared storage from node1.
- Upgrade ERA Server on node2 by performing the same steps as in previous step no. 2.
-
Remove old agent from node1 by ferforming the following steps:
Command to list symbolic links in directory /etc/opt/:
find /etc/opt/ -maxdepth 1 -type l -ls
- Mount the shared storage to this node
- Uninstall old ERA Agent (use the installer script with --uninstall parameter)
-
Check whether your system has the following symbolic links
/etc/opt/eset -> /usr/share/erag2cluster/etc/opt/eset
/opt/eset -> /usr/share/erag2cluster/opt/eset
/var/log/eset -> /usr/share/erag2cluster/var/log/eset
/var/opt/eset -> /usr/share/erag2cluster/var/opt/eset
-
If those symbolic links exist, remove them using the commands below:
unlink /etc/opt/eset
unlink /opt/eset
unlink /var/log/eset
unlink /var/opt/eset
-
Create new symbolic links - for each of them corresponding folder needs to be created first. Use the commands below:
mkdir -p /etc/opt/eset/RemoteAdministrator
ln -s /usr/share/erag2cluster/etc/opt/eset/RemoteAdministrator/Server /etc/opt/eset/RemoteAdministrator/Server
mkdir -p /opt/eset/RemoteAdministrator
ln -s /usr/share/erag2cluster/opt/eset/RemoteAdministrator/Server /opt/eset/RemoteAdministrator/Server
mkdir -p /var/log/eset/RemoteAdministrator
ln -s /usr/share/erag2cluster/var/log/eset/RemoteAdministrator/Server /var/log/eset/RemoteAdministrator/Server
mkdir -p /var/opt/eset/RemoteAdministrator
ln -s /usr/share/erag2cluster/var/opt/eset/RemoteAdministrator/Server /var/opt/eset/RemoteAdministrator/Server
- Unmount the shared storage from this node
- Remove old ERA Agent from node2 by performing the same steps as in step no. 4.
- Start EraService in Conga (Cluster Administration GUI) under Service groups.
- Install ERA Agent on both nodes on the local disk (not on the shared cluster disk). When using the
--hostname=
command, you must specify the external IP address or hostname of the cluster's interface (not localhost!). - Check in ERA Console if all nodes are connecting, and if Agent and Server versions for all nodes report the latest version you upgraded to.