Create an LSF cluster configuration package

Create an LSF configuration package as a tar or tar.gz file from the an LSF production cluster and running the lsf_sim.sh script.

About this task

Create a cluster configuration package that you can specify when importing a cluster configuration from the LSF Simulator web console.

Procedure

  1. As administrator, log in to an LSF server host that is in the production cluster.
  2. Extract lsf_simulator/ from the lsf_simulator:v1 image by running the following command:
    docker run -it --rm -v "/tmp:/copyto" lsf_simulator:v1 tar zcf /copyto/lsf_simulator.tar.gz /opt/ibm/lsf_simulator
  3. Copy /tmp/lsf_simulator.tar.gz to one of the LSF servers in the LSF live cluster and unpack it by running the following command:
    tar xvf lsf_simulator.tar.gz
  4. Source the LSF environment.

    For example,

    • For csh or tcsh:
      source /opt/ibm/lsfsuite/lsf/conf/cshrc.lsf
    • For sh, ksh, or bash:
      . /opt/ibm/lsfsuite/lsf/conf/profile.lsf
  5. Create a tar or tar.gz package file with the LSF configuration by using the lsf_sim.sh script in LSF Simulator.

    For example,

    ./opt/ibm/lsf_simulator/lsf_sim.sh -c -o /production_cluster_sharedir/lsf/lsf101conf.tar.gz

Results

When importing a cluster configuration, you can specify the full path to the package file that you created.