Configuring cluster logging to use Fusion Data Foundation
Configure Fusion Data Foundation as storage for the Fusion Data Foundation cluster logging.
About this task
Note: You can obtain all the logs when you configure logging for the first time in Fusion Data Foundation. However, after you uninstall and reinstall
logging, the old logs are removed and only the new logs are processed.
Before you begin
- You have administrative access to OpenShift Web Console.
- Fusion Data Foundation Operator is installed and running in
the
openshift-storage
namespace. - Cluster logging Operator is installed and running in the
openshift-logging
namespace.
Procedure
What to do next
- Verify that the Persistent Volume Claims are bound to the
elasticsearch
pods.- Go to .
- Set the Project dropdown to openshift-logging.
- Verify that Persistent Volume Claims are visible with a state of Bound,
attached to
elasticsearch-
* pods.
- Verify that the new cluster logging is being used.
- Click .
- Set the Project to
openshift-logging
. - Verify that the new
elasticsearch-
* pods appear with a state of Running. - Click the new
elasticsearch-
* pod to view pod details. - From Volumes verify that the
elasticsearch
volume has a Type that matches your new Persistent Volume Claim. For example,elasticsearch-elasticsearch-cdm-9r624biv-3
. - Click the Persistent Volume Claim name and verify the storage class name in the PersistentVolumeClaim Overview page.
Note:
- Make sure to use a shorter curator time to avoid PV full scenario on PVs attached to
Elasticsearch pods.You can configure Curator to delete Elasticsearch data based on retention settings. It is recommended that you set the following default index data retention of 5 days as a default.
For more information about Elasticsearch, see Logging within the Red Hat OpenShift Container Platform product documentation.config.yaml: | openshift-storage: delete: days: 5
- To uninstall the cluster logging backed by Persistent Volume Claim, use the procedure removing the cluster logging operator from Fusion Data Foundation in the uninstall chapter of the respective deployment guide.