Red Hat SATELLITE 5.3.0 RELEASE NOTES Technical Information Seite 109

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 199
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 108
6.6 Create First Hosts
When the satellite VM boots for the third time, it creates the first of each of the RHEL/KVM
and RHEV hypervisor hosts. This third boot occurs after the cluster has been formed when
the satellite VM is started as a cluster service.
sat.rc.local3.add
(
# source env vars
if [[ -x varDefs.sh ]] ; then
source varDefs.sh
elif [[ -x /root/varDefs.sh ]] ; then
source /root/varDefs.sh
elif [[ -x /root/resources/varDefs.sh ]] ; then
source /root/resources/varDefs.sh
elif [[ -x /root/distro/resources/varDefs.sh ]] ; then
source /root/distro/resources/varDefs.sh
else
echo "didn't find a varDefs.sh file"
fi
# prime the riccicmd
riccicmd -v -H ${MGMT1_IP} --password ${MGMT1_PW} --genkeys cluster configuration
# install first RHEVH host
/root/resources/instRHEVH.sh ${RHEVH01_VC_PROFILE} &
# install first RHELH host
# delay RHEL host install due to BZ 602402
sleep 3600
/root/resources/instRHELH.sh ${RHELH01_VC_PROFILE} &
/bin/mv /etc/rc.d/rc.local.shipped /etc/rc.d/rc.local
) >> /var/log/rc.local3.out 2>&1
1. The instRHELH.sh script requires a single passed parameter, the server blade profile
name assigned in the HP Virtual Connect interface. The kickstart for this installation is
described in Section 6.6.1 . The script:
retrieves all identity information
creates the cobbler system entry
presents storage to the host
adds the new NFS export stanza to the cluster configuration file
sets the boot order to boot PXE first
registers the host with satellite after install
sets the boot order to boot PXE last
#!/bin/bash
109 www.redhat.com
Seitenansicht 108
1 2 ... 104 105 106 107 108 109 110 111 112 113 114 ... 198 199

Kommentare zu diesen Handbüchern

Keine Kommentare