Job affinity scheduling with host attributes
Create attributes for hosts and use these attributes for job affinity scheduling. Submit jobs and define host preferences based on which hosts have specific attributes.
Host attributes give you a flexible way of specifying host affinity preferences to give you more control over host selection for job scheduling. Use the battr create command to create attributes that are assigned to hosts. Use the bsub -jobaff command option when submitting jobs to define host preferences based on host attributes. If you specified a preferred attribute with bsub -jobaff and this attribute does not exist, LSF automatically creates the attribute on the execution hosts after dispatching the job to the hosts.
For example, you can specify that jobs can only run (or prefer to run) on hosts with a specific attribute or on hosts that do not possess a specific attribute. You can also specify that a job can only run (or prefer to run) on hosts or compute units that are already running a specific job, or on hosts or compute units that are not running a specific job.