25.06.2015 Views

Administering Platform LSF - SAS

Administering Platform LSF - SAS

Administering Platform LSF - SAS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Reconfiguring Your Cluster<br />

Chapter 3<br />

Working with Your Cluster<br />

After changing <strong>LSF</strong> configuration files, you must tell <strong>LSF</strong> to reread the files to<br />

update the configuration. The commands you can use to reconfigure a cluster<br />

are:<br />

◆ lsadmin reconfig<br />

◆ badmin reconfig<br />

◆ badmin mbdrestart<br />

The reconfiguration commands you use depend on which files you change in<br />

<strong>LSF</strong>. The following table is a quick reference.<br />

After making changes to ... Use ... Which ...<br />

hosts badmin reconfig reloads configuration files<br />

lsb.hosts badmin reconfig reloads configuration files<br />

lsb.modules badmin reconfig reloads configuration files<br />

lsb.nqsmaps badmin reconfig reloads configuration files<br />

lsb.params badmin reconfig reloads configuration files<br />

lsb.queues badmin reconfig reloads configuration files<br />

lsb.resources badmin reconfig reloads configuration files<br />

lsb.users badmin reconfig reloads configuration files<br />

lsf.cluster.cluster_name lsadmin reconfig AND<br />

badmin mbdrestart<br />

reconfigures LIM, reloads configuration<br />

files, and restarts mbatchd<br />

lsf.conf<br />

lsf.shared<br />

lsadmin reconfig AND<br />

badmin mbdrestart<br />

lsadmin reconfig AND<br />

badmin mbdrestart<br />

Reconfiguring the cluster with lsadmin and badmin<br />

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

2 Run lsadmin reconfig to reconfigure LIM:<br />

% lsadmin reconfig<br />

Checking configuration files ...<br />

No errors found.<br />

reconfigures LIM and reloads<br />

configuration files, and restarts<br />

mbatchd<br />

reconfigures LIM, reloads configuration<br />

files, and restarts mbatchd<br />

lsf.sudoers badmin reconfig reloads configuration files<br />

lsf.task<br />

lsadmin reconfig AND reconfigures LIM and reloads<br />

badmin reconfig configuration files<br />

Do you really want to restart LIMs on all hosts? [y/n] y<br />

Restart LIM on ...... done<br />

Restart LIM on ...... done<br />

Restart LIM on ...... done<br />

The lsadmin reconfig command checks for configuration errors.<br />

If no errors are found, you are asked to confirm that you want to restart<br />

lim on all hosts and lim is reconfigured. If fatal errors are found,<br />

reconfiguration is aborted.<br />

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

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

Saved successfully!

Ooh no, something went wrong!