### Example Rule for Specific Qtree Source: https://docs.netapp.com/us-en/active-iq-unified-manager/storage-mgmt/reference_rules_to_generate_user_and_group_quota.html This rule specifies a dedicated email address for 'qtree1' quota breaches. It demonstrates a specific condition followed by a general rule. ```text if ( $QTREE == 'qtree1' ) then qtree1@xyz.com if ( $QTREE == * ) then admin@xyz.com ``` -------------------------------- ### Run Pre-installation Check Script Source: https://docs.netapp.com/us-en/active-iq-unified-manager/install-linux/qsg-linux.html Execute the pre-installation check script to verify the operating system's repository configuration. ```bash # sudo ./pre_install_check.sh ``` -------------------------------- ### Get Clusters Source: https://docs.netapp.com/us-en/active-iq-unified-manager/api-automation/concept_rest_api_access_and_authentication_in_um_apis.html This example demonstrates how to retrieve a list of clusters accessible via the REST API. ```APIDOC ## GET /api/v2/datacenter/cluster/clusters ### Description Retrieves a list of all clusters managed by Active IQ Unified Manager. ### Method GET ### Endpoint https://:/api/v2/datacenter/cluster/clusters ### Parameters #### Query Parameters None #### Request Body None ### Response #### Success Response (200) Returns a JSON object containing a list of cluster records. - **records** (array) - An array of cluster objects. - **key** (string) - The unique identifier for the cluster. - **name** (string) - The name of the cluster. - **uuid** (string) - The UUID of the cluster. - **contact** (string/null) - Contact information for the cluster. - **location** (string/null) - Location of the cluster. - **version** (object) - Information about the cluster's ONTAP version. - **full** (string) - The full version string. - **generation** (integer) - The major version generation. - **major** (integer) - The major version number. - **minor** (integer) - The minor version number. - **isSanOptimized** (boolean) - Indicates if the cluster is SAN optimized. - **management_ip** (string) - The management IP address of the cluster. - **nodes** (array) - An array of node objects within the cluster. - **key** (string) - The unique identifier for the node. - **uuid** (string) - The UUID of the node. - **name** (string) - The name of the node. - **_links** (object) - Links to related resources. - **self** (object) - Link to the node resource. - **href** (string) - The URL for the node resource. - **location** (string/null) - Location of the node. - **version** (object) - Information about the node's ONTAP version. - **model** (string) - The model of the node. - **uptime** (integer) - The uptime of the node in seconds. - **serial_number** (string) - The serial number of the node. - **_links** (object) - Links to related resources. - **self** (object) - Link to the cluster resource. - **href** (string) - The URL for the cluster resource. #### Response Example ```json { "records": [ { "key": "4c6bf721-2e3f-11e9-a3e2-00a0985badbb:type=cluster,uuid=4c6bf721-2e3f-11e9-a3e2-00a0985badbb", "name": "fas8040-206-21", "uuid": "4c6bf721-2e3f-11e9-a3e2-00a0985badbb", "contact": null, "location": null, "version": { "full": "NetApp Release Dayblazer__9.5.0: Thu Jan 17 10:28:33 UTC 2019", "generation": 9, "major": 5, "minor": 0 }, "isSanOptimized": false, "management_ip": "10.226.207.25", "nodes": [ { "key": "4c6bf721-2e3f-11e9-a3e2-00a0985badbb:type=cluster_node,uuid=12cf06cc-2e3a-11e9-b9b4-00a0985badbb", "uuid": "12cf06cc-2e3a-11e9-b9b4-00a0985badbb", "name": "fas8040-206-21-01", "_links": { "self": { "href": "/api/datacenter/cluster/nodes/4c6bf721-2e3f-11e9-a3e2-00a0985badbb:type=cluster_node,uuid=12cf06cc-2e3a-11e9-b9b4-00a0985badbb" } }, "location": null, "version": { "full": "NetApp Release Dayblazer__9.5.0: Thu Jan 17 10:28:33 UTC 2019", "generation": 9, "major": 5, "minor": 0 }, "model": "FAS8040", "uptime": 13924095, "serial_number": "701424000157" }, { "key": "4c6bf721-2e3f-11e9-a3e2-00a0985badbb:type=cluster_node,uuid=1ed606ed-2e3a-11e9-a270-00a0985bb9b7", "uuid": "1ed606ed-2e3a-11e9-a270-00a0985bb9b7", "name": "fas8040-206-21-02", "_links": { "self": { "href": "/api/datacenter/cluster/nodes/4c6bf721-2e3f-11e9-a3e2-00a0985badbb:type=cluster_node,uuid=1ed606ed-2e3a-11e9-a270-00a0985bb9b7" } }, "location": null, "version": { "full": "NetApp Release Dayblazer__9.5.0: Thu Jan 17 10:28:33 UTC 2019", "generation": 9, "major": 5, "minor": 0 }, "model": "FAS8040", "uptime": 14012386, "serial_number": "701424000564" } ], "_links": { "self": { "href": "/api/datacenter/cluster/clusters/4c6bf721-2e3f-11e9-a3e2-00a0985badbb:type=cluster,uuid=4c6bf721-2e3f-11e9-a3e2-00a0985badbb" } } } ] } ``` ```