Ir al contenido España-Español
HP.com España principal Productos y Servicios Soporte y Drivers Soluciones Cómo Comprar
» Contactar con HP
Más opciones
HP.com España principal
HP Global Workload Manager versión 4.0: Guía del usuario > Capítulo 5 Tareas adicionales de configuración y administración

Definición de las propiedades de gWLM

» 

Documentación técnica

Libro completo en PDF
» Comentarios
Aquí empieza el contenido

 » Tabla de contenido

 » Índice

gWLM proporciona dos archivos de propiedades que le permiten controlar diversos comportamientos de gWLM. Un archivo es para el demonio o servicio CMS y el otro es para utilizarlo en todos los nodos administrados. Lea los archivos para obtener información sobre los comportamientos que controlan.

Propiedades del servidor CMS

Las propiedades del servidor CMS se hallan en /etc/opt/gwlm/conf/gwlmcms.properties, en HP-UX, y en C:\Archivos de programa\HP\Virtual Server Environment\conf\gwlmcms.properties, en Windows. (La ruta de Windows dada es el valor por defecto; no obstante, se puede haber seleccionado una ruta diferente durante la instalación.)

NOTA: gWLM lee algunos valores sólo cuando se inicia un demonio o servicio, mientras que otros valores se leen cuando se despliega un dominio de recursos compartidos. Consulte el archivo para obtener información sobre cuándo se leen las propiedades individuales.

Reiniciar temporalmente gwlmcmsd deshabilita HP Virtualization Manager y HP Capacity Advisor.

El archivo gwlmcms.properties se muestra más adelante.

#
# (C) Copyright 2004-2008 Hewlett-Packard Development Company, L.P.
#
# $Date: 2008/02/01 19:00:32 $
# $Revision: 1.28 $
#
# Contents:
#	This file contains the default configuration values for the
#	Global Workload Manager CMS.
#
#	You must restart gwlmcmsd for changes made to this file
#	to take effect--unless otherwise noted.
#

#
# Set FileHandler log level for the following log files:
#       /var/opt/gwlm/gwlmcmsd.log.0
#       /var/opt/gwlm/gwlmcommand.log.0
#       /var/opt/gwlm/gwlm.log.0
#       /var/opt/vse/logs/gwlminitconfig.log.0
# Valid levels, from most severe to least, are:
#       SEVERE
#       WARNING
#       INFO
#       CONFIG
#       FINE
#       FINER
#       FINEST
# When you set the level, you will see messages only from that level and
# the levels that are more severe. So, the SEVERE level produces the fewest
# messages, while the FINEST level includes messages from all seven levels.
#
com.hp.gwlm.util.Log.logLevel = INFO

#
# Specify the size (in MB) and number of files to use  
# for logging. For a single file of unlimited size, set
# logFileSize to negative one (logFileSize=-1).
# Otherwise, total log file size is
#    logFileSize * logNFiles
#
com.hp.gwlm.util.Log.logFileSize = 20
com.hp.gwlm.util.Log.logNFiles = 3

#
# Support for automatic database statistics gathering.  These properties
# control how often row-level statistics are gathered from the database in
# order to optimize performance.
#
#   com.hp.gwlm.cms.db.analyze.time:
#       Frequency, in minutes, in which statistics are gathered.  The
#       default is to attempt to gather database statistics every 60
#       minutes.  When the analysis runs, statistics will only be gathered
#       if a certain number of transactions  have been processed (which is
#       configured in the property below).
#
#   com.hp.gwlm.cms.db.analyze.limit:
#       Number of consecutive transactions that must take place before a
#       database analysis is performed.
#
com.hp.gwlm.cms.db.analyze.time  = 60
com.hp.gwlm.cms.db.analyze.limit = 50

#
# Support for the database cache on the CMS.
#
#   cachesize:
#	The number of historical configurations to cache in memory.
#	A larger historical configuration cache reduces time spent
#	in database lookups.  The valid range is 1-1000.
#
com.hp.gwlm.cms.cachesize = 100

#
# Support for local data caching on a remote node for report generation.
# These properties are defined on the CMS but are pushed out to the remote
# node managers during deployment of an SRD.  The cached objects on the
# agent consume an amount of memory approximated by:
#
#    Memory = 5000 * workloads * cachesize * (60 / resource_domain_interval)
#
# bytes of memory.  For example, if there are 4 workloads deployed with a
# 15 second interval and a cachesize of 20 minutes, the agent will need:
#
#    Memory = 5000 * 4 * 20 * (60 / 15) ~ 2.5 MB.
#
#   cachesize:
#       The number of minutes of real-time data to maintain on the remote
#	node for future CMS access.  This value must be at least three
#	times the 'samples' value specified below.  The default value is
#       20 minutes.
#
#   samples:
#	The number of minutes of real-time data used to aggregate into a
#	historical data point. The default is to aggregate the data into
#	5-minute averages.
#
com.hp.gwlm.node.cachesize = 20
com.hp.gwlm.node.samples   = 5

#
# Support for real-time graphing properties.
#
#   viewport:
#       The size of the displayed real-time graph (in minutes).
#
#   refresh:
#       The refresh rate of the real-time graphs and tables (in seconds).
#
com.hp.gwlm.ui.monitor.viewport = 20
com.hp.gwlm.ui.monitor.refresh  = 15

