Show Table of Contents
2.3.2. Managed Database Requirements
This section outlines additional steps for administrators installing Red Hat Satellite using a Managed Database. The Managed Database component installs essential packages containing the database server and Red Hat Satellite tools to a machine separate from the Red Hat Satellite server.
Note
The same media used for a Red Hat Satellite installation is also used for the Managed Database installation.
Procedure 2.1. Installing the Managed Database
- Register to Red Hat Subscription Management. Run the following command to register your system, entering your Customer Portal user name and password when prompted:
# subscription-manager register
The command displays output similar to the following:Registering to: subscription.rhsm.redhat.com:443/subscription Username: user_name Password: password The system has been registered with ID: aa2e5c34-b8d0-4388-b912-6be761c632b1
- Identify and attach the Red Hat Enterprise Linux and Red Hat Satellite subscriptions.List all available subscriptions.
# subscription-manager list --all --available
Attach the subscriptions. If there are multiple subscriptions to be attached, repeat the--pool=pool_idparameter.# subscription-manager attach --pool=pool_id
- Enable the Red Hat Enterprise Linux repository appropriate to your operating system version.For Red Hat Enterprise Linux 6
# subscription-manager repos --enable rhel-6-server-rpms
For Red Hat Enterprise Linux 5# subscription-manager repos --enable rhel-5-server-rpms
- Mount the Red Hat Satellite installation media.Mount as a CD:
# mkdir /media/cdrom # mount /dev/cdrom /media/cdrom
Mount as an ISO:# mkdir /media/cdrom # mount -o loop iso_filename /media/cdrom
- Change to the mounted directory.
# cd /media/cdrom
- Run the
install.plscript with the--managed-dband--disconnectedoptions.# ./install.pl --managed-db --disconnected
Note
The--disconnectedoption is required to prevent the installer attempting to connect to Red Hat Network. - The
install.plscript asks for the following information.- Database name
- Database user
- Database password
- A comma-separated list of local addresses to listen. Leave blank for all addresses.
- A comma-separated list of remote addresses of Satellite servers, in address/netmask format. The Managed Database allows connections from these addresses.
Database name: mydb Database user: mydbuser Database password: mydbpassword Local addresses to listen on (comma-separated, RETURN for all): 127.0.0.1 Remote addresses to allow connection from (address/netmask format, comma-separated): 192.168.1.10/32 Initializing database: [ OK ] Starting postgresql service: [ OK ]
The script installs the necessary packages for your Managed Database. This includes a set of management tools for database.The script also prepares the database for your Red Hat Satellite installation. - Enable the Managed DB repository according to the Red Hat Enterprise Linux version, and hardware platform.For Red Hat Enterprise Linux 6 and AMD64 and Intel 64
# subscription-manager repos --enable=rhel-6-server-satellite-manageddb-5.6-rpms
For Red Hat Enterprise Linux 6 and IBM System z# subscription-manager repos --enable=rhel-6-system-z-satellite-manageddb-5.6-rpms
For Red Hat Enterprise Linux 5 and AMD64 and Intel 64# subscription-manager repos --enable=rhel-5-server-satellite-manageddb-5.6-rpms
Red Hat Enterprise Linux 5 and IBM System z# subscription-manager repos --enable=rhel-5-system-z-satellite-manageddb-5.6-rpms
- When the script completes, install your Red Hat Satellite using the instructions from Chapter 4, Installation.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.