(Click to open topic with navigation)
Moab provides numerous interfaces allowing it to monitor and manage most services and resources. It also possesses flexible interfaces to allow it to interact with peer services and applications as both a broker and an information service. This appendix is designed to provide a general overview and links to more detailed interface documentation.
Moab interfaces to systems providing various services and using various protocols. This appendix is designed to assist users who want to enable Moab in new environments using one of the existing interfaces. It does not cover the steps required to create a new interface.
The Moab Cluster and Grid Suite provide a (Moab) workload manager server that supports a broad array of client services. These services can be directly accessed via Moab client commands.
H.1.3 CLI (Command Line Interface) XML API
All Moab client commands can report results in XML format to allow the information to be easily integrated into peer services, portals, databases, and other applications. To request that a client command report its output in XML, specify the --format=xml flag as in the following example:
> showq --format=xml <Data> <Object>queue</Object> <cluster LocalActiveNodes="1" LocalAllocProcs="1" LocalIdleNodes="0" LocalIdleProcs="3" LocalUpNodes="1" LocalUpProcs="4" RemoteActiveNodes="0" RemoteAllocProcs="0" RemoteIdleNodes="0" RemoteIdleProcs="0" RemoteUpNodes="0" RemoteUpProcs="0" time="1128451812"></cluster> <queue count="1" option="active"> <job AWDuration="11672" EEDuration="1128451812" Group="[DEFAULT]" JobID="Moab.2" MasterHost="cw2" PAL="2" QOS="bug3" ReqAWDuration="54000" ReqNodes="1" ReqProcs="1" RsvStartTime="1128451812" RunPriority="0" StartPriority="1" StartTime="1128451812" StatPSDed="11886.580000" StatPSUtl="11886.580000" State="Running" SubmissionTime="1128451812" SuspendDuration="0" User="smith"></job> </queue> <queue count="1" option="eligible"> <job EEDuration="1128451812" Group="jacksond" JobID="customer.35" QOS="bug" ReqAWDuration="3600" ReqProcs="1" StartPriority="1" StartTime="0" State="Idle" SubmissionTime="1128451812" SuspendDuration="0" User="johnson"></job> <queue><queue count="0" option="blocked"></queue> </Data>
Common Query/Control Services
Moab can monitor, schedule, and control services and resources using multiple protocols. These protocols include the following:
Using the resource manager interfaces, Moab can do the following:
Moab's identity and credential management interfaces allow Moab to exchange credential and user configuration, access, policy, and usage information.
Moab accounting interfaces allow Moab to export local utilization statistics, events, and accounting information to site specific scripts.
Moab can import and export key event information regarding workload, cluster resources, cluster and grid services, and other components of hardware and software infrastructure.
By default, these clients communicate with the scheduler using the U.S. Department of Energy (DOE) Scalable Systems Software socket and wire protocols. These protocols are largely HTML- and XML-based, using PKI, 3DES, MD5, challenge, and other security protocols and are documented within the SSS project pages.
As part of this initiative, the scheduler/client protocol has been extended to support multiple socket level protocol standards in communicating with its clients and peer services. These include SingleUseTCP, SSS-HALF, and HTTP. The client socket protocol can be specified by setting the MCSOCKETPROTOCOL parameter to SUTCP, SSS-HALF, or HTTP. Further protocols are being defined and standardized over time and backwards compatibility will be maintained. Documentation on the SSS-HALF implementation can be found within the DOE's SSS Project Notebooks.
Moab provides interfaces to enable the following services:
Moab provides interfaces to allow interaction with various grid brokers and services. These interfaces allow Moab to provide services as well as utilize services.
Services Utilized
See Moab Workload Manager for Grids for more information on utilized services.
Services Provided
See Moab Workload Manager Grid Basics for more information on provided services.