After the DFS configuration information file is generated at the master server, distribute it to each of the slave servers, development server and collaboration server.
The file system configuration information distribution procedure is described using the following environment as an example:
File system ID: | 1 |
Logical file system name: | pdfs1 |
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 -----
Use the pdfsmkconf command to generate the DFS configuration information file.
Execute the pdfsmkconf command at the master server (primary).
# pdfsmkconf <Enter>
Convert the generated configuration information file name to a logical file system name from the file system ID.
# cd pdfsmkconf_out <Enter> # mv ./client.conf.1 client.conf.pdfs1 <Enter>
Note
In the configuration information file name, change only the file system ID part, not the other part (client.conf.).
Distribute the configuration information file to each of the slave servers, the development server, and the collaboration server.
# scp ./client.conf.pdfs1 root@slave1:/etc/pdfs/client.conf.pdfs1 <Enter> # scp ./client.conf.pdfs1 root@slave2:/etc/pdfs/client.conf.pdfs1 <Enter> ・・・omitted・・・ # scp ./client.conf.pdfs1 root@develop:/etc/pdfs/client.conf.pdfs1 <Enter> # scp ./client.conf.pdfs1 root@collaborate:/etc/pdfs/client.conf.pdfs1 <Enter>
Note
Place the configuration information file under /etc/pdfs at each of the slave servers , development server and collaboration server.
See
Refer to the pdfsmkconf command under "Appendix A Command Reference" in the "Primesoft Distributed File System for Hadoop V1 User's Guide" for details of pdfsmkconf.