This section of the LSF Installation Guide covers the default procedure for initial installations of LSF products on UNIX platforms (for Windows NT, see`LSF on Windows NT' on page 47). This is the quickest and easiest way to install LSF products, because a number of installation settings are assigned default values which you must accept. If you cannot accept all of these default values, you must use LSF's custom installation procedure, which allows you to assign alternate values.
When you use LSF's default installation procedure, the parameters you must accept are:
lsf.conf
file are machine independent, and lsf.conf
is placed in LSF_CONFDIR rather than LSF_SERVERDIR
/tmp
rather than the system log
lsf.conf
instead of in/etc/services
or using NIS
This chapter describes the procedure for loading LSF distribution files and installing the LSF software, which are:
lsfsetup
After you have successfully installed the LSF files for the initial host type, you can follow the instructions in `Installing LSF Software for Additional Host Types' on page 17 to install the files for LSF on one or more additional platforms. If all hosts in your LSF cluster are running under the same operating system, you should skip to `LSF Host Setup' on page 19.
If you do not install your license key during this procedure, you will have to do it later using the procedure found in `License Installation' on page 33.
All LSF files, both host type dependent and host type independent, will physically reside on the file server host at your site. For this installation procedure, the LSF directories are assumed to be NFS-mounted on the other LSF machines in the cluster, and accessible under the same directory name.
If you are installing on an AFS file system, follow the instructions in `Installation on AFS' on page 97. If you are installing on DCE/DFS, follow the instructions in `Installation on DCE/DFS' on page 105.
This procedure describes installing the LSF files on a file server, for the host type you have chosen to install first. These installation procedures will work correctly even if the file server is not the same host type as the LSF software you are installing. Installation takes from 10 to 20 minutes for the first host in an LSF cluster, and approximately 3 minutes for each additional host in the cluster.
This will create the distribution directory. See `LSF Distribution Files' on page 8 for details if you have yet to take this step.
./lsfsetup
program.
LSF's install program starts up, and its main menu is displayed.
The lsfsetup
program prompts you for all information needed
to install LSF. Most prompts include a default value, displayed in square
brackets. If you press return, the default value is used.
All installable LSF products are displayed in a numbered list.
If you select more than one product, make sure you separate them with commas.
/usr/local/lsf
).
Remember that the installation directory you choose must be accessible from all machines in the cluster using the same path name.
If you choose not to use eauth, LSF uses privileged ports for authentication, and installs some utilities with the setuid bit set, and root as the owner of the file.
If you do not want to install your license key now
for any reason, or you have not yet obtained it from your LSF vendor, you
can install it later by running the lsfsetup
program and choosing
option 4, License Management.
Detailed instructions and information on installing a license key this way are contained in `License Installation' on page 33.
The lsfsetup
program determines whether
the license is a DEMO or a permanent license.
If it is a DEMO license, it is copied into the LSF_CONFDIR. If it is a permanent license, a menu of choices is displayed, from which you can select the appropriate action. For more information, see `License Installation' on page 33.
You are informed when the installation for this initial host type is finished.
When you run lsfsetup
, you will be prompted for additional information if you are installing LSF Analyzer or LSF Parallel.
- If you are installing LSF Analyzer, specify the machine that you want to use as the LSF database server. It should have at least 200MB free disk space.
- If you are installing LSF Analyzer, specify the LSF database directory on the LSF database server. The default is /usr/local/lsf_db
.
- If you are installing LSF Parallel, LSF creates two files in the LSF_BINDIR
directory, mpicc
and mpif77
. These are wrapper scripts that compile an LSF Parallel MPI program in the cluster. Specify the C and Fortran compilers that you want these scripts to use. The defaults are cc
and f77
.
If you are not installing LSF on additional host types, you can skip to `LSF Host Setup' on page 19 for instructions on how to complete your LSF installation and setup.
If you are installing LSF on one or more additional host types, follow the instructions in `Installing LSF Software for Additional Host Types' on page 17.
If you plan to use LSF products in a heterogeneous environment, you must install the LSF files which are specific to each operating system in the cluster. The process is similar to that used for the installation of LSF for the initial host type, but must now be repeated for each operating system.
These steps install the LSF host type dependent files for the type of host corresponding to the distribution file you are using to install them.
A distribution directory is created. If you are unsure about any part of this procedure, see `LSF Distribution Files' on page 8 for details.
root
.
./lsfsetup
program.
LSF's install utility starts up, and its main menu is displayed.
The setup utility will detect that the initial host type has been installed, and proceed to install the host type specific files for the host type you are installing now.
The setup utility will also look for an existing license key, the
license.dat
file.
lsfsetup
program detects an existing license
key, simply allow the installation to proceed. If you did not install a license
key when you installed the initial (or any subsequent) additional host type,
you will be prompted to install it now.
If you do not want to install your license key now
for any reason, or you have not yet obtained it from your LSF vendor, you
can install it later by running the lsfsetup
program and choosing
option 4, License Management.
Detailed instructions and information on installing a license key this way are contained in `License Installation' on page 33.
The lsfsetup
program determines whether
the license is a DEMO or a permanent license.
If it is a DEMO license, it is copied into the LSF_CONFDIR. If it is a permanent license, a menu of choices is displayed, from which you can select the appropriate action. For more information, see `License Installation' on page 33.
You are informed when the installation for this host type is finished.
If you are not installing LSF on additional host types, you can continue with `LSF Host Setup' on page 19 for instructions on how to complete your LSF installation and setup.
If you need to install LSF for one or more additional host types, repeat the steps in this section for each one, until you have installed LSF software for all the host types you plan to include in your cluster. When you have finished, you can continue with the following section, `LSF Host Setup'.
At this point, you have finished the physical installation of LSF files on the file server host. Before you can start the LSF daemons and test the cluster configuration, you must perform a few simple procedures on each host machine you want to include in your LSF cluster.
LSF_TOP/mnt
must be mounted on each LSF host from the file server host
lsfsetup
program must be run on each host in the cluster
When you use LSF's default installation procedure, it is assumed that all hosts in the cluster will share LSF files from a single file server, accessible with the same path name. All LSF files are installed on the file server under the LSF_TOP
directory (which you specified when you installed the LSF software).
root
.
LSF_TOP
directory (by default, it is /usr/local/lsf
).
LSF_TOP/mnt
directory from the file server as LSF_TOP/mnt
(assuming the default value, this is /usr/local/lsf/mnt
).
You must not mount this directory with the nosuid
flag; some
LSF programs require setuid permission. See the manual page for the mount
command for more details (the specifics vary from platform to platform).
ln -s /usr/local/lsf/mnt/hppa/bin /usr/local/lsf/bin
ln -s /usr/local/lsf/mnt/hppa/lib /usr/local/lsf/lib
ln -s /usr/local/lsf/mnt/hppa/etc /usr/local/lsf/etc
If you are unclear as to LSF's directory structure, see `LSF Directory Structure' on page 3 for detailed information.
After mounting LSF_TOP/mnt
, you must run the lsfsetup
program and execute its `Host Setup' procedures on each LSF host. These procedures will:
lsf.cluster.
cluster
file to
include all the new hosts
root
.
lsfsetup
program.
It has been installed in the mnt/<host_type>/etc
subdirectory
of LSF_TOP
, the directory you specified for the LSF installation.
lsf.conf
)
you want to use to set up the cluster.
The following symbolic links are created:
LSF_TOP/bin
to LSF_TOP/mnt/<host_type_directory>/bin
LSF_TOP/etc
to LSF_TOP/mnt/<host_type_directory>/etc
LSF_TOP/lib
to LSF_TOP/mnt/<host_type_directory>/lib
If you choose to make the host a client host, you will be prompted to specify a server host (running LIM) that will accept jobs from the client host and submit them to the cluster. You only need to specify one server host, but you may choose to specify additional ones for backup purposes. The client host will attempt to contact the server hosts in the order that they are listed.
lsfsetup
program attempts
to modify the rc
file so that the LSF daemons start automatically
when the host is booted or rebooted.
The host setup procedure is complete.
You should repeat this procedure for each host in the cluster. When you have finished setting up all the hosts in your cluster, you can move on to the following section, `Next Steps', for further instructions.
If you have finished installing LSF software for all desired host types, setting up individual LSF hosts, and acquiring and installing a license key, you are ready to start the LSF daemons (except on LSF client hosts) and test the installation. Instructions for this are given in `After Installation' on page 63.