OpenVZ Forum


Home » General » Support » VPS Start Script
VPS Start Script [message #34175] Thu, 11 December 2008 03:59 Go to next message
nick_chang is currently offline  nick_chang
Messages: 16
Registered: May 2008
Location: Taiwan
Junior Member
Dear All

I follow this document(http://wiki.openvz.org/Virtual_Ethernet_device) to change VPS network name.

But if I restart VPS. All setting recovery to old setting.

I don't know VPS start process.

How can tell me this process for VPS??

I want to write start and shutdown script to change this setting.

Thanks

BR
Nick
Re: VPS Start Script [message #34179 is a reply to message #34175] Thu, 11 December 2008 09:08 Go to previous messageGo to next message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hello,

what in particular do you have in mind?
To save VEs parameters use --save option of vzctl utility.
Re: VPS Start Script [message #34181 is a reply to message #34179] Thu, 11 December 2008 09:34 Go to previous messageGo to next message
nick_chang is currently offline  nick_chang
Messages: 16
Registered: May 2008
Location: Taiwan
Junior Member
Hello

Configure devices in CT0

[host-node]# ifconfig veth101.0 0
[host-node]# echo 1 > /proc/sys/net/ipv4/conf/veth101.0/forwarding
[host-node]# echo 1 > /proc/sys/net/ipv4/conf/veth101.0/proxy_arp
[host-node]# echo 1 > /proc/sys/net/ipv4/conf/eth0/forwarding
[host-node]# echo 1 > /proc/sys/net/ipv4/conf/eth0/proxy_arp


How to save in CT0??

If VPS restart, all setting don't save in VPS and CT0

Nick
Re: VPS Start Script [message #34182 is a reply to message #34181] Thu, 11 December 2008 12:12 Go to previous message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
http://wiki.openvz.org/w/index.php?title=Virtual_Ethernet_de vice&diff=5990&oldid=5989#Making_a_veth-device_persi stent
Previous Topic: [Solved] vzmigrate strange quota problem
Next Topic: Live Migration - Permission denied error
Goto Forum:
  


Current Time: Wed Jul 17 20:31:39 GMT 2024

Total time taken to generate the page: 0.02721 seconds