Chapter 4. Unmanaging Cluster


The following are the reasons to unmanage a cluster:

  1. Import cluster fails
  2. Removal of a cluster that is no longer under management and used for monitoring
  3. A way to remove orphaned cluster entries

Unmanage a cluster from Web Administration

To unmanage a cluster:

  1. Log in to the Web Administration interface and select the All Clusters view from drop-down.
  2. Locate the cluster from the list of imported clusters. At the far right of the cluster row, click the vertical ellipsis and then click Unmanage.

    unmanage cluster2
  3. A confirmation box appears. Click Unmanage to proceed.

    unmanage cluster3
  4. The unmanage cluster task is submitted. To view the task progress, click View Task Progress.

    unmanage cluster final
  5. The status shows Completed after the unmanage task is successfully completed.
unmanage cluster 5
Note

After a cluster is unmanaged, it will not reappear immediately for reimport in the Web Administration environment. When the cluster is unmanaged, the tendrl-node-agent service undergoes synchronization with the nodes in the cluster. Based on the number of nodes in the cluster, expect a delay ranging from 60 seconds to a few minutes for the unmanaged cluster to reappear in the Web Administration environment.

4.1. Graphite and Carbon Data Archival

Graphite and Carbon Data Archival

When the cluster unmanage process is initiated, a concurrent process of cluster metrics data archival also begins. Once the cluster unmanage operation is successfully concluded, the Graphite and Carbon metrics data is archived to the following path on the Web Administration server:

/var/lib/carbon/whisper/tendrl/archive/clusters

The size of the archived data will depend on the size of the cluster that is unmanaged. You can either store the archived data or delete it to free some disk space.

4.2. Graphite Database Metrics Retention

The Graphite web service is a repository of telemetry data collected using collectd.

Changing metrics retention period

By default, Graphite retains the cluster metrics for a period of 180 days. To change the default metrics retention period for a given cluster, follow these steps:

  1. Unmanage the cluster by following the Unmanage Cluster procedure outlined in the Red Hat Gluster Storage Web Administration Monitoring Guide.
  2. After the cluster is unmanaged, stop the carbon-cache service on the Web Administration server:

    # systemctl stop carbon-cache
  3. Access the storage-schemas.conf file at:

    /etc/tendrl/monitoring-integration/storage-schemas.conf
  4. Change the retention period in the retentions parameter under [tendrl] section and save the changes.

    Example:

    If you want to change the retention value to 90 days, set the value in the retentions parameter:

    [tendrl]
    pattern = ^tendrl\.
    retentions = 60s:90d

    Where:

    retentions = Each datapoint represents 60 seconds, and we want to keep enough datapoints so that they add up to 90 days of data.

  5. Start the carbon-cache service on the Web Administration server:

    # systemctl start carbon-cache
  6. Import the cluster again. For instructions, see the Import Cluster chapter in the Red Hat Gluster Storage Web Administration Monitoring Guide.
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.