Knowledge Center Previous Next Index |
Installing LSF in a Mixed Cluster
This chapter describes how to set up LSF in a mixed environment.
Contents
- Setting up a Linux cluster with Windows compute nodes.
- Setting up a Windows cluster with Linux compute nodes.
Setting up a Linux cluster with Windows compute nodes
Complete the following steps to set up a Linux cluster with Windows compute nodes.
- Install the Linux cluster on a shared file system.
- Configure the Linux cluster.
- Restart the LSF cluster.
- Install the Windows compute node.
- Start the Windows compute node.
Install the Linux cluster on a shared file system
- Install the Linux cluster as described in the Linux install guide, with exceptions to allow for Windows compute nodes.
Edit install.conf and specify the following:
- Enable dynamic hosts.
Enable or add the following line:
ENABLE_DYNAMIC_HOSTS=Y- Optional. Allow EGO to control the LSF daemons.
Enable or add the following line:
EGO_DAEMON_CONTROL=Y- Specify the cluster administrator.
LSF_ADMIN=user_accountFor example:
LSF_ADMIN=lsfadmin- Specify the installation directory.
LSF_TOP=directoryFor example:
LSF_TOP=$SHARE/LSF_7.0Configure the Linux cluster
- If you allowed EGO to control the LSF daemons, add Windows compute node information to the LSF service configuration files.
- Edit LSF_TOP/conf/ego/cluster_name/eservice/esc/conf/services
/res.xml- Navigate to the section with the correct Windows host type.
For 64-bit compute hosts, navigate to NTX64. For IA hosts, navigate to NTIA64. For other Windows compute hosts, navigate to NTX86.
- Add the proper Windows compute node information for the Command and ExecutionUser tags.
For example:
<sc:ActivityDescription> <ego:Attribute name="hostType" type="xsd:string">NTX86</ego:Attribute> <ego:ActivitySpecification> <ego:Command>C:\LSF_7.0\7.0\etc\res.exe -3</ego:Command> <ego:ExecutionUser>LSF\lsfadmin</ego:ExecutionUser> <ego:EnvironmentVariable name="LSF_ENVDIR">c:\LSF_7.0\ conf</ego:EnvironmentVariable> ...- Edit LSF_TOP/conf/ego/cluster_name/eservice/esc/conf/services/
sbatchd.xml- Navigate to the section with the correct Windows host type.
For 64-bit compute hosts, navigate to NTX64. For IA hosts, navigate to NTIA64. For other Windows compute hosts, navigate to NTX86.
- Add the proper Windows compute node information for the Command and ExecutionUser tags.
For example:
<sc:ActivityDescription> <ego:Attribute name="hostType" type="xsd:string">NTX86</ego:Attribute> <ego:ActivitySpecification> <ego:Command>C:\LSF_7.0\7.0\etc\sbatchd.exe -3</ego:Command> <ego:ExecutionUser>LSF\lsfadmin</ego:ExecutionUser> ...- Add the Windows cluster administrator account to the your cluster file.
- Edit LSF_CONFDIR/lsf.cluster.cluster_name
- In the ClusterAdmins section, add LSF\lsfadmin to the Administrators list.
For example:
Begin ClusterAdmins Administrators = lsfadmin LSF\lsfadmin End ClusterAdmins- Add the LSF user domain to the lsf.conf file.
- Edit LSF_TOP/LSF7.0/conf/lsf.conf
- Add the LSF user domain.
LSF_USER_DOMAIN=lsf_user_domainFor example:
LSF_USER_DOMAIN=LSF- Register the Windows execution password to your Linux cluster.
- Log on to any host in the cluster as egoadmin.
- Log on to EGO as the cluster administrator.
For example:
egosh user logon -u Admin -x mypasswd- Register the password of the Windows user account.
egosh ego execpasswd -u "domain\admin" -x passwordFor example:
egosh ego execpasswd -u "LSF\lsfadmin" -x lsfpasswdThe password must be 31 characters or less.
important:
egosh ego execpasswd -u "LSF\lsfadmin" -x password -noverifyIf you run egosh ego execpasswd from a UNIX or Linux host, you must run with the -noverify option. Only a Windows host can verify the password for a Windows user. For example:Restart the LSF cluster
- Restart the LSF cluster.
lsfstartup
Install the Windows compute node
- Install the Windows compute node as described in the Windows install guide, with exceptions to be part of a Linux cluster.
Specify the following options during installation:
- Specify the Linux master host as your master host name.
Master_Name=linux_master_name- If you allowed EGO to control the LSF daemons in your cluster master host, allow EGO to control the LSF daemons in your compute node.
EGO_DAEMON_CONTROL=Y- Specify the same port number as that of the Linux master host.
Port_Number=base_port_number- Specify the cluster administrator to be the same as on your master host.
LSF_ADMIN=domain\user_accountFor example:
LSF_ADMIN=LSF\lsfadmin- Specify the installation directory.
LSF_TOP=directoryFor example:
LSF_TOP=C:\LSF_7.0- Register the Windows execution user password to your cluster password file.
lspasswd -u "domain\admin" -p password
For example:
lspasswd -u "LSF\lsfadmin" -p lsfpasswd
The password must be 31 characters or less.
Start the Windows compute node
- Start the Windows compute node
lsadmin limstartup
- If you did not allow EGO to control the LSF daemons, manually start the LSF services.
lsfadmin resstartup
badmin hstartup
Setting up a Windows cluster with Linux compute nodes
Complete the following steps to set up a Windows cluster with Linux compute nodes.
- Install the Windows cluster master host as described in the Windows installation guide and allow EGO to control the LSF daemons.
Specify the following option:
EGO_DAEMON_CONTROL=Y- Install the Linux compute node as described in the Linux installation guide and allow EGO to control the LSF daemons.
Edit install.conf and add the following line:
EGO_DAEMON_CONTROL=Y- Add the LSF user domain to the lsf.conf file.
- Edit C:\LSF7.0\conf\lsf.conf
- Add the LSF user domain.
LSF_USER_DOMAIN=lsf_user_domainFor example:
LSF_USER_DOMAIN=LSF- Restart the Windows cluster.
egosh ego restart
Platform Computing Inc.
www.platform.com |
Knowledge Center Previous Next Index |