Appendix 2: Creating a Node XML File
Applies To: Microsoft HPC Pack 2012, Microsoft HPC Pack 2012 R2
A node XML file contains a list of nodes that you want to add to your cluster. This list includes:
When adding nodes from bare metal, a hardware identification parameter for each node, such as the System Management BIOS (SMBIOS) GUID or the Media Access Control (MAC) address.
When adding preconfigured nodes that are already running one of the supported versions of the Windows operating system, and Microsoft® HPC Pack has been installed, a computer name for identification purposes.
Other properties, such as the physical location of each node and the Windows product key that should be used to activate the operating system.
This section includes the following topics:
Benefits of using a node XML file for deployment
The node XML file schema
Benefits of using a node XML file for deployment
The following list outlines some of the benefits of using a node XML file when adding nodes to your cluster:
You can pre-stage a PXE deployment of nodes for your HPC cluster by importing a node XML file with a list of all the computers that you will be adding to the cluster. The nodes can be deployed from bare metal or as preconfigured nodes.
Preconfigured nodes that are added to your HPC cluster by using a node XML file do not need to be manually approved into the cluster. This makes the deployment process more efficient and streamlined.
Importing a node XML file is a simple and efficient way for you to associate properties with nodes. Examples of properties that can be associated with nodes are: location, a Windows product key, node templates, or tags that are used to automatically create node groups.
You can give specific computer names (NetBIOS names) to nodes that are deployed from bare metal, without having to worry about powering them on in a specific order. By using a node XML file, computer names will already be associated with a specific SMBIOS GUID or MAC address (or both).
Important
As a best practice for security in an HPC cluster, if you save or export information about an HPC cluster into XML files, we recommend that you track the location of those files and protect them from unauthorized use. For more information, see Security Considerations for File and Folder Permissions in Windows HPC Server 2008 R2.
The node XML file schema
The node XML file is based on an XML Schema Definition (XSD) language file: NodeConfigurationFile.xsd. This XSD file is available on the head node, in the Bin folder of the installation path for HPC Pack. For example, if you are using the default installation path for HPC Pack 2008 R2, the XSD file is available here:
C:\Program Files\Microsoft HPC Pack 2008 R2\Bin\NodeConfigurationFile.xsd
The following table lists and describes the attributes and elements that are defined in the node XML file schema.
Attribute, Element, or Element:Attribute |
Required |
Description |
||
---|---|---|---|---|
Location |
No |
|
||
Location:Primary |
No |
|
||
Location:Secondary |
No |
|
||
Location:Tertiary |
No |
|
||
Template |
No |
|
||
Template:Name |
Yes |
|
||
Template:Provisioned |
No |
|
||
MacAddress |
No |
|
||
Tag |
No |
|
||
Name |
Yes |
|
||
Domain |
No |
|
||
ManagementIpAddress |
No |
|
||
MachineGuid |
No |
|
||
ProductKey |
No |
Important You must specify a Windows product key if you are using an operating system image created by using a retail version or an evaluation version of a supported Windows Server operating system. |
||
InitiatorIqn |
No |
|
||
ClientIqnDhcpOption |
No |
|
Creating a node XML file for deployment from bare metal
The node XML file can be created in any XML editor or text editor, but it must follow the node XML file schema. Also, a node XML file can be created from an HPC cluster that is already configured, by exporting it from HPC Cluster Manager.
Note
For detailed information, see the content on creating a node XML File.
When creating a node XML file for a deployment from bare metal, you will need a hardware identification parameter for each node. This parameter can be the SMBIOS GUID or the MAC address of the computer.
When creating a node XML file for deployment from bare metal:
Specify the MAC address of a node in the MacAddress attribute for that node.
Specify the SMBIOS GUID of a node in the MachineGuid attribute for that node.
If both the SMBIOS GUID and MAC address of a node are specified, the SMBIOS GUID is used.
If, for some reason, you do not have access to the SMBIOS GUID of a node, you can use only the MAC address.
Ensure that you specify only those MAC addresses that exist in each node. Specifying a MAC address that does not exist in a compute node might cause the import of that node to fail.
You must specify a node template for each node listed, and that node template must include a step to deploy an operating system image. If you do not specify a node template, or if you specify a node template that does not include a step to deploy an operating system image, the deployment will fail.
Ensure that the node template names that are specified in the node XML file match the names of the node templates listed on the head node.
Specify any location information that you want to be attached to the node.
If you want nodes to be automatically added to specific node groups during deployment, specify the Tag attribute with the name of the node group for each compute node.
You must include a Windows product key if you are using an operating system image that was created using a retail version or an evaluation version of a supported Windows Server operating system.
If your integration of scripted power control tools requires a BMC IP address for each node, it can be added to the node XML file.
Sample node XML file
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<Nodes xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="https://www.w3.org/2001/XMLSchema" xmlns="https://schemas.microsoft.com/HpcNodeConfigurationFile/2007/12">
<Node
Name="ComputeNodeName1"
Domain="CONTOSO"
MachineGuid="{4c4c4544-0038-5710-804b-c6c04f464331}">
<Location
Primary="Data Center 1"
Secondary="2"
Tertiary="1" />
<Template
Name="Default ComputeNode Template" Provisioned="true" />
<MacAddress>00301B445F02</MacAddress>
<MacAddress>001B2104EDF5</MacAddress>
<Tag>ComputeNodes</Tag>
<Tag>Rack2</Tag>
</Node>
</Nodes>