OpenVZ Forum


Home » General » Support » connectivity again
NOT solved :-( [message #4820 is a reply to message #4815] Thu, 27 July 2006 10:50 Go to previous messageGo to previous 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

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon3.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: *SOLVED* migration problem, right version now
Next Topic: load balancing and migration between hardware nodes.
Goto Forum:
  


Current Time: Wed Aug 28 14:26:40 GMT 2024

Total time taken to generate the page: 0.03148 seconds