Powershell and Microsoft Clustering.

  • Follow


Are there any cmdlets that allow me to gather info about clusters?  Is there 
a snap-in or is it available in powershell 2?

Thanks
0
Reply Utf 1/5/2010 6:39:01 PM

In Windows Server 2008 R2 the clustering can be managed entirely from 
PowerShell. See 
http://blogs.msdn.com/clustering/archive/2008/12/20/9243367.aspx for more on 
Failover Clustering, and 
http://blogs.msdn.com/clustering/archive/2008/12/26/9253786.aspx for details 
on NLB clustering.

In both cases, once the Role is loaded, additional modules are available.

-- 
Charlie.
http://msmvps.com/blogs/russel




"Jacob Sampson" <Jacob Sampson@discussions.microsoft.com> wrote in message 
news:F409C95D-52B9-4E7B-929F-C69193CEA1C3@microsoft.com...
> Are there any cmdlets that allow me to gather info about clusters?  Is 
> there
> a snap-in or is it available in powershell 2?
>
> Thanks 

0
Reply Charlie 1/5/2010 7:26:45 PM


Does this mean that I have to run the script from a 2008 R2 server or is 
there a snapin I can add to my current install of powershell to get access to 
the cmdlets?

"Charlie Russel - MVP" wrote:

> In Windows Server 2008 R2 the clustering can be managed entirely from 
> PowerShell. See 
> http://blogs.msdn.com/clustering/archive/2008/12/20/9243367.aspx for more on 
> Failover Clustering, and 
> http://blogs.msdn.com/clustering/archive/2008/12/26/9253786.aspx for details 
> on NLB clustering.
> 
> In both cases, once the Role is loaded, additional modules are available.
> 
> -- 
> Charlie.
> http://msmvps.com/blogs/russel
> 
> 
> 
> 
> "Jacob Sampson" <Jacob Sampson@discussions.microsoft.com> wrote in message 
> news:F409C95D-52B9-4E7B-929F-C69193CEA1C3@microsoft.com...
> > Are there any cmdlets that allow me to gather info about clusters?  Is 
> > there
> > a snap-in or is it available in powershell 2?
> >
> > Thanks 
> 
> .
> 
0
Reply Utf 1/7/2010 4:45:02 PM

Hi Jacob,

few months ago I wrote some jobs for clustering and easiest method I found 
is to use WMI itself.
http://msdn.microsoft.com/en-us/library/aa372876(VS.85).aspx


Martin

"Jacob Sampson" <JacobSampson@discussions.microsoft.com> wrote in message 
news:FE3A9614-E82E-4CE0-9072-F0C12A01D840@microsoft.com...
> Does this mean that I have to run the script from a 2008 R2 server or is
> there a snapin I can add to my current install of powershell to get access 
> to
> the cmdlets?
>
> "Charlie Russel - MVP" wrote:
>
>> In Windows Server 2008 R2 the clustering can be managed entirely from
>> PowerShell. See
>> http://blogs.msdn.com/clustering/archive/2008/12/20/9243367.aspx for more 
>> on
>> Failover Clustering, and
>> http://blogs.msdn.com/clustering/archive/2008/12/26/9253786.aspx for 
>> details
>> on NLB clustering.
>>
>> In both cases, once the Role is loaded, additional modules are available.
>>
>> -- 
>> Charlie.
>> http://msmvps.com/blogs/russel
>>
>>
>>
>>
>> "Jacob Sampson" <Jacob Sampson@discussions.microsoft.com> wrote in 
>> message
>> news:F409C95D-52B9-4E7B-929F-C69193CEA1C3@microsoft.com...
>> > Are there any cmdlets that allow me to gather info about clusters?  Is
>> > there
>> > a snap-in or is it available in powershell 2?
>> >
>> > Thanks
>>
>> .
>> 
0
Reply Martin 1/7/2010 6:20:15 PM

By adding the Remote Administration tools to a Win7 or Server 2k8 R2 
computer, and selecting the Failover Clustering and Network Load Balancing 
feature for RSAT, you will add the modules for Failover Clustering and NLB 
clusters.

-- 
Charlie.
http://msmvps.com/blogs/russel




"Jacob Sampson" <JacobSampson@discussions.microsoft.com> wrote in message 
news:FE3A9614-E82E-4CE0-9072-F0C12A01D840@microsoft.com...
> Does this mean that I have to run the script from a 2008 R2 server or is
> there a snapin I can add to my current install of powershell to get access 
> to
> the cmdlets?
>
> "Charlie Russel - MVP" wrote:
>
>> In Windows Server 2008 R2 the clustering can be managed entirely from
>> PowerShell. See
>> http://blogs.msdn.com/clustering/archive/2008/12/20/9243367.aspx for more 
>> on
>> Failover Clustering, and e
>> http://blogs.msdn.com/clustering/archive/2008/12/26/9253786.aspx for 
>> details
>> on NLB clustering.
>>
>> In both cases, once the Role is loaded, additional modules are available.
>>
>> -- 
>> Charlie.
>> http://msmvps.com/blogs/russel
>>
>>
>>
>>
>> "Jacob Sampson" <Jacob Sampson@discussions.microsoft.com> wrote in 
>> message
>> news:F409C95D-52B9-4E7B-929F-C69193CEA1C3@microsoft.com...
>> > Are there any cmdlets that allow me to gather info about clusters?  Is
>> > there
>> > a snap-in or is it available in powershell 2?
>> >
>> > Thanks
>>
>> .
>> 

0
Reply Charlie 1/9/2010 3:13:08 PM

4 Replies
464 Views

(page loaded in 0.146 seconds)


Reply: