The DFS manages the DFS clients that can connect to the master server (MDS).
The management method involves creating a connection authorization list file at the master server and registering the host names of the slave servers, development server, and collaboration server to be connected.
The slave server, development server and collaboration server information registration procedure is described using the following environment as an example:
Representative partition: | /dev/disk/by-id/scsi-1FUJITSU_300000370106 |
File system ID: | 1 |
Master server: | master1, master2 |
Slave server, development server and collaboration server: | slave1, slave2, slave3, slave4, slave5, develop, collaborate |
Check the file system ID.
Check the ID of the targeted file system from the file system information recorded in the management partition.
# pdfsinfo /dev/disk/by-id/scsi-1FUJITSU_300000370106 <Enter> /dev/disk/by-id/scsi-1FUJITSU_300000370106: FSID special size Type mount 1 /dev/disk/by-id/scsi-1FUJITSU_300000370106 (864) 25418 META ----- 1 /dev/disk/by-id/scsi-1FUJITSU_300000370106 (864) 5120 LOG ----- 1 /dev/disk/by-id/scsi-1FUJITSU_300000370106 (864) 232256 DATA ----- 1 /dev/disk/by-id/scsi-1FUJITSU_300000370107 (880) 7341778 DATA ----- 1 /dev/disk/by-id/scsi-1FUJITSU_300000370108 (896) 6578704 DATA -----
Create a connection authorization list file.
# cd /etc/pdfs <Enter> # cp ./server.conf.sample server.conf.1 <Enter>
Note
Place the connection authorization list file under /etc/pdfs at the master server.
In the connection authorization list file name, change only the file system ID part, not the other part (server.conf.).
Add the slave server, development server and collaboration server information to the connection authorization list file.
Specify the host names of the slave servers, development servers and collaboration server that are authorized to connect to the master server.
Use the following format to enter the names:
CLIENT "slave server, development server, and collaboration server host names"
Example
To authorize connection of slave1, slave2, slave3, slave4, and slave5:
# cat /etc/pdfs/server.conf.1 <Enter> # # Copyright (c) 2012 FUJITSU LIMITED. All rights reserved. # # /etc/pdfs/server.conf.<FSID> # # List of client hostnames of a file system. # # Notes: # Do not describe hostnames of management servers. # # example: #CLIENT nodeac1 #CLIENT nodeac2 #CLIENT nodeac3 #CLIENT nodeac4 #CLIENT nodeac5 CLIENT slave1 CLIENT slave2 CLIENT slave3 CLIENT slave4 CLIENT slave5
Check the content of the connection authorization list file.
Mount is not possible at the master server if there is an error in the connection authorization list. Therefore, check the following:
The total number of master servers, slave servers, development servers and collaboration servers does not exceed the maximum number of shared servers.
The specified slave server, development server and collaboration server hosts can be referenced correctly via the network.
The slave server, development server and collaboration server specifications are not duplicated.
Distribute the connection authorization list file to each master server.
# cd /etc/pdfs <Enter> # scp ./server.conf.1 root@master2:/etc/pdfs/server.conf.1 <Enter>