Red Hat SATELLITE 5.3.0 RELEASE NOTES Informações Técnicas Página 116

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 199
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 115
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
#
# This script will install and prepare a system for use as a RHEV host
# 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
# The blade profile must be passed
if [[ $# -ne 1 ]]
then
echo 'Usage - $0 <HP Virtual Connect profile name>'
exit -1
else
pname=$1
fi
# Implement a semaphore to verify that name and IP are unique
while [[ -e /tmp/AvailNameIP ]] ; do sleep 1; done
touch /tmp/AvailNameIP
vcmcommand --vcmurl //${LOGIN}:${VCM_PW}@${VCM_IP} show server | grep ${pname}
> /dev/null 2>/dev/null
if [[ $? -ne 0 ]]
then
echo "HP Virtual Connect profile $pname not found!"
exit -2
fi
nblade=`vcmcommand --vcmurl //${LOGIN}:${VCM_PW}@${VCM_IP} show server | grep $
{pname} | awk '{print $3}'`
iloIP=`oacommand --oaurl //${LOGIN}:${OA_PW}@${OA_IP} show server info ${nblade} |
grep "IP Address" | awk '{print $3}'`
rawMAC=`vcmcommand --vcmurl //${LOGIN}:${VCM_PW}@${VCM_IP} show profile $
{pname} | grep public | awk '{print $5}'`
IPname=`/root/resources/GetAvailRhevh.sh | awk '{print $1}'`
www.redhat.com 116
Vista de página 115
1 2 ... 111 112 113 114 115 116 117 118 119 120 121 ... 198 199

Comentários a estes Manuais

Sem comentários