IBM Spectrum LSF Application Center is associated with a specific LSF® cluster. In some cases,
you may want to switch the LSF cluster associated with
IBM Spectrum LSF Application Center. You can use the command switchlsf to change IBM Spectrum LSF Application Center files to point to a new LSF cluster.
Before you begin
Prerequisites for switching the LSF cluster:
- Ensure IBM Spectrum LSF Application Center hosts belong to the new LSF cluster.
- Check that your new LSF cluster has read/write permissions
for the job repository defined in $GUI_CONFDIR/Repository.xml
Procedure
- Log on to the IBM Spectrum LSF Application Center host as root.
- Set the IBM Spectrum LSF Application Center environment:
- Stop IBM Spectrum LSF Application Center services.
perfadmin stop all
pmcadmin stop
- Use the command switchlsf and specify the
LSF_ENVDIR directory of the new cluster with which to associate IBM Spectrum LSF Application Center.
For example, if your new cluster has the LSF_ENVDIR of
/usr/share/lsf/conf, specify:
switchlsf -d /usr/share/lsf/conf
Note: If you have Process Manager installed, you will also need to use -p and
specify the location of the Process Manager JS_ENVDIR in the new
cluster.
Important: If High Availability is enabled, you will need to run
switchlsf on each IBM Spectrum LSF Application Center instance. Otherwise, High Availability cannot work properly.
The script makes the required changes to IBM Spectrum LSF Application Center files to point to the new cluster.
- Open a new shell terminal as environment variables have
changed.
- As root, set your IBM Spectrum LSF Application Center environment.
Note: The environment for your new LSF cluster is automatically set when you set the Platform
Application Center environment.
- Start IBM Spectrum LSF Application Center services.
perfadmin start all
pmcadmin start
- Log in to IBM Spectrum LSF Application Center, and check that you
can see the management host for the new cluster in the Resources tab.