Este contenido no está disponible en el idioma seleccionado.

22.4. Enabling Management Encryption


Red Hat recommends enabling both management and I/O encryption, but if you only want to use I/O encryption, you can skip this section and continue with Section 22.3.1, “Enabling I/O Encryption”.

Prerequisites

  • Enabling management encryption requires that storage servers are offline. Schedule an outage window for volumes, applications, clients, and other end users before beginning this process. Be aware that features such as snapshots and geo-replication may also be affected by this outage.

Procedure 22.7. Enabling management encryption

  1. Prepare to enable encryption

    1. Unmount all volumes from all clients

      Run the following command on each client, for each volume mounted on that client.
      # umount mount-point
      Copy to Clipboard Toggle word wrap
    2. Stop NFS Ganesha or SMB services, if used

      Run the following command on any gluster server to disable NFS-Ganesha.
      # systemctl stop nfs-ganesha
      Copy to Clipboard Toggle word wrap
      Run the following command on any gluster server to stop SMB.
      # systemctl stop ctdb
      Copy to Clipboard Toggle word wrap
    3. Unmount shared storage, if used

      Run the following command on all servers to unmount shared storage.
      # umount /var/run/gluster/shared_storage
      Copy to Clipboard Toggle word wrap

      Important

      Features that require shared storage, such as snapshots and geo-replication, may not work until after this process is complete.
    4. Stop all volumes

      Run the following command on any server to stop all volumes, including the shared storage volume.
      # for vol in `gluster volume list`; do gluster --mode=script volume stop $vol; sleep 2s; done
      Copy to Clipboard Toggle word wrap
    5. Stop gluster services on all servers

      For Red Hat Enterprise Linux 7 based installations:
      # systemctl stop glusterd
      # pkill glusterfs
      Copy to Clipboard Toggle word wrap
      For Red Hat Enterprise Linux 6 based installations:
      # service glusterd stop
      # pkill glusterfs
      Copy to Clipboard Toggle word wrap

      Important

      Bug 1635071 may cause glusterd to crash during shutdown, but there is no functionality impact to this crash. See Resolving glusterd crash for details.
  2. Create and edit the secure-access file on all servers and clients

    Create a new /var/lib/glusterd/secure-access file. This file can be empty if you are using the default settings.
    # touch /var/lib/glusterd/secure-access
    Copy to Clipboard Toggle word wrap
    Your Certificate Authority may require changes to the SSL certificate depth setting, transport.socket.ssl-cert-depth, in order to work correctly. To edit this setting, add the following line to the secure-access file, replacing n with the certificate depth required by your Certificate Authority.
    echo "option transport.socket.ssl-cert-depth n" > /var/lib/glusterd/secure-access
    Copy to Clipboard Toggle word wrap
  3. Clean up after configuring management encryption

    1. Start the glusterd service on all servers

      For Red Hat Enterprise Linux 7 based installations:
      # systemctl start glusterd
      Copy to Clipboard Toggle word wrap
      For Red Hat Enterprise Linux 6 based installations:
      # service glusterd start
      Copy to Clipboard Toggle word wrap
    2. Start all volumes

      Run the following command on any host to start all volumes including shared storage.
      # for vol in `gluster volume list`; do gluster --mode=script volume start $vol; sleep 2s; done
      Copy to Clipboard Toggle word wrap
    3. Mount shared storage, if used

      Run the following command on all servers to mount shared storage.
      # mount -t glusterfs hostname:/gluster_shared_storage /run/gluster/shared_storage
      Copy to Clipboard Toggle word wrap
    4. Restart NFS Ganesha or SMB services, if used

      Run the following command on any gluster server to start NFS-Ganesha.
      # systemctl start nfs-ganesha
      Copy to Clipboard Toggle word wrap
      Run the following command on any gluster server to start SMB.
      # systemctl start ctdb
      Copy to Clipboard Toggle word wrap
    5. Mount volumes on clients

      The process for mounting a volume depends on the protocol your client is using. The following command mounts a volume using the native FUSE protocol.
      # mount -t glusterfs server1:/testvolume /mnt/glusterfs
      Copy to Clipboard Toggle word wrap
Volver arriba
Red Hat logoGithubredditYoutubeTwitter

Aprender

Pruebe, compre y venda

Comunidades

Acerca de la documentación de Red Hat

Ayudamos a los usuarios de Red Hat a innovar y alcanzar sus objetivos con nuestros productos y servicios con contenido en el que pueden confiar. Explore nuestras recientes actualizaciones.

Hacer que el código abierto sea más inclusivo

Red Hat se compromete a reemplazar el lenguaje problemático en nuestro código, documentación y propiedades web. Para más detalles, consulte el Blog de Red Hat.

Acerca de Red Hat

Ofrecemos soluciones reforzadas que facilitan a las empresas trabajar en plataformas y entornos, desde el centro de datos central hasta el perímetro de la red.

Theme

© 2025 Red Hat