create replication <volName> remote=<server:volName> type=async|async-safe|sync|snapshot [controller=<eth-interface>] [syncrate=<rate-percent>] [options=<repliOptions>] delete replication <volName> bind replication [volName] unbind replication [volName] set replication <volName> interval=<none|frequent|hourly|daily|monthly> [period=integer] [keep=integer] [offset=integer] set replication <volName> [groupTag=string] show replication [<volName>|<snapName>] |
mayacli create replication sql_vol remote=server2:sql_vol_mirror type=sync controller=eth1 syncrate=50 mayacli create replication sql_vol remote=mayanas-ha2:testvol3 type=snapshot mayacli show replication mayacli set replication interval=daily period=3 keep=8 |
[root@mayanas-ha1 ~]# mayacli show replica VOLUME REMOTE TYPE SIZE STATUS testvol1 -> mayanas-ha2:testvol1 snapshot 50.00G initial testvol3 -> mayanas-ha2:testvol3 sync 10.00G uptodate Thu Sep 6 23:39:44 2018 |