Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Server > Clustering > Add-ClusterVirtualMachineRole fails when invoked remotely

Reply
Fix Vista Errors
Thread Tools Display Modes

Add-ClusterVirtualMachineRole fails when invoked remotely

 
 
Thibaut Blanchin
Guest
Posts: n/a

 
      10-29-2009



Hello,

I'm trying to remotly register a VM into a windows 2008 R2 cluster with
Add-ClusterVirtualMachineRole powershell commandlet.
It always fails except in one case : if I connect to the first node of the
cluster - I mean first in alphabetical order - and the VM is on this node.

It's easy to reproduce, if you have a Cluster with Hyper-V role :
- Create a virtual machine within hyper-V managment console on one node
(not the "first" one...).
- From a Windows 7 computer, open Powershell command line and connect to
this node:
> enter-pssession - Computername NodeName

- Import system modules in order to have system cmdlets :
> ImportSystemModules

- try to register the VM into the cluster :
> Add-ClusterVirtualMachineRole -virtualmachine

VirtualMachineName

=> Add-ClusterVirtualMachineRole : Unable to connect to node1 via WMI ...

It sounds like Add-ClusterVirtualMachineRole is checking each node of the
cluster to find the virtual machine and faces some delegation issue as it is
launched remotly.
It seems also that, instead of looking for the VM localy first, it checks
the node in alphabetical order.
Of course Add-ClusterVirtualMachineRole is working fine if executed localy
on any node. My problem is that I need to use it from a remote server inside
a script.

I've been looking for a workaround but I'm missing new ideas now...
Any help would be greatly appreciated.
--
Thibaut Blanchin
DT - Plate formes & Systèmes
CEGID
 
Reply With Quote
 
Elden
Guest
Posts: n/a

 
      10-30-2009

You might be running into the double hop problem, check out this blog and see
if it addresses your issue:
http://blogs.msdn.com/clustering/arc...5/9803001.aspx
 
Reply With Quote
 
Thibaut Blanchin
Guest
Posts: n/a

 
      10-30-2009
Thanks !
It sounds to be exaclty what I'm facing. I'm going to test it.

--
Thibaut Blanchin
DT - Plate formes & Systèmes
CEGID

 
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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Complete PC Backup fails, restore fails differently! Harry Coin Windows Vista Performance 5 11-19-2007 09:42 PM
When standard users access Vista registry remotely, Access Denied Gayle Windows Vista Administration 1 10-10-2007 05:48 PM
Vista fails to start after BSOD Dave Wakefield Windows Vista Installation 6 07-12-2007 11:41 PM
USB Flash Drives (thumbdrives) fails to install TonyR Windows Vista Installation 0 02-12-2007 09:53 PM
Vista Beat 2 fails installation Moajnic Windows Vista Installation 0 05-31-2006 01:14 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59