[PVE-User] OpenVZ Container Migration

Alan Boudreault aboudreault at mapgears.com
Sat Dec 22 20:41:04 CET 2012


ah, also... note that /var/lib/vz on both server are a symbolic link to 
/mnt/vz but I don't think It should affect anything... I've always  done 
this with my old openvz servers.

Alan

On 12-12-22 01:59 PM, Alan Boudreault wrote:
> Both nodes has this in storage.cfg, I haven't touch to this file manually:
>
> dir: local
>          path /var/lib/vz
>          content images,iso,vztmpl,rootdir
>          maxfiles 0
>
> I suppose maxfiles 0 means "unlimited...
>
> Alan
>
> On 12-12-22 12:16 PM, Dietmar Maurer wrote:
>> look ok. Can you also post /etc/pve/storage.cfg (if you changed
>> something there)?
>>
>>> -----Original Message-----
>>> From: Alan Boudreault [mailto:aboudreault at mapgears.com]
>>> Sent: Samstag, 22. Dezember 2012 14:08
>>> To: Dietmar Maurer
>>> Cc: pve-user at pve.proxmox.com
>>> Subject: Re: [PVE-User] OpenVZ Container Migration
>>>
>>> Here is my CT config:
>>>
>>> ONBOOT="yes"
>>>
>>> # UBC parameters (in form of barrier:limit)
>>> KMEMSIZE="243269632:268435456"
>>> LOCKEDPAGES="65536"
>>> PRIVVMPAGES="unlimited"
>>> SHMPAGES="21504:21504"
>>> NUMPROC="240:240"
>>> PHYSPAGES="0:131072"
>>> VMGUARPAGES="0:unlimited"
>>> OOMGUARPAGES="0:unlimited"
>>> NUMTCPSOCK="360:360"
>>> NUMFLOCK="188:206"
>>> NUMPTY="16:16"
>>> NUMSIGINFO="256:256"
>>> TCPSNDBUF="10485760:11534336"
>>> TCPRCVBUF="10485760:11534336"
>>> OTHERSOCKBUF="1126080:2097152"
>>> DGRAMRCVBUF="262144:262144"
>>> NUMOTHERSOCK="360:360"
>>> DCACHESIZE="121634816:134217728"
>>> NUMFILE="9312:9312"
>>> AVNUMPROC="180:180"
>>> NUMIPTENT="128:128"
>>>
>>> # Disk quota parameters (in form of softlimit:hardlimit)
>>> DISKSPACE="5242880:5767168"
>>> DISKINODES="1000000:1100000"
>>> QUOTATIME="0"
>>>
>>> # CPU fair sheduler parameter
>>> CPUUNITS="1000"
>>>
>>> HOSTNAME="nameXXX"
>>> VE_ROOT="/var/lib/vz/root/$VEID"
>>> VE_PRIVATE="/var/lib/vz/private/$VEID"
>>> OSTEMPLATE="ubuntu-10.04-x86_64"
>>> ORIGIN_SAMPLE="vps.basic"
>>> NAMESERVER="xxx"
>>> SEARCHDOMAIN="xxx"
>>> NETIF="ifname=eth0,bridge=vmbr0,mac=00:00:13:00:00:00,host_ifname=vet
>>> h304.0,host_mac=00:00:13:00:00:01"
>>> SWAPPAGES="0"
>>> CPUS="1"
>>>
>>>
>>> On 12-12-22 01:59 AM, Dietmar Maurer wrote:
>>>>> I would have though that pvectl migrate do the something similar than
>>>>> vzmigrate
>>>>
>>>> Please can you post the CT configuration?
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Alan Boudreault
>>> http://www.mapgears.com/
>>
>>
>
>


-- 
Alan Boudreault
http://www.mapgears.com/



More information about the pve-user mailing list