locked
Node List Filtered By Node Group RRS feed

  • Question

  • 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?

    Monday, June 2, 2008 12:18 PM

Answers

  • 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

    • Marked as answer by Don Pattee Wednesday, June 24, 2009 10:01 PM
    Friday, June 6, 2008 11:06 PM

All replies

  • 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

    • Marked as answer by Don Pattee Wednesday, June 24, 2009 10:01 PM
    Friday, June 6, 2008 11:06 PM
  •  
    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.




    Wednesday, February 18, 2009 3:04 PM