Skip to content

About config.ini file

About config.ini file

Master:

;; Extended configuration file for SolusVM

;; Last updated 2017/03/30

;; Copy this file to /usr/local/solusvm/data/config.ini

\[MASTER_PORTS\]

;http = 5353

;https = 5656

\[NOVNC\]

;; Set this to true if you want noVNC to access the websocket with the
remote servers hostname. All the hostnames must resolve correctly.
Default (false) is to use the ip address of the remote server

;use_remote_hostname = false

;; Set this to true if you want the socket on the host to forward
packets across the public network

;socket_dest_public = false

\[CURL\]

;; Use IPv4 connections only (true\|false)

;use_ipv4_only = false

\[KVM\]

;; Don't write memtune settings to domains configuration file
(true\|false)

;domain_config_exclude_memtune = false

;; Use the latest memtune settings (true\|false)

;domain_config_experimental_memtune = false

;; When writing the internal network configuration within the virtual
server

;; don't add the gateway variable

;domain_simple_internal_network = false

;; If memtune hard_limit is used in the domains configuration file set

;; the specified percentage hard_limIt calculated from the memory

;; setting (1 \<\> 300)

;domain_config_memtune_hard_limit_percent_memory = 75

;; If memtune soft_limit is used in the domains configuration file set

;; the specified percentage soft_limit calculated from the memory

;; setting (1 \<\> 300)

;domain_config_memtune_soft_limit_percent_memory = 50

;; If memtune swap_hard_limit is used in the domains configuration file
set

;; the specified percentage swap_hard_limit calculated from the memory

;; setting (1 \<\> 300)

;domain_config_memtune_swap_hard_limit_percent_memory = 50

;; If using experimental memtune enabling this will only set the
soft_limit

;; setting. domain_config_memtune_soft_limit_percent_memory will also be

;; used (true\|false)

;domain_config_soflimit_memtune_only = false

;; lvcreate (-i) stripes (default not set). Numeric value only

;lvcreate_stripes = 1

;; lvcreate (-I) stripesize (default not set). Numeric value
only(kilobytes)

;lvcreate_stripe_size = 512

;; lvcreate (-c) chunksize (default not set). Numeric value only
(kilobytes)

;lvcreate_chunk_size = 512

;; lvcreate (-aey) Use the -aey flag to activate logical volume
exclusively on the host node (true\|false)

;lvcreate_aey = false

\[DHCPD\]

;; When writing the internal network configuration to dhcpd.conf don't
add the

;; gateway and nameserver variables

;config_simple_internal_network = false

\[BANDWIDTH_COUNTING\]

;; Offsets for ipv4 bandwidth counting. (- will divide\|+ will
multiply).

;; Format "IPADDRESS,INBOUND_OFFSET,OUTBOUND_OFFSET"

;;ipv4_count_offset\[\] = "123.123.123.5,-3,0"

;;ipv4_count_offset\[\] = "123.123.123.5,+2,-1"

;;ipv4_count_offset\[\] = "123.123.123.5,-3,0"

;; Offsets for ipv6 bandwidth counting. (- will divide\|+ will
multiply).

;; Format "IPADDRESS,INBOUND_OFFSET,OUTBOUND_OFFSET"

;;ipv6_count_offset\[\] = "fe80::227:eff:fe09:cb2,-3,0"

;;ipv6_count_offset\[\] = "fe80::227:eff:fe09:cb2,+2,-1"

;;ipv6_count_offset\[\] = "fe80::227:eff:fe09:cb2,-3,0"

\[CONNECTION_MONITOR\]

;; Run a second connection check if the first check fails. This setting
is master only. (true\|false)

;extra_pass_on_fail = false

;; If your master server is RHEL 5 based you will need to enable this
setting. (true\|false)

;use_nc = false

\[EBTABLES\]

;; A comma seperated list of virtual servers to exclude from ip spoofing

;excluded =''

\[OPENVZ\]

;; Stop collecting memory statistics for graphing (true\|false)

;dont_collect_memory_usage = true

**Slave**

;; Extended configuration file for SolusVM

;; Last updated 2016/11/01

;; Copy this file to /usr/local/solusvm/data/config.ini

