Partager via


View and Export Message-Level Traces

 

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

Starting in HPC Pack 2012, you can view detailed information about the progress of SOA jobs and sessions, and view message-level traces for SOA sessions that are running either on-premises or on Windows Azure nodes. You can also export SOA trace logs and share them offline.

Note

Message-level trace was introduced in HPC Pack 2012. It is not available in previous versions.

To view detailed information about SOA jobs and sessions, you must first enable the diagnostic monitoring of the SOA service by configuring the event logging level.

Note

If you will be running the SOA service on Windows Azure nodes and you want to collect trace logs from those nodes, you must also specify Windows Azure storage for the trace logs. To do this, in Configuration, in the Deployment To-do List, under Optional Deployment Tasks, click Set Windows Azure Storage Connection String. For configuration details, see Configuring Connection Strings.

To configure event logging level for a service

  1. In HPC Cluster Manager, click Configuration, and then click Services.

  2. Right-click a service, then click Set Event Logging Level. In the dialog box, select the desired trace level and then click OK.

To view the SOA trace log in HPC Cluster Manager

  1. In HPC Cluster Manager, click Job Management, and then click SOA Jobs.

  2. In the job list, find the job that is associated with the session that you are debugging. The job ID is the same as the session ID.

  3. Right-click the job, and then click View Message Details.

    The dialog box lists the messages and displays details including the status, time received, and the target computer. For example, you might want to review details of the messages that have a status of Failed. If you want, you can export the message details to a text file.

To export SOA trace logs

  1. In HPC Cluster Manager, click Job Management, and then click SOA Jobs.

  2. In the job list, find the job that is associated with the session that you are debugging. The job ID is the same as the session ID.

  3. Right-click the job, and then click Export SOA Trace.

  4. In the dialog box, specify the name and the location of a zip file that will contain the trace logs from each node.

  5. Verify that the trace logs appear in the specified folder.

  6. Right-click the job, and then click Delete Trace to delete the trace logs from the compute nodes.