System Garden

Habitat 2.0 Alpha User Manual

Contents

  1. Introduction
  2. Data Sources
  3. Displaying Data
  4. Customisation and Preferences
  5. The Collection Agent: Clockwork
  6. Command Line Utilities
  7. Data Formats
  8. Upload, Download and Replication
    with System Garden

Manual Pages

habrep

NAME

habrep - Replicate data between Habitat and System Garden's repository  

SYNTAX

habrep  

DESCRIPTION

Replicates data from the running public instance of clockwork on the local machine with System Garden's repository.

This shell script is equivalent to a replication command in Clockwork's job table, but rather than waiting for its scheduled time, replication will start at once. The job line (starting with method) is

replicate replicate.in replicate.out "grs:%v/%h.grs,rstate,0"

The replicate method is run with the inbound replication contained in the 'replicate.in' configuration value, outbound replication driven from the 'replicate.out' configuration value. State is recoded in the GRS driven ringstore $HAB/var/<hostname>.grs,rstate,0.

As data is protected by sequences, habrep can be run any number of times without duplicates and corruption. Thus, the scheduled replication in the job table will be unaffected and its time does not need to change.

Replication is the process of sending new data from local rings to a repository and the same for remote to local. The state is recorded in a table in the central instance's ringstore.  

FILES

$HAB/var/<hostname>.grs  

EXAMPLES

Typing the following:-

habrep

will result in the following if successful

Replicating to repository now...

or the folowing on a failure

habrep: replication failed  

AUTHORS

Nigel Stuckey <[email protected]>  

SEE ALSO

clockwork(8), killclock(8), statclock(8), habedit(8), habconf(5), myhabitat(1), habget(1), habput(1), habrs(1), habprobe(1), habmeth(1)


 

Index

NAME
SYNTAX
DESCRIPTION
FILES
EXAMPLES
AUTHORS
SEE ALSO