25.06.2015 Views

Administering Platform LSF - SAS

Administering Platform LSF - SAS

Administering Platform LSF - SAS

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Tuning mbatchd on UNIX<br />

The child mbatchd continues to listen to the port number specified by<br />

LSB_QUERY_PORT and creates threads to service requests until the job status<br />

changes, a new job is submitted, or until the time specified in<br />

MBD_REFRESH_TIME in lsb.params has passed.<br />

◆ If MBD_REFRESH_TIME is < 10 seconds, the child mbatchd exits at<br />

MBD_REFRESH_TIME even if the job changes status or a new job is<br />

submitted before MBD_REFRESH_TIME expires<br />

◆ If MBD_REFRESH_TIME > 10 seconds, the child mbatchd exits at 10<br />

seconds even if the job changes status or a new job is submitted before the<br />

10 seconds<br />

◆ If MBD_REFRESH_TIME > 10 seconds and no job changes status or a new<br />

job is submitted, the child mbatchd exits at MBD_REFRESH_TIME<br />

Setting a query-dedicated port for mbatchd<br />

To enable a query-dedicated port for mbatchd and change the default mbatchd<br />

behavior so that mbatchd forks a child mbatchd that can create threads,<br />

specify a port number with the parameter LSB_QUERY_PORT in lsf.conf.<br />

This configuration only works on UNIX platforms that support thread<br />

programming.<br />

1 Log on to the host as the primary <strong>LSF</strong> administrator.<br />

2 Edit lsf.conf.<br />

3 Add the LSB_QUERY_PORT parameter and specify a port number that will<br />

be dedicated to receiving requests from hosts.<br />

4 Save the lsf.conf file.<br />

Where to go next If you want to change the default value for MBD_REFRESH_TIME (default: 5<br />

seconds), proceed to “Specifying an expiry time for child mbatchds” on<br />

page 492.<br />

Otherwise, you have completed configuration. Reconfigure the cluster with the<br />

badmin mbdrestart command.<br />

Specifying an expiry time for child mbatchds<br />

You define how often mbatchd forks a new child mbatchd with the parameter<br />

MBD_REFRESH_TIME in lsb.params.<br />

The default value for this parameter is 5 seconds. Valid values are 5 to 300<br />

seconds.<br />

1 Log on to the host as the primary <strong>LSF</strong> administrator.<br />

2 Edit lsb.params.<br />

3 Add the MBD_REFRESH_TIME parameter and specify a time interval in<br />

seconds to fork a child mbatchd.<br />

4 Save the lsb.params file.<br />

5 Reconfigure the cluster:<br />

% badmin reconfig<br />

492<br />

<strong>Administering</strong> <strong>Platform</strong> <strong>LSF</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!