Digipede Community and Technical Support  

Go Back   Digipede Community and Technical Support > Products > Sample Applications

Reply
 
Thread Tools Display Modes
  #1  
Old 05-13-2008, 11:00 AM
Daniel Ciruli Daniel Ciruli is offline
Dan Ciruli
 
Join Date: Apr 2005
Posts: 110
Default Pool API Sample

One of the most anticipated features in Digipede Network 2.1 is the opening of the Pool / Agent API.

For the first time, you can programmatically manipulate your pools and agents: you can create pools, delete pools, move agents on and off of pools. You can also modify the agents themselves: enable or disable them, enable or disable the licenses, and change any of their settings: processing schedule, bandwidth restrictions, even their Agent Base Priority.

When you add in the ability to access our API through PowerShell, you're starting to see some incredible ability to administer your grid automatically.

I've created a very simple sample to demonstrate a little bit of the pool API -- it lists pools and agents, lets you create pools, delete pools, add agents to or remove them from pools, or rename pools (double click on the pool name).

It's not production code, nor is it the tool you want to be using to administer your Digipede Network. But it does show a bunch of the new classes and methods, and it should give you a good idea of what's possible with this extension to our API.
Attached Files
File Type: zip PoolApiSample.zip (26.0 KB, 10 views)
__________________
Director of Products, Digipede Technologies
Reply With Quote
  #2  
Old 08-04-2008, 10:43 AM
bw_raimi bw_raimi is offline
User
 
Join Date: Jul 2008
Posts: 21
Default

I am attempting to open the solution in Visual Studio 2005 (Version 8.0.50727.762) and receive the following error:

"The selected file is a solution file, but was created by a newer version of this application and cannot be opened."
Reply With Quote
  #3  
Old 08-04-2008, 10:44 AM
bw_raimi bw_raimi is offline
User
 
Join Date: Jul 2008
Posts: 21
Default

Also, do you have any samples that manage the pools through PowerShell? The only cmd-let I see that pertains to pools is Get-DNPool. We want the ability to dynamically create new pools for each job submitted and want to use PowerShell to accomplish this.
Reply With Quote
  #4  
Old 08-04-2008, 11:28 AM
Daniel Ciruli Daniel Ciruli is offline
Dan Ciruli
 
Join Date: Apr 2005
Posts: 110
Default Two answers

bw_raimi,

Yes, that is a VS 2008 project. It should be simple to recreate it in VS 2005 by creating a new Windows Forms project and add those files.

We don't have cmdlets written that exercise our whole Pool API. However, the PowerShell projects are open source. If you would be interested, it should be fairly easy to add the functionality from the PoolAPI Sample to new cmdlets.
__________________
Director of Products, Digipede Technologies
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -7. The time now is 05:45 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright 2007 Digipede Technologies, LLC. All Rights Reserved.