Clustering question - import-module powershell failoverclusters.

  • Follow


Hi,

I have a four node cluster built on windows server 2008 R2.
The cluster itself is fine and I can manage it through the GUI no problem.
Hi,

However I recently discovered that I can manage it from powershell on he R2 
box itself.
all I have to do is import the library "FAILOVERCLUSTERS " first.

so he first statement in my powershell scrip is always

import-module powershell FAILOVERCLUSTERS

however, it would be really cool if I could use this functionality from my 
client machine (win xp sp3)
I have loaded powershell 2.0 on it,
however, running the statement

import-module powershell FAILOVERCLUSTERS

generates an error.

can anybody please let me know if there is a library to import on my xp 
machine to get this functionality to work.

interestingly enough I also tried running the import statement on another R2 
server that was not part of any cluster and it also failed.

can anybody please shed some light on this for me please.

any help or pointers to helpful articles is very much appreciated.
thanks for your time.

cheers

martin.


 

0
Reply Martin 3/11/2010 9:18:52 AM

Check the following post:
http://concentratedtech.com/item/view/id/340/title/Active-Directory-cmdlets-and-Implicit-Remoting

It talks about doing this with AD, but this should still apply, in concept, 
to the clustering cmdlets.

Marco

"Martin" <martin_remove_and_no_spam@martin_remove_.co.nz> wrote in message 
news:DFF60677-EB25-4133-9788-5ED0C998BD32@microsoft.com...
> Hi,
>
> I have a four node cluster built on windows server 2008 R2.
> The cluster itself is fine and I can manage it through the GUI no problem.
> Hi,
>
> However I recently discovered that I can manage it from powershell on he 
> R2 box itself.
> all I have to do is import the library "FAILOVERCLUSTERS " first.
>
> so he first statement in my powershell scrip is always
>
> import-module powershell FAILOVERCLUSTERS
>
> however, it would be really cool if I could use this functionality from my 
> client machine (win xp sp3)
> I have loaded powershell 2.0 on it,
> however, running the statement
>
> import-module powershell FAILOVERCLUSTERS
>
> generates an error.
>
> can anybody please let me know if there is a library to import on my xp 
> machine to get this functionality to work.
>
> interestingly enough I also tried running the import statement on another 
> R2 server that was not part of any cluster and it also failed.
>
> can anybody please shed some light on this for me please.
>
> any help or pointers to helpful articles is very much appreciated.
> thanks for your time.
>
> cheers
>
> martin.
>
>
>
> 
0
Reply Marco 3/11/2010 1:45:28 PM


I agree with Marco. To answer your other question about using the module on 
another 2008 R2 server, you would just need to install the RSAT-Clustering 
feature.

"Martin" wrote:

> Hi,
> 
> I have a four node cluster built on windows server 2008 R2.
> The cluster itself is fine and I can manage it through the GUI no problem.
> Hi,
> 
> However I recently discovered that I can manage it from powershell on he R2 
> box itself.
> all I have to do is import the library "FAILOVERCLUSTERS " first.
> 
> so he first statement in my powershell scrip is always
> 
> import-module powershell FAILOVERCLUSTERS
> 
> however, it would be really cool if I could use this functionality from my 
> client machine (win xp sp3)
> I have loaded powershell 2.0 on it,
> however, running the statement
> 
> import-module powershell FAILOVERCLUSTERS
> 
> generates an error.
> 
> can anybody please let me know if there is a library to import on my xp 
> machine to get this functionality to work.
> 
> interestingly enough I also tried running the import statement on another R2 
> server that was not part of any cluster and it also failed.
> 
> can anybody please shed some light on this for me please.
> 
> any help or pointers to helpful articles is very much appreciated.
> thanks for your time.
> 
> cheers
> 
> martin.
> 
> 
>  
> 
> .
> 
0
Reply Utf 3/12/2010 1:31:01 AM

No that's the thing with v2 remoting...  You would *not* specifically need 
to install the RSAT-Clustering feature to get the module on another system 
with PowerShell v2.

Marco

"Mike Pfeiffer" <MikePfeiffer@discussions.microsoft.com> wrote in message 
news:8429A991-2EFF-463C-BEE8-D34F87956206@microsoft.com...
> I agree with Marco. To answer your other question about using the module 
> on
> another 2008 R2 server, you would just need to install the RSAT-Clustering
> feature.
 

0
Reply Marco 3/12/2010 1:49:39 AM

I was referring to this comment:

"interestingly enough I also tried running the import statement on another R2
server that was not part of any cluster and it also failed."

My point was just that he could install the RSAT-Clustering feature on that 
server and then use remoting to access the cmdlets in the failoverclusters 
module, even though that box is not clustered.

"Marco Shaw [MVP]" wrote:

> No that's the thing with v2 remoting...  You would *not* specifically need 
> to install the RSAT-Clustering feature to get the module on another system 
> with PowerShell v2.
> 
> Marco
> 
> "Mike Pfeiffer" <MikePfeiffer@discussions.microsoft.com> wrote in message 
> news:8429A991-2EFF-463C-BEE8-D34F87956206@microsoft.com...
> > I agree with Marco. To answer your other question about using the module 
> > on
> > another 2008 R2 server, you would just need to install the RSAT-Clustering
> > feature.
>  
> 
> .
> 
0
Reply Utf 3/12/2010 7:19:01 AM

4 Replies
647 Views

(page loaded in 0.08 seconds)


Reply: