Red Hat SATELLITE 5.3.0 RELEASE NOTES Informacje Techniczne Strona 52

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 199
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 51
( nice -n -15 satellite-sync --iss-parent=irish.lab.bos.redhat.com --ca-cert=/pub/RHN-ORG-
TRUSTED-SSL-CERT; nice -n -15 satellite-sync --iss-parent=irish.lab.bos.redhat.com --ca-
cert=/pub/RHN-ORG-TRUSTED-SSL-CERT; nice -n -15 satellite-sync ) >> /var/log/satSync 2>&1
# prepare another set of actions to be performed on next boot (brought down from temp node then
started on provisioned mgmt1)
echo "-" >> /var/log/rc.local.out 2>&1
echo "- Preparing next boot round of actions" >> /var/log/rc.local.out 2>&1
echo "-" >> /var/log/rc.local.out 2>&1
date >> /var/log/rc.local.out 2>&1
/bin/cat /etc/rc.d/rc.local.shipped /root/resources/sat.rc.local2.add > /etc/rc.d/rc.local
6.2.3 Install and Configure RHN Satellite Software
As mentioned, the final action of the satellite kickstart is to configure several scripts and
commands to be executed on the first boot via /etc/rc.local. The scripts and commands called
by /etc/rc.local are invoked in the order listed below. Note the italicized content below are
commands excerpted from the rc.local file listed in the previous section.
NOTE: Red Hat Bugzilla 593048 may occur during any of the VM installations on
KVM hosts. The logs generated during this process must be checked to confirm
success.
1. instpyCmds.sh – see Section 6.2.1
2. Install the ricci communication utilities – see Section 6.1.1
[...]
yum -y --nogpgcheck localinstall /root/resources/riccilib-current.noarch.rpm >> /tmp/rc.local.out
2>&1
[...]
3. instSat.sh - install RHN Satellite software via this script that:
mounts media
installs software
updates software
restarts satellite
#!/bin/bash
#
# This script install the satellite software using a preconfigured answers file
#prepare install media
mkdir /media/cdrom
mount -o loop /root/resources/redhat-rhn-satellite-5.3-server-x86_64-5-embedded-oracle.iso
/media/cdrom
# install software
cd /media/cdrom
./install.pl --answer-file=/root/resources/answers.txt --non-interactive
#update software just installed and restart satellite to use this software
www.redhat.com 52
Przeglądanie stron 51
1 2 ... 47 48 49 50 51 52 53 54 55 56 57 ... 198 199

Komentarze do niniejszej Instrukcji

Brak uwag