The cross-cluster user account mapping feature enables cross-cluster job submission and execution for a MultiCluster environment that has different user accounts assigned to different hosts. Using this feature, you can map user accounts in a local cluster to user accounts in one or more remote clusters.
LSF administrators can map user accounts at the system level in the UserMap section of lsb.users. Both the remote and local clusters must have corresponding mappings in their respective lsb.users files.
Users can map their local accounts at the user level in .lsfhosts. This file must reside in the user’s home directory with owner read-write permissions for UNIX and owner read-write-execute permissions for Windows. Save the .lsfhosts file without a file extension. Both the remote and local hosts must have corresponding mappings in their respective .lsfhosts files.
The following example illustrates LSF behavior when the LSF administrator sets up cross-cluster user account mapping at the system level. This example shows the UserMap section of the file lsb.users on both the local and remote clusters.
Begin UserMapLOCAL REMOTE DIRECTIONuser1 user2@cluster2 exportuser3 user6@cluster2 exportEnd UserMap
Begin UserMapLOCAL REMOTE DIRECTIONuser2 user1@cluster1 importuser6 user3@cluster1 importEnd UserMap
The accounts user1 and user2 to run jobs on all hosts in both clusters: |
|||
The account user1 to run jobs on cluster2 using the lsfguest account: |
|||