This guide provides scenarios and steps to try new features in Windows® HPC Server 2008 R2.
![]() |
Important |
Read the Release Notes for Windows HPC Server 2008 R2 Beta 1 before following the steps in this guide. |
This guide includes the following test scenarios:
- Create customizable
dashboards that allow you to monitor nodes at a glance
- Save a command or script
as a diagnostic test in HPC Cluster Manager
- Optimize job
scheduling for SOA jobs and interactive workloads
- Manage SOA service
configuration settings from a single location
- Run a SOA client that
supports the fire and recollect model
- Provision or clean up
the nodes that are allocated to your job
- Provide custom job
progress information
- Allow canceled tasks to
save state information or clean up before exiting
Cluster Management
The test focus scenarios in this section help you test new management features in this release.
Create customizable dashboards that allow you to monitor nodes at a glance
Scenario |
When administrating clusters of up to 1000 nodes, you need the ability to create customizable dashboards that allow you to monitor several node metrics for the entire cluster at a glance. To more easily identify outliers and bottlenecks and quickly switch between views, you can create multiple node list or heat map tabs that focus on sets of information such as:
|
Goal |
Create one or more new tabs in Node Management. |
Requirements |
|
Steps |
To change the settings on a tab, right-click the tab name, then click Customize Tab. If you are creating a Heat Map tab, try applying the following settings:
|
Expected results |
|
Feedback |
To provide feedback, send an e-mail message to HPCBeta@microsoft.com, or visit Microsoft Windows HPC Server 2008 R2 Beta on the Microsoft® Connect Web site (http://go.microsoft.com/fwlink/?LinkId=169523). |
Related Resources |
Video demonstration of the heat map view on a large Windows HPC Server 2008 R2 Beta 1 cluster (http://go.microsoft.com/fwlink/?LinkId=177736) |
Save a command or script as a diagnostic test in HPC Cluster Manager
Scenario |
When managing your cluster, there are some commands or scripts that you run regularly to check the status of your nodes. You would like to be able to run your own tests and the built-in tests from a single location. |
Goal |
Save the |
Requirements |
|
How to test |
Step 1: Define the test
Step 2: Add the test to the cluster
Step 3: Run the test and view results
|
Expected results |
The results from the test should look similar to this: NODE 1 - - > Finished ------------------------------------ Total # of free bytes : 33324670976 Total # of bytes : 41910938752 Total # of avail free bytes : 33324670976 |
Feedback |
To provide feedback, send an e-mail message to HPCBeta@microsoft.com, or visit Microsoft Windows HPC Server 2008 R2 Beta on the Microsoft® Connect Web site (http://go.microsoft.com/fwlink/?LinkId=169523). |
Related Resources |
Diagnostics Extensibility in Windows HPC Server 2008 R2 CTP2 Step-by-Step Guide on MSDN (http://go.microsoft.com/fwlink/?LinkId=177604) |
SOA scheduling and runtime
The test focus scenarios in this section help you test new SOA scheduling and runtime features in this release.
Optimize job scheduling for SOA jobs and interactive workloads
Scenario |
Your cluster runs mostly interactive workloads, such as service-oriented architecture (SOA) jobs. One or two large jobs may be taking up most of the cluster, but there are many other interactive jobs that need to run. You want as many jobs to start as possible, rather than having most of the resources allocated to the top of the job queue. To optimize job scheduling for interactive workloads, you can change the scheduling mode from Batch Queued to Service Balanced. In Service Balanced mode, the scheduler attempts to start all incoming jobs as soon as possible at their minimum resource requirements. After all the jobs in the queue have their minimum resources, additional cluster resources are allocated to jobs based on their load and priority. Resource allocation is periodically rebalanced to fill idle resources and accommodate new jobs. |
Goal |
Change the scheduling mode from Batch Queued to Service Balanced. |
Requirements |
|
How to test |
After you have set the Service Balanced mode, you can adjust how additional resources are allocated with the PriorityBias setting, and how often the scheduler rebalances with the ReBalancingInterval setting. PriorityBias controls how additional resources are allocated to jobs. You can choose from the following three options:
ReBalancingInterval represents the time, in seconds, between scheduler rebalancing passes. You can use one of the following methods to change Priority Bias and ReBalancingInterval:
|
Expected results |
Jobs are started as soon as possible at their minimum resources requirements. If all jobs in the queue have started, all remaining resources in the cluster are added to jobs based on their priority and workload. As new jobs start, cluster resources are reallocated in proportion to each job’s priority. |
Feedback |
To provide feedback, send an e-mail message to HPCBeta@microsoft.com, or visit Microsoft Windows HPC Server 2008 R2 Beta on the Microsoft® Connect Web site (http://go.microsoft.com/fwlink/?LinkId=169523). |
Related Resources |
Batch Queued mode is priority based, first come first served scheduling like in Windows HPC Server 2008. For information, see Understanding Job Scheduling Policies (http://go.microsoft.com/fwlink/?LinkId=177866). |
Manage SOA service configuration settings from a single location
Scenario |
You have multiple SOA services installed to a central location on your cluster, and you want the ability to see all of the deployed services, change settings to help diagnose and troubleshoot specific services, and modify the service configuration files from a centralized location. In HPC Cluster Manager, in Configuration, the Services view lets you:
|
||||
Goal |
Add a service on the cluster and manage the service configuration settings from HPC Cluster Manager. |
||||
Requirements |
|
||||
How to test |
|
||||
Expected results |
|
||||
Feedback |
To provide feedback, send an e-mail message to HPCBeta@microsoft.com, or visit Microsoft Windows HPC Server 2008 R2 Beta on the Microsoft® Connect Web site (http://go.microsoft.com/fwlink/?LinkId=169523). |
||||
Related Resources |
|
Run a SOA client that supports the fire and recollect model
Scenario |
For a long running SOA session (sometime overnight), users want to be able to create the session, send out all calculation requests, turn off their desktop or laptop, and come back the next morning to get the results. |
Goal |
Run SOA client, start a session and send requests, then re-attach to the session to collect results. |
Requirements |
|
How to test |
|
Expected results |
When you reattach to your fire and recollect session, you should see the following output to the console:
|
Feedback |
To provide feedback, send an e-mail message to HPCBeta@microsoft.com, or visit Microsoft Windows HPC Server 2008 R2 Beta on the Microsoft® Connect Web site (http://go.microsoft.com/fwlink/?LinkId=169523). |
Related Resources |
|
Job scheduling and runtime
The test focus scenarios in this section help you test new job scheduling and runtime features in this release.
Provision or clean up the nodes that are allocated to your job
Scenario |
You want to perform some basic provisioning of the nodes that are allocated to your job. For example, you may want to copy files or verify the running environment before your primary tasks run. To prepare the nodes that are allocated to your job, you can add a Node Preparation task to your job. After your tasks complete, you need to collect data or log files from the nodes that were allocated to your job or return the nodes to their prejob state. To clean up nodes after running your primary tasks, you can add a Node Release task to your job. |
||||||||
Goal |
Submit a job with Node Preparation and Node Release tasks. |
||||||||
Requirements |
|
||||||||
How to test |
For detailed step-by-step instructions, see Submitting a Job with Node Preparation and Node Release Tasks in Windows HPC Server 2008 R2 Beta 1 Step-by-Step Guide.
Now try to cancel a Running job that includes a Node Release task. |
||||||||
Expected results |
|
||||||||
Feedback |
To provide feedback, send an e-mail message to HPCBeta@microsoft.com, or visit Microsoft Windows HPC Server 2008 R2 Beta on the Microsoft® Connect Web site (http://go.microsoft.com/fwlink/?LinkId=169523). |
||||||||
Related Resources |
Provide custom job progress information
Scenario |
Many of the applications that you run on your cluster run for a long time, and they consist of many internal stages. To better monitor job progress, you want to be able to see information about the percentage of completion or about the internal state of the application (such as data file loaded, running simulation, or writing data). You can include commands in your application or script files to set and maintain custom job progress information with the Progress and Progress Message job properties.
|
Goal |
Set and maintain values for job Progress and Progress Message from an application or script. |
Requirements |
|
How to test |
Include commands to set Progress and Progress Message in your scripts or applications. For example, if your application includes a loop that performs some work, you can update the progress properties at each iteration. To set the Progress and Progress Message properties in a batch (.bat) file, an HPC PowerShell script (.ps1), or an application, you can use the %CCP_JOBID% environment variable to get the job ID of the current job, as follows:
You can use one of the following methods to see the progress information for a running job:
|
Expected results |
|
Feedback |
To provide feedback, send an e-mail message to HPCBeta@microsoft.com, or visit Microsoft Windows HPC Server 2008 R2 Beta on the Microsoft® Connect Web site (http://go.microsoft.com/fwlink/?LinkId=169523). |
Related Resources |
Allow canceled tasks time to save state information or clean up before exiting
Scenario |
When a running task is stopped during execution, you want to allow time for the application to save state information, write a log message, create or delete files, or for services to finish computation of their current service call. You can configure the amount of time, in seconds, to allow applications to exit gracefully by setting the Task Cancelation Grace Period cluster property. The default Task Cancelation Grace Period is 15 seconds.
|
||||
Goal |
Allow tasks that are canceled time to perform cleanup or completion steps before exiting. |
||||
Requirements |
|
||||
How to test |
You can use one of the following methods to change the Task Cancellation Grace Period to 10 seconds:
|
||||
Expected results |
|
||||
Feedback |
To provide feedback, send an e-mail message to HPCBeta@microsoft.com, or visit Microsoft Windows HPC Server 2008 R2 Beta on the Microsoft® Connect Web site (http://go.microsoft.com/fwlink/?LinkId=169523). |
||||
Related Resources |
None. |