You are here: 24 Data Staging > How-to > Data Staging to or from a Shared File System in a Grid > Configuring the $CLUSTERHOST Variable

24.5 Configuring the $CLUSTERHOST variable

To configure the $CLUSTERHOST variable

  1. Open the ds_config.py file for modification. It is located in /opt/moab/tools/data-staging/ by default.
    [moab]$ vi /opt/moab/tools/data-staging/ds_config.py
  2. Locate the PARTITION_TO_HOST parameter.
    ...
    PARTITION_TO_HOST = {"partition_1_name":"cluster_1_staging_hostname",
                         "partition_2_name":"cluster_2_staging_hostname",
                         "partition_3_name":"cluster_3_staging_hostname"}
    ...
  3. Replace the partition names and associated cluster hostnames with those that match your system. For the use case provided above, you would customize it the following way:
    ...
    PARTITION_TO_HOST = {"master":"gridheadNAS",
                         "csdept":"fs001.cs.example.edu",
                         "lab":"bigfilesystem"}
    ...

Related Topics 

© 2016 Adaptive Computing