15.0 Cluster Analysis, Testing, and Simulation > Simulations > Configuring Resources for Simulation

Conventions

15.3.2 Configuring Resources for Simulation

Resource traces fully describe all scheduling relevant aspects of a batch system's compute resources. In most cases, each resource trace describes a single compute node providing information about configured resources, node location, supported classes and queues, and so forth.

The resources Moab uses to simulate are created using Moab RM language. To create a Moab simulation this way, perform the following steps:

  1. Load resources into Moab using a native RM. Create a file manually using the format for different resource attributes (see W.1 Moab Resource Manager Language Data Format) or run mnodectl -q wiki ALL > nodes.dat to create a resources simulation file from the resources in your environment and write it to a file (in this example, a file called nodes.dat). You can modify the resource file to add resources, change attributes, etc.
  2. Set up the resource manager interface by inserting the following into your moab.cfg file.
    RMCFG[rmName] TYPE=NATIVE CLUSTERQUERYURL=FILE:///<locationOfFile>/<nameOfFile>

    For the example in step 1, you would replace <nameOfFile> with nodes.dat.

  3. Restart Moab.

15.3.2-A Sample Resource Trace

n8 STATE=Idle PARTITION=base AMEMORY=16000 APROC=4 CMEMORY=16000 CPROC=4 RM=base NODEACCESSPOLICY=SHARED FEATURE=linux ARCH=x86_64  

Related topics 

© 2014 Adaptive Computing