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.

Host Groups<br />

Host Groups<br />

Where to use host groups<br />

You can define a host group within <strong>LSF</strong> or use an external executable to<br />

retrieve host group members.<br />

Use bhosts to view a list of existing hosts. Use bmgroup to view host group<br />

membership use.<br />

<strong>LSF</strong> host groups can be used in defining the following parameters in <strong>LSF</strong><br />

configuration files:<br />

◆ HOSTS in lsb.queues for authorized hosts for the queue<br />

◆ HOSTS in lsb.hosts in the HostPartition section to list host groups<br />

that are members of the host partition<br />

Configuring host groups<br />

1 Log in as the <strong>LSF</strong> administrator to any host in the cluster.<br />

2 Open lsb.hosts.<br />

3 Add the HostGroup section if it does not exist.<br />

Begin HostGroup<br />

GROUP_NAME GROUP_MEMBER<br />

groupA<br />

(all)<br />

groupB<br />

(groupA ~hostA ~hostB)<br />

groupC<br />

(hostX hostY hostZ)<br />

groupD<br />

(groupC ~hostX)<br />

groupE<br />

(all ~groupC ~hostB)<br />

groupF<br />

(hostF groupC hostK)<br />

desk_tops<br />

(hostD hostE hostF hostG)<br />

Big_servers (!)<br />

End HostGroup<br />

4 Enter a group name under the GROUP_NAME column.<br />

External host groups must be defined in the egroup executable.<br />

5 Specify hosts in the GROUP_MEMBER column.<br />

(Optional) To tell <strong>LSF</strong> that the group members should be retrieved using<br />

egroup, put an exclamation mark (!) in the GROUP_MEMBER column.<br />

6 Save your changes.<br />

7 Run badmin ckconfig to check the group definition. If any errors are<br />

reported, fix the problem and check the configuration again.<br />

8 Do one of the following:<br />

a Run badmin reconfig if you do not want the new group to be<br />

recognized by jobs that were submitted before you reconfigured.<br />

b Run badmin mbdrestart if you want the new host to be recognized<br />

by jobs that were submitted before you reconfigured.<br />

92<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!