Problems starting ESXHost ESX user's password not specified

Problem

Problems starting ESXHost ESX user's password not specified

Solution

ISSUE:
(patch 2) Need more document for type.

ISSUE AS REPORTED:
Unable to online resource type ESXHost

ERROR CODE/ MESSAGE:
2009/03/10 17:09:28 VCS WARNING V-16-10061-16501 ESXHost:esx_host:open:ESX user's password not specified.
2009/03/10 17:09:30 VCS WARNING V-16-10061-16501 ESXHost:esx_host:monitor:ESX user's password not specified.


CAUSE:
The installer never updated the main.cf to include the username and password for the root user.


Incorrect ESXHost entry main.cf


ESXHost esx_host (
Critical = 0
)




SOLUTION:
Looking at the ESXHostTypes.cf there is a User and Password argument.


type ESXHost (
static int OfflineMonitorInterval = 60
static str ArgList[] = { HostName, User, Password, NodeName }
static str Operations = None
str HostName
str User
str Password
str NodeName
)


The user name and password needs to be specified.


Create an encrypted password using vcsencrypt:


#/opt/VRTSvcs/bin/vcsencrypt -agent

Enter New Password:
Enter Again:
drhPirGrhJejFjg


Update the ESXHost with the username root along with the password generated by vcsencrypt.


ESXHost esx_host (
Critical = 0
User = root
Password = drhPirGrhJejFjg
)


Restart VCS with the updated ESXHost config


Terms of use for this information are found in Legal Notices.

Search

Survey

Did this article answer your question or resolve your issue?

No
Yes

Did this article save you the trouble of contacting technical support?

No
Yes

How can we make this article more helpful?

Email Address (Optional)