9 Replies Latest reply on Jan 10, 2020 8:48 AM by Ivan Jordanov

    srm 8.2 (appliance) and vcenter 6.7u2a (appliance) can't connect with powercli 11.2 from windows

    nkarandikar Novice

      from a windows server (2012r2) in the same env. as both vcenter and srm I have connected to vcenter with powercli (no issues there)

      but when i try connect-srmserver, i get errors, i have tried various combinations of the command with srm server IP and usernames and passwords trying to follow the command reference here Online Documentation - Cmdlet Reference - VMware {code}  and 11.2 users guide https://vdc-download.vmware.com/vmwb-repository/dcr-public/72479a44-60ed-4b00-839a-0e442d85a863/6a9f9b49-367a-4ece-b543-… .
      i have an older env. (vcenter and srm 6.5 on windows and this works without issues, so i have an idea of how the commands work, the end goal is to load up the api)

       

       

      PS C:\> Connect-SrmServer

      Connect-SrmServer : 6/10/2019 4:53:27 PM        Connect-SrmServer               Unable to connect to the remote server

      At line:1 char:1

      + Connect-SrmServer

      + ~~~~~~~~~~~~~~~~~

          + CategoryInfo          : NotSpecified: (:) [Connect-SrmServer], VimException

          + FullyQualifiedErrorId : ConnectServer_UnhandledException,VMware.VimAutomation.Srm.Commands.Commands.ConnectSrmSe

         rver


      or if i do

       

      PS C:\> Connect-SrmServer -srmserver <IP or fqdn>
      when i do this i get a prompt for creds (i enter my creds that i use for vcenter {windows domain creds})

      and i get this

      Connect-SrmServer : Unable to connect to the remote server

      At line:1 char:1

      + Connect-SrmServer -srmserveraddress 10.193.198.142

      + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

          + CategoryInfo          : NotSpecified: (:) [Connect-SrmServer], VimException

          + FullyQualifiedErrorId : VMware.VimAutomation.Sdk.Types.V1.ErrorHandling.VimException.VimException,VMware.VimAuto

         mation.Srm.Commands.Commands.ConnectSrmServer

       

       

      there is no firewall between windows or the 2 appliances