此内容没有您所选择的语言版本。

Chapter 8. Uninstalling Containerized Red Hat Gluster Storage


This chapter outlines the details for uninstalling containerized Red Hat Gluster Storage.
Perform the following steps for uninstalling:
  1. Cleanup Red Hat Gluster Storage using Heketi

    1. Remove any containers using the persistent volume claim from Red Hat Gluster Storage.
    2. Remove the appropriate persistent volume claim and persistent volume:
      # oc delete pvc <pvc_name>
      # oc delete pv <pv_name>
  2. Remove all OpenShift objects

    1. Delete all project specific pods, services, routes, and deployment configurations:
      # oc delete deploymentconfig glusterfs-dc-<IP-ADDR/Hostname>
      
      # oc delete deploymentconfig heketi
      
      # oc delete service heketi heketi-storage-endpoints
      
      # oc delete route heketi
      
      # oc delete endpoints heketi-storage-endpoints
      Wait until all the pods have been terminated.
    2. Check and delete the gluster service and endpoints from the projects that required a persistent storage:
      # oc get endpoints,service
      
      # oc delete endpoints <glusterfs-endpoint-name>
      
      # oc delete service <glusterfs-service-name>
  3. Cleanup the persistent directories

    1. To cleanup the persistent directories execute the following command on each node as a root user:
      # rm -rf /var/lib/heketi \
         /etc/glusterfs \
         /var/lib/glusterd \
         /var/log/glusterfs
  4. Force cleanup the disks

    1. Execute the following command to cleanup the disks:
      # wipefs -a -f /dev/<disk-id>
Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.