VMware Cloud Community
Tt2501
Contributor
Contributor

PowerCLIを使用できるようにしたCentos7からvCenterServerに接続できない

PowerCLIを使用できるようにしたCentos7から"Connect-VIServer"コマンドを使用すると下記のエラーが発生して

vCenterServerに接続できません。

どうすれば接続できるでしょうか。

PS /root> Connect-VIServer -server 192.168.0.2

Specify Credential

Please specify server credential

User: administrator@vsphere.local

Password for user administrator@vsphere.local: ****************

Connect-VIServer : No such device or address

At line:1 char:1

+ Connect-VIServer -server 192.168.0.2

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

+ CategoryInfo          : NotSpecified: (:) [Connect-VIServer], CommunicationException

+ FullyQualifiedErrorId : System.ServiceModel.CommunicationException,VMware.VimAutomation.ViCore.Cmdlets.Commands.ConnectVIServer

PS /root>

※Centos7とvCenterServer間の疎通は取れています。

よろしくお願いいたします。

Tags (2)
0 Kudos
3 Replies
LucD
Leadership
Leadership

Did you check you are not having the same issue as in Connect-VIServer : No such device or address


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
Tt2501
Contributor
Contributor

Thank you for your help!

I'll try it.

0 Kudos
gowatana
Leadership
Leadership

こんにちは。

VMTNのユーザーモデレーターをしております、Go Watanabeと申します。

こちらのフォーラムは英語でのコミュニケーションとなるので、

次回は英語にて投稿いただけますと幸いです。

一方、日本語の場合は、内容を問わず下記フォーラムがご利用いただけます。

Japanese

以上です。よろしくお願いいたします。

0 Kudos