OpenVZ Forum


Home » General » Support » Updating VZ.CONF and restarting without rebooting VMs (Updating vz.conf)
Re: Updating VZ.CONF and restarting without rebooting VMs [message #45065 is a reply to message #45009] Wed, 25 January 2012 17:59 Go to previous message
mustardman is currently offline  mustardman
Messages: 91
Registered: October 2009
Member
If you are asking how to load those additional iptables kernel modules without restarting the node or the openvz service, that is very simple.

From a command line on the Node we can view the already loaded iptables kernel modules.

cat /proc/net/ip_tables_matches

udp
tcp
owner
state
.
.
.


Now load the new iptables kernel modules that you have added to /etc/sysconfig/iptables-config or to etc/vz/vz.conf. So, for example if we have added ipt_recent to either of those 2 config files then:

modprobe ipt_recent


Now view loaded iptables kernel modules again and you will see the new module load.

cat /proc/net/ip_tables_matches

recent
udp
tcp
owner
state
.
.
.


This document explains the difference between those 2 config files.
http://download.swsoft.com/virtuozzo/virtuozzo4.0/docs/en/li n/VzLinuxUG/6167.htm

[Updated on: Wed, 25 January 2012 18:06]

Report message to a moderator

 
Read Message
Read Message
Read Message
Previous Topic: cannot run ntpd as non root user under VE[Solved]
Next Topic: bond0 if in a container
Goto Forum:
  


Current Time: Tue Jul 22 17:08:29 GMT 2025

Total time taken to generate the page: 0.33459 seconds