Export (0) Print
Expand All
Expand Minimize
1 out of 1 rated this helpful - Rate this topic

Microsoft.Hpc.Scheduler Namespace

This namespace defines the interfaces and enumerations used to submit and monitor jobs in an HPC cluster.

The HPC Pack software development kit (SDK) contains the assemblies required to build job submission and monitoring applications. To run an application that uses this API, the computer must have the HPC Pack Client Utilities installed.

You should not use the classes contained in this namespace. Instead, you should use the interfaces. Using the interfaces will ensure that you will be using the latest implementation when updates occur.

The Microsoft.Hpc.Scheduler namespace is used to schedule jobs on Microsoft HPC Server 2008 and later. You cannot use this namespace to manage jobs on Microsoft Compute Cluster Server 2003 (CCS), instead you must use the interfaces defined in the Microsoft.ComputeCluster namespace. Applications written for CCS will work on HPC Server 2008.

The primary interface that you use in the Microsoft.Hpc.Scheduler namespace is the IScheduler interface. To get this interface, use the new keyword to instantiate a Scheduler class object as shown in the following example.

    IScheduler scheduler = new Scheduler();

Many of the types defined in this namespace use the types defined in the Microsoft.Hpc.Scheduler.Properties namespace.

If you are writing client applications based on the service-oriented architecture (SOA), you will use the Microsoft.Hpc.Scheduler.Session namespace.

For examples that use the types defined in this namespace, see Using HPC.

