Appendix 2: Creating a Node XML File
Applies To: Windows HPC Server 2008
A node XML file contains a list of compute nodes that you want to add to your cluster. This list includes:
When adding compute nodes from bare metal, a hardware identification parameter for each compute node, such as the System Management BIOS (SMBIOS) GUID or the Media Access Control address (MAC) address.
When adding preconfigured nodes that are already running one of the 64-bit editions of the Windows Server 2008 operating system, and HPC Pack 2008 has been installed, a computer name for identification purposes.
Other properties, such as the physical location of each compute node and the Windows product key that should be used to activate the operating system.
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 compute nodes to your cluster:
You can pre-stage a PXE deployment of compute 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 compute nodes can be deployed both from bare metal or as preconfigured nodes.
Preconfigured nodes that are added to your HPC cluster 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 compute nodes. Examples of properties that can be associated with compute nodes are: location (including data center, rack, and chassis), 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 compute nodes that are deployed from bare metal, without having to worry about powering them on in a specific order. Using a node XML file, computer names will already be associated with a specific SMBIOS GUID or MAC address (or both).
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 2008. For example, if you are using the default installation path, the XSD file is available here:
C:\Program Files\Microsoft HPC Pack\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:DataCenter |
No |
|
||
Location:Rack |
No |
|
||
Location:Chassis |
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 of a retail version of Windows Server 2008, or the evaluation version of Windows Server 2008 HPC Edition. |
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 about creating a node XML file, see the Creating a Node XML File in Windows HPC Server 2008 Step-by-Step Guide (https://go.microsoft.com/fwlink/?LinkId=139371).
When creating a node XML file for a deployment from bare metal, you will need a hardware identification parameter for each compute 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 compute node in the MacAddress attribute for that compute node.
Specify the SMBIOS GUID of a compute node in the MachineGuid attribute for that compute node.
If both the SMBIOS GUID and MAC address of a compute 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 compute 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 compute node listed, and that node template must include a step to deploy an operating system image. If yosu 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 of a retail version of Windows Server 2008, or the evaluation version of Windows Server 2008 HPC Edition
If your integration of scriptable power control tools requires a BMC IP address for each compute 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
DataCenter="Data Center 1"
Rack="2"
Chassis="1" />
<Template
Name="Default ComputeNode Template" Provisioned="true" />
<MacAddress>00301B445F02</MacAddress>
<MacAddress>001B2104EDF5</MacAddress>
<Tag>ComputeNodes</Tag>
<Tag>Rack2</Tag>
</Node>
</Nodes>