Answered Node List Filtered By Node Group

  • 2008年6月2日 12:18
     
     

    I want to get a list of nodes in a particular group, but I do not see a PropId_Node_Group for a filter to use in GetNodeList.

     

    Is there a way to call IScheduler.GetNodeList with a filter on the node group?

すべての返信

  • 2008年6月6日 23:06
     
     回答済み

    I think you can pass in an IFilterCollection for this (filter on the ISchedulerNode.NodeGroups property), though it's not very intuitive.  I believe we are working on adding an easier-to-use interface for this at this for our next public drop.

     

    In the meantime, you can access our Get-HpcNode cmdlet from you code as an alternative:

    http://www.codeproject.com/KB/cs/HowToRunPowerShell.aspx

     

    Thanks,

    Josh

  • 2009年2月18日 15:04
     
     
     
    Hi

    Can you tell me how do i create a pool/group of computers using .net API.

    I will have a custom web page in which i will create i.e get the pool name and i will
    allocate compute nodes to the defined pool and this should create the pool name in
    HPC Server.

    I want to achieve this through .NET API i.e C# .

    Your help will be very helpfull .


    Regards

    Santosh Balan.