System
The Configuration reference section provides the full configuration reference and the sections following after provide examples and important notes regarding the system configuration.
Configuration reference
Anapaya appliance configuration (system only)
system object
The necessary configuration data for the system of the Anapaya appliance.
dns object
Anapaya appliance DNS configuration.
servers object[]
List of DNS servers.
IP address of a DNS server.
kernel object
Anapaya appliance Linux kernel configuration.
Size of hugepages the kernel should allocate at boot time.
2MNumber of hugepages the kernel should allocate at boot time. If not set, a sensible default is used based on the available memory.
Whether the IOMMU subsystem in the Linux kernel is enabled. IOMMU should be enabled on systems that support it for better performance. Note: After changing this option the appliance needs to be rebooted.
falsentp object
Anapaya appliance NTP configuration.
Maximum acceptable root distance, i.e. the maximum estimated time required for a packet to travel to the server we are connected to from the server with the reference clock. If the current server does not satisfy this limit, the appliance will switch to a different server.
5s1sservers object[]
List of NTP servers.
Address of a NTP server. This may be expressed as an IP address or a FQDN.
resources object
Anapaya appliance system resources configuration.
core_dump object
Configuration for core dumps.
The number of core dumps to keep. The appliance periodically deletes the least recent core dumps until this number is met.
3service_limits object[]
Configuration for per service resource limits.
The CPU limit in number of fractional CPU cores that can be used by the service. If not specified, a sensible default is chosen by the system. If set to 0, the service is not limited in terms of CPU usage.
1.5The memory limit in bytes that can be used by the service. The limit can
be specified using a string of the format
2.5GName of the service.
Possible values: [CA_FRONTEND, CONTROL, CRON, DAEMON, DATAPLANE, DATAPLANE_CONTROL, DISPATCHER, FRR, FRR_EXPORTER, GATEWAY, MOLE, NODE_EXPORTER, PROMTAIL, ROUTER, TELEMETRY, SHUTTLE, SHUTTLE_SERVER]
vpp object
Anapaya appliance VPP configuration.
buffers object
Buffers configuration.
The size of VPP internal buffers, in bytes.
9000The number of VPP internal buffers. If set to 0, a 3/4 of the available hugepages are used for buffers.
0connection object
Connection configuration.
health_check object
Health check configuration.
The interval in which a health check probe is sent to the VPP dataplane. It requires a unit suffix out of ['d', 'h', 'm', 's', 'ms', 'us', 'ns']. The encoding consists of a decimal number concatenated with a suffix; for example, '5us', '10m', '12h', and '1d'.
1s1sThe time in which VPP control services expect a reply from the VPP dataplane. It requires a unit suffix out of ['d', 'h', 'm', 's', 'ms', 'us', 'ns']. The encoding consists of a decimal number concatenated with a suffix; for example, '5us', '10m', '12h', and '1d'.
250ms250msThe number of health checks, from VPP control services to the VPP dataplane, that are allowed to time out before the connection is considered dead.
2020The number of connect attempts on start from VPP control services to the VPP dataplane.
1010The interval at which a connection is attempted on start from VPP control services to the VPP dataplane. It requires a unit suffix out of ['d', 'h', 'm', 's', 'ms', 'us', 'ns']. The encoding consists of a decimal number concatenated with a suffix; for example, '5us', '10m', '12h', and '1d'.
1s1scpu object
CPU configuration.
The list of CPU cores to be used by the workers. The cores are pinned to the workers in the order they are listed. The format for the list is A,B1-Bn,C1-Cn. This setting is mutually exclusive with workers and the list must not contain the main-core.
2-3,5The logical CPU core where main thread runs.
1The number of workers to be created for VPP. The workers are pinned to consecutive CPU cores. If set to 0, packet processing is performed by the main-core
The fixed-sleep between main loop polls in the VPP dataplane. It requires a unit suffix out of ['d', 'h', 'm', 's', 'ms', 'us', 'ns']. The encoding consists of a decimal number concatenated with a suffix; for example, '5us', '10m', '12h', and '1d'. Setting it to 0 disables the fixed-sleep.
0sstatseg object
Statseg configuration.
The size of the statseg segment. This can be specified in bytes with a suffix of kilo 'K', mega 'M', or giga 'G'. WARNING: Changing this value causes the dataplane to restart and therefore interrupts traffic.
32M100Mtun object
TUN configuration.
The MTU (Maximum Transmission Unit) to be used on this TUN.
15001500The list of prefixes to route from VPP to Linux.
["192.168.1.0/24"]Operating system
Use the following command to find out if the appliance host supports IOMMU:
find /sys | grep dmar
It should report a non-empty list of devices.
Managing system resources
Vector Packet Processor (VPP)
Modify these values only if you know the consequences. In case you have any questions, reach out to customer-support@anapaya.net.