RH401: Install an RHN Satellite server

ingredients
     a. RHEL6 base install
     b. satellite installation iso
     c. Sattelite channel content iso for populating channels later
     d. certificate file, should be provided by the examiner, else I don't know how are we going to get this

1. install a basic RHEL6 server
     note: if the exam doesn't say anything about SElinux being enabled, DISABLE IT!
                if the exam asks for SElinux, install setroubleshoot-server. this will give you sedispatch.
                if something is not running as expected, do 'grep AVC /var/log/audit/audit.log | sedispatch', then tail /var/log/messages and follow from there.

2. during install, make sure to allocate enough space for the following:
/var/cache/rhn 10G
/rhnsat 12G
/var/satellite 30G

3. install satellite

[root@home ~]# virsh start satellite
Domain satellite started

[root@home ~]# virsh list
 Id Name                 State
----------------------------------
  1 satellite            running

[root@home ~]# virsh console 1
Connected to domain satellite

[root@satellite ~]# mount -o loop /mnt/nfs/satellite-embedded-oracle-5.4.1-20110615-rhel-6-x86_64.iso /mnt/iso
[root@satellite ~]# cd /mnt/iso
[root@satellite iso]# ls
EmbeddedDB  install  install.pl  README  Satellite  TRANS.TBL  updates
[root@satellite iso]# ./install.pl --help
* Starting the Red Hat Network Satellite installer.
usage: ./install.pl [ --help ] [ --answer-file= ] [ --non-interactive ] [ --skip-system-version-test ] 
       [ --skip-selinux-test ] [ --skip-fqdn-test ] [ --skip-db-install ] [ --skip-db-diskspace-check ] 
       [ --skip-db-population ] [ --skip-gpg-key-import ] [ --skip-ssl-cert-generation ] [--skip-ssl-vhost-setup] 
       [ --skip-services-check ] [ --clear-db ] [ --re-register ] [ --disconnected ] [ --upgrade ] 
       [ --run-updater=] [--run-cobbler] [ --enable-tftp=]
...

[root@satellite iso]# ./install.pl

* The installer will ask for the certificate file location. make sure to have it beforehand.
* I'm also guessing that the exam will ask for an built-in database install (because there's an option to install satellite only, and configure database connection to a live Oracle database setup within the network. However, if you have time, it doesn't hurt to learn this as well).
* after installation, make sure that httpd is chkconfig'd on. I think mine was off, but I can't really remember.
* Admin account creation is straightforward, as in "next > next > OK" from the web gui

No comments:

Post a Comment