cluster agent connection create
Create Cloud Agent connection
Availability: This command is available to cluster administrators at the advanced privilege level.
Description
Create a websocket connection to an external manager that will be used to monitor this cluster. The external manager will have access to REST APIs and CCMA counters based upon the privilege of the user creating the connection.
Parameters
-name <text>
- Name (privilege: advanced)-
Specify connection name.
-destination <text>
- Destination URL (privilege: advanced)-
Specify destination URL. For secure WebSocket, this should be amqpwss://<host[:port]>.
[-use-proxy {true|false}]
- Use Proxy (privilege: advanced)-
Establish this connection through the HTTP proxy server associated with this connection's IPspace.
[-subscribe-address <text>]
- Subscribe Address (privilege: advanced)-
AMQP address to which ONTAP will subscribe. Defaults to "ontap.agent.manager".
[-publish-address <text>]
- Publish Address (privilege: advanced)-
AMQP address to which ONTAP will publish. Defaults to "ontap.agent.cluster".
[-certificate-uuid <UUID>]
- Authentication Certificate UUID (privilege: advanced)-
Specify UUID of an existing certificate to use for authentication to the destination.
[-csr-url <text>]
- Authentication CSR URL (privilege: advanced)-
URL to send certicate signing request (CSR) that will be used for authenticating with the destination.
[-csr-token <text>]
- Authentication CSR Token (privilege: advanced)-
Token for authenticating with CSR URL. Not audited.
[-manager-token <text>]
- Manager Token (privilege: advanced)-
Specify token supplied by manager application to correlate the connection setup back to the workflow that initiated it.
[-ipspace <IPspace>]
- IPspace for Connection (privilege: advanced)-
The IPspace to use for the connection.
[-idle-timeout <integer>]
- Idle Timeout (in seconds) (privilege: advanced)-
AMQP idle timeout. Defaults to 0. If set, the local peer will disconnect if it does not receive AMQP frames within the timeout.
[-address-family {unknown|ipv4|ipv6}]
- Address Family (privilege: advanced)-
Specify address family.
[-auto-delete-error-minutes {<integer>|-}]
- Time to Auto-delete when disconnected (in minutes) (privilege: advanced)-
Specify time to live in minutes for cloud agent connection in error state. Connection will be deleted if it stays in error state beyond this time.
Examples
cluster-1::> cluster agent connection create -name cloud_agent -destination amqpwss://manager.example.com