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

PowerCLIでのクロスvCentervMotionがvSphere single sign-on failed for connectionで失敗する。

$
0
0

解決事例があればご教示お願いいたします。

 

移行元 :vCenter6.5

     ESXi6.5

移行先 :vCenter6.7

                  ESXi6.7

 

クロスvCentervMotionをpowerCLIから実行すると以下エラーで6.5→6.7vCenter環境へ仮想マシンの

移行がうまくいきません。

 

・PowerCLIから両vCenterへのネットワーク疎通確認(実行コマンド①、②問題なく動作)

・single sign-onドメインは移行元、移行先インストール時vsphere.local で作成済み。

 

■エラー内容

Move-VM : 2020/10/22 15:00:00   Move-VM         vSphere single sign-on failed for connection '/VIServer=vsphere.local\ad

ministra

tor@vCenterFQDDN:443/' during a previous operation. The current operation requires such single sign-on

and therefore failed. Future operations which require single sign-on on this connection will fail. The underlying cause

was available in the error message which initially reported the single sign-on failure.

発生場所 行:1 文字:40

+ ... me testikou2 | Move-VM -Destination $hv -Datastore $ds -PortGroup $pg

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

    + CategoryInfo          : NotSpecified: (:) [Move-VM], SsoNotAuthenticatedException

    + FullyQualifiedErrorId : VICore_SsoExceptionCausedByEarlierSsoFailure,VMware.VimAutomation.ViCore.Cmdlets.Command

   s.MoveVM

 

■実行コマンド

①$vc_a = Connect-VIServer 移行元vCenterFQDN

②$vc_b = Connect-VIServer 移行先vCenterFQDN

③$ds = Get-Datastore -Server $vc_b -Name "datastore1"

④$pg = Get-vDPortgroup -Server $vc_b -Name "DPortGroup1"

⑤$hv = Get-VMHost -Server $vc_b -Name "ESXi1"

⑥et-VM -Server $vc_a -Name testikou2 | Move-VM -Destination $hv -Datastore $ds -PortGroup $pg

 

何卒、宜しくお願い申し上げます。


Viewing all articles
Browse latest Browse all 175326

Trending Articles



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