Solved

user could not log onto the ESXi because of the permission

Posted on 2012-04-03
18
2,087 Views
Last Modified: 2012-05-01
I just created the new user with root permission. However, he could not log onto the ESXi host using vShpere. He got this error message

The vsphere client could not connect to 10.10.10.40. You do not have permission to login to the server 10.10.10.40.

Please advice me .
Thanks,
0
Comment
Question by:dongocdung
  • 7
  • 6
  • 3
  • +2
18 Comments
 
LVL 9

Expert Comment

by:Geodash
ID: 37801688
Are you using AD authentication?
0
 
LVL 40

Assisted Solution

by:coolsport00
coolsport00 earned 350 total points
ID: 37801690
Is that the IP of the host or to vCenter? After you create a User, you have to assign the user "Permission". Click the Permission tab and add that user the permission to log into either the Host or vCenter.

~coolsport00
0
 
LVL 119

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 150 total points
ID: 37801697
Have you also granted permission for this user, to the Server Object in the vSphere Client, just creating a user does not give them access, unless you assign the user permission to the object.

e.g. top of the tree
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
LVL 40

Assisted Solution

by:coolsport00
coolsport00 earned 350 total points
ID: 37801740
Click on 'Host' in upper left, then permission tab on right. Then, click the 'whitespace' to 'Add Permission' of this new user.

~coolsport00

Host Permission
0
 

Author Comment

by:dongocdung
ID: 37801821
I assigned the root permission to this user but he could not log in. This ESXi is not connected to the network yet.
0
 
LVL 40

Assisted Solution

by:coolsport00
coolsport00 earned 350 total points
ID: 37801830
If the host can't be 'seen' on the network, but only your workstation, for example,, then no one but you will be able to log in until you get IP settings configured in the Configuration tab.
0
 

Author Comment

by:dongocdung
ID: 37802265
I get into the Configuration tab, but I don't know where I can set the IP Address.
0
 
LVL 40

Assisted Solution

by:coolsport00
coolsport00 earned 350 total points
ID: 37802288
Under Networking in the 'Hardware' box. You'll basically configure a VMkernel port as a "management" network. Or, maybe an easier way to do so is to connect to your host console, the DCUI (direct console user interface) and configure your host IP settings there (pressing F2, then log in with 'root').

~coolsport00
0
 

Author Comment

by:dongocdung
ID: 37802347
I see the VmKernel has IP address already.
0
 
LVL 119

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 150 total points
ID: 37802363
Check Management Network IP Address
0
 
LVL 40

Assisted Solution

by:coolsport00
coolsport00 earned 350 total points
ID: 37802372
Ok..if you're using 4.x, it will be a "mgmt" network, whereas if you're using 5.x, it'll be a VMKernel port with "Management"...VMware kinda consolidated things a bit.
0
 

Author Comment

by:dongocdung
ID: 37802701
What do I do now?
Thanks,
0
 
LVL 40

Assisted Solution

by:coolsport00
coolsport00 earned 350 total points
ID: 37802715
Have your user use that IP in his/her vSphere Client to try and log into the Host...
0
 

Author Comment

by:dongocdung
ID: 37802814
Yes, he did but got the permission error above.
0
 
LVL 119

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 150 total points
ID: 37802829
did you assign permissions to server object?
0
 
LVL 40

Accepted Solution

by:
coolsport00 earned 350 total points
ID: 37802973
See my screenshot above and how I have the actual host highlighted, then the Permissions tab is accessed on the right. So, if I were to expand my host (virtual01), there would be VMs below it (or Resource Pools and VMs). Those are all what VMware calls "objects" in the object or naviagation tree there on the left side. You can set permissions at any level. And those permissions, when granted on a certain level, are at that level and propagate downward. Since you want this user to have access to your host, you grant it at the host level. If you want to forbid access at any given level below the object where access is granted, you assign the user in question the 'no access' right/permission on a given object.

~coolsport00
0
 

Author Comment

by:dongocdung
ID: 37812948
I granted him a "root level" to a host but he could not log on to the host using the v Sphere client.
0
 

Expert Comment

by:dainjah
ID: 37855566
Post your screenshots. You must have done something wrong that can't be explained using text-mode only.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Esxi management service 10 54
Powercli - Help adding Multiple VMs names to script 2 43
NETAPP rename a datastore 2 44
VMWare & and Storage 10 72
Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
Teach the user how to delpoy the vCenter Server Appliance and how to configure its network settings Deploy OVF: Open VM console and configure networking:
Teach the user how to use vSphere Update Manager to update the VMware Tools and virtual machine hardware version Open vSphere Client: Review manual processes for updating VMware Tools and virtual hardware versions: Create a new baseline group in vSp…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question