Share via


Running the Client

Task 1 – Verifying Cluster State

In this task, you will verify that the nodes in your cluster are online.

  1. Open the HPC 2008 R2 Cluster Manager application from Start | All Programs | Microsoft HPC Pack 2008 R2 | HPC Cluster Manager.
  2. In the Cluster Manager application, enter the Node Management section and verify that the Windows Azure nodes in the cluster are online, as shown in Figure 3:

    Figure 3

    Verifying the state of the Windows Azure Nodes

  3. Enter the Configuration section, select the Services option from the configuration list, and run the SOA Service Loading Diagnostics test on the AsianOptionsService service, as shown in Figure 4:

    Figure 4

    Running Service Load Diagnostics

  4. In the Run Diagnostic Tests window, select the AzureWorkerNodes node group from the Nodes in this group drop-down list, check the Go to Test Results to see test progress and results checkbox, and then click Run.
  5. In the Diagnostics window, wait for the test to complete and verify its success.
Note:
Note: If the service diagnostic fails, view the diagnostic information and perform the required fix. If this involves changing the service configuration or recompiling the service assemblies, you will need to redeploy your service before running the diagnostics again.

Task 2 – Running the Client Application

In this task, you will test the WCF service in the HPC cluster by running the client application.

  1. Open Microsoft Visual Studio 2010 from Start | All Programs | Microsoft Visual Studio 2010 | Microsoft Visual Studio 2010.
  2. Open the AsianOptions.sln solution file located in the AsianOptions\Source folder.
  3. Build the solution and run the AsianOptions project. You should see the following Excel worksheet:

    Figure 5

    Asian Options Excel Worksheet “Sheet1” used for an interactive session

  4. Click the Run button. This will start an interactive session with the cluster and start calling the service tasks, as shown in Figure 6:

    Figure 6

    Sheet1 running an interactive session

  5. Select “Sheet 2” from the bottom tabs. You should see the following Excel worksheet:

    Figure 7

    Asian Options Excel Worksheet “Sheet2,” used for a durable session

  6. Click the Submit button. This will start a durable session with the cluster. The Status cell should now show “Request sent” and a value should appear in the Session ID cell, as shown in Figure 8:

    Figure 8

    The Status and Session ID cells.

  7. Once the session has started, you can click the Retrieve button to start retrieving the results from the broker node and update the Microsoft Excel worksheet, as shown in Figure 9:

    Figure 9

    Results retrieved from the broker node and updated in the worksheet