SlashCurate - Driving Business Innovation with Cutting-Edge Software Solutions

Delete DB2 TSA cluster manager resources when db2haicu -delete is unable to delete

Author: Neeraj Sharma; Publish date: 2024-12-05 05:22:47


1. Find the name of the cluster domain name using command lsrpdomain 

[root@db2node01 ~]# lsrpdomain

Name   OpState RSCTActiveVersion MixedVersions TSPort GSPort

TestHA Online  3.3.1.2           No            12347  12348

2. Disable critical resource protection (run as root from any host in the domain)

[root@db2node01 ~]# export CT_MANAGEMENT_SCOPE=2

[root@db2node01 ~]# chrsrc -c IBM.PeerNode CritRsrcProtMethod=5


3. Remove the domain by force (run as root from any host in the domain), use domain name from step 1.

[root@db2node01 ~]# rmrpdomain -f <Domain Name>

4. Check/validate domain cleanup using command lsrpdomain