Red Hat SATELLITE 5.3.0 RELEASE NOTES Informations techniques Page 115

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 199
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 114
indx=1
tname=`printf "rhev-nfs-client-%02d" ${indx}`
while [[ `echo ${nfsClients} | grep ${tname}` ]]
do
indx=`expr $indx + 1`
tname=`printf "rhev-nfs-client-%02d" ${indx}`
done
else
# No existing hosts
tname="rhev-nfs-client-01"
fi
echo ${tname}
d) listRegSystems_infra.py – list system registered to the RHN Satellite system
#!/usr/bin/python
"""
This script lists all registered systems.
The org is determined by the login global variable below.
"""
import xmlrpclib
import sys
SATELLITE_URL = "http://sat-vm.cloud.lab.eng.bos.redhat.com/rpc/api"
INFRA_LOGIN = "infra"
INFRA_PASSWD = "24^gold"
#open channel
client = xmlrpclib.Server(SATELLITE_URL, verbose=0)
#log into infrastructure org
key = client.auth.login(INFRA_LOGIN, INFRA_PASSWD)
aSYS = client.system.listSystems(key)
for iSYS in aSYS:
print iSYS['name']
#log out from infrastructure channel
client.auth.logout(key)
2. The install script instRHEVH.sh installs and prepares a system for use as a RHEV
host. It requires a single passed parameter, the server blade profile name assigned in
the HP Virtual Connect interface, and:
retrieves all identity information and creates the cobbler system entry
presents storage to the host
115 www.redhat.com
Vue de la page 114
1 2 ... 110 111 112 113 114 115 116 117 118 119 120 ... 198 199

Commentaires sur ces manuels

Pas de commentaire