OpenVZ Forum


Home » General » Support » Setting up a new VM
Re: Setting up a new VM [message #16050 is a reply to message #16049] Mon, 20 August 2007 16:47 Go to previous messageGo to previous message
locutius is currently offline  locutius
Messages: 125
Registered: August 2007
Senior Member
you keep using the term VM which is wrong in its entirety for OpenVZ, drop the idea of VM in OpenVZ. VPS are VE which are absolutely as close as you can get to a physical server

read the OpenVZ pdf and especially the section on vzsplit. the default config of VZ creates extremely conservative VE with maybe 24MB RAM capability. when you have divided your machine according to your hardware and expectations of VE, then limit each VE by editing the following:

these settings are for 256MB RAM 6GB Disk:

VMGUARPAGES="65536:xxxx" << xxxx = your RAM total
OOMGUARPAGES="65536:xxxx" << xxxx = your RAM total
PRIVVMPAGES="65536:75536"
SHMPAGES="6553:6553"
DISKSPACE="6291456:6291456" << 6x1024x1024 = 6GB

you can work the rest out yourself: double up for 512MB RAM and recalc the Diskspace for 5GB
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: ipv6 config
Next Topic: Activation mail from forum.
Goto Forum:
  


Current Time: Sun Sep 15 02:07:56 GMT 2024

Total time taken to generate the page: 0.03616 seconds