You are here: 16.0 Cluster Analysis, Testing, and Simulation > Simulations > Configuring Resources for Simulation
|
|
16.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:
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.RMCFG[rmName] TYPE=NATIVE CLUSTERQUERYURL=FILE:///<locationOfFile>/<nameOfFile>
For the example in step 1, you would replace <nameOfFile> with nodes.dat.
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
Copyright © 2012 Adaptive Computing Enterprises, Inc.®