Perform the following steps to install and configure a Mark6 as a recorder at the sites.
Buffer Size Configuration
The size of UDP buffers needs to be increased to avoid dropped packets.
Add the following values to /etc/sysctl.conf so they will be set at boot.
net.core.netdev_max_backlog=8192
net.core.rmem_default=33554432
net.core.rmem_max=201326592
net.ipv4.udp_mem=67108864 134217728 201326952
Reboot to enable.
To set values immediately: (sysctl.conf still needs to be edited to set values at boot)
sysctl -w net.core.netdev_max_backlog=8192
sysctl -w net.core.rmem_default=33554432
sysctl -w net.core.rmem_max=201326592
sysctl -w net.ipv4.udp_mem="67108864 134217728 201326952"
To check the values:
sysctl net.core.netdev_max_backlog
sysctl net.core.rmem_default
sysctl net.core.rmem_max
sysctl net.ipv4.udp_mem
Output should be:
[root@fd-mark6-1 ~]# sysctl net.core.netdev_max_backlog
net.core.netdev_max_backlog = 8192
[root@fd-mark6-1 ~]# sysctl net.core.rmem_default
net.core.rmem_default = 33554432
[root@fd-mark6-1 ~]# sysctl net.core.rmem_max
net.core.rmem_max = 201326592
[root@fd-mark6-1 ~]# sysctl net.ipv4.udp_mem
net.ipv4.udp_mem = 67108864 134217728 201326952
Install jive5ab
jive5ab is built from source. Instructions for building can be found at:
https://github.com/jive-vlbi/jive5ab
The build can be done on a machine that has the same OS version as the site Mark6 that is being set up.
The build is done in a separate build directory from the source directory. Copy the jive5ab build binary (file will look something like 'jive5ab-3.1.0-64bit-Debug') to /usr/bin on the Mark6.
From the jive5ab source working copy, copy the file jive5ab/scripts/m5copy to /usr/bin.
Configuring systemd to start jive5ab