VMware Cloud Community
ferdis
Hot Shot
Hot Shot

How to limit number of user sessions on vCenter?

Plese how to limit maximum possible vSphere Client sessions of one user to vCenter? Ideally to prevent multiple logins of one account to vCenter.

0 Kudos
7 Replies
msatya
Enthusiast
Enthusiast

please follow this link-http://www.vmware.com/pdf/vsphere5/r50/vsphere-50-configuration-maximums.pdf

-------------------------
please award points if you see fit.Thankshttp://imagicon.info/cat/5-59/vbsmile.png

0 Kudos
admin
Immortal
Immortal

Hi,

You can add/ modify following parameter in vpxd.cfg file to restrict no. of concurrent connection:

<vmdb>
              <!-- max connections allowed. -->
              <maxConnectionCount>100</maxConnectionCount>
</vmdb>

Anand

0 Kudos
rickardnobel
Champion
Champion

Anand Prakash wrote:

You can add/ modify following parameter in vpxd.cfg file to restrict no. of concurrent connection:

<vmdb>
              <!-- max connections allowed. -->
              <maxConnectionCount>100</maxConnectionCount>
</vmdb>

Is that the total number of allowed connections at vCenter? But it will not limit a single user to log on simultaneously from several vSphere Clients, which I thought the thread question was about? Perhaps that is not possible.

My VMware blog: www.rickardnobel.se
0 Kudos
admin
Immortal
Immortal

You are right.

Anand

0 Kudos
srnhpp
Enthusiast
Enthusiast

                               

Most of the users will only retrieve some information about their VMs and start some simple operations like powering on a VM. Opening a console will also be possible, but it won't happen very often.   

Our VirtualCenter has 4 GB of RAM and it seems that there are 100 concurrent sessions possible. Will there be more concurrent sessions possible if I increase the RAM?  

Can you give me a hint?

0 Kudos
admin
Immortal
Immortal

You can do that without increasing the RAM. We have seen the issues increasing it beyond 135.

So it would be safer to restrict this limit to 100.

Anand

0 Kudos
cougar694u
Enthusiast
Enthusiast

I know this is a really old post, but I've recently ran into an issue where vCenter blocks us at 50 connections via the API.  I've added the maxConnecionCount tag set to 100 under vmdb, but we're still getting the error of 50 max connections.  Where should this be nested?  I have it under config right now, but wasn't sure if it needs to be under vpxd or anything.  We're running 5.1, fwiw.

I know SRM has a tag for the external API connection limit, is there one similar for vCenter?

~Luke http://thephuck.com
0 Kudos