none
HPC 2016 Head Node remote unattended setup issue RRS feed

  • Question

  • Hello,

    We’re creating Amazon machine images of the HPC head nodes using Packer, and an issue arises when the box is being provisioned with powershell scripts via a winRM connection.

    When setup.exe for HPC is run, the logs show the install finishing prematurely when setup.exe attempts to run the installer for SQL Server 2016 Express:

    21:41:00.461 - Install Microsoft SQL Server 2016 Express with return value -2146233079
    21:41:00.461 - getNextInstallItemIndex: 9, Microsoft SQL Server 2016 Express
    21:41:00.461 - Installation finished.

    The base image we’re using is Windows Server 2016 Base, though this error can be reproduced on Windows Server 2016 Core and Windows Server 2016 w/SQL Express 2016. This issue also occurs when we use AWS's remote code execution tool. Running the included sql server express setup.exe beforehand produces the same result.

    We're running setup.exe as follows (it works fine when run in powershell in an rdp session):

    start-process -FilePath "setup.exe" -ArgumentList "-Unattend -ClusterName:cluster1 -HeadNode -HeadNodeList:$hostname -SSLPfxFilePath:cluster1.pfx -SSLPfxFilePassword:$sslPass -Wait

    Thanks for the help!

    Wednesday, January 2, 2019 11:01 PM

All replies

  • I'm thinking the error occurs here during remote installs when the HPC installer runs the sql server installer:

    21:39:40.482 - [ExeInstallableItem] Start process (C:\Users\Administrator\installation\setup\..\amd64\SQLEXPR_x64_ENU.exe) with command line: /qs /action=install /features=sqlengine /instancename=COMPUTECLUSTER /sqlsvcaccount="NT AUTHORITY\SYSTEM" /browsersvcstartuptype="automatic" /sqlsysadminaccounts="builtin\administrators" /TCPENABLED=1 /IACCEPTSQLSERVERLICENSETERMS 

    Maybe the HPC installer doesn't wait for the sql express installer to finish, so it throws that error code when it detects that the sql express installer didn't finish gracefully.

    Thursday, January 3, 2019 4:20 PM