Create a Connector Group
- Last Updated: February 20, 2024
- 2 minute read
- Hybrid Data Pipeline
- Version 5.0
- Documentation
Purpose
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.
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 non-load balancer deployment, or the machine hosting the load balancer for a load balancer deployment. For a non-load balancer deployment, <port> is the port number specified as the Server Access Port during deployment. For a load balancer deployment, <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:
|
Sample Request Payload
{
"owner": "Rick",
"label": "Production",
"connectorGroup": {
"connectionTimeout": 15,
"retryDelay": 120,
"loadBalancing": "Round Robin",
"members": [
{
"memberID": "00000000-0000-0000-0011-000000000010",
"sequence": 1,
"weight": 60
},
{
"memberID": "00021111-0011-0011-0022-000000222200",
"sequence": 2,
"weight": 20
},
{
"memberID": "00031313-0011-0011-0033-000000333300",
"sequence": 3,
"weight": 20
}
]
},
"authUser": [
"Joe",
"Fred",
"Tom"
]
}
Response Definition
The response has the following format:
{
"connectorID": <"group-connector-id">,
"owner": <"owner-user-id">,
"label": <"label">
"connectorGroup": {
"connectionTimeout": 15,
"retryDelay": 120,
"loadBalancing": "Round Robin",
"members": [
{
"memberID": <"member-id">,
"sequence": 1,
"weight": 60
},
{
"memberID": <"member-id">,
"sequence": 2,
"weight": 20
},
{
"memberID": <"member-id">,
"sequence": 3,
"weight": 20
}
]
},
"authUser": [
<"authorized-user">,
<"authorized-user">,
<"authorized-user">
]
}
Sample Server Response
{
"connectorID": "12345678-90ab-cdef-ghij-klmnopqrstuv",
"owner": "Rick",
"label": "Production",
"connectorGroup": {
"connectionTimeout": 15,
"retryDelay": 120,
"loadBalancing": "Round Robin",
"members": [
{
"memberID": "00000000-0000-0000-0011-000000000010",
"sequence": 1,
"weight": 60
},
{
"memberID": "00021111-0011-0011-0022-000000222200",
"sequence": 2,
"weight": 20
},
{
"memberID": "00031313-0011-0011-0033-000000333300",
"sequence": 3,
"weight": 20
}
]
},
"authUser": [
"Joe",
"Fred",
"Tom"
]
}
Authentication
Basic Authentication using Login ID and Password.
Authorization
Any active Hybrid Data Pipeline user