You are here: 12 Troubleshooting and System Maintenance > Object Messages

12.3 Object Messages

12.3.1 Object Message Overview

Messages can be associated with the scheduler, jobs, and nodes. Their primary use is a line of communication between resource managers, the scheduler, and end-users. When a node goes offline, or when a job fails to run, both the resource manager and the scheduler will post messages to the object's message buffer, giving the administrators and end-users a reason for the failure. They can also be used as a way for different administrators and users to send messages associated with the various objects. For example, an administrator can set the message Node going down for maintenance Apr/6/08 12pm," on node node01, which would then be visible to other administrators.

12.3.2 Viewing Messages

To view messages associated with a job (either from users, the resource manager, or Moab), run the checkjob command.

To view messages associated with a node (either from users, the resource manager, or Moab), run the checknode command.

To view system messages, use the mschedctl -l message command.

To view the messages associated with a credential, run the mcredctl -c command.

12.3.3 Creating Messages

To create a message use the mschedctl -c message <STRING> [-o <OBJECTTYPE>:<OBJECTID>] [-w <ATTRIBUTE>=<VALUE>[-w ...]] command.

The <OBJECTTYPE> can be one of the following:

The <ATTRIBUTE> can be one of the following:

Valid types include:

12.3.4 Deleting Messages

To delete or remove a message use the mschedctl -d message:<INDEX>command, where INDEX is the index of the message you want to delete.

© 2016 Adaptive Computing