snapmirror mediator add

Create mediator config entry

Availability: This command is available to cluster administrators at the admin privilege level.

Description

The snapmirror mediator add command configures the connection between a pair of clusters and an ONTAP Mediator. It is mandatory to initialize the ONTAP Mediator on one of the cluster peers before the SnapMirror Business Continuity (SMBC) relation with policy type automated-failover performs a planned or an unplanned failover. You can initialize the ONTAP Mediator from either cluster. When you issue the ONTAP Mediator add command on one cluster, the ONTAP Mediator is automatically added on the other cluster.

Parameters

-mediator-address <IP Address> - Mediator Ip Address
Specifies the IP address of the mediator.
-peer-cluster <text> - Peer cluster
Peer cluster with AutomatedFailOver SnapMirror relationships.
-username <text> - Username
User account at the mediator.
[-port-number <integer>] - Port Number
This optional parameter specifies the mediator service port number to communicate with the mediator. The port number must be in the range 1025 to 65535 inclusive. The default port number is 31784.

Examples

The following example configures the connection between a mediator and a pair of clusters.
	    clusA::> snapmirror mediator add -mediator-address 10.234.102.227 -peer-cluster clusB -username admin

	    Notice: Enter the mediator password.

	    Enter the password:
	    Enter the password again:

	    Info: [Job: 114] 'mediator add' job queued