This topic describes how to roll back a master domain manager to a previous fix pack level or
release.![End of change](../../deltaend.gif)
Before you begin
Important: The first step of the procedure is to create a backup copy of some
directories before you install the new fix pack or upgrade to a new release. The backup is required
for the subsequent restore operation which returns the master domain manager to the previous version.
About this task
The rollback procedure is supported for a master domain manager that was installed using IBM Installation Manager. When upgrading the master domain manager, the installation also upgrades the
database. After the rollback procedure, the database remains at the newer fix pack level or release
and is not rolled back. It is still compatible with the master domain manager at the previous level.
You can revert back to an earlier version of an installed fix pack or release on the master domain manager by performing the following rollback
procedure.
Procedure
- Stop the IBM Workload Scheduler instance by
running the following commands:
- The backup phase. On the IBM Workload Scheduler
instance, run the following commands to create a backup copy of the directories needed for a
subsequent restore operation:
- Linux and UNIX
- Create a backup of the /var/ibm/InstallationManager directory, maintaining
the file and directory permissions:
cd /var/ibm
cp -fRp InstallationManager <REPOSITORY>
where <REPOSITORY> represents the directory where the backup files are
stored, for example, /repo.
- Back up the IBM Workload Scheduler instance:
mkdir <REPOSITORY>/instance
cd <TWA_HOME>/TWS/_uninstall/ACTIONTOOLS
./backupInstance.sh -backupDir <REPOSITORY>/instance
-installDir <TWA_HOME> -user <TWS_USER>
Verify that a sub-directory named with a timestamp has been created in the
<REPOSITORY>/instance directory.
- Back up the IBM Workload Scheduler registries:
mkdir <REPOSITORY>/registries
cd <REPOSITORY>/registries
cp -pR /etc/TWA .
cp -pR /etc/TWS .
- Windows
- Create a backup of the C:\ProgramData\ibm\Installation Manager\ directory
and store it in a directory, for example, C:\REPO\. In this procedure, the
backup directory is represented by <REPOSITORY>.
- Back up the IBM Workload Scheduler instance by
running the following commands:
create <REPOSITORY>\instance
cd <TWA_HOME>\TWS\_uninstall\ACTIONTOOLS
backupInstance.cmd -backupDir <REPOSITORY>\instance
-installDir <TWA_HOME> -user <TWS_USER>
Verify that a sub-directory named with a timestamp has been created in the
<REPOSITORY>\instance directory.
- Back up the IBM Workload Scheduler registries by
running the following commands:
create <REPOSITORY>\registries
create <REPOSITORY>\registries\TWS
- Copy the C:\Windows\TWSRegistry.dat file into the
<REPOSITORY>\registries\TWS directory.
- Copy the C:\Windows\TWA directory into the
<REPOSITORY>\registries directory.
cp -pR \etc\TWS .
- The restore phase. After installing the fix pack or upgrading to the new release, you perform
the restore phase when you want to revert back to the previous fix pack level or release. Complete
the following steps:
- Stop the IBM Workload Scheduler instance by
running the following commands:
- From the instance with the new fix pack level or release installed, create a backup copy of the
IBM Workload Scheduler core files and folders,
maintaining file permissions.
- Linux and UNIX
- Copy the files and folders as
follows:
mkdir <REPOSITORY>/core
cp -fRp Symphony Sinfonia Symnew *.msg pobox Jobtable jmJobTableDir
nxtjobno mozart stdlist schedlog <REPOSITORY>/core
- Windows
- Copy the following files from the <TWA_HOME>\TWS
directory to the <REPOSITORY>\core
directory:
create <REPOSITORY>\core
Symphony, Sinfonia, Symnew, *.msg, pobox\*.msg, Jobtable,
jmJobTableDir, nxtjobno, mozart, schedlog, stdlist
- Restore the IBM Workload Scheduler files.
- Linux and UNIX
- Restore IBM Installation Manager registries by
running the following commands. In this example, 94fp2 refers to the newer installation.
cd /var/ibm
mv InstallationManager InstallationManager.94fp2
cp -fRp <REPOSITORY>/InstallationManager
- Restore the IBM Workload Scheduler instance by
running the following commands:
cd <TWA_HOME>/TWS/_uninstall/ACTIONTOOLS
./restoreInstance.sh -backupDir <REPOSITORY>/instance
-installDir <TWA_HOME>-user <TWS_USER>
chown <TWS_USER>:<TWS_USER_GROUP> <TWA_HOME>/TWS
- Restore the IBM Workload Scheduler registries by
running the following commands:
cd <REPOSITORY>/registries
cp -pR TWA /etc/
cp -pR TWS /etc/
- Restore the IBM Workload Scheduler core files by
running the following
command:
cp -fRp <REPOSITORY>/core/* <TWA_HOME>/TWS
- Windows
- Restore IBM Installation Manager registries by
performing the following steps. In this example, 94fp2 refers to the newer installation.
- Rename "C:\ProgramData\ibm\Installation Manager\" to
"C:\ProgramData\ibm\Installation Manager.94fp2\"
- Copy "<REPOSITORY>\Installation
Manager" to "C:\ProgramData\ibm\"
- Restore the IBM Workload Scheduler instance by
running the following commands:
cd <TWA_HOME>\TWS\_uninstall\ACTIONTOOLS
restoreInstance.cmd -backupDir <REPOSITORY>\instance
-installDir <TWA_HOME> -user <TWS_USER>
- Restore the IBM Workload Scheduler registries by
running the following commands:
- Copy cd
<REPOSITORY>\registries\TWS\TWSReigstry.dat to
"C:\Windows\"
- Copy <REPOSITORY>\registries\TWA to
"C:\Windows\" overwriting both files and folders.
- Restore the IBM Workload Scheduler core files by
copying the files and folders in the <REPOSITORY>\core
directory to the <TWA_HOME>\TWS
directory.
cp -fRp <REPOSITORY>\core\* <TWA_HOME>\TWS
Results
The
IBM Workload Scheduler has now been
restored to the previous fix pack level or release.