Basic Configuration of Platform LSF 10.1


Step 1: Prelimary Steps (Suggestion)

  1. Setup a NFS Shared Directory for the final installed destination of the setup (/opt/lsf)
  2. Use a NFS Shared Directory perhaps /usr/local to put the tar file so that the installation file can be placed in the future for client nodes (/usr/local/lsf_install)
  3. Make sure your /etc/hosts are configured correctly and selinux disabled

Step 2: Untar the LSF Tar file (lsfshpc10.1-x86_64.tar.gz).

# tar -zxvf lsfshpc10.1-x86_64.tar.gz

You will have a folder called lsfshpc10.1-x86_64.

Step 3: Navigate to lsfshpc10.1-x86_64/lsf.
You should have 2 following files

lsf10.1_linux2.6-glibc2.3-x86_64.tar.Z (LSF Distribution Package)
lsf10.1_lsfinstall_linux_x86_64.tar.Z (LSF Installation File)

Step 4: Unpack the LSF Installation File

# tar -zxvf lsf10.1_lsfinstall_linux_x86_64.tar.Z

Step 5: Edit the Install.

# vim /usr/local/lsf_install/lsfshpc10.1-x86_64/lsf/lsf10.1_lsfinstall/install.config

Critical “Field”. Suggested

LSF_TOP="/opt/lsf" (line 43)
LSF_ADMINS="lsfadmin admin" (line 53)
LSF_CLUSTER_NAME="mycluster" (line 70)
LSF_MASTER_LIST="h00" (line 85)
LSF_TARDIR="/opt/lsf/lsf_distrib/" (line 95 - where you have placed the distribution)
CONFIGURATION_TEMPLATE="PARALLEL" (line 106)
LSF_ADD_CLIENTS="h00 c00" (line 165)
LSF_QUIET_INST="N" (line 193)
ENABLE_EGO="N" (line 290)

Step 6: Install using lsfinstall

# /usr/local/lsf_install/lsfshpc10.1-x86_64/lsf/lsf10.1_lsfinstall/lsfinstall -f install.config

Step 7: Follow the instruction and agree on the terms and conditions

Step 8: Create a file and Source the profile.lsf

# touch /etc/profile.d/lsf.sh

Inside the lsf.sh, put in the following line

source /opt/lsf/conf/profile.lsf

Step 9: Create the user lsfadmin

# useradd -d /home/lsfadmin -g users -m lsfadmin

Step 10: Client Host setup

Copy /etc/profile.d/lsf.sh to the client’s /etc/profile.d/lsf.sh

# scp /etc/profile.d/lsf.sh remote_node:/etc/profile.d/

Do host-setup

# cd /usr/local/lsf_install/lsfshpc10.1-x86_64/lsf/lsf10.1_lsfinstall/
# ./hostsetup --top="/opt/lsf" --boot="y"

Step 11: Restart the LSF services on the clients

# service lsf restart

Step 12: Restart the service on the headnode.

# lsadmin reconfig
# badmin mbdrestart

Step 13: Test the cluster with basic LSF Commands.
run the lsid, lshosts, and bhosts commands and see whether there are outputs.

 

References: 

  1. Installing IBM Platform LSF on UNIX and Linux
  2. Common LSF problems

 

Advertisement

One thought on “Basic Configuration of Platform LSF 10.1

  1. Pingback: Basic Configuration for Platform Application Centre 10.1 – Linux Cluster

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.