Formular una preguntaFormular una pregunta
 

RespondidaProgrammatically apply a template to a node cluster

  • miércoles, 17 de junio de 2009 22:22nadebow Medallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     

    Hi there,

    Got a question.  I noticed quite a few PowerShell samples to perform the configuration step of the HPC.  I am interested if it is possible to perform the configuration steps in the To-do List programmatically using the HPC .NET APIs.

    ## Set network topology to public network topology
    Set-HpcNetwork -Topology Public -Public intel*
    ## Set install credential
    Set-HpcClusterProperty -InstallCredential username

    ## Set naming series
    Set-HpcClusterProperty -NodeNamingSeries MyCluster%1000%
     

    ## Apply the node template to all unknown compute nodes.

    Get-hpcnode -State unknown -GroupName computenodes | Assign-HpcNodeTemplate -Name defaultnode* -Confirmfalse

    ## Bring all the offline nodes to the online state.

    Get-HpcNode -State offline -GroupName computenodes | Set-HpcNodeState -State online

    Any HPC .NET pointers will be much apprciated.

    Thanks in advance,
    Natalia

Respuestas

  • jueves, 18 de junio de 2009 6:52yidingzMSFTMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     Respondida
    I'm afraid management related APIs are not public and supported. So you cannot do that.

    You can call PowerShell cmdlets from C# API, but we don't gurantte PowerShell back-compatibility on binary level so your C# code will have problem working with HPC Server 2008 R2 client/cluster. (Syntax level back-compat is supported so those scripts will still run in HPC Server 2008 R2.).

Todas las respuestas

  • jueves, 18 de junio de 2009 6:52yidingzMSFTMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuarioMedallas del usuario
     Respondida
    I'm afraid management related APIs are not public and supported. So you cannot do that.

    You can call PowerShell cmdlets from C# API, but we don't gurantte PowerShell back-compatibility on binary level so your C# code will have problem working with HPC Server 2008 R2 client/cluster. (Syntax level back-compat is supported so those scripts will still run in HPC Server 2008 R2.).