Page tree
Skip to end of metadata
Go to start of metadata

This config allows you to control certain parts of the master and slaves. The advanced.conf is located in /usr/local/solusvm/data/ on both the master and slave.

Hard Drive

HDD=""

This setting allows you to define a comma seperated array of disks or partitions for RRDtool graphing.

HDD="sda,sdb,sdc"

Interface

INTERFACE=""

This setting allows you to define the public network interface of your server and is used for RRDtool and bandwidth throttling.

INTERFACE="eth1"

FTP Backup Public Interface

FTPBACKUPMASTERNIC=""

This setting allows you to define the network interface the slave needs to connect to the master on.

FTPBACKUPMASTERNIC="eth3"

Xen Memory Check Offsets

This setting allows you to define an offset for the free memory check used in the Xen creation process. Because of the way Xen allocates memory, it can sometimes report a slightly out of sync result due to a limitation in Xen itself. You only need to set these features up once, and you only need to define them on your master advanced.conf.

XENMEMORYOFFSETMINUS_=""
XENMEMORYOFFSETPLUS_=""

XENMEMORYOFFSETMINUS_1="104857600" // minus 100MB of ram from the total


Please note, you do not have to use both settings, but you MUST specify the amount in Bytes only.

Xen Reserved Logical Volume Group

  • This setting allows you to reserve part of your logical volume group.

XENLVMRESERVED_=""

XENLVMRESERVED_1="53687091200" // This will reserve 50GB of space


    Please note, you MUST specify the amount in Bytes only. ====Xen PV Bridge====

XENPVBRIDGE=""


  • This setting allows you to define the default bridge used by your xen pv virtual servers.

XENPVBRIDGE="xenbr1"

Xen HVM Bridge

XENHVMBRIDGE=""


This setting allows you to define the default bridge used by your xen hvm virtual servers.

XENHVMBRIDGE="xenbr1"

Xen PV Custom Kernel per Template

XENPVOS_template.tar.gz="Kernel|Ramdisk|Modules|Device"

This setting allows you to define a custom kernel on a per template basis.

You only need to configure these settings in the advanced.conf on your master server.

Please note the following locations:

  • Kernel must be in /boot on the host node.
  • Ramdisk must be in /boot on the host node. If the kernel does not require a ramdisk, you can enter - (minus symbol) in it's place.
  • Modules must be in kernel modules folder in /lib/modules on the host node.
  • Device should be defined as sda or xvda, the partition numbers will be added automatically.

XENPVOS_centos-5.2-i386.tar.gz="vmlinuz-2.6.31.6|initrd-2.6.31.6.img|2.6.31.6|xvda"

RRD Stats

This setting allows you to log any RRDtool errors. This only needs to be set on the master.

LOGSTATS="1"

Log location /usr/local/solusvm/log/stats.log

  • No labels