17 January,2019 by Tom Collins
Question: I've installed the latest security vulnerability patching for jdk on DB2 TASMP clustering - and while running some tests i.e fail over and fail back , I'm getting a Resource Marked as offline.
I've investigated the root cause - and fixed , and now I'm trying to reset the resource back as ONLINE. How can reset the resource?
Answer: Without knowing anything about how the root cause and what steps you took to fix the underlying cause, the typical steps to take is to use the resetrsrc command. This is an example of how you might reset the value . In this example - the failover DB2 instance is currently marked as offline - and must be reset back to ONLINE
# resetrsrc -s "Name like 'my_resource' AND NodeNameList in {'my_node'}" IBM.Application
To get the values for the my_resource and my_node , use the lssam command , which gives you details about the Cluster status.
For more commands to manage the TSAMP DB2 Cluster use TSAMP Cheat Sheet for DBA managing DB2 clustering
This is only a preview. Your comment has not yet been posted.
As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.
Having trouble reading this image? View an alternate.
Posted by: |