Propiedades del agente

Las propiedades del agente se hallan en /etc/opt/gwlm/conf/gwlmagent.properties, en HP-UX, y en C:\Archivos de programa\HP\Virtual Server Environment\conf\gwlmagent.properties, en Windows. (La ruta de Windows dada es el valor por defecto; no obstante, se puede haber seleccionado una ruta diferente durante la instalación.)

NOTA: El demonio gwlmagent debe reiniciarse en cada nodo administrado donde haya modificado el archivo de propiedades para que surtan efecto los cambios en el archivo.

El archivo gwlmagent.properties se muestra más adelante.

#
# (C) Copyright 2004-2007 Hewlett-Packard Development Company, L.P.
#
# $Date: 2007/04/12 15:46:19 $
# $Revision: 1.17 $
#
# Contents:
#	This file contains the default configuration values for the
#	Global Workload Manager Agent on a given managed node. The
#	agent on each managed node uses the default values unless you
#	edit that node's gwlmagent.properties file.
#
#	You must restart gwlmagent for changes made to this file to
#	take effect.
#

#
# Set FileHandler /var/opt/gwlm/gwlmagent.log.0 log level.
# Valid levels, from most severe to least, are:
#	SEVERE
#	WARNING
#	INFO
#	CONFIG
#	FINE
#	FINER
#	FINEST
# When you set the level, you will see messages only from that level and
# the levels that are more severe. So, the SEVERE level produces the fewest
# messages, while the FINEST level includes messages from all seven levels.
#
com.hp.gwlm.util.Log.logLevel = INFO

#
# Specify the size (in MB) and number of files to use  
# for logging. For a single file of unlimited size, set
# logFileSize to negative one (logFileSize=-1).
# Otherwise, total log file size is
#    logFileSize * logNFiles
#
com.hp.gwlm.util.Log.logFileSize = 20
com.hp.gwlm.util.Log.logNFiles = 3

#
# Set the number of seconds for the high availability (HA) minimum
# timeout. Communication is considered lost on a managed node
# once the timeout period has elapsed.
#
# By default, communication is not considered lost until 10 allocation
# intervals have elapsed without communication. The default value of the
# property (60) is used only when the allocation interval is less than 6
# seconds.  
#
com.hp.gwlm.node.HA.minimumTimeout = 60

#
# Enable/disable use of Instant Capacity (iCAP) to simulate movement of
# cores across nPartitions. To use iCAP, you must enable this property on 
# each managed nPartition where you want to take advantage of iCAP. Also, 
# each nPartition must meet the requirements outlined in the online help 
# topic "Getting the most out of gWLM" as well as in the section "USING 
# NPARS AS COMPARTMENTS IN AN SRD" in the gwlmxml(4) man page on HP-UX or 
# the gwlmxml(5) man page on Linux.
#
com.hp.gwlm.platform.icap.manageWithIcap = on

#
# Set the minimum number of Temporary Instant Capacity (TiCAP) minutes
# that must be available for TiCAP activation.  gWLM will stop using
# TiCAP when the available balance goes below this threshold.  The
# same value should be set on all agents managing the SRD.  To use
# TiCAP, it must be available on the complex and enabled at the policy
# level or the SRD level.
#
com.hp.gwlm.node.ticap.minimumBalance = 30

Puertos de comunicaciones

gWLM utiliza los siguientes puertos de comunicaciones:

Nodos administrados: 9617

CMS: 9618

Si tiene que cambiar estos puertos, agregue las siguientes líneas:

com.hp.gwlm.cms.port = puertoX

com.hp.gwlm.node.port = puertoY

en ambos archivos de propiedades.

  • gwlmcms.properties

    En HP-UX, este archivo se halla en /etc/opt/gwlm/conf/. En Windows, se halla en C:\Archivos de programa\HP\Virtual Server Environment\conf\. (La ruta de Windows dada es el valor por defecto; no obstante, se puede haber seleccionado una ruta diferente durante la instalación.)

  • /etc/opt/gwlm/conf/gwlmagent.properties

Los valores puertoX y puertoY no pueden ser iguales.

La propiedad com.hp.gwlm.cms.port debe tener el mismo valor puertoX en todos los archivos de propiedades: en todos los nodos administrados y en el servidor CMS. De igual modo, la propiedad com.hp.gwlm.node.port debe tener el mismo valor puertoY en todos los archivos de propiedades: en todos los nodos administrados y en el servidor CMS.

gwlmcmsd y gwlmagent deben reiniciarse para que los cambios surtan efecto. Si utiliza gWLM a través de HP SIM, también deberá reiniciar el administrador SIM. (En HP-UX, reinicie los demonios SIM mediante /opt/mx/bin/mxstop y mxstart. En Windows, reinicie el servicio de HP Systems Insight Manager.)

NOTA: Reiniciar temporalmente gwlmcmsd deshabilita HP Virtualization Manager y HP Capacity Advisor.
Versión para imprimir
Declaración de privacidad El uso de este sitio implica la aceptación de sus términos de uso
© 2004-2008 Hewlett-Packard Development Company, L.P.