Converting a non-replicated
file system to a replicated file
system
You can convert an existing non-replicated
file system
to a replicated file system.
Before you begin
To perform this task, you must be a Db2® cluster services
administrator.
About this task
This procedure
is applicable to both single-site pureScale® cluster
and a Geographically
Dispersed pureScale Cluster
(GDPC). With the latter, this is part of the steps in creating a GDPC
cluster that involves creating a minimal non-GDPC cluster with non-replicated
file system as the primary step. To illustrate the steps that are
involved with figure 1 or 2, assume that the cluster has file systems
created on storage 1 only. In other words, redundancy group 2 and
tiebreaker are not defined. The cluster is operating with a single
storage controller.
Figure 1. Multi-site IBM
Spectrum
Scale replication topology
Procedure
To enable IBM Spectrum Scale replication in the
cluster,
do the following steps:
Group all disks currently
in each file system into redundancy
group 1, by using the following commands.
Repeat
the command for each non-replicated file system. In figure 1, assume
that all three file systems are non-replicated with disks that reside
on storage 1 only. To convert the disks to replicated, run the following
commands:
At
the completion of this step, all existing disks in each file system
are assigned redundancy group ID 1. Any additional disks added to
the file system after this step requires a redundancy group ID specified.
Also no user data is replicated yet because secondary storage is not
defined.
Add disks to redundancy group
2 and the file system tiebreaker
group to complete the disk setup.
At
the completion of this step, the disk layout of the replicated file
systems are completed. New data added to the file system after this
step is replicated across redundancy groups 1 and 2 automatically.
However, data that existed in the non-replicated file system before
conversion is not replicated automatically. The replication and possibly
rebalance of existing data needs to be triggered separately and individually.
Since these two operations are I/O intensive and the duration depends
on the actual size of data, it is recommended to run them at off-peak
usage hours. For more information, see Replicating non-replicated data and Rebalancing a replicated file system.