Skip to main content

Datometry Documentation

Configure Hyper-Q for use with Azure Blob Storage

You configure Hyper-Q to upload log files to Azure storage using systemd timers and services. The systemd service lets you schedule tasks using dedicated units called timers.

Prerequisites

If you have not done so, create a az_blob_append.ini configuration file as described in Prepare a Log Uploader Configuration File.

Procedure

To schedule log file upload tasks with the systemd timers and services:

  1. Log into each Hyper-Q VM in the Azure workspace using SSH.

  2. Enable and start the systemd timer and service units.

    $ systemctl enable az_blob_append.timer 
    $ systemctl start az_blob_append.timer 
    $ systemctl enable az_blob_append 
    $ systemctl start az_blob_append 
  3. Ensure the timer has a trigger time using the systemctl status command.

    systemctl status az_blob_append.timer 
  4. Verify that the service is being triggered correctly.

    The systemctl status command should not return a value of more the 60s ago. In the example below the time value is 15s ago.

    systemctl status az_blob_append 
    Active: inactive (dead) since Fri 2021-02-26 22:16:51 UTC; 15s ago 
  5. To ensure that there are no configuration issues and that the log files are loading into Azure Blob storage, run the journalctl command to view the systemd logs.

     $ journalctl -u az_blob_append