A common problem for managing TSMAMP DB2 high availability is how to deal with non DB2 maintenance. An example is OS patching.
Let's say there is a 2 node clustering architecture set up. The OS administrators will want to patch the servers, but there is a requirement to maintain uptime on the DB2.
If using TSAMP a straightforward plan, could be based on these steps
The basic idea is to change the Automation mode to manual mode .
- Step 1 : Manually move the DB2 instance to the required node. Use the rgreq command . Read more on TSAMP Cheat Sheet for DBA managing DB2 clustering (DBA DB2)
- Step 2: This command will change the Automation mode to manual
# samctrl –M T
- TSAMP will continue to monitor the resources . It will execute the monitoring scripts related to the resources
- Step 3 : To check the current automation mode
You can also use the lssam command. A status line appears indicating Automation=manual.
Step 4 : Re – enable automation mode (Automation = Auto)
#samctrl –M F
Read More on DB2 high availability