shutdown-hpcnode cmdlet failed for hpc pack 2016 RRS feed

  • Question

  • hi

    hpc pack  cmdlet run failed.

    Command fails hpc pack 2016 compute node  reboot and shutdown.

    hpc pack 2012 r2 version and hpc 2016 version Test.

    hpc pack 2012 r2 hpc powershell cmdlet 

    -> restart-hpcnode and shutdown-hpcnode -> success

    but hpc pack 2016 hpc powershell cmdlet

    -> restart-hpcnode and shutdown-hpcnode cmdlet -> failed

    restart-hpcnode cmdlet error messages

    Restart-HpcNode : Process failed, exit code -1073741502. Unknown error (0xc0000142)

    shutdown-hpcnode cmdlet error messages 

    shutdown-hpcnode : The value cannot be null.

    gui : reboot  -> No reaction

    gui : shutdown -> 

    The value cannot be null. 

    Parameter name: source

    But. Single Head Node

    restart-hpcnode cmdlet -> Success

    shutdown-hpcnode -> Failed.... Same as previous message

    A termination command is needed to automate the company's server management.
    • Edited by Je wook Friday, June 26, 2020 3:39 AM
    Friday, June 26, 2020 3:37 AM

All replies

  • Hi jwlko,

    What's your HPC Pack 2016 version? (HPC Cluster Manager -> Help -> About)

    Restart and shutdown nodes would actually call the CcpPower.cmd script under %CCP_HOME%Bin. Please check if you could call that script manually targeting on the node.


    Yutong Sun

    Wednesday, July 8, 2020 9:36 AM
  • Hi Yutong, Thanks for the answer.

    Results of manual script execution

    HPC Pack Version : 2016 update 3 (5.3.6450)

     script manual run  success in the node.but, head node Resource Management -> node actions : reboot, shut down  Failed...

    i found  hpcmanagement event log

    Compute Node %CCP_HOME%bin path ? event log Executing command path C:\ProgramData\SF\ ? 

    Event log message

    The operation 'Rebooting compute nodes' failed to run correctly. The operation was initiated by the user: administrator.

    The session log for this event is as follows:

    Info 0000: Restarting node HPC2016COM02
    Info 0000: Executing comand "C:\ProgramData\SF\HPC2016Head01\Fabric\work\Applications\HpcApplicationType_App0\ManagementStatelessServicePkg.Code.1.3.1\CcpPower.cmd" cycle HPC2016COM02  as user BNI\administrator
    Error 0000: Process failed, exit code -1073741502. Unknown error (0xc0000142)
    Info 0000: Waiting for the node to reboot

    The operation can be identified by the GUID: 4383b8c6-e58b-411c-8c72-bfde34bd6455. Using this GUID a log of the operation can be obtained from the HPC PowerShell command: Get-HpcOperation -id 4383b8c6-e58b-411c-8c72-bfde34bd6455 | Get-HpcOperationLog.

    management log compare 2016 one head node and 2016 three head node (service fabric)

    one Head Node System ccppower.cmd path C:\Program Files\Microsoft HPC Pack 2016\Bin\CcpPower.cmd 

    There seems to be a path difference due to the service fabric configuration.

    We are solved the problem in a different way.

    I am using shutdown and reboot by executing shutdown -r(s) -t 0 command with powershell cmdlet and clusrun command.

    Thank you Yutong Sun

    Wednesday, July 15, 2020 8:05 AM
  • This looks a bug in 3 head nodes scenario, thanks for reporting.
    Friday, July 17, 2020 2:37 AM