Red Hat SATELLITE 5.3.0 RELEASE NOTES Technical Information Seite 64

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 199
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 63
--ksmeta="NAME=$MGMT1_NAME NETIP=$MGMT1_IP ICIP=$MGMT1_ICIP
ICNAME=$MGMT1_IC" –kopts="console=ttyS0,115200 nostorage"
cobbler sync
# set to boot PXE
echo "-"
echo "Setting Mgmt to boot PXE"
echo "-"
date
while [[ ! `ilocommand -i //${LOGIN}:${MGMT1_ILO_PW}@${MGMT1_ILO} set
/system1/bootconfig1/bootsource5 bootorder=1 | grep status=0` ]]; do sleep 2; done
#reset blade, power up also in case it was powered off
echo "-"
echo "Booting Mgmt1"
echo "-"
date
ilocommand -i //${LOGIN}:${MGMT1_ILO_PW}@${MGMT1_ILO} power reset
ilocommand -i //${LOGIN}:${MGMT1_ILO_PW}@${MGMT1_ILO} power on
#wait a reasonable amount of time and change the boot order to make network last
echo "-"
echo "Waiting then resetting boot order "
echo "-"
date
sleep 240
while [[ ! `ilocommand -i //${LOGIN}:${MGMT1_ILO_PW}@${MGMT1_ILO} set
/system1/bootconfig1/bootsource5 bootorder=5 | grep status=0` ]]; do sleep 2; done
e) prep_MgmtVMs.sh – create profile for RHEL Management VMs
#!/bin/bash
# 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
#Add cobbler profile and system entries for the JON server VM
cobbler profile add --name=${JON_PROFILE} --distro=${MGMT_DISTRO}
--kickstart=/root/resources/${JON_KS}
cobbler system add --name=${JON_NAME} --profile=${JON_PROFILE} --mac=${JON_MAC}
--ip=${JON_IP} --hostname=${JON_NAME}
www.redhat.com 64
Seitenansicht 63
1 2 ... 59 60 61 62 63 64 65 66 67 68 69 ... 198 199

Kommentare zu diesen Handbüchern

Keine Kommentare