Register the host names of the slave servers to be added in the connection authorization list file on the master servers.
If replicated configuration is used for master servers, update and register the connection authorization list on the primary master server and then distribute to the secondary master server.
Check the FSID column in the output generated by executing the pdfsinfo command, and confirm the file system ID of the file system to which the slave servers will be added.
# pdfsinfo -n /dev/disk/by-id/scsi-1FUJITSU_300000370106 <Enter> /dev/disk/by-id/scsi-1FUJITSU_300000370106: FSID hostID status hostname 1 80a4f75b RUN master1 1 80960096 RUN master2
Add the CLIENT field of the slave server to be added at the end of the connection authorization list file that corresponds to the file system ID.
If adding multiple slave servers, add CLIENT fields for the number of clients.
Example
Authorizing the connection for slave servers to be added
# 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 CLIENT develop CLIENT collaborate CLIENT slave6 <- Slave server to be added CLIENT slave7 <- Slave server to be added CLIENT slave8 <- Slave server to be added CLIENT slave9 <- Slave server to be added CLIENT slave10 <- Slave server to be added
Note
Ensure that the CLIENT fields for additional DFS clients are added at the end of the connection authorization list file.
If existing CLIENT fields are changed, the mount command fails for the slave servers, development servers, and collaboration servers being added.
Existing CLIENT fields cannot be changed or deleted.
If you want to make changes or deletions at the same time as adding slave servers, development servers, and collaboration servers, do so while the DFS is in the unmounted state.
Ensure that the total number of slave servers, development servers, collaboration servers, and master servers does not exceed the maximum number, 128 servers, for the number of shared servers.
Distribute the updated connection authorization list file to the master server. (Only if replicated configuration is used for the master server)
# cd /etc/pdfs <Enter> # scp -p ./server.conf.1 root@master2:/etc/pdfs/server.conf.1 <Enter>
Note
If the contents of the connection authorization list file differ at different master servers, MDS-down recovery may fail and file system inhibition or system panic may occur.