Changing Host Location
Once a host has started running services in the cluster, its topology is cached in the MDS and cannot be changed. All new services created on the host will use that cached information. If you need to modify the host location information, do the following:
-
Kill and remove CS and client services running on the host with the
pstorage-rm-cs
and
umount
commands as described in
Removing Chunk Servers
and
Removing Clients
, respectively.
-
Set
/etc/pstorage/host_id
to another unique ID, e.g., generated with
/dev/urandom
.
-
Adjust
/etc/pstorage/location
as required.
-
Recreate the CS and client services: mount the cluster and create new CS instances using the
pstorage-make-cs
command as described in
Setting Up Chunk Servers
and
Setting Up Clients
, respectively.
|