Grant write access to the intended owners of the shared common files that are specified in the
#include directive so that they can maintain their own files. These owners do
not necessarily have write access to the entire configuration file, which limits the changes that
they can make to the entire cluster and ensures that only the local administrator can affect the
system.
All #include lines must be inserted at the beginning of the local
lsf.shared file. If #include lines are placed within or
after any other sections in lsf.shared, LSF
reports an error.
You can insert the #include lines anywhere in the other configuration
files.
For example, lsf.shared file has four included common files that represent
the HostType, HostModel, and Resource
sections. Different users can own the different common files, so one user can be responsible for
maintaining the list of hardware types and operating systems, one can be responsible for the list of
machine model names and CPU factors, and one can be responsible for the list of LSF
resources. The Cluster section is different for each cluster when using the
LSF multicluster
capability, so this section is not used in a shared common file.
#INCLUDE "/Shared/lsf.shared.HostType" # Comments
#INCLUDE "/Shared/lsf.shared.HostModel"
#INCLUDE "/Shared/lsf.shared.Resource"
Begin Cluster
ClusterName Servers
cluster1 hostA
cluster2 hostB
End Cluster
The following lsb.queues file has three included common files that represent
three different queues. This allows different users (such as queue administrators) to own each file
and be responsible for their own queues. The file also has one included common file that specifies
the users who can submit jobs to the normal queue. This allows a user, for
example, to control the users or user groups that have access to the normal
queue.
#INCLUDE "/Shared/lsb.queues.interactive"
#INCLUDE "/Shared/lsb.queues.priority"
#INCLUDE "/Shared/lsb.queues.night"
Begin Queue
QUEUE_NAME = normal
PRIORITY = 30
STACKLIMIT= 2048
DESCRIPTION = For normal low priority jobs, running only if hosts are lightly loaded.
QJOB_LIMIT = 60 # job limit of the queue
PJOB_LIMIT = 2 # job limit per processor
ut = 0.2
io = 50/240
#INCLUDE "/Shared/lsb.queues.normal.users" #USERS parameter
HOSTS = all
NICE = 20
End Queue
The following lsb.applications file has four included common files that
represent four different application profiles. This allows different users to own each file and be
responsible for their own application profiles. The file also has one included common file that
specifies the pre-execution and post-execution scripts for the 4proc
application. This allows a user, for example, to change the scripts for this particular
application.
#INCLUDE "/Shared/lsb.applications.dockerapp"
#INCLUDE "/Shared/lsb.applications.shifterapp"
#INCLUDE "/Shared/lsb.applications.singapp"
Begin Application
NAME = 4proc
RUNTIME = 120 # scheduling hint of 15 minutes
TASKLIMIT = 4 4 4
RES_REQ = span[hosts=1]
#INCLUDE "/Shared/lsb.applications.4proc.scripts" #PRE_EXEC/POST_EXEC parameters
End Application
#INCLUDE "/Shared/lsb.applications.catia"
If there is any duplicate configuration between the common configuration file and the local ones,
the common one takes effect and LSF
reports an error. If there are fewer columns in the common files than the local configurations,
LSF provides default values for the undefined columns. If there are more columns in the common files
than the local configurations, LSF
ignores the lines with more columns and reports an error.