replicationpeer create

Prev Next

This command creates a replication peer.

Usage

replicationpeer create --name NAME
                       --remote-leading-vip REMOTE_LEADING_VIP
                       --local-vip-pool-id LOCAL_VIP_POOL_ID
                       --secure-mode NONE|SECURE
                       [--mss MSS]
[

Required Parameters

--name NAME

Specifies the name of the replication peer.

--remote_leading-vip REMOTE_LEADING_VIP

Specifies any one of the VIPs in the remote peer's replication VIP Pool to use as the remote leading VIP. The remote leading VIP is used to establish an initial connection between the peers. Once the connection is established, the peers share their external network topology and form multiple connections between the VIPs. Managing Virtual IP Pools

--local-vip-pool-id LOCAL_VIP_POOL_ID

Specifies the ID of the replication VIP pool on the local cluster.

To create the replication VIP pool, use vippool create and specify --role REPLICATION.vippool create

--secure-mode NONE|SECURE

Set the secure mode for the replication peer configuration:

  • SECURE. Replication to this peer will be encrypted over the wire with mTLS.

    Secure mode requires a certificate, key and root certificate to be uploaded to VMS for mTLS encryption. Encrypting Replication with mTLS

  • NONE. Replication to this peer will not be encrypted over the wire.

Caution

This setting cannot be changed after creating the replication peer.

Options

--mss MSS

Maximum segment size (MSS), in bytes, that the peer can receive in a single TCP segment.

Example

vcli: admin> replicationpeer create --name vastnativebackup --remote-leading-vip 198.51.100.200 --local-vip-pool-id 3