Monday, January 23, 2012 11:20 AM
I am trying to automate the configuration of head node in Windows HPC thorugh powershell cmdlets which is the first step after installation of HPC Pack as head node. Configuration basically involves the following steps 1) configure your network 2) Provide Installation credential 3)Configure the naming of nodes 4) Create a node template.
I can able to find HPC power shell commands for 1. Confguring the network - Setup-HPCNetwork, 2. Create a node template - New-HpcNodeTemplate . But I am unable to find the HPC Powershell commands for [Provide installation credentials] and [ Configure the naming of nodes].
I have tried out using Set-HPCJobCrential, Set-HPCTestCredential, Set-HPCSOACrential but none of them helped to pass this [Provide installation credentials] step.
If anybody familiar with this kindly assist.
Thanks & Regards
Monday, January 23, 2012 4:21 PM
Set-HpcClusterProperty [-InstallCredential <PSCredential>] [-Scheduler <String>] [<CommonParameters>]
Monday, January 23, 2012 11:33 PMThanks, how about naming of nodes ?
Monday, January 23, 2012 11:37 PMSet-HpcClusterProperty -NodeNamingSeries
Tuesday, January 24, 2012 5:18 AMThanks , it worked..
- Marked As Answer by Aravindakumar1 Tuesday, January 24, 2012 5:19 AM
Sunday, January 29, 2012 2:52 AM
This is an exmaple to set install credential and naming series,
# Create Install credential
$pass=Convertto-SecureString $instpwd -asplaintext -force
$mycred=New-Object -TypeName System.Management.Automation.PSCredential -ArgumentList $instuser,$pass
Set-HpcClusterProperty -InstallCredential $mycred
# Set node naming series
Set-HpcClusterProperty -NodeNamingSeries "HPC-%1000%"