Get node availability using PowershellHi<br/> <br/> I need to obtain the node availability information for a cluster using powershell, is there a way to get that information?<br/> <br/> The information I need is the same that appears on the HPC Cluster Manager, under Charts and Reports - Reports - Node Availability.<br/> <br/> I thought maybe the Export-HPCMetrics command would work, but it doesn't have that information.<br/> <br/> Thanks© 2009 Microsoft Corporation. All rights reserved.Sun, 05 Jul 2009 17:36:07 Z04a938ae-1fe6-4512-bff0-00678194a39ahttp://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/04a938ae-1fe6-4512-bff0-00678194a39a#04a938ae-1fe6-4512-bff0-00678194a39ahttp://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/04a938ae-1fe6-4512-bff0-00678194a39a#04a938ae-1fe6-4512-bff0-00678194a39awillvvhttp://social.microsoft.com/Profile/en-US/?user=willvvGet node availability using PowershellHi<br/> <br/> I need to obtain the node availability information for a cluster using powershell, is there a way to get that information?<br/> <br/> The information I need is the same that appears on the HPC Cluster Manager, under Charts and Reports - Reports - Node Availability.<br/> <br/> I thought maybe the Export-HPCMetrics command would work, but it doesn't have that information.<br/> <br/> ThanksMon, 22 Jun 2009 18:48:09 Z2009-06-22T18:48:09Zhttp://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/04a938ae-1fe6-4512-bff0-00678194a39a#e0eb88a5-0cde-40e9-8d17-67dede3191fdhttp://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/04a938ae-1fe6-4512-bff0-00678194a39a#e0eb88a5-0cde-40e9-8d17-67dede3191fdZhen WEI MSFThttp://social.microsoft.com/Profile/en-US/?user=Zhen%20WEI%20MSFTGet node availability using Powershell<p>In V2 (Windows HPC Server 2008) the answer is yes with some dev work. You can get node's Added/Removed/Online/Offline/Reachable/Unreachable/Draining state change history from Get-HpcNodeStateHistory cmdlet, and then put together the node availability. If you are interested in the &quot;Available&quot; definition in HPC Server, it means a node is &quot;Online&quot; and &quot;Reachable&quot;. So there is somehow tricky formula like <br/><br/>sum(TheTimeANodeBecomesUnavailable - TheTimeANodeBecomesAvailable) / sum(TheTimeANodeIsRemoved - TheTimeANodeIsAdded)<br/><br/>In V3 (Windows HPC Server 2008 R2) we are considering expose the hourly aggregated node availability data though reporting database view.<br/><br/>Feel free to let us know if you have further questions. Thanks.</p>Tue, 23 Jun 2009 02:07:06 Z2009-06-23T02:07:06Zhttp://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/04a938ae-1fe6-4512-bff0-00678194a39a#7a05284b-cc39-41fb-b68f-04ae37afc736http://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/04a938ae-1fe6-4512-bff0-00678194a39a#7a05284b-cc39-41fb-b68f-04ae37afc736willvvhttp://social.microsoft.com/Profile/en-US/?user=willvvGet node availability using PowershellThanks for your answer, I guess I'll have to do that...<br/> <br/> And what do you mean by &quot;through reporting database view&quot;? is there any reporting db that I can access directly from code?<br/> <br/> ThanksTue, 23 Jun 2009 03:20:11 Z2009-06-23T03:20:11Zhttp://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/04a938ae-1fe6-4512-bff0-00678194a39a#23af432a-c849-48bc-9fc4-81682aad9729http://social.microsoft.com/Forums/en-US/windowshpcdevs/thread/04a938ae-1fe6-4512-bff0-00678194a39a#23af432a-c849-48bc-9fc4-81682aad9729Zhen WEI MSFThttp://social.microsoft.com/Profile/en-US/?user=Zhen%20WEI%20MSFTGet node availability using PowershellYes, we are considering to expose a reporting database view schema of SQL Server, so that you can query it from any SQL client, including your code of course.Sun, 05 Jul 2009 17:36:07 Z2009-07-05T17:36:07Z