ClassDescription
CommandInfoDefines property values used by the command.
CommandOutputEventArgDefines the arguments that are passed to your event handler when the command generates a line of output on a node in the cluster.
CommandRawOutputEventArgDefines the arguments that are passed to your event handler when the command generates output on a node in the cluster. The output is passed as a byte blob.
CommandTaskStateEventArgDefines the arguments that are passed to your event handler when the state of the command changes.
CustomPropContainerContains custom properties as name / value pairs.
FilterCollectionDefines a collection of filter property objects used to filter the results when retrieving jobs, task, and nodes.
IntCollectionDefines a collection of integer values. Typically, the collection contains job or node identifiers.
JobStateEventArgDefines the arguments that are passed to your event handler when the state of the job changes.
JobTemplateInfoProvides information about a job template, including the identifier, name, description, and security descriptor for the job template. Also provides dates and times for when the job template was created and last changed.
NameValueRepresents a name/value pair.
NameValueCollectionRepresents a collection of name/value pairs.
PropertyIdCollectionDefines a collection of property identifiers.
RemoteCommandDefines a command to run on one or more nodes in the cluster.
SchedulerDefines the methods used to schedule and manage the jobs and tasks in a compute cluster.
SchedulerCollectionDefines a generic collection of objects that the scheduler returns.
SchedulerCoreProvides information about a core on a node such as its state and the task currently running on it.
SchedulerCountersDefines counter information for the cluster.
SchedulerJobManages the tasks and resources that are associated with a job.
SchedulerJobCountersDefines the counter values related to the status of tasks in the job (for example, the number of tasks that have finished running).
SchedulerNodeContains information about a compute node.
SchedulerNodeCountersContains counter data information for the node.
SchedulerObjectBaseThe abstract class from which the HPC objects inherit.
SchedulerTaskDefines a task.
SchedulerTaskCountersContains counter data for the tasks that are running in the cluster.
ServerVersionContains the file version information for the HPC server assembly.
SortCollectionDefines a collection of sort property objects used to sort the results when retrieving jobs, task, and nodes.
StringCollectionDefines a collection of string values.
TaskStateEventArgDefines the arguments that are passed to your event handler when the state of a task in the job changes.
InterfaceDescription
ICommandInfoDefines property values used by the command.
ICommandOutputEventArgDefines the arguments that are passed to your event handler when the command generates a line of output on a node in the cluster.
ICommandRawOutputEventArgDefines the arguments that are passed to your event handler when the command generates output on a node in the cluster. The output is passed as a byte blob.
ICommandTaskStateEventArgDefines the arguments that are passed to your event handler when the state of the command changes.
IConnectionEventArgDefines the parameters that are passed to the ReconnectHandler event handler when an application connects to, disconnects from, or reconnects to the HPC Job Scheduler Service or the channel that delivers events from the HPC Job Scheduler Service that relate to changes to the states of jobs, tasks, and nodes.
IFilterCollectionDefines a collection of filter property objects used to filter the results when retrieving jobs, task, and nodes.
IIntCollectionDefines a collection of integer values. Typically, the collection contains job or node identifiers.
IJobStateEventArgDefines the arguments that are passed to your event handler when the state of the job changes.
INameValueRepresents a name/value pair.
INameValueCollectionRepresents a collection of name/value pairs.
INodeReachableEventArgDefines the parameters that are passed to the NodeReachableHandler event handler when the HPC Node Manager Service on a node becomes reachable or unreachable.
INodeStateEventArgDefines the parameters that are passed to the Microsoft.Hpc.Scheduler.NodeStateHandler event handler when the state of a node changes.
IPropertyIdCollectionDefines a collection of property identifiers.
IRemoteCommandDefines a command to execute on one or more nodes in the cluster.
IRemoteCommandEventsDefines the interface that COM applications implement to handle events raised by the IRemoteCommand object.
ISchedulerDefines the methods used to schedule and manage the jobs and tasks in a compute cluster.
ISchedulerCollectionDefines a generic collection of objects that the scheduler returns.
ISchedulerCoreProvides information about a core on a node such as its state and the task currently running on it.
ISchedulerCountersContains counter information for the cluster.
ISchedulerJobManages the tasks and resources that are associated with a job.
ISchedulerJobCountersDefines the counter values related to the status of tasks in the job (for example, the number of tasks that have finished running).
ISchedulerJobEventsDefines the interface that COM applications implement to handle events raised by the ISchedulerJob object.
ISchedulerNodeContains information about a compute node.
ISchedulerNodeCountersContains counter data information for the node.
ISchedulerNodeEventsDefines the interface that COM applications implement to handle events that an ISchedulerNode object raises.
ISchedulerNodeReachableEventsDefines the interface that COM applications implement to handle the events that an ISchedulerNode object raises when the HPC Node Manager Service on a node become reachable or unreachable.
ISchedulerPoolContains information about a pool.
ISchedulerRowEnumeratorContains the methods used to retrieve rows from the enumerator.
ISchedulerRowSetDefines a rowset object that you can use to retrieve data from the rowset.
ISchedulerTaskDefines a task.
ISchedulerTaskCountersContains counter data for the tasks that are running in the cluster.
IServerVersionContains the file version information for the HPC server assembly.
ISortCollectionDefines a collection of sort property objects used to sort the results when retrieving jobs, task, and nodes.
IStringCollectionDefines a collection of string values.
ITaskStateEventArgDefines the arguments that are passed to your event handler when the state of a task in the job changes.
DelegateDescription
CommandOutputHandlerDefines the delegate to implement when you subscribe to the IRemoteCommand.OnCommandOutput event.
CommandRawOutputHandlerDefines the delegate to implement when you subscribe to the IRemoteCommand.OnCommandRawOutput event.
CommandTaskStateHandlerDefines the delegate to implement when you subscribe to the IRemoteCommand.OnCommandTaskState event.
JobStateHandlerDefines the delegate to implement when you subscribe to the ISchedulerJob.OnJobState event.
NodeReachableHandlerDefines the delegate that your application implements when you subscribe to the OnNodeReachable event.
NodeStateHandlerDefines the delegate that your application implements when you subscribe to the OnNodeState event.
ReconnectHandlerDefines the delegate that your application implements when you subscribe to the OnSchedulerReconnect event.
TaskStateHandlerDefines the delegate to implement when you subscribe to the ISchedulerJob.OnTaskState event.
EnumerationDescription
CommandOutputTypeDefines the source of the output.
ConnectionEventCodeDefines constants that indicate whether an application connected to, disconnected from, or reconnected to the HPC Job Scheduler Service or to the channel that delivers events from the HPC Job Scheduler Service that relate to changes to the states and properties of jobs, tasks, and nodes.
PropIdDefines identifiers that uniquely identify job, task, and node properties. Use these property identifiers when specifying a filter or sort property.
SchedulerCoreStateDefines the state of a core on a node in the cluster.




Build Date:

2013-04-22
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.