Endpoints for working with connection management
With the connection management API service you can create, update, delete, and get information about data source connection entries in the connection table.
A data source connection contains the following attributes:
- name
- Indicates the name of the connection.
- type
- Indicates the type of the connection.
- cluster
- Indicates the cluster in which the data source is located.
- datasource
- Indicates the file system or vault in which the data is stored.
- site
- Indicates the location in which the cluster is maintained.
Note: To determine cluster and data source values for a connection in an IBM Spectrum Scale
cluster, follow these steps:
- Open a console on a node in the IBM Spectrum Scale cluster.
- Run the following command to get information about the
cluster:
The command output displays information about the cluster similar to the following example:/usr/lpp/mmfs/bin/mmlscluster
GPFS cluster information ======================== GPFS cluster name: modevvm19.metro.labs.cpr.com GPFS cluster id: 7146749509622277333 GPFS UID domain: modevvm19.metro.labs.cpr.com Remote shell command: /usr/bin/ssh Remote file copy command: /usr/bin/scp Repository type: CCR Node Daemon node name IP address Admin node name Designation --------------------------------------------------------------------------------------------- 1 modevvm19.metro.labs.cpr.com 9.11.201.74 modevvm19.metro.labs.cpr.com quorum-manager
- Make a note of the IBM
Spectrum Scale cluster name, which in the preceding example is
modevvm19.metro.labs.cpr.com
. Use this value as thecluster
attribute for the connection. - Run the following command to get information about all the mounted file systems in the
cluster:
The command output displays information about mounted file systems as in the following example:/usr/lpp/mmfs/bin/mmlsmount all
File system gpfs0 is mounted on 1 nodes.
- Make a note of the name of the file system that you want to create a connection for. For
example, in the preceding example only one file system is mounted and its name is
gpfs0
. Use this value as thedatasource
attribute for the connection.