GridGain agent
Target GridGain
Prerequisites
To have Gluesync working on your GridGain instance you will need to have:
-
Valid user credentials with permission to read, and write to the target caches and respective cluster;
-
SSL certificate in case of a secure connection;
-
GridGain cluster running and accessible;
Setup via Web UI
-
Hostname / IP Address: DNS record or IP Address of your GridGain cluster node;
-
Port: Optional, defaults to
10800
for thin client connections; -
Cluster name: Name of your target GridGain cluster;
-
Username: Username with read/write permissions to cluster caches;
-
Password: Password belonging to the given username.
Setup via Rest APIs
Here following an example of calling the Core Hub’s Rest API via curl to setup the connection for this Agent.
Connect the agent
curl --location --request PUT 'http://core-hub-ip-address:1717/pipelines/{pipelineId}/agents/{agentId}/config/credentials' \
--header 'Content-Type: application/json' \
--header 'Authorization: ••••••' \
--data '{
"hostCredentials": {
"connectionName": "myAgentNickName",
"host": "host-address",
"port": 10800,
"databaseName": "db_name",
"username": "",
"password": "",
"maxConnectionsCount": 100,
"enableTls": true,
"disableAuth": true
}
"customHostCredentials": {
"isThin": true
}
}'