OpenVZ Forum



Members   Search      Help    Register    Login    Home
Today's Messages (off)  | Unanswered Messages (on)

Forum: Support
 Topic: call trace on 2.6.32-042stab065.3
call trace on 2.6.32-042stab065.3 [message #48824] Tue, 11 December 2012 11:16
jmginer is currently offline jmginer
Messages: 15
Registered: July 2008
Junior Member
From: *Red-81-44-62.dynamicIP.rima-tde.net
Hi,

after a server reboot, I get this error during the start VMs process.

I get the error before it finish to start al VMs.

I see this error using a KVM-IP.

Thanks.
 Topic: container start error (/bin/grep permission)
container start error (/bin/grep permission) [message #48813] Sat, 08 December 2012 14:46
phpcat is currently offline phpcat
Messages: 1
Registered: December 2012
Junior Member
From: 146.0.74*
Hey everyone
Suddenly Im receiving strange errors when starting one of my containers. Heres a copy of the messages I got:

[root@localhost /]# vzctl enter 101
enter into CT 101failed
Unable to open pty: No such file or directory
[root@localhost /]# vzctl restart 101
Restarting container
Stopping container ...
Container was stopped
Container is unmounted
Starting container...
Container is mounted
Adding IP address(es): x.x.x.x (Hidden this bit)
/bin/bash: line 529: /bin/grep: Permission denied
/bin/bash: line 532: /bin/grep: Permission denied
/bin/bash: line 405: /bin/grep: Permission denied
/bin/bash: line 414: /bin/grep: Permission denied
/bin/bash: line 405: /bin/grep: Permission denied
/bin/bash: line 414: /bin/grep: Permission denied
Setting CPU limit: 400
Setting CPU units: 1000
Setting CPUs: 3
/bin/bash: line 303: /bin/cp: Permission denied
 ERROR: Can't copy file /etc/hosts
Container start in progress...
[root@localhost /]#


Any ideas?
 Topic: Memory buffer as used memory.
Memory buffer as used memory. [message #48793] Tue, 04 December 2012 03:15
graczu is currently offline graczu
Messages: 3
Registered: December 2012
Junior Member
From: *e-wro.net.pl
Hello,

i starting a VPS with 5 GB ram limit

vzctl set 05 --swappages 0:2G --save
vzctl set 05 --kmemsize 5G --save
vzctl set 05 --vmguarpages 5G --save
vzctl set 05 --oomguarpages 5G --save
vzctl set 05 --privvmpages 5G --save


and i start my java aplication ( i starting with max 3 gb -xmx3g and xms756m ), and it's starting with about 1 GB of RAM and about 4 GB of ram in buffers ( don't know why ). And when the limit of aplication ram usage get 5 GB it's stuck the whole VPS.

Why buffered RAM is counting to the whole VPS ram?.
Is there any way to turn off that buffers?.

             total       used       free     shared    buffers     cached
Mem:          5120       4047       1072          0          0         37
-/+ buffers/cache:       4009       1110
Swap:         2048          0       2048
 Topic: unmount a bind mount
unmount a bind mount [message #48788] Fri, 30 November 2012 10:20
rleir is currently offline rleir
Messages: 1
Registered: April 2012
Junior Member
From: *storm.ca
I mounted a directory as suggested in:
wiki.openvz.org/Bind_mounts

When I unmounted it the physical server hung, Shocked syslog:
myhost kernel: [6828826.156186] BUG: soft lockup - CPU#10 stuck for 66s! [umount:884904]

Is there a safe way to unmount?

vz kernel: 042stab061_2
2.6.32-042stab061.2 (Centos 64)
Thanks
 Topic: Adaptec/USB IRQ conflict hangs PCI bus
Adaptec/USB IRQ conflict hangs PCI bus [message #48786] Fri, 23 November 2012 12:34
gkovacs is currently offline gkovacs
Messages: 3
Registered: October 2009
Location: Budapest, Hungary
Junior Member
From: *dsl.pool.telekom.hu
The problem
We have an Adaptec 6805E card in an Intel Q67 / Core i7 server running Proxmox 1.9. Whenever and USB device is plugged in or removed (in our case the data center's KVM-over-IP console), there is a kernel error and the PCI bus hangs after that (extremely slows it down). It seems the Adaptec controller and the USB controller share the same IRQ.

Problem appears on all of our kernels, and only a hard reset solves the problem. Has anyone experienced this?

Others reported similar issues (not necessarily with OpenVZ kernel):
serverfault.com/questions/165717/apparent-irq-conflict-drivi ng-me-nuts-under-centos
forums.opensuse.org/english/get-technical-help-here/hardware /462213-irq-16-nobody-cared-try-booting-irqpoll-option-but-i rqpoll-causes-boot-failure.html
(remove spaces)

There are a lot of boot options regarding ACPI and IRQs.
help.ubuntu.com/community/BootOptions

We can't really test these on a production system. Anyone know what to do?

The error
Nov 23 09:16:31 proxmox2 kernel: irq 16: nobody cared (try booting with the "irqpoll" option)
Nov 23 09:16:31 proxmox2 kernel: Pid: 17958, comm: apache2 Not tainted 2.6.32-4-pve #1
Nov 23 09:16:31 proxmox2 kernel: Call Trace:
Nov 23 09:16:31 proxmox2 kernel: <IRQ>  [<ffffffff81097bfd>] ? __report_bad_irq+0x30/0x7d
Nov 23 09:16:31 proxmox2 kernel: [<ffffffff81097d4f>] ? note_interrupt+0x105/0x16e
Nov 23 09:16:31 proxmox2 kernel: [<ffffffff810983b4>] ? handle_fasteoi_irq+0x93/0xb5
Nov 23 09:16:31 proxmox2 kernel: [<ffffffff8101333f>] ? handle_irq+0x17/0x1d
Nov 23 09:16:31 proxmox2 kernel: [<ffffffff81012999>] ? do_IRQ+0x57/0xb6
Nov 23 09:16:31 proxmox2 kernel: [<ffffffff81011593>] ? ret_from_intr+0x0/0x11
Nov 23 09:16:31 proxmox2 kernel: <EOI>
Nov 23 09:16:31 proxmox2 kernel: handlers:
Nov 23 09:16:31 proxmox2 kernel: [<ffffffffa00c63a8>] (aac_src_intr_message+0x0/0x108 [aacraid])
Nov 23 09:16:31 proxmox2 kernel: [<ffffffffa0024848>] (usb_hcd_irq+0x0/0x7e [usbcore])
Nov 23 09:16:31 proxmox2 kernel: Disabling IRQ #16
Nov 23 09:16:37 proxmox2 kernel: usb 1-1.6: USB disconnect, address 3


The system
proxmox2:~# pveversion -v
pve-manager: 1.9-26 (pve-manager/1.9/6567)
running kernel: 2.6.32-4-pve
proxmox-ve-2.6.32: 1.9-55+ovzfix-2
pve-kernel-2.6.32-4-pve: 2.6.32-33
pve-kernel-2.6.32-6-pve: 2.6.32-55+ovzfix-1
pve-kernel-2.6.32-7-pve: 2.6.32-55+ovzfix-2
qemu-server: 1.1-32
pve-firmware: 1.0-15
libpve-storage-perl: 1.0-19
vncterm: 0.9-2
vzctl: 3.0.29-3pve1
vzdump: 1.2-16
vzprocps: 2.0.11-2
vzquota: 3.0.11-1
pve-qemu-kvm: 0.15.0-2
ksm-control-daemon: 1.0-6


PCI device list:
proxmox2:~# lspci
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation 2nd Generation Core Processor Family PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series Chipset Family MEI Controller #1 (rev 04)
00:16.2 IDE interface: Intel Corporation 6 Series Chipset Family IDE-r Controller (rev 04)
00:16.3 Serial controller: Intel Corporation 6 Series Chipset Family KT Controller (rev 04)
00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 04)
00:1a.0 USB Controller: Intel Corporation 6 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1c.0 PCI bridge: Intel Corporation 6 Series Chipset Family PCI Express Root Port 1 (rev b4)
00:1c.4 PCI bridge: Intel Corporation 6 Series Chipset Family PCI Express Root Port 5 (rev b4)
00:1d.0 USB Controller: Intel Corporation 6 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a4)
00:1f.0 ISA bridge: Intel Corporation 6 Series Chipset Family LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 6 Series Chipset Family 6 port SATA AHCI Controller (rev 04)
00:1f.3 SMBus: Intel Corporation 6 Series Chipset Family SMBus Controller (rev 04)
02:00.0 RAID bus controller: Adaptec Device 028b (rev 01)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)


The two conflicting devices from lspci -vv:
00:1a.0 USB Controller: Intel Corporation 6 Series Chipset Family USB Enhanced Host Controller #2 (rev 04) (prog-if 20 [EHCI])
        Subsystem: Intel Corporation Device 200a
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
       Interrupt: pin A routed to IRQ 16
        Region 0: Memory at fbe23000 (32-bit, non-prefetchable) [size=1K]
        Capabilities: [50] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [58] Debug port: BAR=1 offset=00a0
        Capabilities: [98] PCIe advanced features <?>
        Kernel driver in use: ehci_hcd
        Kernel modules: ehci-hcd

02:00.0 RAID bus controller: Adaptec Device 028b (rev 01)
        Subsystem: Adaptec Device 0201
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0, Cache Line Size: 64 bytes
        Interrupt: pin A routed to IRQ 16
        Region 0: Memory at fb800000 (64-bit, non-prefetchable) [size=4M]
        Region 2: Memory at fbc41000 (64-bit, non-prefetchable) [size=2K]
        Region 4: Memory at fbc40000 (32-bit, non-prefetchable) [size=256]
        Expansion ROM at fbc00000 [disabled] [size=256K]
        Capabilities: [40] Power Management version 3
                Flags: PMEClk- DSI- D1+ D2- AuxCurrent=375mA PME(D0+,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [50] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
                Address: 0000000000000000  Data: 0000
        Capabilities: [70] Express (v2) Endpoint, MSI 00
                DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s <1us, L1 <8us
                        ExtTag- AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
                DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
                        RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop+
                        MaxPayload 128 bytes, MaxReadReq 128 bytes
                DevSta: CorrErr+ UncorrErr- FatalErr- UnsuppReq+ AuxPwr- TransPend-
                LnkCap: Port #0, Speed 5GT/s, Width x8, ASPM L0s L1, Latency L0 <512ns, L1 <64us
                        ClockPM- Suprise- LLActRep- BwNot-
                LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+
                        ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
                LnkSta: Speed 5GT/s, Width x4, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
        Capabilities: [ac] MSI-X: Enable- Mask- TabSize=16
                Vector table: BAR=0 offset=001c2000
                PBA: BAR=0 offset=001c4000
        Capabilities: [100] Advanced Error Reporting <?>
        Kernel driver in use: aacraid
        Kernel modules: aacraid



Active interrupt list
proxmox2:~# cat /proc/interrupts
           CPU0       CPU1       CPU2       CPU3       CPU4       CPU5       CPU6       CPU7
  0:         99          0          0          0          0          0          0          0  IR-IO-APIC-edge      timer
  1:          2          0          0          0          0          0          0          0  IR-IO-APIC-edge      i8042
  8:          1          0          0          0          0          0          0          0  IR-IO-APIC-edge      rtc0
  9:          0          0          0          0          0          0          0          0  IR-IO-APIC-fasteoi   acpi
 12:          4          0          0          0          0          0          0          0  IR-IO-APIC-edge      i8042
16:    6782762          0          0          0          0          0          0          0  IR-IO-APIC-fasteoi   aacraid, ehci_hcd:usb1
 23:         88          0          0          0          0          0          0          0  IR-IO-APIC-fasteoi   ehci_hcd:usb2
 24:          0          0          0          0          0          0          0          0  DMAR_MSI-edge      dmar0
 25:          0          0          0          0          0          0          0          0  DMAR_MSI-edge      dmar1
 30:   40696839          0          0          0          0          0          0          0  IR-PCI-MSI-edge      eth1
 31:          0          0          0          0          0          0          0          0  IR-PCI-MSI-edge      ahci
NMI:          0          0          0          0          0          0          0          0   Non-maskable interrupts
LOC:    4238841    3442513    3262886    3097275    3822337    3062084    3039864    3062109   Local timer interrupts
SPU:          0          0          0          0          0          0          0          0   Spurious interrupts
PMI:          0          0          0          0          0          0          0          0   Performance monitoring interrupts
PND:          0          0          0          0          0          0          0          0   Performance pending work
RES:    2091023    2526976    2132682    1876928    2226523    1816845    1427789    1141970   Rescheduling interrupts
CAL:         24         59         65         63         62         61         6
...

[Updated on: Fri, 23 November 2012 12:43]

Report message to a moderator

 Topic: Ploop Production Ready Date
Ploop Production Ready Date [message #48784] Thu, 22 November 2012 10:35
mrtwister is currently offline mrtwister
Messages: 1
Registered: September 2012
Junior Member
From: *Red-88-18-112.staticIP.rima-tde.net
Hi All,

Does anybody know of an expected 'production ready' release date for ploop?

Thanks
 Topic: Host CPU system time keep growing
Host CPU system time keep growing [message #48783] Thu, 22 November 2012 03:22
kelvin is currently offline kelvin
Messages: 2
Registered: November 2012
Junior Member
From: *hkecl.net
Hi,

A OpenVZ kernel 2.6.32-042stab062.2 is installed in several servers and each server running around 40 VPS which include CentOS 4 (32 bit), 5 (32 and 64 bit) and 6 (64 bit). It is observed that those Dell R410 servers is running smoothly but for HP DL360p G8 servers, a system time CPU will keep growing (refer to the attachment). The host CPU will drop to normal if the snmpd and autofs in VPS are restarted. Anyone facing similar problem? Thank you.

p.s. The server configuration as below:
R410: E5640 2.66GHz Quad x 2, DDR3 4GB 1333MHz Dual Ranked RDIMMs x 6, NL SAS 1TB x 2, PERC 6i RAID
DL360pG8: Xeon E5-2650L 8C x 2, DDR3 8GB 1333MHz x 16, 6G NL SAS 1TB x 4, Smart Array P420i (512MB FBWC)

Regards,
Kelvin

[Updated on: Thu, 29 November 2012 22:07]

Report message to a moderator

 Topic: rebase for RHEL 2.6.18 branch
rebase for RHEL 2.6.18 branch [message #48782] Wed, 21 November 2012 09:00
Avi Brender is currently offline Avi Brender
Messages: 17
Registered: October 2006
Junior Member
From: *secure.elitehosts.com
Hi,

It looks like the latest RHEL 2.6.18 rebase was 2.6.18-308.8.2 from June of this year while the latest RHEL 2.6.18 kernel is 2.6.18-302.20.1

1) Is there any ETA on a rebase for RHEL 5 kernels?
2) Is there a policy about how often rebasing is done? Is it done only when there's a critical issue or is it done by request?

Thanks & all the best!
 Topic: Understanding container networking (NAT)
Understanding container networking (NAT) [message #48779] Wed, 21 November 2012 02:01
chacha
Messages: 1
Registered: November 2012
Location: QLD
Junior Member
From: *static.dsl.dodo.com.au
Hi,

Under a NAT setup (ip_forward enabled), I issued the following to create two containers -


vzctl create 101 --ostemplate centos-6-x86_64 --config basic --ipadd 192.168.3.101

vzctl set 101 --nameserver 8.8.8.8 --userpasswd root:xxxx --save

vzctl create 102 --ostemplate centos-6-x86_64 --config basic --ipadd 192.168.3.102

vzctl set 102 --nameserver 8.8.8.8 --userpasswd root:xxxx --save




I boot up the containers and connect to the first. The routing table shows as follows -

Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.3.0 0.0.0.0 255.255.255.0 U 0 0 0 venet0
169.254.0.0 0.0.0.0 255.255.0.0 U 1002 0 0 venet0
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 venet0


I change the masks on both containers to /24 (they were /32 by default).

(Still connected to the first container) I traceroute to the second container (192.168.3.102) I see the following -


traceroute to 192.168.3.102 (192.168.3.102), 30 hops max, 60 byte packets
1 192.168.2.200 (192.168.2.200) 0.045 ms 0.011 ms 0.010 ms
2 192.168.3.102 (192.168.3.102) 0.021 ms 0.014 ms 0.013 ms



I had assumed that both containers would be on the same network segment. I don't understand why the first hop is the HN? (192.168.2.200)? Wouldn't they be on the same virtual switch?


Thanks.
 Topic: Host CPU system time keep growing
Host CPU system time keep growing [message #48778] Tue, 20 November 2012 22:17
kelvin is currently offline kelvin
Messages: 2
Registered: November 2012
Junior Member
From: *hkecl.net
Hi,

[duplicate message, please refer message #48783]

I have install 2.6.32-042stab062.2 in several servers. Each server running around 40 VPS which include CentOS 4 (32 bit), CentOS 5 (both 32 and 64 bit) and CentOS 6 (64 bit). For those servers running on Dell R410, the host CPU and Memory usage is fine. However for those servers running on HP DL360p G8, it is observed that the host CPU system time is keep growing. It also observed that the CPU will drop if the snmpd and autofs daemon in the VPS is restarted therefore a script is wrote to restart all VPS snmpd and autofs daemon daily as a work around solution. Anyone has similar problem? Thank you.

Regards,
Kelvin

[Updated on: Thu, 29 November 2012 22:10]

Report message to a moderator

 Topic: Why does my total memory used not match all process rss sum?
Why does my total memory used not match all process rss sum? [message #48763] Tue, 20 November 2012 13:09
axelabs is currently offline axelabs
Messages: 1
Registered: November 2012
Junior Member
From: 216.52.54*
This is on a VZ container that is reporting low free memory. I can't figure out what is using it. Free used is not even close to ps rss totals:

# free -m
             total       used       free     shared    buffers     cached
Mem:         32163      31912        250          0         20        551
-/+ buffers/cache:      31341        822
Swap:        34239       9945      24294

# ps -eo pid,rss,comm --sort rss|awk '{SUM=SUM+$2}END{print "Total rss mem used:",SUM/1024,"mb"}'
Total rss mem used: 1472.67 mb


Its not the cache/buffers that are consuming memory. What is it?

The host is running ovzkernel-2.6.18-194.8.1.el5.028stab070.2.
 Topic: Backup for ploop-based containers
Backup for ploop-based containers [message #48749] Thu, 15 November 2012 10:40
seanfulton is currently offline seanfulton
Messages: 97
Registered: May 2007
Member
From: *dyn.optonline.net
I'm wondering if anyone has any tools/strategies for backup of ploop-based container-on-a-file VEs yet.

sean
 Topic: Gentoo template creation - stat(/vz/root/1001): No such file or directory
Gentoo template creation - stat(/vz/root/1001): No such file or directory [message #48746] Tue, 13 November 2012 18:46
jhicksrpv is currently offline jhicksrpv
Messages: 2
Registered: November 2012
Junior Member
From: hicksathome.com
I was following the directions found here: wiki.openvz.org/Gentoo_template_creation and ran into a problem when I reached this step: wiki.openvz.org/Gentoo_template_creation#Test

[root@felina ~]# vzctl start 1001
Starting container ...
stat(/vz/root/1001): No such file or directory
stat(/vz/root/1001): No such file or directory
realpath(/vz/root/1001) failed: No such file or directory
Can't umount /vz/root/1001: No such file or directory
stat(/vz/root/1001): No such file or directory
unable to change dir to /vz/root/1001: No such file or directory
Not enough resources to start environment
Container start failed (try to check kernel messages, e.g. "dmesg | tail")
stat(/vz/root/1001): No such file or directory
stat(/vz/root/1001): No such file or directory
realpath(/vz/root/1001) failed: No such file or directory
Can't umount /vz/root/1001: No such file or directory

The host node is running Centos with this kernel:

Linux felina.rpvnetwork 2.6.32-042stab061.2 #1 SMP Fri Aug 24 09:07:21 MSK 2012 x86_64 x86_64 x86_64 GNU/Linux

[root@felina ~]# cat /etc/vz/conf/1001.conf
KMEMSIZE="14372700:14790164"
LOCKEDPAGES="2048"
PRIVVMPAGES="65536:69632"
SHMPAGES="21504"
NUMPROC="240"
PHYSPAGES="0:unlimited"
VMGUARPAGES="33792:unlimited"
OOMGUARPAGES="26112:unlimited"
NUMTCPSOCK="360"
NUMFLOCK="188:206"
NUMPTY="16"
NUMSIGINFO="256"
TCPSNDBUF="1720320:2703360"
TCPRCVBUF="1720320:2703360"
OTHERSOCKBUF="1126080:2097152"
DGRAMRCVBUF="262144"
NUMOTHERSOCK="360"
NUMFILE="9312"
DCACHESIZE="3409920:3624960"
NUMIPTENT="128"
AVNUMPROC="180"
CPUUNITS="1000"
ORIGIN_SAMPLE="basic"
#DISKSPACE="2097152:2306867"
#DISKINODES="200000:220000"
DISK_QUOTA="no"
QUOTATIME="0"
OSTEMPLATE="gentoo"

I checked /vz/root/ and there was no 1001 directory. I rechecked the instructions and don't think I missed anything. Is the /vz/root/1001 directory supposed to be created automatically or do I need to create it somehow?
 Topic: OpenVZ via Veth with Proxmox
OpenVZ via Veth with Proxmox [message #48736] Mon, 12 November 2012 17:19
limitmaker is currently offline limitmaker
Messages: 1
Registered: November 2012
Junior Member
From: *hsd1.al.comcast.net
I'm new to networking.

I can gain internet via venet by setting the ip address to 192.16.1.x ; however, this doesn't allow me to set an ip address for each container.

I'm trying to point an ip address to use for a virtual container. I'm guessing I need to use veth?

What I'm Building:


I am using Proxmox to build a Virtual Server Environment with KVN and OpenVZ.


- I have Proxmox Virual Environment Installed with KVN and OpenVZ.
- I can create a virtual container with venet and gain internet access


My Problem:

- Deciding the best solution on how to enable each network with it's own IP address
- Trying to point an ip address to use for a virtual container.

I have a dedicated server that is being hosted by my provider and it is virtualization capable; however, I do not have experience beyond installing and managing lamp servers on a single IP address.


They have issued to me what appears to be 2 ethernet cards.
I have multiple ip addresses on one NIC (Eth0) that has a vlan with eth0:0, eth0:1, eth0:2, etc.


What is the best way to set up the network to point to my array of IP addresses to different containers or hardware virtualizations?


What should my files show?


pveversion -v


pve-manager: 2.2-26 (pve-manager/2.2/c1614c8c)
running kernel: 2.6.32-16-pve
proxmox-ve-2.6.32: 2.2-80
pve-kernel-2.6.32-16-pve: 2.6.32-80
lvm2: 2.02.95-1pve2
clvm: 2.02.95-1pve2
corosync-pve: 1.4.4-1
openais-pve: 1.1.4-2
libqb: 0.10.1-2
redhat-cluster-pve: 3.1.93-1
resource-agents-pve: 3.9.2-3
fence-agents-pve: 3.1.9-1
pve-cluster: 1.0-28
qemu-server: 2.0-64
pve-firmware: 1.0-21
libpve-common-perl: 1.0-37
libpve-access-control: 1.0-25
libpve-storage-perl: 2.0-34
vncterm: 1.0-3
vzctl: 4.0-1pve2
vzprocps: 2.0.11-2
vzquota: 3.1-1
pve-qemu-kvm: 1.2-7
ksm-control-daemon: 1.1-1


sysctl -p


net.ipv4.conf.all.rp_filter = 1
net.ipv4.conf.default.forwarding = 1
net.ipv4.conf.default.proxy_arp = 0
kernel.sysrq = 1
net.ipv4.conf.default.send_redirects = 1
net.ipv4.conf.all.send_redirects = 0
net.ipv4.ip_forward = 1



ifconfig


eth0      Link encap:Ethernet  HWaddr 00:XX:67:6a:XX:e9  
          inet addr:XX.XX.XX.X7  Bcast:XX.XX.XX.63  Mask:255.255.255.224
          inet6 addr: fe80::21e:67ff:fe6a:36e9/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3685980 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2437943 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:2826075165 (2.6 GiB)  TX bytes:325157714 (310.0 MiB)
          Interrupt:19 Memory:c1b00000-c1b20000 


eth0:0    Link encap:Ethernet  HWaddr 00:XX:67:6a:XX:e9   
          inet addr:XX.XX.XX.X4  Bcast:XX.XX.XX.X55  Mask:255.255.255.255
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:19 Memory:c1b00000-c1b20000 


eth0:1    Link encap:Ethernet  HWaddr 000:XX:67:6a:XX:e9   
          inet addr:XX.XX.XX.X5  Bcast:XX.XX.XX.X55  Mask:255.255.255.255
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:19 Memory:c1b00000-c1b20000 


eth0:2    Link encap:Ethernet  HWaddr 00:XX:67:6a:XX:e9   
          inet addr:XX.XX.XX.X6  Bcast:XX.XX.XX.X55  Mask:255.255.255.255
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:19 Memory:c1b00000-c1b20000 


eth0:3    Link encap:Ethernet  HWaddr 00:XX:67:6a:XX:e9  
          inet addr:XX.XX.XX.X7  Bcast:XX.XX.XX.X55  Mask:255.255.255.255
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:19 Memory:c1b00000-c1b20000 


lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:32140 errors:0 dropped:0 overruns:0 frame:0
          TX packets:32140 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:7208623 (6.8 MiB)  TX bytes:7208623 (6.8 MiB)


venet0    Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          inet6 addr: fe80::1/128 Scope:Link
          UP BROADCAST POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1
          RX packets:84 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:3 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:5835 (5.6 KiB)  TX bytes:0 (0.0 B)




/etc/network/interfaces


# network interface settings
auto lo
iface lo inet loopback


auto eth0
iface eth0 inet static
        address  XX.XX.XX.X7
        netmask  255.255.255.224
        gateway  XX.XX.XX.X3


iface eth1 inet manual


auto eth0:0
iface eth0:0 inet static
        address  XX.XX.XX.X4
        netmask  255.255.255.255


auto eth0:1
iface eth0:1 inet static
        address  XX.XX.XX.X5
        netmask  255.255.255.255


auto eth0:2
iface eth0:2 inet static
        address  XX.XX.XX.X6
        netmask  255.255.255.255


auto eth0:3
iface eth0:3 inet static
        address  XX.XX.XX.X7
        netmask  255.255.255.255




I'm lost! Thank you!
 Topic: How to dump the containers configuration files alone using vzdump util!!
How to dump the containers configuration files alone using vzdump util!! [message #48701] Mon, 05 November 2012 04:35
rshankaar
Messages: 1
Registered: November 2012
Location: chennai
Junior Member

From: *del.tulipconnect.com
Hi

Can any one help me in dumping the containers configuration file alone using vzdump util.

My Plane to backup a container:

1. Using vzdump util to dump conatiners configuration file alone, so that i can be huge in size and the time taken for the dump is also less.

2. Backup entire containers file using a file based backup util to a remote machine.

On restore:
1. Firs, I will restore the container using the dump file created using the vzdump util.

2. Copy the files available from the remote machine to its original path.

Regards,
Ravi S.


 Topic: taskset in container
taskset in container [message #48699] Sat, 03 November 2012 16:19
needhelp is currently offline needhelp
Messages: 1
Registered: March 2008
Junior Member
From: *dynamic.mm.pl
I'm trying to use taskset command but it is not changing cpu affinity on process that is running inside openvz container.

Is it possible to use this command and set process to one core?
 Topic: venet and veth on the same container (default route conflict)
venet and veth on the same container (default route conflict) [message #48698] Sat, 03 November 2012 11:30
davider is currently offline davider
Messages: 1
Registered: November 2012
Location: Italy
Junior Member
From: *25-79-r.retail.telecomitalia.it
Hello,

I'm trying to build a setup where a container has a veth interface (bridged) and a venet interface (on a virtual machine only network).

This is what I want on the container:
eth0 (veth): 192.168.0.2/24, default gateway 192.168.0.1
venet0: 10.0.0.1/24, private only network

I set everything up but I have a problem with the routes. When I start the container they are like this:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.0.2.1       0.0.0.0         255.255.255.255 UH    0      0        0 venet0
192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
0.0.0.0         192.0.2.1       0.0.0.0         UG    0      0        0 venet0
0.0.0.0         192.168.0.1     0.0.0.0         UG    0      0        0 eth0

OpenVZ adds a default route via 192.168.2.1. I don't want it. If I remove the route manually at start everything works fine.

A simple solution could be to launch a script at start to remove the default route, but it doesn't look clean to me. I may be missing something.

Host node:
Debian Squeeze (2.6.32-5-openvz-686 #1 SMP Sun Sep 23 11:40:07 UTC 2012)
vzctl version 3.0.24

Container: debian-6.0-x86
IP_ADDRESS="10.0.0.1"
NETIF=" ifname=eth0,bridge=br0,mac=00:18:51:AA:43:18,host_ifname=vet h1000.0,host_mac=00:18:51:07:5A:D6 "

Thank you for any help!
 Topic: Mandriva as OS Template
Mandriva as OS Template [message #48692] Wed, 31 October 2012 15:46
ovan is currently offline ovan
Messages: 1
Registered: October 2012
Location: Indonesia
Junior Member

From: 114.79.12*
Can i add Mandriva as one of the os templates into openvz.?
did openvz support mandriva.?
 Topic: IP outgoing connections goes through host IP not VE - mail refuses to work
IP outgoing connections goes through host IP not VE - mail refuses to work [message #48664] Sun, 28 October 2012 06:17
januszzz is currently offline januszzz
Messages: 50
Registered: January 2007
Location: Opole, Poland
Member
From: *neoplus.adsl.tpnet.pl
Hello,

I have some address space from my ISP and the problem is he changed his behaviour -

some of reverse DNS entries are missing and my addres is not resolved to a name. The host networking is based on bridges and all outgoing connections are seen by external world as coming from host. Which by now is unresolveable and mails from it are not allowed to most other mail servers (I'm perceived as spammer).

somehow my virtual address is still right, so I want all my traffic from VE going out seen by external world to look like it goes from this IP and the IP of the host.

Is it possible and how? Any workarounds except kicking my ISP?

thanks.

 Topic: How to download through venet0 on host
icon5.gif  How to download through venet0 on host [message #48657] Fri, 26 October 2012 21:54
KuJoe is currently offline KuJoe
Messages: 10
Registered: November 2011
Junior Member
From: *securedragon.net
Does anybody know if it's possible to download a file via the venet0 interface on the host? I ask because I have traffic shaping rules on our venet0 interface and I run an hourly job to test our network speeds but I would like to see the results as though it were a container with the traffic shaping and not the host with 2 GigE ports.

[Updated on: Fri, 26 October 2012 21:55]

Report message to a moderator

 Topic: 100% CPU usage
100% CPU usage [message #48631] Fri, 26 October 2012 03:23
greengeeks is currently offline greengeeks
Messages: 1
Registered: October 2012
Junior Member
From: *dc.besthosting.ua
We are experiencing very high CPU usage on our server.
It is Xeon 5520 with 24GB of RAM.
The cause of this is the process kstopmachine.
Here is a list of processes from htop:
----
PID CPU COMMAND-LINE
? 100% kstopmachine
? 100% kstopmachine
? 100% kstopmachine
? 100% kstopmachine
? 100% kstopmachine
? 100% kstopmachine
? 100% kstopmachine
? 100% kstopmachine
? 100% kstopmachine
? 100% kstopmachine
? 100% kstopmachine
? 100% kstopmachine
? 100% kstopmachine
? 100% kstopmachine
? 100% kstopmachine
? 100% kstopmachine
? 100% kstopmachine
? 100% kstopmachine
? 100% kstopmachine
? 100% kstopmachine
? 100% kstopmachine
----
Can someone help us with this.
We have already made FSCK and set another kernel.
uname -a is:
Linux hostname 2.6.18-308.8.2.el5.028stab101.1 #1 SMP Sun Jun 24 20:25:35 MSD 2012 x86_64 x86_64 x86_64 GNU/Linux


Any advice would be great.
Thank you.
 Topic: template issue.
template issue. [message #48281] Thu, 11 October 2012 05:58
sidd is currently offline sidd
Messages: 8
Registered: September 2012
Location: india
Junior Member
From: 37.59.163*
Hi ,

I am facing issue while creating container with latest templates of

ubuntu-12.04,SUSE12.2 & fedora templates .
When i try to create container i get following error


[root@openvz ~]# vzctl start 109
Starting container ...
Container is mounted
Adding IP address(es): 192.168.1.111
FATAL: kernel too old
Setting CPU limit: 10
Setting CPU units: 1000
Setting CPUs: 4
FATAL: kernel too old
Container start in progress...



I had fixed this error by adding


fedora-11 2.6.18
fedora-12 2.6.18
fedora-13 2.6.18
fedora-14 2.6.32
fedora-15 2.6.32
debian-6.0 2.6.32
ubuntu-12.04 2.6.32
fedora-17 2.6.32
suse-12 2.6.32

to /etc/vz/osrelease.conf

the below error was fixed but i could not ping the container .


What exactly i have to do to make latest added template work ?
 Topic: Yum fails to install package in OpenVZ container.
Yum fails to install package in OpenVZ container. [message #48270] Wed, 10 October 2012 11:25
vicraj123 is currently offline vicraj123
Messages: 1
Registered: October 2012
Junior Member
From: *bbn.com
I have OpenVz installed on Fedora 15. In my host OS I am able to install packages such as iperf.

However, when I'm inside a container (logged in a root on the container), I get the following error message:

yum -v install iperf
Config time 0.168
Yum Version: 3.2.29
Setting up Package Sacks
pkgsack time: 0.099
rpmdb time: 0.000
Setting up Install Process
Checking for virtual provide or file-provide for iperf
No package iperf available. Error: Nothing to do


The host OS and the container have the same set of repositories listed in /etc/yum.repos.d. Also there are no excludes in yum.conf, either on the host or the guest container.

What is really perplexing to me is I have this working on a different install of Fedora 15 with OpenVZ that I did a few months ago. I can't figure out what's different about this install.

In case it matters, all of this is running inside a VirtualBox VM i.e. I have a VirtualBox VM running Fedora 15 with OpenVZ installed on it.

Any help with this will be greatly appreciated---I'm at my wits end trying to figure this out. Thanks!
 Topic: Multiple hosts: networking and venet
Multiple hosts: networking and venet [message #48263] Wed, 10 October 2012 05:28
Gerry is currently offline Gerry
Messages: 1
Registered: October 2012
Junior Member
From: *ar0.hq.be.tigron.net
I'm using Proxmox, but I don't think that really matters since this should apply to other OpenVZ setups as well. Also, I've asked my question there as well but no one seems to be able to help me out. :/

My situation is the following: I have multiple OpenVZ hosts, each hosting a few containers. In Proxmox terms, they work together as a cluster and I can migrate containers from one host to the other without issues. Each host has a few network interfaces, the most important ones being the ones for the internal LAN (private IP space) and the external connection (public IP space). Only the interfaces on the internal LAN have IP's assigned to them, the external ones are used to bridge the veth interfaces and have no IP assigned to them.

Up until now I have been using veth interfaces in my containers since they all are under my control. Now however, I'm facing the "issue" where I have to set up a container for someone I don't trust. As such, venet seems to be a better option. The machine needs to have an external IP, but if I assign an external IP to this container, it doesn't work.
The reason why it doesn't is obvious, since venet uses the host's routing table and the host has no IP in the external network range, it doesn't know what to do with the packets.

The solution would be easy, just assign an IP in the external range on each host and be done with it. But this doesn't seem like a good solution to me, I'd like to be conservative about my IPv4 usage, so I hope there is another solution.

Does anyone have any pointers as to what I should look into? I'm a bit lost now. :/
 Topic: Trouble setting up DHCP addresses
Trouble setting up DHCP addresses [message #48241] Mon, 08 October 2012 10:45
Arcestis is currently offline Arcestis
Messages: 1
Registered: October 2012
Junior Member
From: *oracle.co.uk
Hey there,

I am completely new to OpenVZ and am running into difficulty when setting up my containers to recieve their ip addresses through DHCP rather than having them static.

I'm running CentOS 6.3, kernel Linux 2.6.32-042stab061.2 and the latest openVZ (as far as I'm aware).

I followed the guides:
wiki.openvz.org/Quick_installation
wiki.openvz.org/Basic_operations_in_OpenVZ_environment
wiki.openvz.org/Common_Networking_HOWTOs

to set up OpenVZ and the containers. However, when I'm going through the steps for DHCP supplied addresses in the third link, I come an error when I run the command:

[host-node]# ifconfig veth101.0 0

when I am met with:

SIOCSIFADDR: No such device
veth101.0: unknown interface: No such device

I followed the tutorials to the t, but yet I am stumped by this. I have tried searching any and all resources on the subject I could, but I'm still new to working with both Linux systems and OpenVZ itself.

Any information would be appreciated, or any links to information that I might have missed. (Also, any additional information I might need to give to help)
 Topic: nearly all memory shows as cached
nearly all memory shows as cached [message #48220] Mon, 08 October 2012 01:53
reaper is currently offline reaper
Messages: 3
Registered: January 2012
Location: Russia
Junior Member
From: *dynamic.yar.ertelecom.ru
I have the following memory allocation on one of openvz machines:
# free  -m
             total       used       free     shared    buffers     cached
Mem:        128935      90948      37987          0          0      88847
-/+ buffers/cache:       2100     126835
Swap:         7628          0       7628


Server is actually running two sphinx processes one consuming 29GB and another 53GB of memory. Why this memory shown as cached? Kernel is 2.6.32-46 from Debian Squeeze.
 Topic: Some confusing about "Alloc commit" in vzmemcheck
Some confusing about "Alloc commit" in vzmemcheck [message #48217] Sun, 07 October 2012 18:57
yangshen is currently offline yangshen
Messages: 3
Registered: August 2012
Junior Member
From: *optusnet.com.au
------------------------------------------------------------ -----------
Hi Guys,

There is a confusing in my mind about "Alloc commit". Below "vzmemcheck" is showing my "Alloc commit" level is too high. But my server(64bit) has 250G RAM. Based on the formula given at " wiki.openvz.org/UBC_systemwide_configuration#Allocated_memor y ", I couldn't get the "1.72" anyway. How is the divisor of "RAM size + swap size" calculated here?

If using the 1.72 (Alloc commit) and 4.87(Alloc limit) to do a calculation, it seems 1G RAM size (32bit limit) is still using here as the divisor.

Any idea? Thanks in advance.

CTID LowMem LowMem RAM MemSwap MemSwap Alloc Alloc Alloc
util commit util util commit util commit limit
100000 0.10 0.35 0.61 0.14 2.51 0.94 1.72 4.87

Below is got from "vzubc -r -i"

CT 100000 | HELD +/- Bar% Lim%| MAXH Bar% Lim%| BAR | LIM |+FAIL
-------------+----------------------+---------------+-----+- ----+------
kmemsize|91.7M +21.5M 30% 26%| 182M 60% 52%| 300M| 350M| -
lockedpages| - - - | 32K 0.8% 0.8%| 4M| 4M| -
privvmpages|1.88G +801M 18% 15%|5.77G 57% 48%| 10G| 12G| -
shmpages| 676K 0.5% 0.5%|10.7M 8% 8%| 128M| 128M| -
numproc| 84 +29 29% 29%| 274 95% 95%| 288 | 288 | -
physpages|1.49G +139M - - |2.77G - - | - | - | -
vmguarpages| - - - | - - - | 4G| - | -
oomguarpages| 335M +116M 5% - |1.17G 19% - | 6G| - | -
numtcpsock| 102 +44 12% 12%| 781 97% 97%| 800 | 800 | -
numflock| 3 3% 2%| 12 12% 10%| 100 | 110 | -
numpty| - - - | 4 12% 12%| 32 | 32 | -
numsiginfo| - - - | 210 82% 82%| 256 | 256 | -
tcpsndbuf| 538K +23.5K 13% 8%|4.09M 102% 68%| 4M| 6M| -
tcprcvbuf| 633K +17.3K 12% 8%| 1.4M 28% 20%| 5M| 7M| -
othersockbuf|11.3K 1% 0.6%| 280K 27% 13%| 1M| 2M| -
dgramrcvbuf| - - - | 255K 100% 100%| 256K| 256K| -
numothersock| 50 19% 19%| 58 22% 22%| 256 | 256 | -
dcachesize|38.6M +26.7K 60% 53%|43.1M 67% 59%| 64M| 72M| -
numfile| 728 +120 11% 11%|1.54K 25% 25%| 6K| 6K| -
numiptent| 49 19% 19%| 49 19% 19%| 256 | 256 | -
swappages| - - - | - - - | - | - | -


Yang

[Updated on: Sun, 07 October 2012 19:11]

Report message to a moderator

 Topic: Server crashing frequently.
Server crashing frequently. [message #48208] Thu, 04 October 2012 09:45
kevine77 is currently offline kevine77
Messages: 2
Registered: October 2012
Location: India
Junior Member
From: 117.239.157*
Hi,

Our hardware node is crashing quite frequently, about 4 times in 7 days and I am forced to restart the node every time.

From the logs I can see this same error always.:

============================================================ ===
Sep 30 00:11:11 kraken kernel: list_add corruption. prev->next should be ffff81081bdd9218, but was ffff8107b784d0e0
Sep 30 00:11:11 kraken kernel: ----------- [cut here ] --------- [please bite here ] ---------
============================================================ ====

Our server runs in CentOS 5.8.

The Opven VZ kerenel version is 2.6.18-308.8.2.el5.028stab101.1

The server has 64GB RAM. We have replaced the RAM thinking that it was due toa faulty memory module, but still the issue is persisting.

Every-time I am getting the same error in var/log/messages.

Can anyone help me with this ?


Kevin Elias Thomas
 Topic: question about sys_time
icon5.gif  question about sys_time [message #48149] Sun, 30 September 2012 19:39
cybernet2u is currently offline cybernet2u
Messages: 14
Registered: August 2011
Location: /usr/sbin/mysqld
Junior Member
From: *rdsnet.ro
if i would allow a container this privilege with
vzctl set ID --capability sys_time:on --save

that CT would be able to change HN time and ( or ) other CT's time ? Rolling Eyes
 Topic: libcgroup and RHEL/CentOS/SL 6
icon4.gif  libcgroup and RHEL/CentOS/SL 6 [message #48136] Sat, 29 September 2012 21:03
Ales is currently offline Ales
Messages: 225
Registered: May 2009
Senior Member
From: *dynamic.sbb.rs
Just a heads up to all whom this might concern - libcgroup from openvz repo is now replacing the original libcgroup on RHEL 6.

This kind of invasive OS changes should be announced somewhere, really. Just a silent drop in the repo isn't a good way to introduce such packages.

Is there a specific reason for this upgrade? I know libcgroup is being provided for RHEL 5, but why is it now also replacing the existing RHEL 6 package? Is there a specific functionality that's missing in the original?

Wouldn't perhaps a separate RHEL 5 / 6 repo be the right thing to do here in the first place? So ploop on RHEL 5 could perhaps be obsoleted, libcgroup properly handled, etc...?
 Topic: IO Problems
IO Problems [message #48122] Thu, 27 September 2012 14:13
jordanmoreira57 is currently offline jordanmoreira57
Messages: 1
Registered: September 2012
Location: Brasil
Junior Member
From: 1.6.0*
Hello for all..

I ever got IO problems with OpenVZ, and this is very difficult to see what's really killing your server.

For an example, today, my server load raised to about 200:
01:40:01 PM 12 3337 156.16 134.98 84.33
01:50:01 PM 13 3392 166.27 162.10 122.29
02:00:01 PM 17 3356 222.48 213.78 166.39
02:10:01 PM 13 3150 193.64 193.30 176.32

I tried to get what's happening with top, atop -dD, free -m, vzmemusage, and another tools, but I can't, and when I was at the TOP, I saw a process: rm -rf

I killed this process and the server load lowered to 4~7.
02:40:01 PM 29 2364 4.38 7.10 44.34
02:50:01 PM 37 2526 7.93 6.68 26.26
03:00:01 PM 38 2404 5.21 6.10 16.73

I don't know what to do! Because a simple rm -rf basically killed my server, so, I don't think that this is good.

I saw too that the server swapped 600 kb while this, even if there were memory free.

See my free -m now:
total used free shared buffers cached
Mem: 32112 29653 2458 0 1884 18263
-/+ buffers/cache: 9505 22606
Swap: 3906 3 3902

This cached mem don't should be drop when the real mem really need?
 Topic: SERVER CRASH WITH RHEL6 2.6.32-042stab061.2
SERVER CRASH WITH RHEL6 2.6.32-042stab061.2 [message #48021] Tue, 25 September 2012 04:17
bertrand188 is currently offline bertrand188
Messages: 1
Registered: September 2012
Location: Paris
Junior Member
From: 46.218.144*
Hi,

Yesterday one of my server was crashed with messages show in file attachment. I wanna now if it was a hardware issue or a kernel crash.

Maybe somebody has any information.

thanks for replies.

best regard.
  • Attachment: crash.png
    (Size: 418.08KB, Downloaded 86 times)
 Topic: Vzdump exclude path
Vzdump exclude path [message #47880] Tue, 18 September 2012 09:19
mklein is currently offline mklein
Messages: 2
Registered: September 2012
Junior Member
From: *w80-14.abo.wanadoo.fr
Hi everyone,

I want to exclude many path with vzdump (in proxmox context) because the load time is too long.

Command : vzdump --exclude-path "/home/.+" -dumpdir "/var/vzbackup/" 100

When i start this command, the path folder are not exclude in the tmp folder.

Do you have any idea?

Regards,

Manu

 Topic: Ubuntu 12.04 minimal template
Ubuntu 12.04 minimal template [message #47858] Sat, 15 September 2012 23:00
ohmer is currently offline ohmer
Messages: 1
Registered: September 2012
Location: Quebec, QC
Junior Member
From: *127.96-227.electronicbox.net
Hello,

I'm looking for an ubuntu 12.04 minimal template. The template I found for Ubuntu 12.04 is very fat with many open useless services opened by default (samba!?)

Anybody tried to slim down this template or created a new minimal template from scratch like the ones available for other OS?

Thanks.
 Topic: No internet connection ("venet0 no longer relevant for mDNS)
No internet connection ("venet0 no longer relevant for mDNS) [message #47832] Thu, 13 September 2012 13:43
Brian_ is currently offline Brian_
Messages: 1
Registered: September 2012
Junior Member
From: *ip.telfort.nl
Hello!

I am new to OpenVZ but I cant get my head around this problem: whenever I stop a VE my connection on my HN disappears. I get the following message in my messages log:

Quote:
Sep 13 19:33:32 localhost avahi-daemon[2229]: Interface venet0.IPv4 no longer relevant for mDNS.
Sep 13 19:33:32 localhost avahi-daemon[2229]: Leaving mDNS multicast group on interface venet0.IPv4 with address 192.168.1.38.
Sep 13 19:33:32 localhost NetworkManager[2211]: <info> (eth0): carrier now OFF (device state 8, deferring action for 4 seconds)
Sep 13 19:33:32 localhost avahi-daemon[2229]: Withdrawing address record for fe80::1e6f:65ff:fea2:eac0 on venet0.
Sep 13 19:33:32 localhost avahi-daemon[2229]: Withdrawing address record for 192.168.1.38 on venet0.
Sep 13 19:33:32 localhost kernel: [ 483.309235] CT: 50: stopped
Sep 13 19:33:36 localhost NetworkManager[2211]: <info> (eth0): device state change: 8 -> 2 (reason 40)
Sep 13 19:33:36 localhost NetworkManager[2211]: <info> (eth0): deactivating device (reason: 40).
Sep 13 19:33:37 localhost NetworkManager[2211]: <info> (eth0): canceled DHCP transaction, DHCP client pid 2433
Sep 13 19:33:38 localhost ntpd[2473]: Deleting interface #6 eth0, 192.168.1.38#123, interface stats: received=22, sent=22, dropped=0, active_time=473 secs


Any idea how to stop this from happening? I am clueless Sad
 Topic: el5 node crashing all of a sudden. Out of ideas
el5 node crashing all of a sudden. Out of ideas [message #47800] Tue, 11 September 2012 04:44
mustardman is currently offline mustardman
Messages: 85
Registered: October 2009
Member
From: 119.42.64*
I have a node that just started crashing about a week ago. Only thing that changed is that I have added a couple new VPS's. Memory usage is still well below total RAM. Nothing in log files.

Only thing I see that is a bit suspicious is:

Route hash chain too long!
Adjust your secret_interval!
lo: 5 rebuilds is over limit, route caching disabled

After lots of googling this problem was supposed to be fixed many kernels ago but apparently isn't. I did change my secret_interval from the default of 600 to 300 afterwards but from what I have read it's not really a fix.

Any other ideas what could possibly be going on? As far as I can tell the kernel is not crashing. Just becoming non-responsive (network and maybe Disk I/O) but still responsive enough for a soft reboot as opposed to a hard reset.

I was running RHEL5 028stab099.3 x64 for months before this started happening. Since it has happened twice in the past week I did yum update of everything including the latest kernel as of this post which is RHEL5 028stab101.1 because I don't know what else I could possibly do. Right after I rebooted into that kernel I almost immediately got the
route hash chain too long!
Adjust your secret_interval!
lo: 5 rebuilds is over limit, route caching disabled

So that definitely didn't change. Not convinced that has anything to do with it because I am pretty sure I was getting that error way before these lock ups started happening.

[Updated on: Tue, 11 September 2012 04:46]

Report message to a moderator

 Topic: vzctl VMID
icon3.gif  vzctl VMID [message #47765] Fri, 07 September 2012 15:50
frozzy is currently offline frozzy
Messages: 1
Registered: September 2012
Location: lithuania
Junior Member
From: 78.57.253*
Hello.

I have a problem with dedicate server. I want change VMID. But i not know...

THANKS!
 Topic: Safe to upgrade from 32-bit PAE to ENT kernel?
Safe to upgrade from 32-bit PAE to ENT kernel? [message #47734] Sun, 02 September 2012 21:23
rmang is currently offline rmang
Messages: 1
Registered: September 2012
Junior Member
From: *hsd1.ct.comcast.net
For a running 32-bit openvz install that is using the PAE kernel in RHEL5, is it safe to update the kernel to the ENT version? Any issues doing this with a live system running multiple containers?

Running into some lowmem issues and it seems the enterprise kernel with 4/4 split would alleviate these.

Rob
 Topic: 2 GW, 2 Subnets, 1 NIC
2 GW, 2 Subnets, 1 NIC [message #47721] Fri, 31 August 2012 09:21
fenta is currently offline fenta
Messages: 1
Registered: August 2012
Junior Member
From: *liwest.at
Hey there.

First of all, sorry for my bad englisch, i'm giving my best. I'm from austria.

I have a dedicated server in a datacenter with 2 IP subnets (/28), i'm hosting some VPS with openvz on it.

I've entered all the infos for the first subnet into the ifcfg-eth0, but how can i enable the second subnet? It has a different gateway. All things i found via google is to create a ifcfg-eth0:0, but then i will lose 1 ip for the host?


Do you have a idea?

Best regards.
 Topic: OpenVZ/Centos Port FIltering (Host Node)
OpenVZ/Centos Port FIltering (Host Node) [message #47701] Tue, 28 August 2012 10:14
papa2ae is currently offline papa2ae
Messages: 3
Registered: August 2011
Junior Member
From: 92.98.94*
On my openvz host node, I have blocked port 25 using the following command ..

iptables -A FORWARD -j DROP -p tcp --destination-port 25

This is fine, but it blocks the port for all the containers.

Therefore, I have tried something like this, although it is listed in iptables -L, the connection cant be made. (Tried to check via telnet)

iptables -I FORWARD --source 7.5.4.7 --protocol tcp --destination-port 25

OR

iptables -I FORWARD --source 7.5.4.7 --protocol tcp --destination-port 25 -j ACCEPT

Any idea what is wrong?

PS. The block command is in the end, and nothing is below it. So this shouldn't be a problem.

Thanks
papa2ae
Pages (70): [ «    1  2  3  4  5  6  7  8  9  10  11  12  13  14  15  16    »]


Current Time: Wed May 22 14:36:35 EDT 2013
Powered by FUDforum Powered by Parallels Virtuozzo Containers