Rolling back the upgrade
Consider rolling back the upgrade from 2.4.1 to your previous version only if you encounter serious issues, for example, if key functionality is broken or if your instance groups fail to work. If possible, try changing the instance group 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/). 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 rollback, the order of the rolling upgrade process is reversed. You roll back your cluster-level upgrade and then the host-level upgrade. Typically, you might 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
Results
What to do next
- After
you roll back the upgrade, to ensure that elk-shipper service starts properly, replace these files,
as follows:
- Stop the elk-shipper service:
egosh service stop elk-shipper - Include the filebeat.yml.template and conductor.yml
files into $EGO_TOP/integration/elk/conf/updatedfiles. For example:
echo "/filebeat.yml.template" >> $EGO_TOP/integration/elk/conf/updatedfiles echo "/shipper/conductor.yml" >> $EGO_TOP/integration/elk/conf/updatedfiles - Once you have confirmed that the elk-shipper service has stopped, replace those files on all hosts:
- Copy the $EGO_TOP/integration/elk/activation/conductorsparkcoreversion/conf/shipper/conductor.yml file to overwrite the $EGO_CONFDIR/../../integration/elk/conf/shipper/conductor.yml file.
- Copy the $EGO_TOP/integration/elk/activation/version/conf/filebeat.yml.template file to overwrite the $EGO_CONFDIR/../../integration/elk/conf/filebeat.yml.template file.
For example:cp $EGO_TOP/integration/elk/activation/conductorsparkcoreversion/conf/shipper/conductor.yml $EGO_CONFDIR/../../integration/elk/conf/shipper/conductor.yml cp $EGO_TOP/integration/elk/activation/version/conf/filebeat.yml.template $EGO_CONFDIR/../../integration/elk/conf/filebeat.yml.template - Restart the elk-shipper service for the changes to take
effect:
egosh service start elk-shipper
- Stop the elk-shipper service:
- Rolling back the upgrade to your previous version restores the configuration files, but not the product binaries, which remain and can affect your cluster if you plan to upgrade the product again. To ensure a clean environment, uninstall 2.4.1 (for details, see Uninstalling IBM Spectrum Conductor).
- Run the egoupgrade cluster command to redo the
cluster-level upgrade to version 2.4.1.
If you no longer want to upgrade, uninstall version 2.4.1 on your hosts. See Uninstalling IBM Spectrum Conductor.