The scripts from this section are for automating Microsoft® Windows® Compute Cluster Server 2003 in your Grid applications. Please feel free to email us any other scripts you have and we will provide them to the community.

 
 


 

This page provides a list of scripting resources related to Microsoft Windows Compute Cluster Server 2003 (CCS).

 
Cluster Scripts
Get Cluster Counter
Gets count of all jobs pending on a cluster
List Cluster Properties
Connects to compute cluster head node and gets cluster properties.


Node Scripts
Add Computer Nodes Using a .CSV File
Sample input file that shows configuration information needed for adding nodes to the cluster.
Approve All Nodes
Approves all nodes of a compute cluster.
Approve Node
Approves a node of a compute cluster.
Get All Nodes Properties
Gets properties of all nodes of a compute cluster.
Get Node Properties
Gets properties of a node of a compute cluster.
List Jobs on Node
List jobs running on each node.
List Tasks on Node
List tasks running on each node.
Pause All Nodes
Pauses all nodes of a compute cluster.
Pause Node
Pauses a node of a compute cluster.
Resume All Nodes
Resumes all nodes of a compute cluster.
Resume Node
Resumes a node of a compute cluster.


Jobs Scripts
Cancel Job
Cancels a job.
Create Job from XML
Creates a job on a cluster from an XML template.
List All Cluster Jobs
Lists all jobs active on a compute cluster.
List Job Properties
Lists properties of a specific job.
List Job Resource Usage
Gets the resource usage of a currently running job.
List Job Tasks
Lists tasks of a specific job.
List One User's Jobs
Lists all jobs of a specific user with a specific status on a cluster.
List User Jobs by Status
Lists all jobs of a specific user on a cluster, organized by status.
Run Job on Ready Nodes
Runs a job on each ready node.
Run Job on Selected Nodes
Runs a job on asked nodes that meet certain criteria.
Submit a Job
Submits an existing job to the cluster scheduler.
Create and Submit Job with One Task
Creates and adds a job, creates and adds a task to the job, and submits the job.
Create and Submit Job with Multiple Tasks
Creates and adds a job, adds multiple tasks to the job, and submits job.
Create and Submit Job with Multiple Variable Tasks
Creates and adds a job, adds multiple, variable tasks to the job, and submits job.
Create and Submit Jobs with One Task
Creates and adds multiple jobs, adds one task to each job, and submits the jobs.
Create and Submit Multiple Jobs with Multiple Tasks
Creates and adds multiple jobs, adds multiple tasks to each job, and submits the jobs.
Create and Submit Multiple Jobs with Multiple Variable Tasks
Creates and adds multiple jobs, adds multiple, variable tasks to each job, and submits the jobs.
Create Task, Set Properties and Add to Job
Creates a task, sets its properties, and adds it to an existing job.


Tasks Scripts
Cancel Task
Cancels a specific task.
Check Job Tasks for All Finished
Checks whether all tasks of a job have finished, failed or been cancelled.
Check Job Tasks for Any Finished
Checks whether any task of a job has finished, failed or been cancelled.
Create Task and Set Properties
Creates a task and sets properties.
Create Task from XML File
Creates a task from data in an XML file.
Get Task Resource Usage
Gets the resource usage of the specified task.
List All Cluster Tasks
Lists all tasks of all jobs on all nodes on a compute cluster.
List All Tasks on Node
Lists all tasks on a specific compute node of a compute cluster.
List Job Tasks
Lists tasks of a specific job.
List Job Tasks by Status
Lists tasks of a specific job by status.