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

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 199
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 62
tenant_ak = client.activationkey.create(key, 'tenantMRGGridExec', 'Key for MRG Grd Exec
Nodes', TENANT_PARENT, TENANT_ENTITLE, False)
client.activationkey.addChildChannels(key, tenant_ak, TENANT_CHILDREN)
client.activationkey.addPackageNames(key, tenant_ak, TENANT_PACKAGES)
client.auth.logout(key)
#print out the defined keys
print "MRG Manager activation key: ", infra_ak
print "MRG Grid Exec activation key: ", tenant_ak
d) instMgmt1.sh – start the provisioning of the first management system (the details of
which are in the next section) that:
configures cobbler to boot system
moves network to first in boot order
powers on/ reset the system
moves network to last in boot order
#!/bin/bash
# source env vars
echo "-"
echo "Sourcing variables"
echo "-"
date
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
#prepare cobbler to boot this node
echo "-"
echo "Adding cobbler system entry for Mgmt1"
echo "-"
date
cobbler profile add --name=$MGMT_PROFILE --distro=$MGMT_DISTRO
--kickstart=/root/resources/$MGMT_KS
cobbler system add --name=$MGMT1_NAME --profile=$MGMT_PROFILE
--mac=$MGMT1_MAC --ip=$MGMT1_IP --hostname=MGMT1_NAME
63 www.redhat.com
Vista de página 62
1 2 ... 58 59 60 61 62 63 64 65 66 67 68 ... 198 199

Comentários a estes Manuais

Sem comentários