HP UX 11i Workload Management (gWLM/WLM) Software # /opt/gwlm/bin/gwlmagent --enablestartonboot

Models: UX 11i Workload Management (gWLM/WLM) Software

1 72
Download 72 pages 18.09 Kb
Page 41
Image 41

On HP-UX, you can control whether the gWLM CMS daemon (gwlmcmsd) and its agent daemons on the managed nodes (gwlmagent) start at boot by:

Manually setting variables in the /etc/rc.config.d/gwlmCtl file. (The /sbin/init.d/ gwlmcmsd and /sbin/init.d/gwlmagt scripts use these variables.)

Using the --enable_start_on_boot and --disable_start_on_boot options to gwlmcmsd and gwlmagent.

On Windows, to control whether the gWLM CMS daemon (gwlmcmsd) starts at boot: Right-click the My Computer icon, click Manage, double-click Services & Applications, double-click Services, right-click HP Global Workload Manager Central Management Server, select Properties, and change the Startup type to the desired setting.

NOTE: HP recommends starting these daemons at boot only when used in a secure operating environment.

Setting GWLM_CMS_START to 0 (zero) prevents automatic use at boot of HP Matrix OE visualization and HP Capacity Advisor.

The gwlmCtl file is shown below:

########################################################################

#(C) Copyright 2004-2008 Hewlett-Packard Development Company, L.P.

#gWLM Configuration File

#

#$Revision: 1.1 $

#$Date: 2008/12/02 20:17:18 $

########################################################################

#Set GWLM_CMS_START to 1 to have the init process start the gWLM CMS

#daemon. (HP recommends setting this variable to 1 only when used in a

#secure operating environment.)

#

#NOTE: GWLM_CMS_START=0 prevents automatic use at boot of

#HP Matrix OE visualization and

#HP Capacity Advisor.

GWLM_CMS_START=0

#Set GWLM_AGENT_START to 1 to have the init process start the gWLM agent

#daemon. (HP recommends setting this variable to 1 only when used in a

#secure operating environment.)

GWLM_AGENT_START=0

#Set GWLM_HOME to the location where gWLM is installed.

#Default is /opt/gwlm.

GWLM_HOME=/opt/gwlm

Automatic restart of gWLM’s managed nodes in SRDs (high availability)

Whenever a managed node boots, the node’s gWLM agent attempts to automatically rejoin the node in its SRD, providing high availability. The only configuration steps you need to perform for this behavior to happen are:

1.Ensure the /etc/rc.config.d/gwlmCtl file on each managed node has

GWLM_AGENT_START set to 1. You can run the following command on each system where gwlmagent is running to make this change for you:

#/opt/gwlm/bin/gwlmagent --enable_start_on_boot

In the same file, you also need GWLM_CMS_START=1 on the system where gwlmcmsd is running. However, when you ran vseinitconfig during installation, this change was automatically made.

Automatic restart of gWLM’s managed nodes in SRDs (high availability) 41

Page 41
Image 41
HP UX 11i Workload Management (gWLM/WLM) Software manual # /opt/gwlm/bin/gwlmagent --enablestartonboot