Hello all, I am new to Openvz but loving it. I run 3 VMware clusters containing about 163 VM's. I have been playing around with Openvz for special non production projects and I want to learn more on how to create VM's better suited for my needs.
Lets take a server that I have, it is a dual / quad core server with 4 gb of ram.
Do I allocate processor on % or process time or sockets or cores.
What would be an example of setting by cores and % or overall process time?
Here is what I have for one of my VM's
# UBC parameters (in form of barrier:limit)
KMEMSIZE="1073741824:1073741824"
LOCKEDPAGES="256:256"
PRIVVMPAGES="262144:262144"
SHMPAGES="21504:21504"
NUMPROC="240:240"
PHYSPAGES="0:2147483647"
VMGUARPAGES="33792:2147483647"
OOMGUARPAGES="26112:2147483647"
NUMTCPSOCK="360:360"
NUMFLOCK="188:206"
NUMPTY="16:16"
NUMSIGINFO="256:256"
TCPSNDBUF="1720320:2703360"
TCPRCVBUF="32768000:32768000"
OTHERSOCKBUF="1126080:2097152"
DGRAMRCVBUF="262144:262144"
NUMOTHERSOCK="360:360"
DCACHESIZE="3409920:3624960"
NUMFILE="9312:9312"
AVNUMPROC="180:180"
NUMIPTENT="128:128"
# CPU fair sheduler parameter
CPUUNITS="1000"
Do people edit all these entries, if so how do you determine what/ how to edit them? What parameters do you change and not change?
I know how to add disk space but what do I have to do in order to correlate disk space to # of inodes? If I have set this
--diskspace 15000M --save
what should I set the # of inodes to?
Is there a way to set min/max amount of memory or cpu?
I know that explanations of the given code is in the manual but I am in need of seeing some code and what that code means.
Thanks for taking the time to read this post,
have a good one.
timgerr