Top
Interstage Big DataParallel Processing ServerV1.0.0 User's Guide
Interstage

E.5 Adding a Shared Disk/Scaling Out

Under DFS, adding partitions to scale-out the system can provide either or both improvement in processing performance, and increased file system size of a shared disk device.

When adding partitions, unmount the targeted DFS.

The procedure for adding partitions to the DFS is described below using the following environment as an example:

  • Logical file system name:

pdfs1

  • Mount point:

/mnt/pdfs

  • Representative partition:

/dev/disk/by-id/scsi-1FUJITSU_300000370106

  • File system ID:

1

  • Master server:

master1,master2

  • Slave server, development server, collaboration server:

slave1, slave2, slave3, slave4, slave5, develop, collaborate

  • Existing partition:

/dev/disk/by-id/scsi-1FUJITSU_300000370107

  • Additional partition:

/dev/disk/by-id/scsi-1FUJITSU_300000370108

  1. If the targeted DFS is mounted, unmount it.

    Unmount the DFS at all slave servers, development servers and collaboration servers.

    # umount pdfs1 <Enter>

    Unmount the DFS at the master server.

    # pdfsumntgl /dev/disk/by-id/scsi-1FUJITSU_300000370106 <Enter>
  2. Check the file system information.

    From the file system information recorded in the management partition, check the configuration of the targeted file system.

    # 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 -----
  3. Add the partition.

    Add /dev/disk/by-id/scsi-1FUJITSU_300000370108 as a file data area.

    # pdfsadd -D /dev/disk/by-id/scsi-1FUJITSU_300000370108 /dev/disk/by-id/scsi-1FUJITSU_300000370106 <Enter>
  4. Check that the partition was added.

    From the file system information, check that the partition was added.

    # 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 -----
  5. Regenerate the DFS configuration information file.

    Execute the pdfsmkconf command at the master server.

    # pdfsmkconf <Enter>

    Information

    A configuration information file is generated, as pdfsmkconf_out/client.conf.fsid under the directory where the pdfsmkconf command is executed, for each file system ID, fsid.

  6. Convert the configuration information file name to a logical file system name.

    Convert the file system ID fsid to a logical file system name.

    # cd pdfsmkconf_out <Enter>
    # mv ./client.conf.1 client.conf.pdfs1 <Enter>
  7. Distribute the configuration information file to each of the slave servers, development servers and collaboration servers.

    # scp -p ./client.conf.pdfs1 root@slave1:/etc/pdfs/client.conf.pdfs1 <Enter>
    # scp -p ./client.conf.pdfs1 root@slave2:/etc/pdfs/client.conf.pdfs1 <Enter>

    Note

    Place the configuration information file under /etc/pdfs at each of the slave servers, development servers and collaboration servers.

  8. Mount the DFS and restart operation.

    Mount the DFS, starting from the master server.

    # pdfsmntgl /dev/disk/by-id/scsi-1FUJITSU_300000370106 <Enter>

    Mount the DFS at all slave servers, development servers and collaboration servers.

    # mount pdfs1 <Enter>