 |

07-02-2009, 02:06 PM
|
 |
Ninja
|
|
Join Date: May 2003
Posts: 319
|
|
Hi everyone, as clustering is a feature I really enjoy, allow me to give you a bit of information.
First, the ability to cluster adds a small amount of resource overhead, due to the calculations required for the units to synchronized, hand out work, and otherwise keep the world in balance. For this reason, 512MB ram installations could find themselves in a worse-off state when clustering was added, hence clustering the 120/220 units didnt really make viable sense until they were upgraded to 1GB of RAM, but depending on features used on the units many customers had great success even on the earlier models.
As to how clustering works, a couple of key things should be understood. First, since in a cluster all communication "in" and "out" is done by the acting Master, he maintains a connection table for all communications, as well as any work which has been "farmed" out to other nodes in the cluster.
The other important thing is that the master box will treat all connected nodes as the same power/equivalent as him, so for this reason we require matched boxes or else the slave node(s) will either be underused, or overtasked depending on the masters specs.
Now, in a 2 box cluster, you get the advantage of having the second box "share" the load, whereby the master will allocate supported tasks such as IPS, Antivirus Scanning, Content Filtering etc...to the slave based on the current requests made, on a relatively round-robin style approach. Since however the master has to do a bit extra work in keeping the map of what's going on and who is talking to who, he will actually do less work when possible to ensure he can stay a capable manager. However in order to ensure that if the master dies, he must also keep a backup copy of the connections current to the slave, (which is some of the magic behind why our failovers are so fast). Which means that the slave itself isnt actually donating all his resources to scanning, but is in a 2 box cluster acting more as a working HA setup. Regardless, you will get a nice performance boost and load sharing using 2 boxes in most situations, while seeing the overall load on the machines even out nicely.
However, if you have ever setup or worked with a 3+ cluster, this is where the performance really starts to shine. In this type of setup, you have a master and a slave performing as above, and all additional boxes act simply as "drones", donating their CPU and Memory to crunching tasks. The master will actually load more work on a drone than a slave, due to his having more freedom to work without needing to keep track of the cluster world connections. So yes, the slave still gets work, but the drone will get "more" since he has more free resources due to the reasons outlined above. What happens in any cluster is the master recieves packets, farms out tasks as his intelligence deems based on a lot of logic factors, then receives the completed work nodes back and transmits them to their destination.
We do use a jumbo-frame style communication for the cluster community network, hence on the 120's the transfer network can pin 100Mb with 4-5 boxes or large traffic pipes, which severely hampers performance once that happens. For this reason eth3 is reserved for the cluster by default at the factory, since it is a Gigabit interface on all 220 and up models.
Lastly, while you can "HA" virtual machines, depending on the factors like if they are running on the same metal (making it moot if you have a hardware failure), it may or may not be worth it to you. We've tested it and it does work fine, but you need a good setup (think ESX with a cluster and proper networking) to get good reliability and heartbeat responses.
Oh, and in 7.500 you can now use link aggregation for the cluster (binding the interfaces together for the cluster community for both throughput and reliability bonuses), in addition to the other failsafe options like using the lan nics for a backup heartbeat check. We also have changed some clustering "status" information, added a new cluster laylout look to the the dash board along with displaying serial numbers for all connected units, And anything using clustering in 7.400+ should be performing very well indeed...
Any questions or experiences, please let me know!
__________________
Angelo Comazzetto
Astaro AG
--------------------------------------------------------
Visit the KB for documentation and help ( www.astaro.com/kb)
Astaro is FULLY free for home use, including all subscriptions. Download it from http://my.astaro.com
|

07-02-2009, 02:48 PM
|
 |
Moderator
|
|
Join Date: Mar 2007
Location: Oklahoma City
Posts: 5,396
|
|
Yes, Thomas, after my experience that started this thread, I would recommend that one save the expense of Web and Email Security Subscriptions for the second unit, and use the two 220s in Hot Standby mode. If you aren't using Web/Email Security, then the cost is the same for clustering or standby.
(Note: when speaking of cost comparisons, I'm considering five-year net cost.) Thomas' comments have caused me to form some new opinions...
I don't think it EVER makes sense to cluster 220s. If you need the security of a hot spare, then get a second 220. If you need more power than a 220, get a 320; the megabit ports are a bonus. If you need more power than a 320, the next step could be a cluster of two or more 320s.
Here's the rub with a cluster; you need to have one more unit in the cluster than is necessary to handle your load, otherwise, the failure of one unit brings you down. At present, clustering is not something I would recommend. For example, A cluster of two 320s is less-powerful yet more-expensive than a 425. If you want some redundancy, a cluster of three 320s is much more expensive than a 425+Hot Spare.
Until it's possible to add a hot standby unit to a cluster, I won't recommend clusters any more.
Cheers - Bob
__________________
ACE V7 - Astaro Preferred Partner since V3
Addicted to my iPhone!
|

07-02-2009, 02:57 PM
|
 |
Moderator
|
|
Join Date: Mar 2007
Location: Oklahoma City
Posts: 5,396
|
|
Thanks, Angelo, we were writing at the same time. I think you meant, "a Gigabit interface on all 320 and up models."
I didn't say that I don't like clusters, just that I don't think they offer a cost-savings or redundancy. It's a good feature and will be great when it's possible to add a hot-standby to a cluster.
Cheers - Bob
__________________
ACE V7 - Astaro Preferred Partner since V3
Addicted to my iPhone!
|

09-20-2009, 01:22 AM
|
 |
Moderator
|
|
Join Date: Mar 2007
Location: Oklahoma City
Posts: 5,396
|
|
I lost a bet with Angelo. In fact, the 220 has some gigabit interfaces, but the marketing literature hasn't kept up with reality. That's gotta be the first time that marketing didn't overstate reality!
Cheers - Bob
__________________
ACE V7 - Astaro Preferred Partner since V3
Addicted to my iPhone!
|

09-24-2009, 09:54 PM
|
|
Member
|
|
Join Date: Sep 2007
Posts: 46
|
|
In our case we had a 220 v1 as stand alone box for a few years.
Things changed and traffic grew.....
We tried the "low-cost-way": HA with an inexpensive v1-to-v3 upgrade (new box) and a second new ASG 220 v3.
For our needs, this cluster works great. Sometimes the master begins to swap (after a week or so), but after a takeover everything runs fine again.
The speed related to a single 220 (tested with a 220v3, since you canīt compare it to the old v1...) has really improved.
But this is our environment, with our specific network traffic. In most cases and new installations I would prefer a 320 active-passive solution, too.
Regards,
Thomas
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT. The time now is 09:00 AM.
| |  |