Gluster Web Administration Cleanup Steps
Environment
- Red Hat Gluster Storage 3.X
Issue
- How to cleanup Gluster Web Administration setup after import failure ?
Resolution
- Cleaning tendrl web administration includes stopping services and removing databases on
tendrl serverandRedhat Gluster Storagenodes.
On Redhat Gluster Storage nodes :
- Stop tendrl service
systemctl stop tendrl-node-agent
- Stop collectd service
systemctl stop collectd
On tendrl server node :
- Stop tendrl-node-agent service
systemctl stop tendrl-node-agent
- Stop etcd service
systemctl stop etcd
- Stop grafana-server service
systemctl stop grafana-server
- Stop carbon-cache service
systemctl stop carbon-cache
- Stop httpd service
systemctl stop httpd
/var/lib/etcd/default.etcdmay contain some stale entries . Deleting the file will clean the database of etcd , and after running site.yml , it will be created again.- It is recommended to take backup of
/var/lib/etcd/default.etcdbefore removing it .
rm -rf /var/lib/etcd/default.etcd
- In a similar way take a backup and remove
grafana.dbandtendrldirectory
rm -rf /var/lib/grafana/grafana.db
rm -rf /var/lib/carbon/whisper/tendrl/
- After cleaning all files , to reinstall Gluster Web Administration , Run the tendrl-ansible's site.yml
Root Cause
- Gluster web administration's
import clusterfailed.
Diagnostic Steps
- Check the errors during cluster import
SBR
Product(s)
Components
Category
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.