22.0 Workload-Driven Cloud Services > How-to's > Enabling cloud services

Conventions

22.1 Enabling cloud services

To configure Moab for cloud services

  1. In the Moab configuration file, set HIDEVIRTUALNODES to TRANSPARENT and VMTRACKING to TRUE.
    HIDEVIRTUALNODES  TRANSPARENT
    VMTRACKING        TRUE

    HIDEVIRTUALNODES enables VM management and reveals hypervisors, and VMTRACKING turns on Moab's ability to use VM-tracking jobs to represent VMs in the job queue.

  2. Optional: By default, Moab takes no action when a VM expires or becomes stale (has not been reported by the RM for five 30-second iterations). To customize this behavior, modify or add the following parameters in moab.cfg:
    • ENABLEVMDESTROY - causes Moab to automatically destroy VMs when their walltime expires or, if VMSTALEACTION is DESTROY, when they become stale.
    • VMSTALEACTION - specifies what action Moab should take when a VM becomes stale.
    • VMSTALEITERATIONS - specifies how many consecutive iterations a VM must not be reported by the RM for Moab to consider it stale.
    • RMPOLLINTERVAL - sets the length of an iteration.

    In the following example, Moab destroys stale VMs after three 60-second iterations.

    RMPOLLINTERVAL    60,60
    ...
    VMSTALEACTION     DESTROY
    ENABLEVMDESTROY   TRUE
    VMSTALEITERATIONS 3