Quantcast
Channel: VMware Communities : All Content - VMware View
Viewing all articles
Browse latest Browse all 9103

Issues with VMWare View PowerCLI connecting to node manager

$
0
0

I need some help in trouble-shooting an odd issue:

 

We've installed the VMWare View PowerCLI on a server and use the cmdlet Get-DesktopVM to get the list of all VDIs. That all works when I login with RDP to the server and use the VMWare View PowerCLI (which loads the correct snapin).

 

But I want to automate this and we use HP SA to do this. It logs in with it's own way (which works perfectly fine) and then tries to run the power shell script.

Our script loads the snapin with

. "D:\Program Files\VMware\VMware View\Server\extras\PowerShell\add-snapin.ps1"

and then runs Get-DesktopVM

 

But then it gets this error:

          Welcome to VMware View PowerCLI

 

 

 

 

Get-DesktopVM : View Server connect FAILED

At C:\temp\rak1.ps1:2 char:14

+ Get-DesktopVM <<<<

    + CategoryInfo          : NotInstalled: (vmware.view.pow...ts.GetDesktopVM

   :GetDesktopVM) [Get-DesktopVM], Exception

    + FullyQualifiedErrorId : Node Manager not running,vmware.view.powershell.

   cmdlets.GetDesktopVM

 

As said, the same thing works fine if I login with RDP so I don't think there's anything wrong with VMWare View or the way the PowerCLI is installed.

 

But something is obviously missing in this powershell environment when logged in via HP SA.

 

Could someone give me some hints on how to trouble-shoot this? What does Get-DesktopVM need to be able to connect to the Node Manager? Does it look for a file, is this a TCP/IP connection which maybe goes to the wrong address, or how does this work.

I'm already staring at this for many hours and I'm trying all kind of things. For a while I thought we miss the vmtoolsd process and I started it in this shell. But that didn't make a difference either.

 

Any help would be greatly appreciated.


Viewing all articles
Browse latest Browse all 9103

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>