Red Hat Training

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

Chapter 4. Installing the console from packages

This chapter covers how to install Red Hat Gluster Storage Console on a system that has access to the internet. Once you have confirmed that your system fulfils the prerequisites mentioned in Chapter 3, Prerequisites, the basic workflow is:
  • Register your system so that it can download the packages required for installation.
  • Install the Red Hat Gluster Storage Console packages.
  • Run the setup script.
  • Connect your storage servers to the console.
If required, you can also specify a database to use with Red Hat Gluster Storage Console. See Chapter 8, Use a PostgreSQL Database Server with Red Hat Gluster Storage Console for details.

4.1. Registering to Red Hat Network

The Red Hat Gluster Storage Console installation requires that the system be subscribed/registered to a number of Subscription Manager repositories or Red Hat Satellite Server channels. These channels or repositories are used to retrieve both the initial installation packages and later updates as they become available.

Procedure 4.1. Registering with Subscription Manager using Command Line

  1. Register the System with Subscription Manager

    Run the following command and enter your Red Hat Network user name and password to register the system with the Red Hat Network:
    # subscription-manager register
  2. Identify Available Entitlement Pools

    Run the following commands to find entitlement pools containing the repositories required to install the Red Hat Gluster Storage Console:
    # subscription-manager list --available | grep -A8 "Red Hat Enterprise Linux Server"
    # subscription-manager list --available | grep -A8 "Red Hat Gluster Storage"
  3. Attach Entitlement Pools to the System

    Use the pool identifiers located in the previous step to attach the Red Hat Enterprise Linux Server and Red Hat Gluster Storage Console entitlements to the system. Run the following command to attach the entitlements:
    # subscription-manager attach --pool=[POOLID]
  4. Enable the Required Repositories

    Run the following commands to enable the repositories required to install Red Hat Gluster Storage Console:
    # subscription-manager repos --enable=rhel-6-server-rpms
    # subscription-manager repos --enable=jb-eap-6-for-rhel-6-server-rpms
    # subscription-manager repos --enable=rhsc-3-for-rhel-6-server-rpms
    # subscription-manager repos --enable=rhs-nagios-3-for-rhel-6-server-rpms
  5. Verify if the Repositories are enabled

    Run the following command to verify if the repositories are enabled:
    # yum repolist

Procedure 4.2. Registering with Subscription Manager using GUI

Important

To attach Red Hat Gluster Storage Console subscription, select Manually assign subscriptions after registration option. Follow steps 4 and 5 from the Procedure 3.1 Registering with Subscription Manager using Command Line, to enable and verify repositories manually.
  • Verify if the Repositories are enabled

    Run the following command to verify if the repositories are enabled:
    # yum repolist

Procedure 4.3. Registering with Red Hat Satellite Server

  1. Configure the client system to access Red Hat Satellite. Refer section Registering Clients with Red Hat Satellite Server in Red Hat Satellite 5.6 Client Configuration Guide.
  2. Run rhn_register command to register the system with the Red Hat Satellite.
  3. In the select operating system release page, select All available updates and follow the prompts to register the system to the standard base channel for Red Hat Enterprise Linux 6 rhel-x86_64-server-6.
  4. Run the following command to subscribe the system to the required Red Hat Gluster Storage Console server channels.
    # rhn-channel --add --channel rhel-x86_64-server-6-rhs-rhsc-3 --channel  jbappplatform-6-x86_64-server-6-rpm --channel rhel-x86_64-server-6-rhs-nagios-3
  5. Run the following command to verify that the system is registered successfully.
    # rhn-channel --list
    rhel-x86_64-server-6
    rhel-x86_64-server-6-rhs-rhsc-3
    jbappplatform-6-x86_64-server-6-rpm
    rhel-x86_64-server-6-rhs-nagios-3