Similar to LANs, you can configure your site for a failover mechanism across multiple sites in a wide network.
You only need one host to run the LSF License Scheduler, but you can configure your site for a failover mechanism with multiple candidate hosts to take over the scheduling in case of a failure.
License scheduling across sites can be streamlined because LSF License Scheduler supports service provisioning during breaks in wide area network connections. This allows you to run LSF License Scheduler from one host that controls license scheduling across multiple sites.
As the root user, install LSF License Scheduler on each cluster in the WAN configuration and select one cluster to be the cluster.
In the cluster that contains the WAN license server, log on as the primary License Scheduler administrator.
Edit the following items in LSF_CONFDIR/lsf.licensescheduler:
Specify a space-separated list of hosts for the HOSTS parameter:
HOSTS=hostname_1 hostname_2 ... hostname_n
hostname_1 is the most preferred host for running LSF License Scheduler.
hostname_n is the least preferred host for running LSF License Scheduler.
In the Clusters section, specify the names of the clusters in the WAN.
Begin Clusters
CLUSTERS
design_SJ
design_BOS
End Clusters
In the cluster that contains the WAN license server, as the LSF primary administrator, edit LSF_CONFDIR/lsf.conf. Lines that begin with # are comments:
Specify a space-separated list of hosts for the LSF_LIC_SCHED_HOSTS parameter:
LSF_LIC_SCHED_HOSTS="hostname_1 hostname_2 ... hostname_n"
hostname_1, hostname_2, ..., hostname_n are hosts on which the LSF LIM daemon starts the LSF License Scheduler daemon (bld).
The first host listed in the HOSTS list will be the default master License Scheduler host for the WAN.
The order of the host names in LSF_LIC_SCHED_HOSTS is ignored.
Configure the LSF_LIC_SCHED_HOSTS parameter in lsf.conf with a local list of candidate hosts.
Configure the HOSTS parameter in the Parameters section lsf.licensescheduler with the following list of hosts:
In the cluster that contains the WAN license server and the other clusters in the WAN, run the following commands:
A design center contains the following hosts configuration in a WAN:
LIM starts bld on the following hosts:
License Scheduler candidate hosts are listed in the following order of preference:
The following diagram shows hostB1.designcenter_b.com, the License Scheduler host for the WAN containing Design Center A and Design Center B.
The LSF LIM daemon starts the LSF License Scheduler daemon (bld) on each host listed in LSF_LIC_SCHED_HOSTS in Design Center A and Design Center B.
Each host in the HOSTS list in Design Center A is a potential LSF License Scheduler candidate in Design Center A and is running the bld daemon, but only one host becomes the LSF License Scheduler host—the first host in the HOSTS list that is up and that is running the bld daemon. Similarly, the License Scheduler host in Design Center B is the first host in the HOSTS list that is up and that is running the bld daemon.
License Scheduler manages the licenses in Design Center A and Design Center B as follows:
Both design centers list hostB1.designcenter_b.com at the top of their HOSTS lists. hostB1.designcenter_b.com is the License Scheduler host for Design Center A and for Design Center B. The rest of the hosts in both design centers remain on standby as candidate License Scheduler hosts. License Scheduler manages the license scheduling across the WAN connection.
In the above example configuration, there are two potential points of failure:
If hostB1.designcenter_b.com fails, and bld stops running, a candidate License Scheduler host must take over the license management. The next host on the HOSTS list in both Design Center A and Design Center B is hostEB2designcenter_b.com. License Scheduler fails over to this host if it is up and running.
If the network connection between Design Center A and Design Center B breaks, Design Center A can no longer communicate with the hosts in Design Center B, so hostB1.designcenter_b.com and hostB2.designcenter_b.com are no longer candidate license scheduling hosts for Design Center A. The next candidate host for Design Center A is hostA1.designcenter_a.com. License management then runs locally in Design Center A on hostA1.designcenter_a.com. In Design Center B, hostB1.designcenter_b.com continues to run License Scheduler, but only manages the local network as long as the wide area network connection is down.
The local License Scheduler host, hostA1.designcenter_a.com, checks for a heartbeat from hostB1.designcenter_b.com at regular intervals, then returns license management back to hostB1.designcenter_b.com when the network connection returns.