1 May 2010 07:58
1 May 2010 12:58
Re: Will I be able to use MASQUERADE in iptables?
Mike> Hi everyone. I found some threads in OpenVZ's forum about Mike> MASQUERADE in iptables that said it's not yet supported. Can Mike> someone conform this? It works but you can use the SNAT target instead which is the preferred way to map addresses because is creates less overhead. The MASQUERADE target is mostly only used with dynamically assigned IP connections i.e. when we do not know the actual IP address upfront (read DHCP). If you have a static IP address, then you should use the SNAT target which works perfectly fine with OpenVZ.
1 May 2010 13:03
回复: [Users] Re: Will I be able to use MASQUERADE in iptables?
thx.
在 2010-5-1 下午7:02,"Suno Ano" <suno.ano <at> sunoano.org>编写:
Mike> Hi everyone. I found some threads in OpenVZ's forum about
Mike> MASQUERADE in iptables that said it's not yet supported. Can
Mike> someone conform this?
It works but you can use the SNAT target instead which is the preferred
way to map addresses because is creates less overhead.
The MASQUERADE target is mostly only used with dynamically assigned IP
connections i.e. when we do not know the actual IP address upfront (read
DHCP). If you have a static IP address, then you should use the SNAT
target which works perfectly fine with OpenVZ.
_______________________________________________
Users mailing list
Users-GEFAQzZX7r8dnm+yROfE0A@public.gmane.org
https://openvz.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@... https://openvz.org/mailman/listinfo/users
3 May 2010 14:25
Problem Process in D state
Hi, I have the problem described in
http://forum.openvz.org/index.php?t=rview&goto=38819&th=8298
What can i do?
PD: I'm esezako in the thread
-- ------------------------------------------ Ismael Zarco Lamas Administrador de Sistemas Interdix Galicia
What can i do?
PD: I'm esezako in the thread
-- ------------------------------------------ Ismael Zarco Lamas Administrador de Sistemas Interdix Galicia
_______________________________________________ Users mailing list Users@... https://openvz.org/mailman/listinfo/users
12 May 2010 01:18
tagged vlan and bridges
I'm attempting to configure multiple tagged vlans over a bridged interface to allow my containers to obtain dhcp leases from different networks. The host OS is centos. Is there any documentation regarding the steps involved in this type of setup? I haven't been able to find anything that precisely matches this config. It seems to work with a single vlan, but as soon as I attempt to add a second eth0.<VLAN> interface, it stops working. I figured someone must be doing this. If I leave out the vlans, everything works fine using the default vlan...guests can dhcp lease their network addresses, etc. I'm using the latest openvz utils and kernel from the openvz yum repo. The base OS is CentOS 5.2 x86_64. "Red Hat" style ifcfg- config files would be great. Thanks for your help. -jeremy
15 May 2010 04:08
CentOS 5.5 released, contributed OS Templates available
Greetings, Late this afternoon the CentOS project announced the release of CentOS 5.5. I built i386 and x86_64 OS Templates for CentOS 5.5 and have uploaded them to the contrib site. Anyone interested can find them here: http://download.openvz.org/template/precreated/contrib/ They are currently named: centos-5-i386-default-5.5-20100514.tar.gz and centos-5-x86_64-default-5.5-20100514.tar.gz But their names will change over time as I update them about once a month. Enjoy, -- -- Scott Dowdle 704 Church Street Belgrade, MT 59714 (406)388-0827 [home] (406)994-3931 [work]
15 May 2010 16:08
Re: CentOS 5.5 released, contributed OS Templates available
Sorry if i ask this, but do you have the
changelog?? to see wich is the difference between 5.4 and 5.5 ???
thank you.
Ing. Alejandro M. ----------------------- Hospedaje Web y Servidores Dedicados http://www.dedicados.com.mx ----------------------- ventas-L1Rg+x4C9tXQgWSLzMDO1g@public.gmane.org -----------------------
El 14/05/2010 09:08 p.m., Scott Dowdle escribió:
thank you.
Ing. Alejandro M. ----------------------- Hospedaje Web y Servidores Dedicados http://www.dedicados.com.mx ----------------------- ventas-L1Rg+x4C9tXQgWSLzMDO1g@public.gmane.org -----------------------
El 14/05/2010 09:08 p.m., Scott Dowdle escribió:
Greetings, Late this afternoon the CentOS project announced the release of CentOS 5.5. I built i386 and x86_64 OS Templates for CentOS 5.5 and have uploaded them to the contrib site. Anyone interested can find them here: http://download.openvz.org/template/precreated/contrib/ They are currently named: centos-5-i386-default-5.5-20100514.tar.gz and centos-5-x86_64-default-5.5-20100514.tar.gz But their names will change over time as I update them about once a month. Enjoy,
_______________________________________________ Users mailing list Users@... https://openvz.org/mailman/listinfo/users
15 May 2010 16:27
Re: CentOS 5.5 released, contributed OS Templates available
http://wiki.centos.org/Manuals/ReleaseNotes/CentOS5.5 On 05/15/2010 10:08 AM, SD :: Ventas wrote: > Sorry if i ask this, but do you have the changelog?? to see wich is the > difference between 5.4 and 5.5 ??? > > thank you. > > Ing. Alejandro M. > ----------------------- > Hospedaje Web y Servidores Dedicados > http://www.dedicados.com.mx > ----------------------- > ventas@... > ----------------------- > > > El 14/05/2010 09:08 p.m., Scott Dowdle escribió: >> Greetings, >> >> Late this afternoon the CentOS project announced the release of CentOS 5.5. I built i386 and x86_64 OS Templates for CentOS 5.5 and have uploaded them to the contrib site. Anyone interested can find them here: >> >> http://download.openvz.org/template/precreated/contrib/ >> >> They are currently named: >> >> centos-5-i386-default-5.5-20100514.tar.gz and centos-5-x86_64-default-5.5-20100514.tar.gz >> >> But their names will change over time as I update them about once a month. >> >> Enjoy, >> > > > _______________________________________________ > Users mailing list > Users@... > https://openvz.org/mailman/listinfo/users
16 May 2010 11:43
Capturing the PID of every VE during startup / shutdown.
G'day.
We are currently looking into doing more monitoring and management of our VEs
from the hardware node, and as part of that we would like to have access to a
reasonably reliable mapping of VE id to VE init process PID on the host node.
(This would be, basically, the equivalent of /var/run/foo.pid, where foo was
the VEID, and the PID was the host-node PID of the init process.)
This mapping would make it easier for our tools to first verify that the init
process was correct[1], then to walk the process tree or otherwise inspect the
children running in that container.
Sadly, to my eye it doesn't look possible to capture this without a private
patch to the vzctl tool[2], since none of the current hooks have access to the
information, and the init process forks away to a new PGIG, SID, etc, quite
deliberately (and sensibly.)
So ... is there any sensibly way I could implement this without needing a
private patch, other than to scan the process table after starting the
container and rebuilding that mapping?
Daniel
Footnotes:
[1] Check /proc/$pid/status for matching envID, and VPid of 1, to verify that
the init process matches our mapping. If not, raise a warning because
something unexpected has happened.
[2] ...and the assumption that only vzctl starts containers, which is an
assumption I can live with: this all is supposed to improve our
monitoring capabilities, not prevent a hostile root-capable user on the
hardware node from doing something dubious.
--
--
✣ Daniel Pittman ✉ daniel@... ☎ +61 401 155 707
♽ made with 100 percent post-consumer electrons
16 May 2010 14:05
Re: Capturing the PID of every VE during startup / shutdown.
Hi Daniel,
a simple solution can be, take a look to /proc of running contaier from
ct0.
<path-to-ct-root>/proc/1/stat
e.g.
$ awk '{ print $1 }' /var/lib/vz/root/20123/proc/1/stat
28858
^_real pid at ct0
Hope this helps.
Bye,
Thorsten
On Sun, 16 May 2010 19:43:58 +1000, Daniel Pittman <daniel@...>
wrote:
> G'day.
>
> We are currently looking into doing more monitoring and management of
our
> VEs
> from the hardware node, and as part of that we would like to have access
> to a
> reasonably reliable mapping of VE id to VE init process PID on the host
> node.
>
> (This would be, basically, the equivalent of /var/run/foo.pid, where foo
> was
> the VEID, and the PID was the host-node PID of the init process.)
>
>(...)
RSS Feed