128
Appendix A. Upgrading GFS
8. Create CCS archive on CCA device (former CIDEV). The CCS archive is created from the
directory of new CCS files as described in Step 2.
Command usage:
ccs_tool create
Directory Device
Reference: Section 7.1
Creating a CCS Archive
Example:
ccs_tool create /root/alpha/ /dev/pool/alpha_cca
9. Change GFS
LockTable
.
GFS 5.2.x requires a new
LockTable
string in GFS superblocks. The
LockTable
is origi-
nally specified when the file system is created with the
gfs_mkfs
command (
-t
option). It is
changed using the
gfs_tool
command.
In GFS 5.2.x, the
LockTable
is a compound expression containing the
ClusterName
and the
FSName
. The
FSName
is a unique name selected for each GFS file system:
ClusterName:FSName
.
Command usage:
gfs_tool sb
BlockDevice
table
ClusterName:FSName
BlockDevice
Specifies the block device on which the GFS file system resides.
ClusterName
The name of the cluster specified in
cluster.css:cluster/name
.
FSName
A unique name (from 1 to 16 characters long) chosen for this file system.
Reference: Section 9.1
Making a File System
Example:
gfs_tool sb /dev/pool/pool0 table alpha:gfs1
10. Change GFS
LockProto
to
lock_gulm
.
Note
This step only applies when upgrading LOCK_DMEP GFS 5.1.x file systems.
The
LockProto
string in the GFS superblock indicates the lock module that is used for the
file system. The
LockProto
is originally specified when the file system is created with the
gfs_mkfs
command (
-p
option). It is changed using the
gfs_tool
command.
Command usage:
gfs_tool sb
BlockDevice
proto lock_gulm
BlockDevice
Specifies the block device on which the GFS file system resides.
Reference: Section 9.1
Making a File System
Example:
gfs_tool sb /dev/pool/pool0 proto lock_gulm
11. Start
ccsd
on all nodes.
This includes all GFS nodes and all nodes that will run the LOCK_GULM server.
Command usage:
ccsd -d
Device
Содержание GFS 5.2.1 -
Страница 1: ...Red Hat GFS 5 2 1 Administrator s Guide...
Страница 8: ......
Страница 14: ...vi Introduction...
Страница 24: ...10 Chapter 1 GFS Overview...
Страница 36: ...22 Chapter 4 Initial Configuration...
Страница 84: ...70 Chapter 6 Creating the Cluster Configuration System Files...
Страница 96: ...82 Chapter 8 Using Clustering and Locking Systems...
Страница 126: ...112 Chapter 10 Using the Fencing System...
Страница 132: ...118 Chapter 11 Using GNBD...
Страница 144: ...130 Appendix A Upgrading GFS...
Страница 184: ...170 Appendix B Basic GFS Examples...
Страница 190: ......
Страница 192: ...178...