The following example describes how local user account mapping works when configured in the file .lsfhosts in the user’s home directory. Only mappings configured in .lsfhosts on both the local and remote hosts work.
To allow … |
On … |
In the home directory of … |
.lsfhosts must contain the line … |
---|---|---|---|
The account user1 to run jobs on all hosts within the cluster: |
|||
|
hostA |
user1 |
|
hostB |
user1 |
|
|
|
hostC |
user99 |
|
To allow … |
In lsb.params, configure … |
Behavior |
---|---|---|
All hosts within the cluster to run jobs on any other host within the cluster: |
||
|
|
When any local user submits an LSF job, the job runs under the account jobuser, using the permissions that are associated with the jobuser account. |