Is it possible to set bandwidth limits of OpenVZ VPS's, if not using SolusVM? I can't find a good, simple way of doing it that will allow me to see how much bandwidth each VPS is using?
Are you asking for allocating monthly transfer, or transfer speed? Traffic shaping is setting transfer speed and what you asked for in your original post. I don't think you want to set the speed to 1000 gigabytes per second.
Comments
http://wiki.openvz.org/Traffic_shaping_with_tc
Are you going to start a company at the end? Didn't school start?
Is the "1000" the gigabytes of bandwidth I want to allocate for the specific VPS?
avpkt bytes
The average size of a packet is needed for calculating maxidle, and is also used for making sure 'allot' has a safe value. Mandatory.
Ah, Ok, What @damian said is correct after reading the guide.
Are you asking for allocating monthly transfer, or transfer speed? Traffic shaping is setting transfer speed and what you asked for in your original post. I don't think you want to set the speed to 1000 gigabytes per second.
Sorry - I meant Monthly Transfer :P
Set the monthly transfer amount in the plan. Select Yes from the "Suspend on Bandwidth Limit" dropdown box in the plan setup. Done.
This is what I think you want: http://wiki.openvz.org/Traffic_accounting_through_proc.
That said, why don't you just use SolusVM?
I think it might save a lot of headaches, using SolusVM actually...
This is what he is looking for, however he will manually need to code something to suspend the VPS automatically, I think.