Replacing the existing
tiebreaker host by a new one
You can replace a dedicated tiebreaker host with another
one. During the period where the cluster is without the tiebreaker
host, it is expected that alerts to be raised concerning lack of file
system tiebreaker group and the cluster having even number of hosts.
When the new tiebreaker host is added in and the file system tiebreaker
disks be restored, the alerts are cleared automatically.
Before you begin
Important: To run the db2cm utility as the root user, ensure the DB2INSTANCE
environment variable is set to the instance owner.
The instructions
that are provided below, use figure 1 as illustrations and have the following assumptions:
All nodes in the cluster are up
All replicated file systems and their respective disks are in "UP" state.
The tiebreaker host is TB (not M5) and all file system tiebreaker disks are local to host
TB.
All commands that are provided can be run on any online host in the cluster except for the TB
host.
The host name of the new TB host is "TBNew" and it does not have access to redundancy groups 1
and 2.
Figure 1. Multi-site IBM Storage Scale replication topology
Procedure
Remove all file system tiebreaker disks owned by host TB
first.
If host TB is offline, IBM
Storage Scale cannot invalidate the disks so that it can be reprovisioned by IBM Storage Scale in
the future without manual intervention. No further action is required if those disks are not
intended to be reused for IBM Storage Scale. Otherwise, the first 4K on disk needs to be manually
cleared before it can be reused by IBM Storage Scale.
Stop host TB in IBM Storage Scale and RSCT clusters and remove it from both
clusters.
db2cm -remove -host TB
On AIX:
db2cluster -remove -host TB
Ensure the new tiebreaker host, TBNew, is ready and has the correct Db2®
pureScale® installed before proceeding.
Add TBNew to the RSCT and IBM Storage Scale clusters.
db2cm -add -host TBNew -no_san_access
On AIX:
db2cluster -add -host TBNew -no_san_access
Add the file system tiebreaker disks to each existing file system. For illustration
purpose, this example uses the same disk names removed in step
1.