PRIMECLUSTER Global File Services Configuration and Administration Guide 4.1 (Linux) |
Contents
Index
![]() ![]() |
Chapter 10 File System Management | > 10.4 Using the GFS Shared File System for RMS Cluster Operation |
This section explains the procedure through an example in the case of creating the GFS Shared File System used for the volume of GDS by RMS cluster employment from the state that a setup of CIP has completed.
For details on setting, see the "PRIMECLUSTER RMS Configuration and Administration Guide" and the "PRIMECLUSTER Global Disk Service Configuration and Administration Guide."
When automatic resource registration of disk equipment is not carried out yet, the following command is executed with a node, and a disk device is registered as a cluster resource.
# /etc/opt/FJSVcluster/bin/clautoconfig -r -n
Create the GDS volume using the following method.
Note that a management partition exclusively for the GFS Shared File System must be prepared on the GFS Shared File System and a volume that differs from the disk class of the GDS volume that is to be used as the switchover file system must be allocated.
The following explanation assumes the node A (active node) host name to be sunny and the node B (standby node) host name to be moony.
In the cluster system, specify a node name as the scope of the -a option and then specify shared as the class type.
sunny #sdxdisk -M -c class0001 -d sda=DISK1,sdb=DISK2 -a scope=sunny:moony, type=shared
sunny # sdxdisk -C -c class0001 -g grp0001 -d DISK1,DISK2
Note that a volume of at least 40 M byte is necessary for the management partition of the GFS Shared File System.
sunny # sdxvolume -M -c class0001 -g grp0001 -v GFSctl -s 81920 sunny # sdxvolume -M -c class0001 -g grp0001 -v volume0001 -s 17563648
moony # sdxvolume -N -c class0001 -v GFSctl moony # sdxvolume -N -c class0001 -v volume0001
In the cluster system, specify a node name as the scope of the -a option and then specify shared as the cluster type.
sunny # sdxdisk -M -c class0001 -d sda=DISK1:single -a scope=sunny:moony, type=shared
Note that a volume of at least 40 MB is necessary for the management partition of the GFS Shared File System.
sunny # sdxvolume -M -c class0001 -d DISK1 -v GFSctl -s 81920 sunny # sdxvolume -M -c class0001 -d DISK1 -v volume0001 -s 17563648
moony # sdxvolume -N -c class0001 -v GFSctl moony # sdxvolume -N -c class0001 -v volume0001
Create the GFS Shared File System on either one of the nodes.
Use sfcmkfs(8) to create the GFS Shared File System.
Note that a management partition that is exclusively for the GFS Shared File System must be prepared on the GFS Shared File System and a volume that differs from the disk class of the GDS volume that is to be used as the switchover file system must be allocated.
When the GFS Shared File System is created for the first time after installation, activation of the GFS Shared File System is necessary before file system creation.
# sfcsetup -c /dev/sfdsk/class0001/rdsk/GFSctl
sunny # sfcsetup -a /dev/sfdsk/class0001/rdsk/GFSctl moony # sfcsetup -a /dev/sfdsk/class0001/rdsk/GFSctl
sunny # sfcfrmstart moony # sfcfrmstart
# sfcmkfs -o node=sunny,moony /dev/sfdsk/class0002/dsk/volume0001
Add the mount information for the relevant GFS Shared File System to /etc/fstab on each node.
Be sure to specify "noauto" in the "mount options" field as a parameter of the mount information to be added.
/dev/sfdsk/class0001/dsk/volume0001 /sfcfs sfcfs rw,noauto 0 0
Set up the RMS configuration by using the RMS wizard, as follows:
Select "Configuration-Generate" from the main RMS management menu.
Select "Configuration-Activate" on the main RMS management menu.
In GFS Shared File System, the following measures are necessary in order to always use GDS volume by active state.
- In RMS application setting, "Gds:Global-Disk-Services" as shared disk resource and "LocalFileSystems" as mount point resource must not set it as RMS target.
- For GDS volume, must not execute /usr/opt/reliant/bin/hvgdsetup.
After mounting the GFS Shared File System on each node, start RMS and then confirm whether the settings of the /etc/fstab file and the RMS application are proper, paying attention to the following points:
If mounting of the GFS Shared File System fails, the following may be the cause of the failure:
Apply the indicated countermeasure:
- The type of file system specified in /etc/fstab is incorrect.
Solution: Correct the /etc/fstab file.
- The GDS volume is deactivated.
Solution: Activate the GDS volume.
Contents
Index
![]() ![]() |