lab rhn satellite server

Upload: ram-n-sangwan

Post on 06-Apr-2018

221 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/3/2019 Lab RHN Satellite Server

    1/12

    R.N. Sangwan www.hometutor.net.in Ph: 9312406920 Pg:1

    RHN Satellite Server Installation Program

    Follow the instructions to run the RHN Satellite Server Installation Program:

    1. Log into the machine as root.2. Insert the RHN Satellite Server CD containing the installation files or download the ISO image

    from the RHN website.

    3. Create a directory in /mnt to store the files with the command:mkdir /mnt/cdrom

    4. If you are installing from CD and it is not mounted automatically, mount it using the command:mount /dev/cdrom /mnt/cdrom

    5. If you are installing from download, mount the file from within the directory containing it using thecommand:

    mount iso_filename /mnt/cdrom -o loop

    6. The rest of the instructions assume it is mounted in /mnt/cdrom.7. Ensure the RHN Entitlement Certificate has been loaded onto the Satellite. It can be named

    anything and located in any directory. The installation program will ask you for its contents or

    location. Also, make sure your account has been granted the necessary entitlements to conduct

    the installation. For instance, a new Satellite will require both a Management or Provisioning

    entitlement for Red Hat Enterprise Linux AS and an RHN Satellite Server entitlement.

    Warning

    Users should note that the RHN Satellite Server Installation Program updates the kernel, aswell as all required packages.

    8. Launch the RHN Satellite Server Installation Program as root with the command:/mnt/cdrom/install.sh

    9. This script runs through the pre-installation process without user intervention. See Figure 1 Thistakes between 20 and 30 minutes.

  • 8/3/2019 Lab RHN Satellite Server

    2/12

    R.N. Sangwan www.hometutor.net.in Ph: 9312406920 Pg:2

    Figure 1. Pre-Installation

    10. It will first update the system and then install the RHN Satellite Server packages, GPG keys,database, and default configuration. It will then restart key services, such as httpd.

    11.After the system is back up, open a Web browser and go to the fully qualified domain name(FQDN) of the RHN Satellite Server. The Administrator Email Address page appears.

  • 8/3/2019 Lab RHN Satellite Server

    3/12

    R.N. Sangwan www.hometutor.net.in Ph: 9312406920 Pg:3

    Figure 2. Administrator Email Address

    12.The Administrator Email Address page requires an email address to receive administrativecorrespondence. Ideally, this address serves multiple people in your organization to ensure

    delivery. Keep in mind, this address will receive all mail generated by the Satellite, including

    sometimes large quantities of error-related tracebacks. To stem this flow, consider establishingmail filters that capture messages with a subject of "RHN TRACEBACK from hostname".

    Click Continue . The Database Configuration page appears for RHN Satellite Server with

    Stand-Alone Database, while the Database Schema page appears for RHN Satellite Server with

    Embedded Database.

    Figure 3. Database Configuration

    13.The Database Configuration page collects information required for the Satellite with Stand-Alone Database to connect to its database. If this is Satelllite with Embedded Database, skip to

    the Database Schema page description. For Satellite with Stand-Alone Database, consult your

    database administrator for the appropriate values. Then click Test DB Connection .

    The Database Schema page appears.

  • 8/3/2019 Lab RHN Satellite Server

    4/12

    R.N. Sangwan www.hometutor.net.in Ph: 9312406920 Pg:4

    Figure 4. Database Schema

    14.No input is required on the Database Schema page other than your consent. Click Continue topopulate the database. This too can take a while. The Database Population page appears to

    help you track progress.

    Figure 5. Database Population

    15.The Database Population page displays a link when population is complete.Click Configuration to continue. The RHN Configuration page appears.

  • 8/3/2019 Lab RHN Satellite Server

    5/12

    R.N. Sangwan www.hometutor.net.in Ph: 9312406920 Pg:5

    Figure 6. RHN Configuration

    16.The RHN Configuration page enables you to change the way the Satellite communicates withRed Hat Network. You may alter the Satellite's hostname, its parent RHN server (to connect to

    another Satellite, for instance) and the location, or mountpoint of the package repository.

    Typically, the defaults will do. If you intend to monitor systems with this Satellite, select both

    the Enable monitoring backend and Enable monitoring scout checkboxes.

    In addition, this page allows you to configure the Satellite to use an HTTP proxy server. To do

    this, complete all associated fields. Note that references to protocol such as http:// or https://

    should not be included in the HTTP proxy server field. Insert only the hostname and port in the

    form hostname:port, such as my.corporate.gateway.example.com:3128 . When finished,

    click Continue. The Monitoring Configuration page appears.

  • 8/3/2019 Lab RHN Satellite Server

    6/12

    R.N. Sangwan www.hometutor.net.in Ph: 9312406920 Pg:6

    Figure 7. Monitoring Configuration

    17.The Monitoring Configuration page captures email routing information used in monitoring. Thisis required only if you intend to receive alert notifications from probes. If you do, provide the mail

    server (exchanger) and domain to be used. Note that sendmail must be configured to handle

    email redirects of notifications. When finished, click Continue. The RHN Registration page

    appears.

    Figure 8. RHN Registration

    18.The RHN Registration page enables you to register the Satellite with Red Hat Network, allowingit to get updates and software channel package data directly. To register the Satellite, ensure its

  • 8/3/2019 Lab RHN Satellite Server

    7/12

    R.N. Sangwan www.hometutor.net.in Ph: 9312406920 Pg:7

    system profile name is correct (usually the hostname) and complete the RHN

    Username and RHN Password fields with the account information provided by your sales

    representative or established previously by you. This account must be entitled for RHN Satellite

    Server.

    To skip this step, such as for Satellites that will operate in disconnected mode, click eitherthe continue link or button. If you do not register the Satellite, the RHN Satellite

    Synchronization Tool cannot be used to populate software channels. Contact your Red Hat

    representative to obtain the packages and updates manually. When finished, clickContinue.

    The RHN Satellite Entitlement Certificate page appears.

    Figure 9. RHN Satellite Entitlement Certificate

    19.The RHN Satellite Entitlement Certificate page gathers your RHN Entitlement Certificate eitherby obtaining its location or collecting its contents. To identify the certificate's path, click Browse ,

    navigate to the file, and select it. To input its contents, open your certificate in a text editor, copy

  • 8/3/2019 Lab RHN Satellite Server

    8/12

    R.N. Sangwan www.hometutor.net.in Ph: 9312406920 Pg:8

    all lines, and paste them directly into the large text field at the bottom. Red Hat recommends

    using the file locator as it's less error prone. Click Validate Certificate to continue. If you receive

    errors related to DNS, ensure your Satellite is configured correctly. The Satellite

    Synchronization page appears next.

    Figure 10. Satellite Synchronization

    20.The Satellite Synchronization page allows you to initially populate your Satellite with softwarechannel metadata. This is possible during installation only if you chose to register your Satellite

    with RHN. To synchronize, select the Perform Satellite Sync checkbox and click Continue .

    After the installation, you will still need to populate the channels with packages. The SSL

    Certificate page appears next.

    21.The SSL Certificate page collects information necessary to create the Secure Sockets Layer(SSL) certificate used by the Satellite and its client machines. In addition, you may manage your

    SSL infrastructure using the RHN SSL Maintenance Tool.

    Create an SSL Certificate Authority (CA) password and complete the rest of the fields with your

    and your organization's information. The CA Cert Common Name field may already be

    populated with the name of the host machine. This may need to be altered if you're using multiple

    RHN Servers in tandem.

    Use the Expiration fields at the bottom to establish usage limits for the Certificate Authority and

    the certificate. The public certificate will be placed in the /var/www/html/pub/directory on the

    Satellite where it can be downloaded from and installed on all client systems. Once finished,

    click Generate Cert . The Bootstrap Script page appears next.

  • 8/3/2019 Lab RHN Satellite Server

    9/12

    R.N. Sangwan www.hometutor.net.in Ph: 9312406920 Pg:9

    Figure 11. SSL Certificate

    22.The Bootstrap Script page allows you to create a script for redirecting client systems from thecentral RHN Servers to the Satellite. This script, to be placed in

    the/var/www/html/pub/bootstrap/ directory of the Satellite, significantly reduces the effort

    involved in reconfiguring all systems, which by default obtain packages from the central RHN

    Servers. The required fields are prepopulated with values derived from previous installation steps.

    Ensure this information is accurate.

    Checkboxes offer options for including built-in security SSL and GNU Privacy Guard (GPG)

    features, both of which are advised. In addition, you may enable remote command acceptance

    and remote configuration management of the systems to be bootstrapped here. Both features are

    useful for completing client configuration. Finally, if you are using an HTTP proxy server,

  • 8/3/2019 Lab RHN Satellite Server

    10/12

    R.N. Sangwan www.hometutor.net.in Ph: 9312406920 Pg:10

    complete the related fields. When finished, click Generate Bootstrap Script . The Installation

    Complete page appears.

    Figure 4-12. Bootstrap Script

    23.The Installation Complete page marks the end of the initial Satellite installation andconfiguration. Click Complete to reboot the system and create the Satellite Administratoraccount. The Satellite Restart page appears.

  • 8/3/2019 Lab RHN Satellite Server

    11/12

    R.N. Sangwan www.hometutor.net.in Ph: 9312406920 Pg:11

    Figure 13. Installation Complete

    Figure 14. Satellite Restart

    24.The Satellite Restart page requires no user input and merely provides a placeholder while thesystem is rebooted. Once finished, the browser window is redirected to the Satellite

    Administrator page.

    25.The Satellite Administrator page enables you to create the Organization Administrator accounton the Satellite. This master account can conduct any task available to all other user levels, as

    well as create other user accounts. When finished, click Create Login . The Account

    Created page appears.

  • 8/3/2019 Lab RHN Satellite Server

    12/12

    R.N. Sangwan www.hometutor.net.in Ph: 9312406920 Pg:12

    Figure 15. Satellite Administrator

    Figure 4-16. Account Created

    26.The Account Created page signals the end of the installation and configuration process. Youmay now begin to import software packages and reconfigure client systems to use the Satellite.