\[SYSTEM\]

;timezone = "Europe/London"

\[LVM_SNAPSHOT\]

; The amount in GB of snapshot space you want for ftp backups

;ftp_backup_default_snapshot_size = '5'

\[XEN\]

; Create Xen PV swap logical volumes in the specified group

;pv_swap_logical_volume_group = 'swap'

; Set this to true to remove the vifvm prefix from the interface vif
names

;no_vif_prefix = false

\[KVM\]

;; Add OVH style gateway routes to virtual servers (true\|false)

;ovh_bridged_network_routes = false

;; Don't write memtune settings to domains configuration file
(true\|false)

;domain_config_exclude_memtune = false

;; Use the latest memtune settings (true\|false)

;domain_config_experimental_memtune = false

;; When writing the internal network configuration within the virtual
server

;; don't add the gateway variable

;domain_simple_internal_network = false

;; If memtune hard_limit is used in the domains configuration file set

;; the specified percentage hard_limIt calculated from the memory

;; setting (1 \<\> 300)

;domain_config_memtune_hard_limit_percent_memory = 75

;; If memtune soft_limit is used in the domains configuration file set

;; the specified percentage soft_limit calculated from the memory

;; setting (1 \<\> 300)

;domain_config_memtune_soft_limit_percent_memory = 50

;; If memtune swap_hard_limit is used in the domains configuration file
set

;; the specified percentage swap_hard_limit calculated from the memory

;; setting (1 \<\> 300)

;domain_config_memtune_swap_hard_limit_percent_memory = 50

;; If using experimental memtune enabling this will only set the
soft_limit

;; setting. domain_config_memtune_soft_limit_percent_memory will also be

;; used (true\|false)

;domain_config_soflimit_memtune_only = false

;; lvcreate (-i) stripes (default not set). Numeric value only

;lvcreate_stripes = 1

;; lvcreate (-I) stripesize (default not set). Numeric value
only(kilobytes)

;lvcreate_stripe_size = 512

;; lvcreate (-c) chunksize (default not set). Numeric value only
(kilobytes)

;lvcreate_chunk_size = 512

;; lvcreate (-aey) Use the -aey flag to activate logical volume
exclusively on the host node (true\|false)

;lvcreate_aey = false

;; If migrating virtual servers on shared storage using the don't move
data option this can

;; be run to give the logical volume the -aey flag on the destination

;lvchange_migrate_destination_exclusive = false

;; If migrating virtual servers on shared storage using the don't move
data option this can

;; be run to give the logical volume the -aln flag on the source

;lvchange_migrate_source_exclusive = false

;; Extended shutdown time. The amount of time to wait for a virtual
server to shutdown on top of

;; the default 60 seconds before a hard reset is performed

;extended_shutdown_time = 120

\[DHCPD\]

;; When writing the internal network configuration to dhcpd.conf don't
add the

;; gateway and nameserver variables

;config_simple_internal_network = false

\[BANDWIDTH_COUNTING\]

;; Offsets for ipv4 bandwidth counting. (- will divide\|+ will
multiply).

;; Format "IPADDRESS,INBOUND_OFFSET,OUTBOUND_OFFSET"

;;ipv4_count_offset\[\] = "123.123.123.5,-3,0"

;;ipv4_count_offset\[\] = "123.123.123.5,+2,-1"

;;ipv4_count_offset\[\] = "123.123.123.5,-3,0"

;; Offsets for ipv6 bandwidth counting. (- will divide\|+ will
multiply).

;; Format "IPADDRESS,INBOUND_OFFSET,OUTBOUND_OFFSET"

;;ipv6_count_offset\[\] = "fe80::227:eff:fe09:cb2,-3,0"

;;ipv6_count_offset\[\] = "fe80::227:eff:fe09:cb2,+2,-1"

;;ipv6_count_offset\[\] = "fe80::227:eff:fe09:cb2,-3,0"

\[OPENVZ\]

;;default_NUMPROC = "900:900"

;;default_NUMTCPSOCK = "1200:1200"

;;default_NUMOTHERSOCK = "1200:1200"

;;default_AVNUMPROC = "10000:10000"

Back to top