Red Hat SATELLITE 5.3.0 RELEASE NOTES Información técnica Pagina 62

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 199
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 61
INFRA_LOGIN = "infra"
INFRA_PASSWD = "24^gold"
INFRA_ENTITLE = [ 'monitoring_entitled', 'provisioning_entitled' ]
INFRA_PARENT = 'rhel-x86_64-server-5'
INFRA_CHILDREN = ['rhn-tools-rhel-x86_64-server-5', 'rhel-x86_64-server-5-mrg-grid-1', \
'rhel-x86_64-server-5-mrg-management-1', 'rhel-x86_64-server-5-mrg-messaging-1' ]
INFRA_PACKAGES = ['qpidd', 'sesame', 'qmf', 'condor', 'condor-qmf-plugins', 'cumin', \
'perl-Frontier-RPC', 'rhncfg', 'rhncfg-client', 'rhncfg-actions', \
'ntp', 'postgresql', 'postgresql-server' ]
TENANT_LOGIN = "tenant"
TENANT_PASSWD = "24^gold"
TENANT_ENTITLE = [ 'monitoring_entitled', 'provisioning_entitled' ]
TENANT_PARENT = 'rhel-x86_64-server-5'
TENANT_CHILDREN = ['rhn-tools-rhel-x86_64-server-5', 'rhel-x86_64-server-5-mrg-grid-1', \
'rhel-x86_64-server-5-mrg-messaging-1', 'rhel-x86_64-server-5-mrg-grid-execute-1' ]
TENANT_PACKAGES = ['qpidd', 'sesame', 'qmf', 'condor', 'condor-qmf-plugins', 'cumin', \
'perl-Frontier-RPC', 'rhncfg', 'rhncfg-client', 'rhncfg-actions', \
'ntp', 'postgresql', 'postgresql-server' ]
"""
Create Key for MRG Grid Manager
"""
#open channel
client = xmlrpclib.Server(SATELLITE_URL, verbose=0)
#log into infrastructure org
key = client.auth.login(INFRA_LOGIN, INFRA_PASSWD)
#create key
infra_ak = client.activationkey.create(key, 'infraMRGGrid', 'Key for MRG Manager',
INFRA_PARENT, INFRA_ENTITLE, False)
#Add child channels
client.activationkey.addChildChannels(key, infra_ak, INFRA_CHILDREN)
#Add packages
client.activationkey.addPackageNames(key, infra_ak, INFRA_PACKAGES)
#log out from infrastructure channel
client.auth.logout(key)
"""
Create MRG Grid Exec Node Activation Key
"""
client = xmlrpclib.Server(SATELLITE_URL, verbose=0)
key = client.auth.login(TENANT_LOGIN, TENANT_PASSWD)
www.redhat.com 62
Vista de pagina 61
1 2 ... 57 58 59 60 61 62 63 64 65 66 67 ... 198 199

Comentarios a estos manuales

Sin comentarios