HiperLogic

Virtualization, High Performance Computing, Healthcare IT, Enterprise Computing

HPC Server 2008. Setting variables across the cluster.

A common management task is to set an environment variable of some sort across a compute cluster.

To set an environment across the cluster, you can use cluscfg:
  

cluscfg setenvs name=value

For example
  

cluscfg setenvs LM_LICENSE_FILE=license_server@4000

Note this will apply only to batch jobs started with the Microsoft HPC scheduler, not to normal programs running outside of batch.

If you need to set a variable across all nodes, and need it to be referenced outside of user batch jobs, then do the following:

Select the nodes into the node management view and run the following command 

setx  name value /M

This command will add this environement variable in the system of all the selected nodes:

clusrun setx PATH  "%PATH%;\\headnode\soft\bin"

Tags:

© 2006-2010 HiperLogic, LLC.  |  Serving the Ann Arbor, Southeast Michigan, and Ohio region  |  (888)-268-3930  |