Utilisation / Aide

L'exécution de server sans argument renverra une brève information d'utilisation :

# 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

Pour obtenir une liste des actions valides, utilisez l' aide à argument unique :

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

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

Pour obtenir de l'aide pour une action spécifique, utilisez deux arguments : help

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

        # to initialize replication
        # to be called from primary system