none
How to install HPC head node without interactively logging on to the machine?

    Question

  • I want to install the HPC headnode on the command line without actually logging on to the server.

    I am using "setup.exe -unattend -headnode" and this does not work when run via WinRM. I tried running WinRM with the credentials of the domain user that I want to install as. This doesn't work either. However it works if I log on to the machine and run this interactively on the command line.

    How can this be achieved?

    Thursday, January 30, 2014 2:44 PM

All replies

  • 1. Please check if WinRM with CredSSP is working.

    Invoke-Command -ComputerName $headnode -ScriptBlock { ping 127.0.0.1 -n 5} -Authentication CredSSP -Credential $instcred


    2. Please make sure SQL express has been already installed before running "setup.exe -unattend -headnode". I saw issues when installing SQL remotely.

    $command = $setupfilepath+"\setup.exe -headnode -unattend"; 
    Invoke-Command -ComputerName $headnode -ScriptBlock { param($command) cmd /c $command } -ArgumentList $command -Authentication CredSSP -Credential $instcred

    3. If you have remote database, please try below commands.

    $dbparams = "blabla"; 
    $command = $setupfilepath+"\setup.exe -headnode -unattend " + $dbparams; 
    Invoke-Command -ComputerName $headnode -ScriptBlock { param($command) cmd /c $command } -ArgumentList $command -Authentication CredSSP -Credential $instcred


    BR, Yizhong

    Monday, February 10, 2014 5:06 AM