Add Computer Nodes Using a .CSV File

Description

Sample input file that shows configuration information needed for adding nodes to the cluster. The easiest way to work with this file is to import it into Excel as a comma-delimited file, add the necessary values, including compute node MAC addresses, and then export the data as a comma-separated value file. Every item must have an entry or the input file will not work properly. If you do not have a value for a field, use a hyphen ‘-‘ for the field instead.

Note that, for the sake of readability, we have broken some of these lines into multiple lines. The line beginning with ServerName should be combined with the next two lines. The line beginning with Node1 should be combined with the next line; the same is true of the line beginning with Node2. The actual .CSV file should consist of 6 lines:

FullName,YourName ...
Organisation Name,YourCompany ...
ProductKey,xxxxx-xxxxx-xxxxx-xxxxx-xxxxx ...
Server Name,Srv Description ...
Node01,Rack 1, Slot 1 ...
Node02,Rack 1, Slot 2 ...

Supported Platforms

Windows Server 2003 64-bit

Yes

Windows Server 2003 32-bit

No

Windows XP

No

Windows 2000

No

Windows NT 4.0

No

Windows 98

No

Script Code

FullName,YourName ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Organisation Name,YourCompany,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
ProductKey,xxxxx-xxxxx-xxxxx-xxxxx-xxxxx,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,

Server Name,Srv Description,Server MAC,Machine Name,Admin Password,Domain,Domain Username,Domain Password,ImageName,
HPC Cluster Name,NetworkTopology,PartitionSize,PublicIP,PublicSubnet,PublicGateway,PublicDNS,PublicNICName,PublicMAC,
PrivateIP,PrivateSubnet,PrivateGateway,PrivateDNS,PrivateNICName,PrivateMAC,MPIIP,MPISubnet,MPIGateway,MPIDNS,MPINICName,MPIMAC,MachineOU

Node01,Rack 1, Slot 1,00301bbb31e5,Node01,pass@word1,hpccluster,administrator,pass@word1,CCSImage,headnode,Single, 
- , - , - , - , - , - , - , - , - , - , - , - , - , 11.0.0.1 , 255.255.0.0 , - , - , - , - ,"OU=Cluster Servers,DC=hpccluster,DC=local"

Node02,Rack 1, Slot 2,0015170beb5e,Node02,pass@word1,hpccluster,administrator,pass@word1,CCSImage,headnode,Single, 
- , - , - , - , - , - , - , - , - , - , - , - , - , 11.0.0.1 , 255.255.0.0 , - , - , - , - ,"OU=Cluster Servers,DC=hpccluster,DC=local"

For online peer support, join The Official Scripting Guys Forum!. To provide feedback or report bugs in sample scripts or the Scripting Guide, please contact scripter@microsoft.com.

Disclaimer

The sample scripts are not supported under any Microsoft standard support program or service. The sample scripts are provided AS IS without warranty of any kind. Microsoft further disclaims all implied warranties including, without limitation, any implied warranties of merchantability or of fitness for a particular purpose. The entire risk arising out of the use or performance of the sample scripts and documentation remains with you. In no event shall Microsoft, its authors, or anyone else involved in the creation, production, or delivery of the scripts be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the sample scripts or documentation, even if Microsoft has been advised of the possibility of such damages.


Top of pageTop of page