Creates a group of On-Premises Connectors. The group can be used to support failover and load balancing across two or more On-Premises Connectors.
Note: An On-Premises Connector can be a member of only one Group. If you specify a ConnectorID that is a member of another group, the connectivity service returns an error, and the Connector is not added to the GroupConnector.
URL
https://<myserver>:<port>/api/mgmt/connectors
Method
POST
URL Parameters
<myserver> is the hostname or IP address of the machine hosting the Hybrid Data Pipeline server for a standalone installation, or the machine hosting the load balancer for a load balancer installation. For a standalone installation, <port> is the port number specified as the Server Access Port during installation. For a load balancer installation, <port> must be either 80 for http or 443 for https. Whenever port 80 or 443 are used, it is not necessary to include the port number in the URL.
Request Payload Parameters
Parameter
Description
Valid Values
connectorGroup
data type: Object
An object that contains a group of On-Premise connectors that can be used to support failover and load balancing across two or more On-Premises Connectors.
An object of type connector_group_object, with the following parameters:
connectionTimeout: The amount of time, in seconds, that the connectivity service waits for a connection to be established. Required.
retryDelay: indicates the number of seconds the connectivity service considers the connector disabled. Required.
loadBalancing: Specifies whether to enable load balancing. Optional.
members: Specifies the connector ID of each On-Premises Connector in the group, the sequence in which each On-Premises Connector will be tried, and the weight to be applied to the connector. Required.
This request creates a new group connector to be owned by the current user comprised of three member On-Premises Connectors. Each member connector must already be registered to the owner.
After sending in the payload successfully, the server response includes the above information and a newly generated ConnectorID for the On-Premise Connector Group . The user is also assigned as the owner of the Connector Group.
Note: The newly generated ConnectorID is also referred to as a Connector Group ID. You must specify this Connector Group ID in a data source to implement failover and load balancing.