OpenVZ Forum


Home » General » Support » *SUGGESTION* Restructuring and Improving CONF files
icon10.gif  *SUGGESTION* Restructuring and Improving CONF files [message #13798] Tue, 05 June 2007 13:54 Go to previous message
mperkel is currently offline  mperkel
Messages: 253
Registered: December 2006
Senior Member
OK - I have several suggestions here. Some is for developers and some for some of us (who program better than me) to write scripts. I find the conf files very confusing. If I dedicated my like to the internals of OpenVZ I'm sure they are quite clear. But for me to learn something new I have to forget something to make room for it. So - my suggestions.

Forst, instead of setting in bytes or even worse 4k pages, why not K,M and G for kilobytes, megabytes,and gigabytes? Thus instead of 4k pages - 512 megs of ram is:

old 125000
new 512m

Having said that I would also have the ability to not specify anything and have the system compute a logical default value based on formulas for values not specified or set to zero. Let the computer do the figuring.

Now for the second part.

I'd like to see someone build a PHP or JAVA web page to analize and help you generate conf files, specifically relating to all the numbers. You would have a window (text area) to paste your conf file into and hit submit. It will break it down and not only see if it'd correct, but analyze it showing how your setting compare to typical values. Perhaps even allowing you to start with templates called "huge" big" "medium" "small" and "tiny" and perhaps explanation in popup help windows that tell you what kind of things you might run in each.

There also might be a place to paste in your bean counters so that it can give you some percentages and suggest things that might be increased or decreased. It will also translate your config into human readable form so that you have text that explains exactly what your setting means in plain language.

Finally the output can be cut and pasted off the web page to you can copy the config to your server. I would have an option to generate it with comments so they output has a detailed explanation in the config file as to what each setting means.

So - who wants to code something up?


[Updated on: Wed, 06 June 2007 11:13] by Moderator

Report message to a moderator

 
Read Message icon10.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: *RESOLVED* template generation
Next Topic: Private virtual network with multiple VPN and NAT
Goto Forum:
  


Current Time: Tue Oct 08 00:43:18 GMT 2024

Total time taken to generate the page: 0.10116 seconds