Red Hat Training

A Red Hat training course is available for Red Hat Gluster Storage

2.5. Installing from Red Hat Satellite Server

Ensure that the firewall settings are configured so that the required ports are open. For a list of port numbers, see Section 1.4, “Port Information”.

2.5.1. Using Red Hat Satellite Server 6.x

Note

For detailed steps for Satellite, see Red Hat Satellite documentation.
  1. Create a new manifest file and upload the manifest in the Satellite 6 server.
  2. Search for the required Red Hat Gluster Storage repositories and enable them.
  3. Synchronize all repositories enabled for Red Hat Gluster Storage.
  4. Create a new content view and add all the required products.
  5. Publish the content view and create an activation key.
  6. Register the required clients
    # rpm -Uvh satellite-server-host-address/pub/katello-ca-consumer-latest.noarch.rpm
    # subscription-manager register --org=”Organization_Name” --activationkey=”Activation_Key
  7. Identify available entitlement pools
    # subscription-manager list --available
  8. Attach entitlement pools to the system
    # subscription-manager attach --pool=Pool_ID
  9. Subscribe to required channels
    1. Enable the RHEL and Gluster channel
      # subscription-manager repos --enable=rhel-7-server-rpms --enable=rh-gluster-3-for-rhel-7-server-rpms
    2. If you require Samba, enable its repository
      # subscription-manager repos --enable=rh-gluster-3-samba-for-rhel-7-server-rpms
    3. If you require NFS-Ganesha, enable its repository
      # subscription-manager repos --enable=rh-gluster-3-nfs-for-rhel-7-server-rpms
    4. If you require HA, enable its repository
      # subscription-manager repos --enable=rhel-ha-for-rhel-7-server-rpms
    5. If you require gdeploy, enable the Ansible repository
      # subscription-manager repos --enable=rhel-7-server-ansible-2-rpms
    6. If you require Web Administration, refer to Installing Web Administration
  10. Install Red Hat Gluster Storage
    # yum install redhat-storage-server

2.5.2. Using Red Hat Satellite Server 5.x

Creating the Activation Key

For more information on how to create an activation key, see Activation Keys in the Red Hat Network Satellite Reference Guide.

  • In the Details tab of the Activation Keys screen, select Red Hat Enterprise Linux Server (v.6 for 64-bit x86_64) from the Base Channels drop-down list.
    Base Channels

    Figure 2.4. Base Channels

  • In the Child Channels tab of the Activation Keys screen, select the following child channels:
    RHEL Server Scalable File System (v. 6 for x86_64)
    Red Hat Gluster Storage Server 3 (RHEL 6 for x86_64)
    
    For Red Hat Gluster Storage 3.0.4 or later, if you require the Samba package, then select the following child channel:
    Red Hat Gluster 3 Samba (RHEL 6 for x86_64)
    Child Channels

    Figure 2.5. Child Channels

  • In the Packages tab of the Activation Keys screen, enter the following package name:
    redhat-storage-server
    Package

    Figure 2.6. Package

    • For Red Hat Gluster Storage 3.0.4 or later, if you require the Samba package, then enter the following package name:
      samba
Creating the Kickstart Profile

For more information on creating a kickstart profile, see Kickstart in the Red Hat Network Satellite Reference Guide.

  • When creating a kickstart profile, the following Base Channel and Tree must be selected.
    Base Channel: Red Hat Enterprise Linux Server (v.6 for 64-bit x86_64)
    Tree: ks-rhel-x86_64-server-6-6.5
  • Do not associate any child channels with the kickstart profile.
  • Associate the previously created activation key with the kickstart profile.

Important

  • By default, the kickstart profile chooses md5 as the hash algorithm for user passwords.
    You must change this algorithm to sha512 by providing the following settings in the auth field of the Kickstart Details, Advanced Options page of the kickstart profile:
    --enableshadow --passalgo=sha512
  • After creating the kickstart profile, you must change the root password in the Kickstart Details, Advanced Options page of the kickstart profile and add a root password based on the prepared sha512 hash algorithm.
Installing Red Hat Gluster Storage Server using the Kickstart Profile

For more information on installing Red Hat Gluster Storage Server using a kickstart profile, see Kickstart in Red Hat Network Satellite Reference Guide.