SQL Statements for Controlling Replica Servers Arguments: Return value: A string containing the result of the operation, for example whether it was successful or not. Example: For more information, see Section 17.4.9, “Switching Sources with Asynchronous Connection Failover” . Add configuration information for a replication source server that is part of a managed group (a Group Replication group member) to the source list for a replication channel. You only need to add one group member. The replica automatically adds the rest from the current group membership, then keeps the source list updated in line with membership change. Arguments: 2783 • channel : The replication channel for which this replication source server is part of the source list. • managed_type : The type of managed service that the asynchronous connection failover mechanism must provide for this server. The only value currently accepted is  GroupReplication . • host : The host name for this replication source server. • port : The port number for this replication source server. • network_namespace : The network namespace for this replication source server. Specify an empty string, as this parameter is reserved for future use. • primary_weight : The priority of this replication source server in the replication channel’s source list when it is acting as the primary for the managed group. The weight is from 1 to 100, with 100 being the highest. For the primary, 80 is a suitable weight. The asynchronous connection failover • asynchronous_connection_failover_add_managed() • channel : The replication channel for which this replication source server was part of the source list. • host : The host name for this replication source server. • port : The port number for this replication source server. • network_namespace : The network namespace for this replication source server. Specify an empty string, as this parameter is reserved for future use. SELECT asynchronous_connection_failover_delete_source(’channel2’, ’127.0.0.1’, 3310, ’’); +------------------------------------------------------------------------------------------------+ | asynchronous_connection_failover_delete_source(’channel2’, ’127.0.0.1’, 3310, ’’) | +------------------------------------------------------------------------------------------------+ | Source configuration details successfully deleted. | +------------------------------------------------------------------------------------------------+ asynchronous_connection_failover_add_managed( channel ,  managed_type ,  managed_name ,  host ,  port ,  Syntax: For the  GroupReplication  managed service, the identifier is the value of the group_replication_group_name  system variable. • managed_name : The identifier for the managed group that the server is a part of.