Verification Steps: Validate the Node XML File

Applies To: Windows HPC Server 2008

To validate the node XML file that you created, you can use an XML authoring tool like XML Notepad 2007. Validation is performed against the schema defined in the XML Schema Definition (XSD) language file for node XML: NodeConfigurationFile.xsd. Although the procedure in this topic explains how to perform the validation using XML Notepad 2007, if you prefer you can use a different XML authoring tool that is capable of validating an XML file against an XSD language file.

The XSD language file for node XML is available on the head node, in the Bin folder of the installation path for HPC Pack 2008. For example, if you are using the default installation path, the XSD language file is available here:

C:\Program Files\Microsoft HPC Pack\Bin\NodeConfigurationFile.xsd

Note

If you have not already downloaded and installed XML Notepad 2007 to edit the node XML file, you can download it from the Microsoft Download Center (https://go.microsoft.com/fwlink/?LinkId=139128).

To validate the node XML file with XML Notepad 2007

  1. Copy NodeConfigurationFile.xsd and the node XML file to the computer where you installed XML Notepad 2007.

  2. Open XML Notepad 2007. Click Start, point to All Programs, click XML Notepad 2007, and then click XML Notepad 2007.

  3. To load the node XML file, in the File menu, click Open, type or browse to the location of the node XML file, and then click Open.

  4. After the node XML file is loaded, to load the schema for the validation, in the View menu, click Schemas. The XML Schemas dialog box opens.

  5. If there are any schemas listed in the XML Schemas dialog box, in the File menu, click Clear. This will erase any schemas that have been previously loaded.

  6. To add the node XML schema, in the File menu, click Add schemas, type or browse to the location of NodeConfigurationFile.xsd, and then click Open.

  7. Click OK to load the node XML schema and start the validation.

If there are any errors in the node XML file, they will be listed in the Error List tab, at the bottom of the XML Notepad 2007 window. To go to the place in the node XML file where an error was found, double-click that error in the Error List tab.

Note

Although it is preferable to detect any errors in the node XML file before it is imported to your HPC cluster, the file is also validated by default when it is imported, and if any errors are found, the import process is halted and the errors are reported.