Remedy
To resolve this issue, you need to bring Wolverine back to a health and started
state.
Procedure
-
Exec into the Db2 pod.
- Stop the Wolverine high availability monitoring process:
- Remove the /newsystem etcd keystore:
- Fore Db2uCluster deployments:
-
- Find the name of the Db2ucluster custom
resource:
oc get db2ucluster --all-namespaces
- Using the returned value, create an environment variable for your db2ucluster
resource:
db2ucluster=<db2ucluster-resource-name>
where
<db2cluster-resource-name> is the returned value.
- Find the name of the etcd pod for your database
deployment:
etcd_podname=$(oc get pod --show-labels=true --selector app=${db2ucluster} | grep -i etcd-0 | awk {'print $1'})
- Remove the /newsystem etcd
keystore:
oc rsh ${etcd_podname} etcdctl rm -r /newsystem
- For Db2uInstance deployments:
-
- Find the name of the Db2uInstance custom
resource:
oc get db2uinstance --all-namespaces
- Using the returned value, create an environment variable for your Db2uInstance
resource:
db2uinstance=<db2uinstance-resource-name>
where
<db2instance-resource-name> is the returned value.
- Find the name of the etcd pod for your database
deployment:
etcd_podname=$(oc get pod --show-labels=true --selector app=${db2uinstance} | grep -i etcd-0 | awk {'print $1'})
- Remove the /newsystem etcd
keystore:
oc rsh ${etcd_podname} etcdctl rm -r /newsystem
- Restart the etcd pod:
oc delete pod ${etcd_podname}
- Restart the Wolverine high availability monitoring process by following step 1 of Exec into the Db2 pod and then running the following
command to start the system: