OpenVZ Forum


Home » General » Support » Can I run debian as vz with ubuntu host
Re: Can I run debian as vz with ubuntu host [message #35784 is a reply to message #35775] Wed, 22 April 2009 11:16 Go to previous message
satimis is currently offline  satimis
Messages: 39
Registered: August 2008
Member
maratrus wrote on Wed, 22 April 2009 14:23

Hi,

- I don't understand whether you solved the problem?
- you didn't show VEs configuration file only global vz.conf.
- please pay attention to OSTEMPLATE variable in VEs configuration file.


Hi maratrus,


I have 5 VZs running;

$ sudo vzlist -a
[sudo] password for satimis: 
      VEID      NPROC STATUS  IP_ADDR         HOSTNAME                        
       101          3 running 192.168.0.101   vz1.satimis.com                 
       102          3 running 192.168.0.102   vz2.satimis.com                 
       103          3 running 192.168.0.103   vz3.satimis.com                 
       104          6 running 192.168.0.104   vzd4.satimis.com                
       105         12 running 192.168.0.105   vzd5.satimis.com 


It seems that they are working w/o problem. However they are only base OS without further installation.

101 - Ubuntu 8.04 minimal (created on template)
102 - Ubuntu 8.04 minimal (created on template)
103 - Ubuntu 8.04 minimal (duplicated on 101)
104 - Debian 5.0 minimal (created on template)
105 - Debian 5.0 full version (created on template)
(all 32bit)


$ cat /etc/vz/conf/104.conf
- snip -

ONBOOT="yes"

# UBC parameters (in form of barrier:limit)
KMEMSIZE="11055923:11377049"
LOCKEDPAGES="256:256"
PRIVVMPAGES="65536:69632"
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="1720320:2703360"
OTHERSOCKBUF="1126080:2097152"
DGRAMRCVBUF="262144:262144"
NUMOTHERSOCK="360:360"
DCACHESIZE="3409920:3624960"
NUMFILE="9312:9312"
AVNUMPROC="180:180"
NUMIPTENT="128:128"

# Disk quota parameters (in form of softlimit:hardlimit)
DISKSPACE="1048576:1153024"
DISKINODES="200000:220000"
QUOTATIME="0"

# CPU fair sheduler parameter
CPUUNITS="1000"


VE_ROOT="/var/lib/vz/root/$VEID"
VE_PRIVATE="/var/lib/vz/private/$VEID"
OSTEMPLATE="debian-5.0-i386-minimal"
ORIGIN_SAMPLE="vps.basic"
HOSTNAME="vzd4.satimis.com"
IP_ADDRESS="192.168.0.104"
NAMESERVER="202.14.67.4 202.14.67.14"


B.R.
satimis

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: veth and cpt and restore
Next Topic: HA cluster with DRBD and Heartbeat
Goto Forum:
  


Current Time: Fri Oct 18 03:55:46 GMT 2024

Total time taken to generate the page: 0.05238 seconds