143 lines
4.8 KiB
Plaintext
143 lines
4.8 KiB
Plaintext
#============================================================================
|
|
# /etc/sysconfig/xend
|
|
#
|
|
# Version = 3.0.0
|
|
# Date = 2008-01-30
|
|
#
|
|
# Maintainer(s) = Ron Terry - ron (at) pronetworkconsulting (dot) com
|
|
#
|
|
# The latest version can be found at:
|
|
#
|
|
# http://pronetworkconsulting.com/linux/scripts/network-multinet.html
|
|
#
|
|
# Description:
|
|
#
|
|
# This configuration file is for use with network-multinet version 3
|
|
#
|
|
#============================================================================
|
|
|
|
## Path: System/Virtualization
|
|
## Description:
|
|
## Type: list()
|
|
## Default: ""
|
|
## Config:
|
|
#
|
|
# Space delimited list of network types, physical/virtual network
|
|
# devices,mac addresses and IP addresses to create bridges on using
|
|
# the following format:
|
|
#
|
|
# <network type>,<number of network type>,<network device>,<IP address/CIDR NetMask>,<dhcp server status>
|
|
#
|
|
# Where:
|
|
# <network type> = bridge|nat|route|hostonly|nohost|empty
|
|
# <number of network type> = The network number (0,1,2,etc.) of that type of
|
|
# network (i.e. xennat0, xenbr1, xenhost3, etc.)
|
|
# <network device> = The network interface the bridge will be attached
|
|
# to (i.e. eth0, etc.)
|
|
# For NAT. Routed, or Hostonly networks this should
|
|
# be "none" because there is no device. For Bridged or
|
|
# Nohost interfaces this should be a physical
|
|
# interfaces (eth, bond, vlan, etc.) If set to
|
|
# 'default' the interface used for the default
|
|
# gateway will be used
|
|
# <IP address/CIDR Netmask> = The IP address and Subnet Mask to assign to
|
|
# <network device> format= 1.2.3.4/24
|
|
# <dhcp server status> = dhcp-on|dhcp-off (DHCP server on/off on that net)
|
|
#
|
|
# Network Definition Examples:
|
|
# bridged "bridge,0,default,default,dhcp-off"
|
|
# "bridge,1,eth1,default,dhcp-off"
|
|
# nat "nat,0,none,172.22.0.1/16,dhcp-off"
|
|
# routed "route,0,none,172.23.0.1/16,dhcp-off"
|
|
# hostonly "hostonly,0,none,172.24.0.1/16,dhcp-off"
|
|
# nohost "nohost,0,eth1,,"
|
|
# empty "empty,0,none,none,"
|
|
#
|
|
# Example: "bridge,0,eth0,default,dhcp-off nat,0,none,172.22.0.1/16,dhcp-off hostonly,0,none,172.23.0.1/16,dhcp-off empty,0,none,none,"
|
|
#
|
|
# The above example would create 4 networks the first being a bridged network
|
|
# (xenbr0), the second being a NATed network (xennat0), the third being a host
|
|
# only network (xenhost0) and the fourth being an empty network (xenempty0)
|
|
#
|
|
# Used by network-multinet v3.x only
|
|
#
|
|
NETWORK_LIST="bridge,0,default,default,dhcp-off hostonly,0,none,172.23.0.1/16,dhcp-off"
|
|
|
|
## Type: string(eth0,eth1,eth2,eth3)
|
|
## Default: "eth0"
|
|
## Config:
|
|
#
|
|
# Network interface to use as the external interface for NATed
|
|
# and Routed networks.
|
|
#
|
|
# If set to 'default" it will use the same interface used for the
|
|
# default route
|
|
#
|
|
NAT_EXTERNAL_INTERFACE="default"
|
|
|
|
## Type: string(128-249)
|
|
## Default: "128-249"
|
|
## Config:
|
|
#
|
|
# IP address range for the dhcp server. These should be the
|
|
# beginning and ending addresses from the last octet of the
|
|
# IP address
|
|
#
|
|
XEN_DHCP_RANGE="128-249"
|
|
|
|
## Type: string(10.0.0.1,10.0.0.2)
|
|
## Default: "gateway"
|
|
## Config:
|
|
#
|
|
# IP address(es) of DNS servers for the dhcp server to give out.
|
|
# If set to "gateway" then the IP address of the gateway will be
|
|
# set as the DNS server.
|
|
#
|
|
# Examples: "10.0.0.1,10.0.0.2"
|
|
# "gateway"
|
|
#
|
|
XEN_DHCP_DNS_SERVERS="gateway"
|
|
|
|
## Type: boolean
|
|
## Default: "false"
|
|
## Config:
|
|
#
|
|
# If set to true the xend-relocation script will enable/disable
|
|
# the vm migration feature of xend..
|
|
#
|
|
ENABLE_RELOCATION="false"
|
|
|
|
## Type: list()
|
|
## Default: "any"
|
|
## Config:
|
|
#
|
|
# Space delimited list of IP addresses/host names of machines
|
|
# that xen will accept vm migrations from. If set to 'any'
|
|
# xen will accept vm migrations from any host
|
|
#
|
|
# Example: "10.0.0.1 10.0.0.2" would allow relocation to/from thos IPs
|
|
# Example: "any" would allow reloaction to/from any host
|
|
#
|
|
RELOCATION_NODELIST="any"
|
|
|
|
## Type: boolean
|
|
## Default: "false"
|
|
## Config:
|
|
#
|
|
# If set to true the xend-relocation script will attempt to
|
|
# enable/disable vm migration on all relocation nodes listed
|
|
# in the RELOCATION_NODELIST variable.
|
|
#
|
|
# Note: Communication with the nodes is done via ssh so
|
|
# pre-distributed ssh keys is recommended.
|
|
#
|
|
MANAGE_ALL_RELOCATION_NODES="false"
|
|
|
|
## Type: integer
|
|
## Default: "8002"
|
|
## Config:
|
|
#
|
|
# The TCP port used by Xen for VM relocation
|
|
#
|
|
XEN_RELOCATION_PORT="8002"
|