beautypg.com

Guralp Systems CMG-DCM build <10,000 User Manual

Page 58

background image

Acquisition Modules and Platinum Firmware

Platinum Firmware Upgrades

You will also need to choose a module name for the server. This can be any
descriptive string but, for simplicity, it is best to stick to numbers, lower-case

letters and hyphens (-). The name platinum­local­mirror has been used
in the following example and should be replaced with the module name you

have chosen.

Create the file /etc/rsyncd.conf with the following contents:

port = 61616
[platinum-local-mirror]
path = /path/to/your/local/mirror/directory
comment = GSL-EAM firmware
numeric ids = yes
log file = /path/to/writeable/log/file
timeout = 600
hosts allow = *

Consult the manual page for rsyncd.conf(5) for details of further options
that you can use in this file, including optional security improvements. This

is available on-line at

http://man-wiki.net/index.php/5:rsyncd.conf

.

Once the /etc/rsyncd.conf file is ready, you can start the rsync server

with the command

sudo rsync --daemon

If you want to run the rsync server permanently, it is possible to start it via

inetd, xinetd or an rc script. Consult the manual page for rsyncd.conf(5)
for further details.

5.3.2.3 Configuring the upgrade system to use the new server

The standard upgrade source must be over-ridden: on each system to be

upgraded. Create the file /etc/conf.d/upgrade.local with the following
contents:

RSYNC_HOST="address.of.my.server”
RSYNC_PORT="61616"
RSYNC_MODULE="platinum-local-mirror"

replacing:

address.of.my.server with the DNS name or IP address of the

mirror server;

61616 with the port number you chose earlier; and

platinum­local­mirror with the module name you chose earlier;

Note the quotation marks around the variables.

The acquisition devices can now be updated from the mirror by following the
instructions in section 5.4 on page 61. Note that the configuration files

MAN-EAM-0003

58

Issue E - February 2014

This manual is related to the following products: