共用方式為


View and Run Clusrun Commands

 

Applies To: Microsoft HPC Pack 2008 R2, Microsoft HPC Pack 2012, Microsoft HPC Pack 2012 R2

With Microsoft® HPC Pack, cluster administrators can use clusrun to run a command-line command in parallel across a set of nodes in the cluster, and collect the node outputs back on the client computer. Clusrun commands allow you to accomplish tasks such as:

  • Deploying applications to a set of nodes by using clusrun to execute a setup command or script (for example, \\server\share\setup.exe –unattend)

  • Setting or managing the configuration of a node (for example, net start SomeService)

  • Collecting information about compute node configuration (for example, ipconfig /all)

Clusrun commands run through the HPC Job Scheduler Service. The HPC Job Scheduler Service creates a job with a task that will run on each node specified for the clusrun command. You can see information about clusrun commands (jobs) that were submitted to the cluster, including details about which nodes succeeded or failed to run the command, in Job Management (in the Navigation Pane, click Clusrun Commands).

Running clusrun commands

Using the Run command action in Node Management is the same as running the clusrun command-line command.

To run a clusrun command

  1. In Node Management, in the Navigation Pane, click Nodes.

  2. In the views pane, select one or more nodes.

  3. Right-click your selection, then click Run Command.

  4. In the Run a Command dialog box, type a valid command, then click Run.

  5. Click either the Output, or the Output by Node tab to see the output for each node.

  6. Optionally, click Export to save the output.

Additional considerations

Additional references