HP UX 11i Workload Management (gWLM/WLM) Software manual Creating Golden Images

Page 48

Figure 3 shows a management LAN in which the hosts are known as mgmtA, mgmtB, mgmtC, and mgmtD. With this management LAN, gWLM can manage the hosts in a single SRD. Complete the following procedure to set up gWLM to manage such hosts in an SRD:

1.For each host in the management LAN that you want to manage in an SRD:

a.Edit the /etc/opt/gwlm/conf/gwlmagent.properties file to include the following property:

com.hp.gwlm.security.virtualLocalHostName=hostnameOnLAN

For example, with the host mgmtA, its property would be: com.hp.gwlm.security.virtualLocalHostName=mgmtA

b.Restart gwlmagent on the host:

# /opt/gwlm/bin/gwlmagent --restart

2.The CMS must also be in the management LAN. If the primary hostname for the CMS is not the name, it uses in the management LAN:

a.Edit the gwlmagent.properties file on the CMS to include the property: com.hp.gwlm.security.virtualLocalHostName=hostnameOnLAN

On HP-UX, the gwlmagent.properties file is in /etc/opt/gwlm/conf/. On Windows, it is in C:\Program Files\HP\Virtual Server Environment\conf\. (The given Windows path is the default; however, a different path might have been selected at installation.)

b.Restart System Insight Manager and gwlmcmsd.

3.On each host in the SRD (CMS and managed nodes), ping every other host in the SRD—using the hostname you intend to have gWLM discover (its hostnameOnLAN)—to verify communication is possible.

4.Discover (or re-discover) the hosts using the gWLM Manage Systems and Workloads wizard.

Creating “Golden Images”

If you create golden images of a system’s applications and operating system to store in an IgniteUX server for distribution to other systems, here are tips for creating images that include gWLM.

When creating an image of a managed node:

Ensure the gWLM agent is set to start automatically.

In the file /etc/rc.config.d/gwlmCtl, set the variable GWLM_AGENT_START equal to 1.

Ensure no deployed SRD includes the node. (If the file /etc/opt/gwlm/deployed.config exists, an SRD is deployed on the node. Temporarily undeploy the SRD or unmanage the node.)

If a node based on a virtual partition is part of a deployed SRD and you make a golden image of the virtual partition, once you push that golden image out, the gWLM agent on the new system will still consider itself part of the SRD. The agent will then try to rendezvous with that SRD’s other managed nodes. You can reset the agent by deleting the deployed.config file (mentioned previously), then stopping and restarting gwlmagent.

Multiple network interface cards

As a client/server application, gWLM is more sensitive than other types of applications to the network configuration of your host. It supports management only within a single network domain. For example, if your CMS host has multiple network interface cards that are connected to multiple distinct networks, gWLM requires that the fully qualified host name resolve to the IP address that is reachable by the gWLM agents to be managed.

48 Additional configuration and administration tasks

Image 48
Contents HP Global Workload Manager 7.4 User Guide Acknowledgements Contents Additional configuration and administration tasks Support and other resourcesIndex Benefits of using gWLM Comparison of PRM, WLM, and gWLM featuresOverview GWLM OverviewConcepts and terms for using gWLM Scheduler fss group. gWLM manages a workload byWould make for a workload-without actually affecting GWLM management model SRDHow gWLM allocates CPU resources Available interfaces AssumptionsWhere to find additional information Finding more gWLM informationLearn about other gWLM commands Configuring gWLM to manage workloads Policy typesPolicy types Choosing a policy type Choosing a policy typeUsing the wizard Seeing how gWLM will perform without affecting the systemGetting started with gWLM Combining the different policy typesSeeing gWLM in action # /opt/gwlm/bin/gwlmagent# perl -e ’print $$\nwhile 1 ’ & 1 Common uses for gWLM Fixing the amount of CPU resources a workload getsCommon configuration tasks Setting up gWLM initial setup stepsChanging from advisory mode to managed mode Creating a new policyEditing a policy Changing which policy is associated with a workloadAdding a new compartment or GiCAP group member to an SRD Stop managing a workloadStop managing an SRD Quick Link Option Viewing gWLM reports in monitor-Only mode Monitoring workloads and gWLMMonitoring workloads High-Level viewMonitoring gWLM from the command line Message logsHP-UX /var/opt/gwlm/gwlmcommand.log.0 Viewing HP Systems Insight Manager events Monitoring gWLM with GlancePlusSecurity General security topicsSecuring gWLM communications Securing database communicationsSecurity Additional configuration and administration tasks Manually adjusting CPU resourcesManually adjusting memory resources Setting aside space for historical dataSetting cache size for historical configuration data Setting database recovery modelCreating a database maintenance plan Tips for backup and restoreSetting gWLM properties CMS propertiesSetting gWLM properties Agent properties # Severe # Warning # Info # Config # Fine # Finer # Finest Controlling gWLM’s startup behavior Communications ports# /opt/gwlm/bin/gwlmagent --enablestartonboot How the automatic restart works Related eventsManually clearing an SRD Node Failed to Rejoin SRD on Start-up event# gwlm undeploy --srd=SRD--force Nesting partitions Nested partitionsUsing gWLM with Hyper-Threading Changing the interval on the command lineChanging the gWLM resource allocation interval Changing the interval in HP System Insight ManagerUsing gWLM with hosts on multiple LANs Shows a possible scenarioCreating Golden Images Multiple network interface cardsIncorrectly configured host name or IP address Get the IP address configured for the host using nslookupUnable to create new native thread Enabling or disabling dumping core for gWLMCore dump file is available in root directory How to contact HP Subscription serviceSupport and other resources Information to collect before contacting HPHP authorized resellers Related informationTypographic conventions User input Documentation feedback Compatibility with agents Global Workload Manager known issues LimitationsUnable to build a single shared resource domain Compatibility with PRM and WLMMaking a configuration change to a large SRD is slow Rare incompatibility with virtual partitionsHost name aliases are not supported Deleting workloads takes a long time Integrity VM prevents discovery of psets and fss groupsInformation error during shutdown Process placement using psrset is ignoredCustom metrics lost on redeploy Major issues Documentation or minor issues Remove old configuration data from the gWLM databaseCell-local processors and iCAP environment CMS is slow to respondError during discovery of compartments Combining psets and virtual partitionsModifying Java while gWLM is running Missing or unexpected historical data system clocks differ Sample missing at start or end of gwlmreport outputOnly one SRD is allowed to be deployed Processes moved to default pset or default fss group SRD deployment times out and displays a blank screenApplication hangs in fss group Scripts not placed in correct workloadsConfiguration of agent and CMS not synchronized Changes in sizes in DiscoveryUnable to remove workload from nested partitions SRD Missing historical data gWLM CMS daemon/service restarted Negative current size for NonvmUnmanaging a VM or vPar that is on leaves SRD undeployed Index SRDIndex