Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
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
# subscription-manager register
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 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
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
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Identify and attach the Red Hat Enterprise Linux and Red Hat Satellite subscriptions.List all available subscriptions.
subscription-manager list --all --available
# subscription-manager list --all --available
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Attach the subscriptions. If there are multiple subscriptions to be attached, repeat the--pool=pool_id
parameter.subscription-manager attach --pool=pool_id
# subscription-manager attach --pool=pool_id
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - 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
# subscription-manager repos --enable rhel-6-server-rpms
Copy to Clipboard Copied! Toggle word wrap Toggle overflow For Red Hat Enterprise Linux 5subscription-manager repos --enable rhel-5-server-rpms
# subscription-manager repos --enable rhel-5-server-rpms
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Mount the Red Hat Satellite installation media.Mount as a CD:
mkdir /media/cdrom mount /dev/cdrom /media/cdrom
# mkdir /media/cdrom # mount /dev/cdrom /media/cdrom
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Mount as an ISO:mkdir /media/cdrom mount -o loop iso_filename /media/cdrom
# mkdir /media/cdrom # mount -o loop iso_filename /media/cdrom
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Change to the mounted directory.
cd /media/cdrom
# cd /media/cdrom
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - Run the
install.pl
script with the--managed-db
and--disconnected
options../install.pl --managed-db --disconnected
# ./install.pl --managed-db --disconnected
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Note
The--disconnected
option is required to prevent the installer attempting to connect to Red Hat Network. - The
install.pl
script 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.
Copy to Clipboard Copied! Toggle word wrap Toggle overflow 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
# subscription-manager repos --enable=rhel-6-server-satellite-manageddb-5.6-rpms
Copy to Clipboard Copied! Toggle word wrap Toggle overflow For Red Hat Enterprise Linux 6 and IBM System zsubscription-manager repos --enable=rhel-6-system-z-satellite-manageddb-5.6-rpms
# subscription-manager repos --enable=rhel-6-system-z-satellite-manageddb-5.6-rpms
Copy to Clipboard Copied! Toggle word wrap Toggle overflow For Red Hat Enterprise Linux 5 and AMD64 and Intel 64subscription-manager repos --enable=rhel-5-server-satellite-manageddb-5.6-rpms
# subscription-manager repos --enable=rhel-5-server-satellite-manageddb-5.6-rpms
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Red Hat Enterprise Linux 5 and IBM System zsubscription-manager repos --enable=rhel-5-system-z-satellite-manageddb-5.6-rpms
# subscription-manager repos --enable=rhel-5-system-z-satellite-manageddb-5.6-rpms
Copy to Clipboard Copied! Toggle word wrap Toggle overflow - When the script completes, install your Red Hat Satellite using the instructions from Chapter 4, Installation.