Skip to main content

RESIF DATA TRANSFER

A helper script to send data to RESIF datacentre and get transaction status back.

REQUIREMENTS

SYSTEM REQUIREMENTS

  • This program is validated for:

    • Python 3.6 ou 3.8
    • Redhat Enteprise Linux 6.x and above, 32 or 64 bits
    • Debian Linux, Lenny and above, 32 or 64 bits however, this should work under any modern Unix/Linux system
  • You also need a working 'rsync' command (version 3.0.6 and above). Check your rsync command by entering :

     $ rsync --version
    

    IMPORTANT NOTE : as of April 2016, we are considering an update of the minimal rsync version requirement. Meanwhile, it is recommended that in case of unpredictible transfer timeouts, the most recent version of rsync be installed.

  • A working GNU 'du' command. Most often, du is provided with GNU coreutils, version 8.4 or above is advised. Check your du command by entering:

    $ du --version
    
  • You need a working Python interpreter on your system (version 3 and above), with its full standard library. Check your python interpreter by entering:

     $ /usr/bin/env python --version
    
  • It is highly advised that your system time be synchronized (eg. using NTP)

NETWORK REQUIREMENTS

  • You need a working rsync connection to resif rsync server. You may check your IP connectivity is working using 'nc', eg:

    $ nc -z rsync.resif.fr 873
    

    should return :

     Connection to rsync.resif.fr 873 port [tcp/rsync] succeeded!
    

    If you don't have nc, you may use telnet, eg:

    $ telnet rsync.resif.fr 873
    

    should return:

     Trying xxx.xxx.xx.xx ...
     Connected to rsync.resif.fr.
     Escape character is '^]'.
     @RSYNCD: xx.yy
    

    If your IP connection to the remote rsync server does not work :

    • First, check with RESIF datacenter operator the remote server is up and running

    • Then, check with your IT team that you are allowed to reach port tcp/873 on rsync.resif.fr

AUTHENTICATION REQUIREMENTS

Before you begin transferring some data, RESIF datacenter operator must provide you with :

  • Your node name
  • Your node password (must be kept secret)

For each data type you will transfer, you must tell RESIF datacenter operator :

  • The address (FQDN) of the machine you will be performing the transfer from.
  • DNS aliases are known to cause problem while doing IP filtering. Take care to provide the real name of your machine, not an aliased name.

There can be only one transferring machine per data type. You may use a single machine for all data types.

INSTALLATION

Resif Data Transfer published on PyPI and can be installed from there:

 pip install ResifDataTransfer

Then, you should be able to execute :

$ ResifDataTransfer -h

CONFIGURATION

By default, configuration file will be searched in install directory, eg:

/usr/lib/python3.6/site-packages/resif_data_transfer/ResifDataTransfer.conf

You may want to use an alternate configuration path (see -c option).

A template configuration is provided in ResifDataTransfer.conf.dist, copy this file to create your own configuration file :

$ cd resif-data-transfer/
$ cp ResifDataTransfer.conf.dist ResifDataTransfer.conf

Edit according to your requirements.

For security reasons, configuration file must only be readable by file owner and group. On Unix/Linux system, you may set configuration file permissions as:

$ chmod 600 ResifDataTransfer.conf

or

$ chmod o-rwx ResifDataTransfer.conf

UPGRADES

todo For safety, backup your current installation directory.

Download the new tarball and move it to your current installation directory. E.g, if your installation is in /home/sysop/resif-data-transfer, move the tarball to /home/sysop. Then, extract :

$ tar xvf resif-data-transfer.tar.gz

This will replace your previous installation. Your configuration and log files will not be replaced.

AFTER UPGRADING

to do Run a test transfer (using -t) to check your configuration file. Run a logbook dump (using -l) to check your logbook.

BACKUPS

You should backup the following files:

  • Configuration file
  • General log file
  • Logbook file

You may want to rotate the general log file using a system tool such as 'logrotate'. You should never edit/alter loogbook contents by hand.

Metadata

Release files for ResifDataTransfer 0.7.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ResifDataTransfer 0.7.0
File Size Uploaded Provenance
resifdatatransfer-0.7.0.tar.gz 28.4 kB Without provenance Details

Release files / resifdatatransfer-0.7.0.tar.gz

Download URL resifdatatransfer-0.7.0.tar.gz
Size 28.4 kB
Tags Source
SHA-256 checksum
How to use checksums
caae0e42f017f7a31ad788e2079a8dc26714f4b04233feb3f9603a3e0f1f8f25
BLAKE2b-256 checksum
How to use checksums
dfb90c72e876a1389eed1c65b2ca22b71bab8ad9eacbc7169685d25a9360fb32
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.13.2

Security for ResifDataTransfer 0.7.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page