Follow these steps if you are using IBM® Spectrum Symphony on Linux®. Note that you should consider rolling back to the upgraded version
only if you encounter serious issues, for example, if key functionality is broken or if your
applications fail to work. If possible, try changing the application to fix the issue rather than
rolling back the upgrade.
Before you begin
- Before rolling back your upgrade, ensure you stop all workload.
- Before you access the cluster management console, ensure that you clear the
GUI work directories ($EGO_TOP/gui/work/ and
$EGO_TOP/gui/workarea/ on Linux and Installation_top\gui\work\
and Installation_top\gui\work\ on Windows). Ensure also that
you clear your browser cache and cookies. As a cluster administrator, notify all users who connect
to the cluster management console to clear
their browser cache and cookies as well.
About this task
During a roll back, the order of the rolling upgrade process is reversed. You roll back your
cluster-level upgrade and then the host-level upgrade. Typically, you may not need to roll back the
upgrade on your hosts as well. If you must do this, first roll back the cluster, then roll back the
individual hosts in reverse order of the upgrade.
Procedure
-
Follow these steps when your cluster is installed to a local file system:
-
Log on to your primary
host as root, or as the cluster administrator with root access (by setting
egosetsudoers.sh to grant root privileges to the cluster administrator), ensure
that your cluster has started, and source the upgrade environment (especially if you plan to upgrade
the host after rollback):
- (csh) source $EGO_TOP/upgrade/conf/cshrc.upgrade
- (bash) . $EGO_TOP/upgrade/conf/profile.upgrade
- Run the cluster rollback
command:
-
Source the environment:
- (csh) source $EGO_TOP/cshrc.platform
- (bash) . $EGO_TOP/profile.platform
-
Complete this step only to remove IBM Spectrum Symphony
7.3.2 from your hosts. Typically,
after upgrading your hosts, you test that your host works properly before upgrading the
cluster-level configuration. Therefore, it is unlikely that you need to roll back the hosts to your
previous version of IBM Spectrum Symphony. However, if you must completely remove your upgraded version of IBM Spectrum Symphony from each host, complete
these steps:
- Log on to each of your compute hosts using the same user account that you
used to upgrade IBM Spectrum Symphony,
source the upgrade environment, and run the host rollback
command:
egoupgrade rollback host [-f]
Note: If you run this command to roll back the upgrade on the local
compute host, be aware that IBM Spectrum Symphony applications that require
updated features cannot run on the compute host.
For
syntax usage and details, see ../reference_sym/egoupgrade.html#reference_gxz_5nk_pw.
- Source the environment:
- (csh) source $EGO_TOP/cshrc.platform
- (bash) . $EGO_TOP/profile.platform
- Repeat steps 3a and
3b on your management hosts. Log
on to the host using the same user account that you used to upgrade IBM Spectrum Symphony.
- Repeat steps 3a and
3b on your primary candidate hosts. Log on to
the host using the same user account that you used to upgrade IBM Spectrum Symphony.
- Repeat steps 3a and
3b on your primary host. Log on to the host
using the same user account that you used to upgrade IBM Spectrum Symphony.
-
Follow these steps when your cluster is installed to a shared file system
(installing on a shared file system is supported on Linux):
-
Log on to your primary
host as root, or as the cluster administrator with root access (by setting
egosetsudoers.sh to grant root privileges to the cluster administrator), ensure
that your cluster has started, and source the upgrade environment:
- (csh) source $EGO_TOP/upgrade/conf/cshrc.upgrade
- (bash) . $EGO_TOP/upgrade/conf/profile.upgrade
-
Run the cluster rollback command:
-
If you must completely remove the configuration for your upgraded version, log on to any
compute host in your cluster, source the upgrade environment, and run the host rollback
command:
-
Source the environment:
- (csh) source $EGO_TOP/cshrc.platform
- (bash) . $EGO_TOP/profile.platform
-
Restart EGO on the local host:
egosh ego shutdown
egosh ego start
-
On all other compute hosts in your cluster, complete these steps:
- Source the environment:
- (csh) source $EGO_TOP/cshrc.platform.comp
- (bash) . $EGO_TOP/profile.platform.comp
- Restart EGO on the
host:
egosh ego shutdown
egosh ego start
Note: If you have more than one shared locations (for example, a separate
share for management hosts and another for compute hosts), you manually updated the
profile.platform.comp (or cshrc.platform.comp file when
using CSH) on compute hosts. After you rollback your upgrade, before you source the environment, you
must also edit the profile.platform.comp
(cshrc.platform.comp) file to use the upgraded product version.
-
Repeat steps 4 and 5 on all management hosts in your
cluster.
-
Repeat steps 4 and 5 on the primary host in your cluster.
Results
The upgraded IBM Spectrum Symphony configurations (including users and custom user roles, consumers, resource groups, resource
plans, or custom reports; and enabled features) is rolled back to the previous IBM Spectrum Symphony environment.
What to do next
If you have started the Elasticsearch services (such as
elk-elasticsearch, elk-elasticsearch-master, elk-elasticsearch-data), Elastic Stack management
service (elk-manager), or Explorer reports (Explorer) services, after your rolling upgrade, then
also disable these services after rolling back your upgrade.