TSAMP Support always recommends keeping a backup of you existing policy, please use the 'sampolicy -s' command to backup your current (active) policy before making any changes.
mkmpgz2144:/tmp# sampolicy -s
..The current policy was saved to file /var/ct/HADR_MAINTRW/cfg/sampolicy-3-5-2018-6.48.52.xml.
1) In all shells where you will be issuing the commands listed below, export the following environment variable first
export CT_MANAGEMENT_SCOPE=2
2) Download the installation media to all nodes in the cluster: Download information for TSAMP 4.1.0.3 (http://www-01.ibm.com/support/docview.wss?uid=swg24041217)
Extract the installation media onto all nodes in the cluster. Also ensure you have the license file appropriate for your new version, you can copy this file to the license directory under the root directory of the installation media (ensure you do this on all nodes).
3) Stop the cluster/domain with the stoprpdomain command. Use -f if the applications/resources must remain online during the TSAMP upgrade process:
chrsrc -c IBM.PeerNode CritRsrcProtMethod=5
stoprpdomain -f
4) Install the new fixpack on all nodes in the cluster from the root directory of the extracted installation media. Optionally you can include the "--nonls" flag to only install the English language pack and speed up the installation:
./installSAM --nonls
5) Start the domain :
startrpdomain
6) Once the domain is online, verify that MixedVersions=Yes before going further:
test2143:/home/instref$ lsrpdomain
Name OpState RSCTActiveVersion MixedVersions TSPort GSPort
HADR_MAINTRW Online 3.2.1.13 Yes 12347 12348
Then complete the migration of RSCT with the following command:
runact -c IBM.PeerDomain CompleteMigration Options=0
Verify migration complete with 'lsrpdomain' command by ensuring that MixedVersions=No, ensure the version of RSCT shown in the "lsrpdomain" output matches the version of RSCT that is shown on each node in the "lsrpnode" output.
test2144:/tmp# lsrpdomain
Name OpState RSCTActiveVersion MixedVersions TSPort GSPort
HADR_MAINTRW Online 3.2.1.13 No 12347 12348
test2144:/tmp# lsrpnode
Name OpState RSCTVersion
test2143 Online 3.2.1.13
test2144 Online 3.2.1.13
test2143:/home/instref$ lsrpdomain
Name OpState RSCTActiveVersion MixedVersions TSPort GSPort
HADR_MAINTRW Online 3.2.1.13 No 12347 12348
test2143:/home/instref$ lsrpnode
Name OpState RSCTVersion
test2143 Online 3.2.1.13
test2144 Online 3.2.1.13
test2143:/home/instref$
7) Complete the TSAMP migration:
samctrl -m
Verify migration complete with the following command comparing IVN and AVN:
test2143:/home/instref$ lssrc -ls IBM.RecoveryRM | grep -i VN
Our IVN : 4.1.0.3
Our AVN : 4.1.0.3
Our CVN : ad0bca21800000b4 (800000b4)
test2144:/tmp# lssrc -ls IBM.RecoveryRM | grep -i VN
Our IVN : 4.1.0.2
Our AVN : 4.1.0.3
Our CVN : ad0bca21800000b4 (800000b4)
8) If you changed the value of CritRsrcProtMethod in the earlier steps, then you should change it back now:
chrsrc -c IBM.PeerNode CritRsrcProtMethod=3
If you require more information about any individual step, please refer to the Installation and Configuration Guide linked above.
9) Make sure license is valid
test2144:/tmp# samlicm -s
Product: IBM Tivoli System Automation for Multiplatforms 4.1.0.0
Creation date: Fri Aug 16 00:00:01 2013
Expiration date: Thu Dec 31 00:00:01 2037
test2143:/tmp# samlicm -i /tmp/sam41TB.lic
test2143:/tmp# samlicm -s
Product: IBM Tivoli System Automation for Multiplatforms (Try & Buy License) 4.1.0.0
Evaluation Period: 90 days (90 days left)
Creation date: Fri Aug 16 00:00:01 2013
Expiration date: Thu Dec 31 00:00:01 2037
test2143:/tmp#