LSF Version 7.3 - Administering Platform LSF
Configuring Service Classes for SLA Scheduling
344 Administering Platform LSF
Modify SLA jobs (bmod)
1 Run bmod -sla to modify the service class a job is attached to, or to attach a
submitted job to a service class. Run
bmod -slan to detach a job from a service
class:
bmod -sla Kyuquot 2307
Attaches job 2307 to the service class Kyuquot.
bmod -slan 2307
Detaches job 2307 from the service class Kyuquot.
You cannot:
◆ Use -sla with other bmod options
◆ Move job array elements from one service class to another, only entire job
arrays
◆ Modify the service class of jobs already attached to a job group
If a default SLA is configured in
lsb.params, bmod -slan moves the job to the
default SLA. If the job is already attached to the default SLA,
bmod -slan has
no effect on that job.
Configuring Service Classes for SLA Scheduling
Configure service classes in
LSB_CONFDIR/cluster_name/configdir/lsb.serviceclasses. Each service
class is defined in a
ServiceClass section.
Each service class section begins with the line Begin ServiceClass and ends with the
line
End ServiceClass. You must specify:
◆ A service class name
◆ At least one goal (deadline, throughput, or velocity) and a time window when
the goal is active
◆ A service class priority
All other parameters are optional. You can configure as many service class sections
as you need.
IMPORTANT: The name you use for your service classes cannot be the same as an existing host
partition or user group name.
User groups for service classes
You can control access to the SLA by configuring a user group for the service class.
If LSF user groups are specified in
lsb.users, each user in the group can submit
jobs to this service class. If a group contains a subgroup, the service class policy
applies to each member in the subgroup recursively. The group can define fairshare
among its members, and the SLA defined by the service class enforces the fairshare
policy among the users in the user group configured for the SLA.
By default, all users in the cluster can submit jobs to the service class.