On Sat, Nov 19, 2011 at 4:23 AM, Tom Kunz
<tkunz@...:
> Somehow 1:63 sounds painfully low. Just one single instance of ovpn with
> the /30 topology? Yikes, I've done VM's with a handful of /24's on them.
> I'm thinking probably 1k+ ovpn clients for a modest machine. Obviously not
> all starting simultaneously, but the load will be exceptionally low,
> basically nonexistent, for a mere 60 ovpn clients.
>
That is very low. if you have decent hardware, i would suggest
virtualization, but then i don't see Intel i5 with 2gb ram as "decent".
I've seen what happens to machines with 2GB ram at +- 100 client
connections. CPU starts running haywire, and disk activity starts kicking
into overdrive, since the system is now starting to utilise a lot more swap
space.
The reason that happens, is open vpn re-checks the connected ssl certs
every 30 minutes or so, pushing the cpu through the roof. even if you don't
initialize all the clients together, you start spiking cpu at 60 machines.
On Sat, 19 Nov 2011 00:17:57 -0200, Diogo Melo <dmelo87@...> wrote:
>
>
>
> Diogo Oliveira de Melo
> Ciência da Computação
> ICMC - USP São Carlos
>
>
>
>
> On Sat, Nov 19, 2011 at 12:17 AM, Diogo Melo <dmelo87@...> wrote:
>
>> Hi,
>> thanks a lot for the answer, Allan. I'm now considering using two Cisco
>> ASA 5585-X with SSP-20 to do the job. Do you have any thoughts about that?
>>
>
Personally, i HATE Cisco. They are way over priced, and will never over you
a true ssl vpn solution
> The mission is not so critical. 99.9% update is enough, since the client
>> machines can cache it's data and send it later on. There is no planning for
>> a DR site right now but redundancy is suitable. I saw that Cisco ASA comes
>> with redundant power supply and cooler so i'm not sure it would be helpful
>> to get a third machine.
>> It will be either a VPN cluster or two Cisco ASA working in parallel. I
>> think the second option is more suitable not only thinking about overall
>> price of the equipment but also on datacenter resources consumption. Each
>> Cisco ASA occupy only 2U and surely much less power supply.
>> I know Cisco ASA doesn't use OpenVPN but do you have any experience
>> using it as a VPN server? Any thoughts about disadvantages?
>>
>
the biggest problem is the ram. push the ram to 8gb - 16gb, and yes,
virtualisation just became an option.
Throw 2 machines like that together, and the solution has just become a
completely different ball game.
If you can, use vsphere / hypervm as a virtualization stack. very stable.
My personal choice would be to use openvz, since the virtualization stack
is plugged into the kernel, and a lot less resource intensive than any
vmware product.
Now with 16gb ram, run 3 -5 servers, at 3 - 4gb ram each, and you can still
run openvpn on the host os, although that would in my opinion become too
risky, as it may cause the vm's to crash once usage kicks in.
with this, you could run +- 350 connections per virtual instance. your cpu
will still take a beating,but disk IO won't be that heavy.
>
>>
>> Diogo Oliveira de Melo
>> Ciência da Computação
>> ICMC - USP São Carlos
>>
>>
>>
>>
>> On Fri, Nov 18, 2011 at 9:10 PM, Allan Swanepoel <allanice001@...:
>>
>>>
>>>
>>> On Fri, Nov 18, 2011 at 8:41 PM, Diogo Melo <dmelo87@...> wrote:
>>>
>>>> Hi,
>>>> I wonder if someone have rough estimates about how many connections a
>>>> generic server (Inter i5 2GB RAM memory) would be able to keep/handle (i
>>>> know that it depends on a lot of other variables but rough is enough).
>>>>
>>>
>>> Theoretically, an Intel I5 2.3ghz machine with 2gb ram, and 500gb disk
>>> space (Running Linux OS, with 2GB Swap space) is capable of handling +200
>>> connections.
>>>
>>> The problem comes in at the initialisation of the connection. if 200
>>> machines had to establish a vpn connection at the same time, your box will
>>> be dead.
>>>
>>>
>>>
>>>> If that hypothetical server is able to handle X connections, then
>>>> would 10 servers be able to handle 10X connections or this doesn't grows
>>>> linearly?
>>>>
>>> >From the bottom of my heart, what I really need to know (or at least
>>>> have a clue) is how much hardware I would need to keep 15000 connections
>>>> up, considering that each connection will transfer just a small amount of
>>>> data (lets say 50KB per HOUR for another computer inside the network)?
>>>>
>>>
>>> No, the connections don't grow linearly,.
>>> The connections are limited by number of factors, including, but not
>>> limited to server hardware.
>>> You need to keep in mind bandwidth requirements, and distance from VPN
>>> client to VPN server, as additional routing can cause lower TTL.
>>> Also
>>>
>>> I suggest a 1 : 63 ratio.
>>> That is 63 clients to every server
>>> It even splits your subnets into /24 networks
>>>
>>> Using the above ratio, you looking at roughly 240 machines to handle
>>> 15000 connections.
>>> And this does not include redundancy.
>>>
>>> Is the data mission critical?
>>> Is there a DR site?
>>> Or are you planning for DR VPN Servers? (VPN Cluster?)
>>>
>>>
>>>> Any help would be very appreciated.
>>>>
>>>>
>>>> Diogo Oliveira de Melo
>>>> Ciência da Computação
>>>> ICMC - USP São Carlos
>>>>
>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> All the data continuously generated in your IT infrastructure
>>>> contains a definitive record of customers, application performance,
>>>> security threats, fraudulent activity, and more. Splunk takes this
>>>> data and makes sense of it. IT sense. And common sense.
>>>> http://p.sf.net/sfu/splunk-novd2d
>>>> _______________________________________________
>>>> Openvpn-users mailing list
>>>> Openvpn-users@...
>>>> https://lists.sourceforge.net/lists/listinfo/openvpn-users
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> We live in an age when pizza gets to your home before the police.
>>> - Jeff Marder
>>> ------------------------------------------
>>> Allan Swanepoel
>>> allanice001@...
>>> allanice.001@...
>>> dragonmaster@...
>>> +27 71 850 5554
>>> Linux User #452990
>>> Linux Machine #360914
>>> -----------------------------------------------
>>> IMPORTANT: This email is intended for the use of the individual
>>> addressee(s) named above and may contain information that is
>>> confidential, privileged or unsuitable for overly sensitive persons
>>> with low self-esteem, no sense of humour or irrational religious beliefs.
>>> If you are not the intended recipient, any dissemination,
>>> distribution or copying of this email is not authorised (either
>>> explicitly or implicitly) and constitutes an irritating social faux
>>> pas. Unless the word absquatulation has been used in its correct context
>>> somewhere other than in this warning, it does not have any legal or
>>> grammatical use and may be ignored. No animals were harmed in the
>>> transmission of this email, although the yorkshire terrier next door
>>> is living on borrowed time, let me tell you. Those of you with an
>>> overwhelming fear of the unknown will be gratified to learn that there is
>>> no hidden message revealed by reading this warning backwards, so just
>>> ignore that Alert Notice from Microsoft: However, by pouring a complete
>>> circle of salt around yourself and your computer you can ensure that
>>> no harm befalls you and your pets.
>>>
>>
>
>
--
We live in an age when pizza gets to your home before the police.
- Jeff Marder
------------------------------------------
Allan Swanepoel
allanice001@...
allanice.001@...
dragonmaster@...
+27 71 850 5554
Linux User #452990
Linux Machine #360914
-----------------------------------------------
IMPORTANT: This email is intended for the use of the individual
addressee(s) named above and may contain information that is
confidential, privileged or unsuitable for overly sensitive persons
with low self-esteem, no sense of humour or irrational religious beliefs.
If you are not the intended recipient, any dissemination,
distribution or copying of this email is not authorised (either
explicitly or implicitly) and constitutes an irritating social faux
pas. Unless the word absquatulation has been used in its correct context
somewhere other than in this warning, it does not have any legal or
grammatical use and may be ignored. No animals were harmed in the
transmission of this email, although the yorkshire terrier next door
is living on borrowed time, let me tell you. Those of you with an
overwhelming fear of the unknown will be gratified to learn that there is
no hidden message revealed by reading this warning backwards, so just
ignore that Alert Notice from Microsoft: However, by pouring a complete
circle of salt around yourself and your computer you can ensure that
no harm befalls you and your pets.
|