Changes

Jump to: navigation, search

Using private IPs for Hardware Nodes

202 bytes removed, 02:55, 6 December 2008
New layout (mount scripts are at /etc/vz/conf for all distros, not just Debian)
==== Create On-umount script for remove HW → CT route(s) ====
which should be called each time a container with VEID (<code>/etc/sysconfigvz/vzconf/$VEID.umount</code>), or any container (<code>/etc/sysconfigvz/vzconf/vps.umount</code>) is stopedstop.
On a Debian system you can have per VE mount/umount scripts /etc/vz/conf/${VEID}.{mount|umount}
or mount/umount scripts which all VEs will run /etc/vz/conf/vps.{mount|umount}
<pre>
#!/bin/bash
# /etc/sysconfigvz/vzconf/$VEID.umount or /etc/sysconfigvz/vzconf/vps.umount
# a script to remove routes to container with veth-bridge from bridge
</pre>
{{Note|The script should be executable (chmod +x /etc/sysconfigvz/vzconf/vps.umount)}}
==== Setting the route CT → HN ====

Navigation menu