OpenVZ Forum


Home » General » Support » connectivity again
connectivity again [message #4730] Mon, 24 July 2006 14:21 Go to next message
goeldi
Messages: 92
Registered: June 2006
Member
My problem with pinging ip addresses from inside a vps was resolved successfully here. Now I have added another vps and am getting the same error again, although the prior solutions are added.

I had 3 vps running fine.
I added a 4. vps.
I enter the new vps.
I do ping google.com or ping ip and it doesn't work
I enter the other 3 vps and pinging works
pinging to the new vps from outside works
/etc/resolv.conf is the same as the other 3 working vps
vps.conf is the same as the others, except the ip address

The first 3 vps were created with vps.basic conf. After this I ran vzsplit -n 10 -f vps.mytest as told in the manual and applied this new configuration to all 4 vps with the command
/usr/sbin/vzctl set 195 --conf vps.mytest --save

What did I forget here?

[Updated on: Thu, 27 July 2006 11:01] by Moderator

Report message to a moderator

Re: connectivity again [message #4731 is a reply to message #4730] Mon, 24 July 2006 14:29 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Have you done
vzctl set <VEID> --nameserver <NAMESERVER IP> --save

?
Re: connectivity again [message #4732 is a reply to message #4731] Mon, 24 July 2006 14:35 Go to previous messageGo to next message
goeldi
Messages: 92
Registered: June 2006
Member
Yes, but it doesn't work. And as I said, /etc/resolv.conf is the same as the other 3 working vps.
Re: connectivity again [message #4736 is a reply to message #4730] Mon, 24 July 2006 19:56 Go to previous messageGo to next message
Valmont is currently offline  Valmont
Messages: 225
Registered: September 2005
Senior Member
Maybe problem with netmask?
Re: connectivity again [message #4771 is a reply to message #4736] Wed, 26 July 2006 07:17 Go to previous messageGo to next message
goeldi
Messages: 92
Registered: June 2006
Member
where? in the hardware node? There are already 3 vps working perfect on this hardware node. In the VE? Why should I all of a sudden configure netmask in the VE?
Re: connectivity again [message #4774 is a reply to message #4730] Wed, 26 July 2006 07:33 Go to previous messageGo to next message
Valmont is currently offline  Valmont
Messages: 225
Registered: September 2005
Senior Member
Yes, on hardware node. You don't provide any concrete information, so we can only suppose your problem.

Try to use diagnostic tools, like a tcpdump etc...

[Updated on: Wed, 26 July 2006 07:33]

Report message to a moderator

Re: connectivity again [message #4775 is a reply to message #4771] Wed, 26 July 2006 07:35 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
OK. Let's do more complex expedition in your system. =)
Post output of the following commands here:

ifconfig -a (both in VE, HN)
route -n (both in VE, HN)
iptables -L -vn (both in VE, HN)

ping google by IP from VE: 64.233.167.99
Does it work?
pinging HW node, other VEs from the VE in question works?

If it is possible, you can give me temporary access to your node and I'll try to fix the problem at place.

Thanks.
Re: connectivity again [message #4781 is a reply to message #4775] Wed, 26 July 2006 07:53 Go to previous messageGo to next message
goeldi
Messages: 92
Registered: June 2006
Member
ifconfig -a (both in VE, HN)

in VE:
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:622 errors:0 dropped:0 overruns:0 frame:0
TX packets:622 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:338098 (330.1 KiB) TX bytes:338098 (330.1 KiB)

venet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:127.0.0.1 P-t-P:127.0.0.1 Bcast:0.0.0.0 Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:256 (256.0 b)

venet0:0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:195.141.1.95 P-t-P:195.141.1.95 Bcast:195.141.1.95 Mask:255.255.255.255
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1

in HN:

eth0 Link encap:Ethernet HWaddr 00:0C:F1:94:A7:12
inet addr:195.141.143.42 Bcast:195.141.143.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:25585 errors:0 dropped:0 overruns:0 frame:0
TX packets:27554 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:3287071 (3.1 MiB) TX bytes:5102116 (4.8 MiB)
Interrupt:20 Base address:0xe000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:622 errors:0 dropped:0 overruns:0 frame:0
TX packets:622 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:338098 (330.1 KiB) TX bytes:338098 (330.1 KiB)

venet0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
UP BROADCAST POINTOPOINT RUNNING NOARP MTU:1500 Metric:1
RX packets:26301 errors:0 dropped:0 overruns:0 frame:0
TX packets:23305 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4518669 (4.3 MiB) TX bytes:2385399 (2.2 MiB)


route -n (both in VE, HN)

in VE:


Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
191.255.255.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 0 0 0 venet0
0.0.0.0 191.255.255.1 0.0.0.0 UG 0 0 0 venet0

in HN:

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
195.141.1.94 0.0.0.0 255.255.255.255 UH 0 0 0 venet0
195.141.1.95 0.0.0.0 255.255.255.255 UH 0 0 0 venet0
195.141.1.92 0.0.0.0 255.255.255.255 UH 0 0 0 venet0
195.141.1.93 0.0.0.0 255.255.255.255 UH 0 0 0 venet0
195.141.143.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 195.141.143.1 0.0.0.0 UG 0 0 0 eth0


iptables -L -vn (both in VE, HN)

in VE:


Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
0 0 RH-Firewall-1-INPUT all -- * * 0.0.0.0/0 0.0.0.0/0

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
0 0 RH-Firewall-1-INPUT all -- * * 0.0.0.0/0 0.0.0.0/0

Chain OUTPUT (policy ACCEPT 4 packets, 288 bytes)
pkts bytes target prot opt in out source destination

Chain RH-Firewall-1-INPUT (2 references)
pkts bytes target prot opt in out source destination
0 0 ACCEPT all -- lo * 0.0.0.0/0 0.0.0.0/0
0 0 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmp type 255
0 0 ACCEPT esp -- * * 0.0.0.0/0 0.0.0.0/0
0 0 ACCEPT ah -- * * 0.0.0.0/0 0.0.0.0/0
0 0 ACCEPT udp -- * * 0.0.0.0/0 224.0.0.251 udp dpt:5353
0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:631
0 0 ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:22
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:80
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:443
0 0 REJECT all -- * * 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited

in HN:

Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
1929 532K RH-Firewall-1-INPUT all -- * * 0.0.0.0/0 0.0.0.0/0

Chain FORWARD (policy ACCEPT 50840 packets, 7054K bytes)
pkts bytes target prot opt in out source destination

Chain OUTPUT (policy ACCEPT 1291 packets, 208K bytes)
pkts bytes target prot opt in out source destination

Chain RH-Firewall-1-INPUT (1 references)
pkts bytes target prot opt in out source destination
2 100 ACCEPT all -- lo * 0.0.0.0/0 0.0.0.0/0
47 3948 ACCEPT icmp -- * * 0.0.0.0/0 0.0.0.0/0 icmp type 255
0 0 ACCEPT esp -- * * 0.0.0.0/0 0.0.0.0/0
0 0 ACCEPT ah -- * * 0.0.0.0/0 0.0.0.0/0
0 0 ACCEPT udp -- * * 0.0.0.0/0 224.0.0.251 udp dpt:5353
0 0 ACCEPT udp -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:631
1839 514K ACCEPT all -- * * 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
0 0 ACCEPT tcp -- * * 212.98.47.70 0.0.0.0/0 state NEW tcp dpt:19150
0 0 ACCEPT tcp -- * * 212.98.47.70 0.0.0.0/0 state NEW tcp dpt:10000
1 60 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:22
40 13196 REJECT all -- * * 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited


ping google by IP from VE: 64.233.167.99
Does it work?


no

pinging HW node, other VEs from the VE in question works?

both yes.

If it is possible, you can give me temporary access to your node and I'll try to fix the problem at place.


Unfortunately this is not possible because of the contracts.

[Updated on: Wed, 26 July 2006 07:53]

Report message to a moderator

Re: connectivity again [message #4782 is a reply to message #4781] Wed, 26 July 2006 08:15 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
I suspect iptables a little.
Please, turn iptables off on HN and in VE for a moment.
Does it help?

Thanks!
Re: connectivity again [message #4785 is a reply to message #4782] Wed, 26 July 2006 09:32 Go to previous messageGo to next message
goeldi
Messages: 92
Registered: June 2006
Member
I stopped them in both, no difference.

I for one suspect something different:

Some weeks ago I created 3 vps on this hn, doing a
vzsplit -n 4 -f sample

Now I added a fourth vps and did a
vzsplit -n 10 -f newsample

then I did
vzctl set VEID --config newsample --save

with VEID being all 4 vps.

I suspect the resources. I paste all vps.conf here (195.conf being the problematic ve):

----- 192.conf -----
ONBOOT="yes"

# UBC parameters (in form of barrier:limit)
# Primary parameters
AVNUMPROC="206:206"
NUMPROC="800:800"
NUMTCPSOCK="800:800"
NUMOTHERSOCK="800:800"
VMGUARPAGES="310624:2147483647"

# Secondary parameters
KMEMSIZE="16947363:18642099"
TCPSNDBUF="2372321:5649121"
TCPRCVBUF="2372321:5649121"
OTHERSOCKBUF="1186160:4462960"
DGRAMRCVBUF="1186160:1186160"
OOMGUARPAGES="310624:2147483647"
# Auxiliary parameters
LOCKEDPAGES="827:827"
SHMPAGES="31062:31062"
PRIVVMPAGES="310624:341686"
NUMFILE="6592:6592"
NUMFLOCK="659:724"
NUMPTY="80:80"
NUMSIGINFO="1024:1024"
DCACHESIZE="3686400:3796992"

PHYSPAGES="0:2147483647"
NUMIPTENT="200:200"

# Disk quota parameters (in form of softlimit:hardlimit)
DISKSPACE="1047990:1252800"
DISKINODES="80000:88000"
QUOTATIME="0"

# CPU fair sheduler parameter
CPUUNITS="13440"
IP_ADDRESS="195.141.1.92"
HOSTNAME="spatz.goeldi.net"
VE_ROOT="/vz/root/$VEID"
VE_PRIVATE="/home/$VEID"
#VE_PRIVATE="/vz/private/$VEID"
OSTEMPLATE="centos-4-i386-default"
ORIGIN_SAMPLE="vps.mytest"
NAMESERVER="195.141.56.5 193.192.227.3"
IPTABLES="iptable_filter iptable_mangle ipt_limit ipt_multiport ipt_tos ipt_TOS ipt_REJECT ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_LOG ipt_length ip_conntrack ip_conntrack_ftp ip_conntrack_irc ipt_conntrack ipt_state ipt_helper iptable_nat ip_nat_ftp ip_nat_irc ipt_REDIRECT"
----- end of 192.conf -----

----- 193.conf -----
ONBOOT="yes"

# UBC parameters (in form of barrier:limit)
# Primary parameters
AVNUMPROC="206:206"
NUMPROC="800:800"
NUMTCPSOCK="800:800"
NUMOTHERSOCK="800:800"
VMGUARPAGES="310624:2147483647"

# Secondary parameters
KMEMSIZE="16947363:18642099"
TCPSNDBUF="2372321:5649121"
TCPRCVBUF="2372321:5649121"
OTHERSOCKBUF="1186160:4462960"
DGRAMRCVBUF="1186160:1186160"
OOMGUARPAGES="310624:2147483647"
PRIVVMPAGES="310624:341686"

# Auxiliary parameters
LOCKEDPAGES="827:827"
SHMPAGES="31062:31062"
PHYSPAGES="0:2147483647"
NUMFILE="6592:6592"
NUMFLOCK="659:724"
NUMPTY="80:80"
NUMSIGINFO="1024:1024"
DCACHESIZE="3686400:3796992"
NUMIPTENT="200:200"
DISKSPACE="1047990:1252800"
DISKINODES="80000:88000"
CPUUNITS="13440"

IP_ADDRESS="195.141.1.93"
HOSTNAME="blabla.goeldi.net"
VE_ROOT="/vz/root/$VEID"
VE_PRIVATE="/home/$VEID"
#VE_PRIVATE="/vz/private/$VEID"
OSTEMPLATE="centos-4-i386-default"
ORIGIN_SAMPLE="vps.basic"
NAMESERVER="195.141.56.5"
IPTABLES=iptable_filter iptable_mangle ipt_limit ipt_multiport ipt_tos ipt_TOS ipt_REJECT ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_LOG ipt_length ip_conntrack ip_conntrack_ftp ip_conntrack_irc ipt_conntrack ipt_state ipt_helper iptable_nat ip_nat_ftp ip_nat_irc ipt_REDIRECT
----- end of 193.conf -----

----- 194.conf -----
ONBOOT="yes"

# UBC parameters (in form of barrier:limit)
# Primary parameters
NUMPROC="800:800"
AVNUMPROC="206:206"
NUMTCPSOCK="800:800"
NUMOTHERSOCK="800:800"
VMGUARPAGES="310624:2147483647"

# Secondary parameters
KMEMSIZE="16947363:18642099"
TCPSNDBUF="2372321:5649121"
TCPRCVBUF="2372321:5649121"
OTHERSOCKBUF="1186160:4462960"
DGRAMRCVBUF="1186160:1186160"
OOMGUARPAGES="310624:2147483647"
PRIVVMPAGES="310624:341686"

# Auxiliary parameters
LOCKEDPAGES="827:827"
SHMPAGES="31062:31062"
PHYSPAGES="0:2147483647"
NUMFILE="6592:6592"
NUMFLOCK="659:724"
NUMPTY="80:80"
NUMSIGINFO="1024:1024"
DCACHESIZE="3686400:3796992"
NUMIPTENT="200:200"
DISKSPACE="1047990:1252800"
DISKINODES="80000:88000"
CPUUNITS="13440"

# CPU fair sheduler parameter
IP_ADDRESS="195.141.1.94"
HOSTNAME="perse.goeldi.net"
VE_ROOT="/vz/root/$VEID"
#VE_PRIVATE="/vz/private/$VEID"
VE_PRIVATE="/home/$VEID"
OSTEMPLATE="centos-4-i386-default"
ORIGIN_SAMPLE="vps.basic"
NAMESERVER="195.141.56.5 193.192.227.3"
IPTABLES=iptable_filter iptable_mangle ipt_limit ipt_multiport ipt_tos ipt_TOS ipt_REJECT ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_LOG ipt_length ip_conntrack ip_conntrack_ftp ip_conntrack_irc ipt_conntrack ipt_state ipt_helper iptable_nat ip_nat_ftp ip_nat_irc ipt_REDIRECT
----- end of 194.conf -----

-- 195.conf -----

---ONBOOT="yes"

# UBC parameters (in form of barrier:limit)
# Primary parameters
NUMPROC="800:800"
AVNUMPROC="206:206"
NUMTCPSOCK="800:800"
NUMOTHERSOCK="800:800"
VMGUARPAGES="310624:2147483647"

# Secondary parameters
KMEMSIZE="16947363:18642099"
TCPSNDBUF="2372321:5649121"
TCPRCVBUF="2372321:5649121"
OTHERSOCKBUF="1186160:4462960"
DGRAMRCVBUF="1186160:1186160"
OOMGUARPAGES="310624:2147483647"
PRIVVMPAGES="310624:341686"

# Auxiliary parameters
LOCKEDPAGES="827:827"
SHMPAGES="31062:31062"
PHYSPAGES="0:2147483647"
NUMFILE="6592:6592"
NUMFLOCK="659:724"
NUMPTY="80:80"
NUMSIGINFO="1024:1024"
DCACHESIZE="3686400:3796992"
NUMIPTENT="200:200"
DISKSPACE="1047990:1252800"
DISKINODES="80000:88000"
CPUUNITS="13440"

IP_ADDRESS="195.141.1.95"
HOSTNAME="backup.goeldi.net"
VE_ROOT="/vz/root/$VEID"
VE_PRIVATE="/home/$VEID"
OSTEMPLATE="centos-4-i386-default"
ORIGIN_SAMPLE="vps.mytest"
NAMESERVER="195.141.56.5"
IPTABLES="iptable_filter iptable_mangle ipt_limit ipt_multiport ipt_tos ipt_TOS ipt_REJECT ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_LOG ipt_length ip_conntrack ip_conntrack_ftp ip_conntrack_irc ipt_conntrack ipt_state ipt_helper iptable_nat ip_nat_ftp ip_nat_irc ipt_REDIRECT"
----- end of 195.conf -----

----- vz.conf -----
## Global parameters
VIRTUOZZO=yes
LOCKDIR=/vz/lock
DUMPDIR=/vz/dump
VE0CPUUNITS=1000

## Logging parameters
LOGGING=yes
LOGFILE=/var/log/vzctl.log
LOG_LEVEL=0

## Disk quota parameters
DISK_QUOTA=no
VZFASTBOOT=no

# The name of the device whose ip address will be used as source ip for VE.
# By default automatically assigned.
#VE_ROUTE_SRC_DEV="eth0"

## Template parameters
TEMPLATE=/vz/template

## Defaults for VEs
VE_ROOT=/vz/root/$VEID
#VE_PRIVATE=/vz/private/$VEID
VE_PRIVATE=/home/$VEID
CONFIGFILE="vps.10stueck"
DEF_OSTEMPLATE="fedora-core-4"

## Load vzwdog module
VZWDOG="no"

IPTABLES="ipt_REJECT ipt_tos ipt_limit ipt_multiport iptable_filter iptable_mangle ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_length"
----- end of vz.conf -----

----- /etc/rc.d/rc.local -----
/sbin/modprobe iptable_filter iptable_mangle ipt_limit ipt_multiport ipt_tos ipt_TOS ipt_REJECT ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_LOG ipt_length ip_conntrack ip_conntrack_ftp ip_conntrack_irc ipt_conntrack ipt_state ipt_helper iptable_nat ip_nat_ftp ip_nat_irc ipt_REDIRECT
----- end of rc.local -----

[Updated on: Wed, 06 February 2008 13:57]

Report message to a moderator

Re: connectivity again [message #4786 is a reply to message #4730] Wed, 26 July 2006 10:46 Go to previous messageGo to next message
aistis is currently offline  aistis
Messages: 77
Registered: September 2005
Location: Kaunas, Lithuania
Member

do you see any failed counters? # cat /proc_userbeancounters inside VE


Aistis Zenkevicius
http://static.openvz.org/userbars/openvz-user.png
Re: connectivity again [message #4787 is a reply to message #4785] Wed, 26 July 2006 10:47 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Hmmm.... may be there is not enough resources....
Can you post /proc/user_beancounters of this VE here, please?
Re: connectivity again [message #4788 is a reply to message #4787] Wed, 26 July 2006 11:06 Go to previous messageGo to next message
goeldi
Messages: 92
Registered: June 2006
Member
 cat /proc/user_beancounters
Version: 2.5
       uid  resource           held    maxheld    barrier      limit    failcnt
         0: kmemsize        3269018    3715301 2147483647 2147483647          0
            lockedpages           0          0 2147483647 2147483647          0
            privvmpages        9409      10585 2147483647 2147483647          0
            shmpages            676        692 2147483647 2147483647          0
            dummy                 0          0 2147483647 2147483647          0
            numproc              64         74 2147483647 2147483647          0
            physpages          5383       6062 2147483647 2147483647          0
            vmguarpages           0          0 2147483647 2147483647          0
            oomguarpages       5383       6062 2147483647 2147483647          0
            numtcpsock            5          5 2147483647 2147483647          0
            numflock              1          2 2147483647 2147483647          0
            numpty                1          1 2147483647 2147483647          0
            numsiginfo            0          3 2147483647 2147483647          0
            tcpsndbuf          8912      13368 2147483647 2147483647          0
            tcprcvbuf             0       2228 2147483647 2147483647          0
            othersockbuf      28528      55264 2147483647 2147483647          0
            dgramrcvbuf           0       2228 2147483647 2147483647          0
            numothersock         23         27 2147483647 2147483647          0
            dcachesize      1377400    1394440 2147483647 2147483647          0
            numfile             346        419 2147483647 2147483647          0
            dummy                 0          0 2147483647 2147483647          0
            dummy                 0          0 2147483647 2147483647          0
            dummy                 0          0 2147483647 2147483647          0
            numiptent            28         28 2147483647 2147483647          0
       192: kmemsize        1346281    1655281   16947363   18642099          0
            lockedpages           0          0        827        827          0
            privvmpages       32634      34439     310624     341686          0
            shmpages             39        711      31062      31062          0
            dummy                 0          0          0          0          0
            numproc              21         27        800        800          0
            physpages         22408      22995          0 2147483647          0
            vmguarpages           0          0     310624 2147483647          0
            oomguarpages      22408      22995     310624 2147483647          0
            numtcpsock            4         20        800        800          0
            numflock              3          3        659        724          0
            numpty                0          1         80         80          0
            numsiginfo            0          2       1024       1024          0
            tcpsndbuf             0     155960    2372321    5649121          0
            tcprcvbuf             0      16564    2372321    5649121          0
            othersockbuf       8476      13320    1186160    4462960          0
            dgramrcvbuf           0       8372    1186160    1186160          0
            numothersock          6         12        800        800          0
            dcachesize       162448     184032    3686400    3796992          0
            numfile             299        376       6592       6592          0
            dummy                 0          0          0          0          0
            dummy                 0          0          0          0          0
            dummy                 0          0          0          0          0
            numiptent            31         31        200        200          0
       193: kmemsize        1904782    2215731   16947363   18642099          0
            lockedpages           0          0        827        827          0
            privvmpages       39459      41219     310624     341686          0
            shmpages             91        763      31062      31062          0
            dummy                 0          0          0          0          0
            numproc              46         53        800        800          0
            physpages          6821       7274          0 2147483647          0
            vmguarpages           0          0     310624 2147483647          0
            oomguarpages       6821       7274     310624 2147483647          0
            numtcpsock           12         14        800        800          0
            numflock              9          9        659        724          0
            numpty                0          0         80         80          0
            numsiginfo            0          2       1024       1024          0
            tcpsndbuf             0       8912    2372321    5649121          0
            tcprcvbuf             0       2228    2372321    5649121          0
            othersockbuf       6684      11528    1186160    4462960          0
            dgramrcvbuf           0        692    1186160    1186160          0
            numothersock         10         16        800        800          0
            dcachesize       109056     127800    3686400    3796992          0
            numfile             349        424       6592       6592          0
            dummy                 0          0          0          0          0
            dummy                 0          0          0          0          0
            dummy                 0          0          0          0          0
            numiptent            48         48        200        200          0
       194: kmemsize        1341311    1603174   16947363   18642099          0
            lockedpages           0          0        827        827          0
            privvmpages       29346      29959     310624     341686          0
            shmpages             39        711      31062      31062          0
            dummy                 0          0          0          0          0
            numproc              24         26        800        800          0
            physpages         14790      15006          0 2147483647          0
            vmguarpages           0          0     310624 2147483647          0
            oomguarpages      14790      15006     310624 2147483647          0
            numtcpsock            4         19        800        800          0
            numflock              4          4        659        724          0
            numpty                0          0         80         80          0
            numsiginfo            0          2       1024       1024          0
            tcpsndbuf             0     157828    2372321    5649121          0
            tcprcvbuf             0     131792    2372321    5649121          0
            othersockbuf       4456      12400    1186160    4462960          0
            dgramrcvbuf           0       8372    1186160    1186160          0
            numothersock          6         13        800        800          0
            dcachesize       131776     149384    3686400    3796992          0
            numfile             303        368       6592       6592          0
            dummy                 0          0          0          0          0
            dummy                 0          0          0          0          0
            dummy                 0          0          0          0          0
            numiptent            28         28        200        200          0
       195: kmemsize         436347     779388   16947363   18642099          0
            lockedpages           0          0        827        827          0
            privvmpages        1034       1978     310624     341686          0
            shmpages              0          0      31062      31062          0
            dummy                 0          0          0          0          0
            numproc               5         14        800        800          0
            physpages           679       1291          0 2147483647          0
            vmguarpages           0          0     310624 2147483647          0
            oomguarpages        679       1291     310624 2147483647          0
            numtcpsock            1          1        800        800          0
            numflock              1          2        659        724          0
            numpty                0          1         80         80          0
            numsiginfo            0          2       1024       1024          0
            tcpsndbuf             0          0    2372321    5649121          0
            tcprcvbuf             0          0    2372321    5649121          0
            othersockbuf       2228       4456    1186160    4462960          0
            dgramrcvbuf           0        692    1186160    1186160          0
            numothersock          3          7        800        800          0
            dcachesize        32376      47144    3686400    3796992          0
            numfile              62        122       6592       6592          0
            dummy                 0          0          0          0          0
            dummy                 0          0          0          0          0
            dummy                 0          0          0          0          0
            numiptent            29         30        200        200          0


Moderator update: changed to use CODE tags for readable formatting

[Updated on: Thu, 27 July 2006 00:08] by Moderator

Report message to a moderator

Re: connectivity again [message #4789 is a reply to message #4786] Wed, 26 July 2006 11:07 Go to previous messageGo to next message
goeldi
Messages: 92
Registered: June 2006
Member
cat /proc/user_beancounters
Version: 2.5
       uid  resource           held    maxheld    barrier      limit    failcnt
       195: kmemsize         564723     779388   16947363   18642099          0
            lockedpages           0          0        827        827          0
            privvmpages        1408       1978     310624     341686          0
            shmpages              0          0      31062      31062          0
            dummy                 0          0          0          0          0
            numproc               8         14        800        800          0
            physpages           977       1291          0 2147483647          0
            vmguarpages           0          0     310624 2147483647          0
            oomguarpages        977       1291     310624 2147483647          0
            numtcpsock            1          1        800        800          0
            numflock              1          2        659        724          0
            numpty                1          1         80         80          0
            numsiginfo            0          2       1024       1024          0
            tcpsndbuf             0          0    2372321    5649121          0
            tcprcvbuf             0          0    2372321    5649121          0
            othersockbuf       2228       4456    1186160    4462960          0
            dgramrcvbuf           0        692    1186160    1186160          0
            numothersock          3          7        800        800          0
            dcachesize        36352      47144    3686400    3796992          0
            numfile              76        122       6592       6592          0
            dummy                 0          0          0          0          0
            dummy                 0          0          0          0          0
            dummy                 0          0          0          0          0
            numiptent            29         30        200        200          0


Moderator update: use CODE tags for readable formatting

[Updated on: Thu, 27 July 2006 00:11] by Moderator

Report message to a moderator

icon3.gif  SOLVED: connectivity again [message #4815 is a reply to message #4789] Thu, 27 July 2006 07:24 Go to previous messageGo to next message
goeldi
Messages: 92
Registered: June 2006
Member
I destroyed and created this vps again, and it works now.

This was a user error: I entered the wrong command

vzctl set --config vps.mytest 195 --save

instead of the correct one

vzctl set --applyconfig vps.mytest 195 --save

So the problem was the missing word "apply" Smile
NOT solved :-( [message #4820 is a reply to message #4815] Thu, 27 July 2006 10:50 Go to previous messageGo to next message
goeldi
Messages: 92
Registered: June 2006
Member
Don't know why I thought that it works.

This is a transcript of what I did:
/usr/sbin/vzctl create 195 --ostemplate centos-4-i386-default --config vps.10stueck --private /home/195 --root /vz/root/195 --ipadd 195.141.1.95 --hostname backup.goeldi.net

Creating VPS private area: /home/195
Performing postcreate actions
VPS private area was created


 /usr/sbin/vzctl set 195 --nameserver 195.141.56.5 --save
File resolv.conf was modified
Saved parameters for VPS 195


/usr/sbin/vzctl start 195
Starting VPS ...
VPS is mounted
Adding IP address(es): 195.141.1.95
arpsend: 195.141.1.95 is detected on another computer : 00:00:0c:07:ac:01
vps-net_add WARNING: arpsend -c 1 -w 1 -D  -e 195.141.1.95 eth0 FAILED
Setting CPU units: 13440
Set hostname: backup.goeldi.net
VPS start in progress...


I now can enter the ve now with vzctl enter 195 but pinging anything other than the HN or the other VE doesn't work. Domain names don't resolve. Pinging this VE from the HN works. From another HN doesn't. IPTables is NOT started on the VE. It is started on the HN and works for the other 3 VE. The other 3 VE have running IPTables.

I even went so far that I copied the working configuration file of the first VE to the other 3 (192.conf to 193.conf, 194.con and 195.conf) and edited the ip address and hostnames. The other 3 work, the fourth doesn't although there is no difference except the fact, that IPTables is not running.

So now all 4 VEs have the same configuration file:

ONBOOT="yes"

# UBC parameters (in form of barrier:limit)
# Primary parameters
AVNUMPROC="206:206"
NUMPROC="800:800"
NUMTCPSOCK="800:800"
NUMOTHERSOCK="800:800"
VMGUARPAGES="310636:2147483647"

# Secondary parameters
KMEMSIZE="16949002:18643902"
TCPSNDBUF="2372867:5649667"
TCPRCVBUF="2372867:5649667"
OTHERSOCKBUF="1186433:4463233"
DGRAMRCVBUF="1186433:1186433"
OOMGUARPAGES="310636:2147483647"
# Auxiliary parameters
LOCKEDPAGES="827:827"
SHMPAGES="31063:31063"
PRIVVMPAGES="310636:341699"
NUMFILE="6592:6592"
NUMFLOCK="659:724"
NUMPTY="80:80"
NUMSIGINFO="1024:1024"
DCACHESIZE="3686400:3796992"

PHYSPAGES="0:2147483647"
NUMIPTENT="200:200"

# Disk quota parameters (in form of softlimit:hardlimit)
DISKSPACE="204799:225280"
DISKINODES="80000:88000"
QUOTATIME="0"

# CPU fair sheduler parameter
CPUUNITS="13440"
IP_ADDRESS="195.141.1.92"  #this line is different in the other VEs of course
HOSTNAME="spatz.goeldi.net"
VE_ROOT="/vz/root/$VEID"
VE_PRIVATE="/home/$VEID"
#VE_PRIVATE="/vz/private/$VEID"
OSTEMPLATE="centos-4-i386-default"
ORIGIN_SAMPLE="vps.10stueck"
NAMESERVER="195.141.56.5 193.192.227.3"
IPTABLES="iptable_filter iptable_mangle ipt_limit ipt_multiport ipt_tos ipt_TOS ipt_REJECT ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_LOG ipt_length ip_conntrack ip_conntrack_ftp ip_conntrack_irc ipt_conntrack
ipt_state ipt_helper iptable_nat ip_nat_ftp ip_nat_irc ipt_REDIRECT"

[Updated on: Thu, 27 July 2006 10:51]

Report message to a moderator

Re: NOT solved :-( [message #4821 is a reply to message #4820] Thu, 27 July 2006 11:03 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
You can see this in your transcript:
Quote:

Adding IP address(es): 195.141.1.95
arpsend: 195.141.1.95 is detected on another computer : 00:00:0c:07:ac:01
vps-net_add WARNING: arpsend -c 1 -w 1 -D -e 195.141.1.95 eth0 FAILED

So, please, use other IP addreess at least!
Re: NOT solved :-( [message #4822 is a reply to message #4821] Thu, 27 July 2006 11:08 Go to previous messageGo to next message
goeldi
Messages: 92
Registered: June 2006
Member
Every one of my VEs tell me this error message. This ip address is NOT in use by any other machine.

All other VEs tell me that. I don't think, that this error message is correct. Why do the other ones work?
Re: NOT solved :-( [message #4823 is a reply to message #4820] Thu, 27 July 2006 11:18 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Please, do the following experiment. Set to VE, in which you have problem with netowk, IP address of VE that works good with network. Before it, of course switch the last one off.
Can you ping now?
Re: connectivity again [message #4837 is a reply to message #4730] Thu, 27 July 2006 15:17 Go to previous messageGo to next message
aistis is currently offline  aistis
Messages: 77
Registered: September 2005
Location: Kaunas, Lithuania
Member

http://forum.openvz.org/index.php?t=msg&th=810&start =0 Rolling Eyes


Aistis Zenkevicius
http://static.openvz.org/userbars/openvz-user.png
Re: NOT solved :-( [message #4839 is a reply to message #4823] Thu, 27 July 2006 16:22 Go to previous message
goeldi
Messages: 92
Registered: June 2006
Member
/usr/sbin/vzctl set 195 --save --ipadd 195.141.1.93
Adding IP address(es): 195.141.1.93
arpsend: 195.141.1.93 is detected on another computer : 00:00:0c:07:ac:01
vps-net_add WARNING: arpsend -c 1 -w 1 -D -e 195.141.1.93 eth0 FAILED
Saved parameters for VPS 195

Yes, as you can see I get the same error message. After this I made a restart of the ve and then it worked with the other ip address.
Previous Topic: *SOLVED* migration problem, right version now
Next Topic: load balancing and migration between hardware nodes.
Goto Forum:
  


Current Time: Wed Nov 06 10:35:12 GMT 2024

Total time taken to generate the page: 0.03493 seconds