This chapter describes the procedure for installing the LSF system software using the LSF installation and setup program, lsfsetup
. When you install LSF following the steps in this section, you have complete control over all aspects of the installation, and will be asked where to place configuration files, set up service ports, and other questions about the LSF installation.
If you could not accept one or more of the preconfigured settings in the default LSF setup described in the previous chapter, or if you are experienced with and generally knowledgeable about LSF and operating system software, then you should be able to use LSF's custom installation procedure.
This chapter describes the procedures for 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 28 to install the files for LSF on one or more additional platforms--but only if you plan to create an LSF cluster including host machines which do not all use the same operating system. If all hosts in your LSF cluster are running under the same operating system, you should skip to `LSF Host Setup' on page 29.
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.
After the software is installed, some setup must be done for each host in the LSF cluster. These steps are given in `LSF Host Setup' on page 29.
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 allows you to install all LSF files--host type independent and host type dependent--for the host type you have chosen to install first, on the file server host you have selected. The LSF distribution file you obtained, and from which you extracted and uncompressed the LSF installation files, determines which host type dependent files are installed.
These installation procedures will work correctly even if the file server host 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.
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 LSF installable products are displayed in a numbered list.
If you select more than one product, make sure you separate them with commas.
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.
This is the directory that contains all host type dependent LSF files, which include programs, daemons, and libraries compiled for a specific type of host machine. These files can be shared by all hosts of the same type in the cluster.
More information on the LSF_MACHDEP directory can be found in `LSF Directory Structure' on page 3.
This is the directory that contains all host type independent LSF files, which include manual pages, configuration files, and working directories. These files can be shared by all hosts in the cluster.More information on the LSF_INDEP directory can be found in `LSF Directory Structure' on page 3.
The name may be up to 39 characters in length, and should not be the same as the name of any host in the cluster.
The installed LSF files will be owned by this account.
A menu containing options for the LSF configuration settings is displayed.
Choose option 1, `List Current Settings', to review the LSF configuration settings.
Choose option 2, `Change Current Settings', to change any or all of the LSF configuration settings.
Choose option 3, `Install the Software Now', to begin installing LSF files onto the server.
Choose option 4, `Use Default Settings', to reset all LSF configuration settings to their default values, which are based on the values you entered for LSF_INDEP, LSF_MACHDEP, and the cluster name and administrator's account name.
This copies all the LSF files into their final locations and creates a
default set of configuration files. The lsfsetup
program is
installed into the LSF_SERVERDIR
directory. You can use lsfsetup
later to maintain LSF.
This part of the installation procedure may take a few minutes, but you will be notified when it has been successfully completed.
A menu offering you license key options is displayed.
If you do not want to install your license key now for any reason, or are planning to use a DEMO license and have not yet obtained it, select the [q]uit option. Instructions for obtaining a DEMO license are in `Licensing Information' on page 11. You can install it after you have finished installing LSF by following the instructions in `License Installation' on page 33.
If you require a permanent license and do not yet have it, select option 1, `Get Information for a Permanent License'.
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.
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, continue with the procedure in `LSF Host Setup' on page 29. If you are installing LSF on one or more additional host types, see the following section, `Installing LSF Software for Additional Host Types'.
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.
A distribution directory is created. See `LSF Distribution Files' on page 8 for details.
root
.
./lsfsetup
program.
LSF's install utility starts up, and its main menu is displayed.
lsf.conf
)--created
when you installed the initial host type.
/usr/local/lsf
).
The other installation settings are automatically updated.
The lsfsetup
program installs all the products necessary for
the additional host type.
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 29 for instructions on how to complete your LSF installation and setup. If you need to install LSF for an additional host type, repeat the steps in this section once for each additional host type.
At this point, you have finished the physical installation of LSF files on the machine you have chosen to be your 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.
lsfsetup
program must be run on each host in the cluster
When you use LSF's custom installation procedure, you have full control over where you install the LSF files and how the LSF hosts in the cluster access them. To make the installation procedure as easy as possible, you should install all LSF files under the LSF_TOP directory (which you specified when you installed the LSF software), and it is this directory which you should mount on each LSF host.
root
.
/usr/local/lsf
).
/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 machine. These procedures will:
lsf.conf
,
simplifying setup and maintenance by allowing all hosts to access the same
configuration file
lsf.cluster.
cluster
file to
include all the new hosts
root
.
lsfsetup
program.
It has been installed in the LSF_MACHDEP/etc directory.
lsf.conf
)
you want to use to set up the cluster.
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, modifying the LSF configuration file, 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 and information are given in `After Installation' on page 63.