Usage / Help

Running eranger-server-replication.pl without an argument will return a short usage information:

# eranger-server-replication.pl

Usage:
/opt/eranger/bin/eranger-server-replication.pl [-qvfi] [-c /path/to/config] action [arg..]
        -i # no pre/post scripts on remote side if down
        -v # be verbose
        -q # be quiet
        -f # force - do not ask for confirmation, ignore md5 errors
        -c /etc/opt/eranger/eranger-replication.cfg
        action is one of:
                createstandby
                switch
                status
                stopstandby
                startstandby
                help

To get a list of valid actions use the single argument help:

# eranger-server-replication.pl help
6  commands:
        createstandby
        switch
        status
        stopstandby
        startstandby
        help

Use 'eranger-server-replication.pl help <command>' for more help

To get help for a specific action, use two arguments:  help <action>

# eranger-server-replication.pl help createstandby
Usage:
        /opt/eranger/bin/eranger-server-replication.pl createstandby

        # to initialize replication
        # to be called from primary system