 |
» |
|
|
 |
This page is organized by symptom, each of which
is followed by possible indicators or causes to investigate. Errors in Installation |  |
Failure message on installation of Application Discovery agent (AppDiscAgent)Check that OpenSSL is installed on the managed node and that it is
free of outstanding security issues. To learn about the latest security bulletins, check http://www.openssl.org/news. Check that HP WBEM Services software is installed on the managed
node and that it is a compatible version. To obtain a new version of HP WBEM Services for HP-UX,
go to the Security and manageability page on HP Software Depot web
site (http://software.hp.com/). Find 'WBEM Services for HP-UX'. For details on which
is the appropriate version to download by operating system version,
please consult the VSE Management Software Installation
and Update Guide system requirements for WBEM. AppDiscAgent
runs with any 2.x version of HP WBEM Services for HP-UX. To obtain a new version of HP WBEM Services for
Linux, go to the Internet ready and networking page on HP Software Depot web
site (http://software.hp.com/). Find HP WBEM Services for Linux, and click the download link. Check that the Application Discovery WBEM provider has been installed on the
managed node. Type
the following command on the command line of the managed node: # cimprovider -l -m AmgrAgentProviderModule
AmgrAgentProvider |
A return of AmgrAgentProvider indicates that the WBEM provider is installed. If this value is not returned, first clean up
the provider by typing: # /opt/amgr/bin/agent_wbem_cleanup
Removing the AmgrAgentProvider
|
Then configure the provider by typing the following
on the command line: # /opt/amgr/bin/agent_wbem_config
Loading Application Discovery schema
Loading Application Discovery metadata |
Check that the Application Discovery agent certificate has been installed on
the managed node. Type the following
on the command line of the managed node: # ls /var/opt/amgr/ssl/agent_cert.pem
/var/opt/amgr/ssl/agent_cert.pem |
If agent_cert.pem is not listed,
you can create the certificate by typing the following on the command
line: # /opt/amgr/bin/make_agent_cert
Host name is xyz.cup.hp.com
...
Finished agent certificate creation. |
Data Missing in Application Discovery Screens |  |
Issues listed in this section include the following: Applications Not Visible in Application Discovery ScreensCheck that the application is not hidden from view in the application
table. Tables that list applications
are preceded by the 'Application Visibility' drop-down that
lets you toggle to Show hidden apps. Select this
option and scan the table for your application. Also, check that no filters are in operation in
the table. (If one or more filters have been applied to the table,
they are listed on the right in the dark gray table header bar.) To
remove current filters, right-click anywhere on the table, and select Clear all filters. If you cannot find the application, Application Discovery is
not currently recognizing the application as matched to a template. It is possible that certificate exchange has not been completed. See “Completing Certificate Exchange” for
instructions on completing the certificate exchange. The Application Discovery agent
starts running (and begins sending data to the Application Discovery server) on
completion of the certificate exchange. Check that Application Discovery is showing that the discovery ratio is 100%. Click the following tabs in Application Discovery: Admin/Config, then Discovery. Find the following column headings in the data table
on this screen. Check that the value for Discovery ratio is 100%. When the discovery ratio is less than 100%, this may indicate
that an inventory is still being taken for that host. Expect the warm-up
period for completing the process inventory to take about 20 minutes.
Check that any usage of regular expression syntax in the defining
application template is correct. Application Discovery recognizes regular
expressions constructed using Perl 5 or POSIX syntax and semantics. Check that any string or regular expression used in the executable
path field of the defining application template describes the desired
running process. Application Discovery differs from Global Workload Manager
(gWLM) in how it matches user input data to discovered applications.
gWLM uses a combination of a fully qualified path and retrieved inode
information to find a process on one managed node. Application Discovery does
not infer the location of running processes based on the presence
or location of installed applications. For broader coverage of all
running processes (not just those associated with installed software
packages) within a network of machines, Application Discovery matches strings
and regular expressions exactly when comparing templates to running
processes. It may help to think of the difference between
AD and gWLM this way: In AD, an executable and arg[0] are compared directly
to one another to make a match. In gWLM, the inode of an executable and the inode
of arg[0] are compared to one another to make a match.
The following examples demonstrate the different results
that you can expect when using the same executable and arguments in Application Discovery as
compared to Global Workload Manager (gWLM).Table 4-1 An Example Comparison of Match Behavior in AD and gWLM for
Same Executable Path and Arguments | Example Inputs | AD | gWLM |
|---|
| Executable | Process arg[0] |
|---|
| /usr/sbin/biod | /usr/sbin/biod | match | match | | biod | no
match | match | | ./biod | no match | match | | biod | /usr/sbin/biod | match | not allowed | | biod | match | not allowed | | ./biod | match | not allowed |
To check your application template data against
the process data that Application Discovery has catalogued, you can consult the
following: "Processes unmatched by this template" table for a
particular host. "Processes unmatched by this template" table. "Applications affected by this template" table.
Or, to see examples of working templates, click the
following tabs: Admin/Config, then AD Templates. Click a template name to see its attributes. |  |  |  |  | NOTE: Where large amounts of data are present in tables, it can be
useful to sort or filter the data to find the exact process and associated
attributes for which you are searching. |  |  |  |  |
Host Not Visible in Application Discovery ScreensCheck that the host appears on the list of hosts managed via HP Systems Insight Manager. An unlisted host is not being managed
via HP Systems Insight Manager, and therefore, cannot be discovered by Application Discovery. To learn how to add
a managed system to HP Systems Insight Manager's system list, see “Setting up managed systems” in HP Systems Insight Manager User
Guide. Check that the host is marked as 'visible' in Application Discovery. Click the following tabs
in Application Discovery: Admin/Config, then Discovery. Find the column heading
"Visible". Hosts marked with 'Y' are currently visible in Application Discovery screens.
Hosts marked with 'N' are hidden.
Check that no firewall is blocking port 22 (used by SSH) or port
5989 (used by WBEM) on managed systems. Unblock the ports. Once this action is taken, check that Application Discovery is
receiving messages from the host. (See #8 in this section.) Check that the managed node has been configured to allow remote command
execution by the CMS. To set the managed node to allow remote command execution, type the
following: /opt/mx/bin/mxagentconfig -a -n hostname -u root |
Once this action is taken, check that Application Discovery is
receiving messages from the host. (See #8 in this section.) Check that SSH is configured correctly on the managed node . In this case, you
may need to repair the HP Systems Insight Manager agent on the managed system.
Click the following menu selections: Configure, then Configure or Repair Agents. Make
sure to check the box for 'configure SSH access' before
running the repair agent. To verify that the repair action has resolved
any SSH configuration problem, you can issue a remote ls command toward the managed system by doing the following: Select Tools Command Line Tools UNIX/Linux ls... In the text field, type /tmp
If the contents in /tmp are visible,
then SSH is working correctly.If the configuration is still not working, you
may see an error message: Ssh Operation failed for node:managed_node.
The connection could not be established.
Reason:Failed to read remote identification |
In conjunction with this, you may also notice
that running mxagentconfig and selecting Configure Configure or Repair Agents fail on the target managed node. To reconfigure SSH on the managed node, do the
following steps: Log
on the managed node as user root. # cd /.ssh /* <root_user_home_directory>/.ssh */ # rm * /* Erase all
possible corrupted contents */ # ssh-keygen -b 2048 -t rsa /* Generate root ssh key */ # ps -elf|fgrep sshd /* Find the sshd PID */ # kill -1 <pid> /* Re-start sshd */ # mxagentconfig -a -n managed_node # amgr_remote_config -a -n managed_node -mx
Once this action is taken, check that Application Discovery is
receiving messages from the host. (See #8 in this section.) Check that Application Discovery agent is authorized to exchange data with the
CMS and that exchange is complete. Click through the following HP Systems Insight Manager menus: Configure Configure VSE Agents Check AD Agent States. Any
status other than Connected indicates that a certificate
exchange may be necessary. See “Introduction” for completing
the certificate exchange. The Application Discovery agent starts running
(and begins sending data to the Application Discovery server) on completion of
the certificate exchange. Once this action is taken, check that Application Discovery is
receiving messages from the host. (See #8 in this section.) Check that the WBEM connection is working correctly on the managed
node. To check the status of the WBEM connection,
do the following in Application Discovery user interface: Click the AD Agents tab. Look for the WBEM Stat column in the 'Hosts/Agents' table. If the
status message for WBEM is 'WBEM down', do the following: Check that HP Systems Insight Manager CMS has
an authorized logon with the managed system. See “Configuring the WBEM Provider Password”to learn how to configure the WBEM
provider to complete this authorization. Alternatively, you can configure the managed system's WBEM
authorization to trust the CMS to perform a remote "root" WBEM user
logon. Do this by clicking Configure Configure or Repair Agents. Make sure to mark the box for 'Configure WBEM client certificate
authentication' before you run the tool. Once this action is taken, check that Application Discovery is receiving
messages from the host. (See #8 in this section.)
Check that Application Discovery is receiving
messages from the host. Click the following tabs
in Application Discovery: Admin/Config, then AD
Agents. Find the column headings
providing message data on the far right of the data table on this
screen. Check that the cells have data and that the time stamp is
within the period set by the Global Host/Process Interval selector
on that screen.
Packages Not Visible in Application Discovery Screens
Check that the package is marked
as 'visible' in Application Discovery. Click the following tabs in Application Discovery: Admin/Config , then Packages. Find the column heading "Visible". Packages marked
with 'Y' are currently visible in Application Discovery screens. Packages
marked with 'N' are hidden.
Check that Application Discovery is showing
that total packages and completed packages have the same value. Click the following tabs in Application Discovery: Admin/Config , then Discovery. Find the following column headings in the data table
on this screen. Check that the values for Tot Pkg and Cmplt Pkg are the same, and that the Warmup ratio is 100%. When the values are not the same and the warm-up ratio is less
than 100%, this may indicate that an inventory is still being taken
for that host. Expect the warm-up period for completing the package
inventory to take about 20 minutes.
It is possible
that certificate exchange has not been completed. See Appendix B for instructions on
completing the certificate exchange.. The Application Discovery agent starts running
(and begins sending data to the Application Discovery server) on completion of
the certificate exchange.
Application Errors in VSE Workload Screens |  |
Issues listed in this section include the following: Error Message Indicates Application Discovery Server Is Not Available Application Discovery may not be correctly configured. Run vseinitconfig -a on the command line to
correct the configuration of Application Discovery. (See also vseinitconfig(1M).) To identify other configuration
problems that may be affecting Application Discovery server, check the “Troubleshooting” notes in the VSE Management Software
Help instructions, or use vseassist(1M). Check that Application Discovery server is running on the CMS. Type ps -elf | grep amgrserver.jar on the command line of the CMS. You should see a Java process running
the Application Discovery server. If you do not see this Java process, type /opt/amgr/bin/cms_start . You must be logged in as user 'root'
on the CMS to initiate this command.
No 'Applications' Icon for System Listed on Virtualization Manager Visualization
Tab Screen[ The Application Discovery icon appears on a system shown on the Visualization tab when Application Discovery agent and server are running correctly and the
host system is known to Application Discovery.] Check that Application Discovery server is running on the CMS. Type ps -elf | grep amgrserver.jar on the command line of the CMS. You should see a Java process running
the Application Discovery server. If you do not see this Java process, type /opt/amgr/bin/cms_start . You must be logged in as user 'root'
on the CMS to initiate this command. Check that the host is known to Application Discovery. Click the following tabs in Application Discovery: Admin/Config, then Discovery. Find the column heading "Host". Hosts recognized by Application Discovery are
listed here. If the host that you are looking for is not listed here,
it may be that you need to deploy an agent on the host and exchange
certificates so that the host is recognized and inventoried by Application Discovery.
No 'by application' Entry in VSE Workload Definition
Criteria Drop-down Check that Application Discovery server is running on the CMS. Type ps -elf | grep amgrserver.jar on the command line of the CMS. You should see a Java process running
the Application Discovery server. If you do not see this Java process, type /opt/amgr/bin/cms_start . You must be logged in as user 'root'
on the CMS to initiate this command. Check that the host is known to Application Discovery. Click the following tabs in Application Discovery: Admin/Config, then Discovery. Find the column heading "Host". Hosts recognized by Application Discovery are
listed here. If the host that you are looking for is not listed here,
it may be that you need to deploy an agent on the host and exchange
certificates so that the host is recognized and inventoried by Application Discovery.
No Indicators Showing in VSE Workload Real-Time Utilization
Meters This information applies to workloads associated
with Application Discovery applications. Check that the Application Discovery agent is running. Click the
following menu choices in HP Systems Insight Manager: Configure Configure VSE Agents Check AD Agent States . Follow
the instructions for selecting hosts and checking agent state. If the Application Discovery agent is installed, but is not running, click Configure Configure VSE Agents Start AD
Agents and follow the instructions for
selecting hosts and starting agents. Check that Application Discovery agent is writing process maps for this workload
on the managed system. Log
on to the managed system. Go
to /var/opt/amgr/procmaps . Check
for the existence of files. Note that file names are internally generated
and do not have a logical correlation with user-known names, specifically
user-assigned workload names. Check
the file timestamps. If any file is more than 60 seconds old (this
is already conservative), process maps are not being updated.
If you confirm that process maps are not being
updated, you can try the following actions to get process maps working
correctly. Check that the workload is defined for this host. A workload receives process
maps only for the host or hosts for or on which it is deployed. To
check that a workload is defined for a host, click the Workloads tab
in Virtualization Manager. You may need to modify a workload to include this
host or create a new workload for it. For
help on this topic, see the Virtualization Manager Help reference. Check to see if the workload is parked. A parked
workload does not generate process maps anywhere. Process maps that
existed prior to parking the workload are deleted. See the discussion of “General Workload
Properties ” in Virtualization Manager Help and
the glossary for information about parked workloads. Check to see that the application associated with the workload is
currently running. In Application Discovery, click the Applications tab. Then, under the Running tab, sort by host. (Click the 'Host' column header to
toggle the list to sort in ascending or descending alphabetical order.)
To rule out the possibility that the running application is hidden,
click the drop-down menu above the 'Application Instances'
to 'Show hidden apps'. If the application that you are looking
for is not in this list, you must run the application so that it can
be discovered. Check that Application Discovery server is running on the CMS. Type ps -elf | grep
amgrserver.jar on the command line of the CMS. You should
see a Java process running the Application Discovery server. If you do not see this Java process, type /opt/amgr/bin/cms_start . You must be logged in as user 'root'
on the CMS to initiate this command.  |  |  |  |  | NOTE: If none of these measures are sufficient, other
underlying problems may be the cause. See also the suggestions in “Host Not Visible in Application Discovery Screens” that relate to communication between the Application Discovery server and the
WBEM provider and between the WBEM provider and the Application Discovery agent. |  |  |  |  |
Cannot Enter Application Discovery User InterfaceYou can see this message when this problem occurs:
You are not authorized to view this screen.
Please login with the right credentials. |
To gain access to Application Discovery user interface via
links in Virtualization Manager, you must set your user authorizations to include
AD Monitor Tools or AD All Tools, depending on your job role. See “User Authorizations” in VSE Management Software
Help for more information. Errors in Application Discovery User Interface Operation |  |
Issues listed in this section include the following: UI “Unable to Connect to Server” Messages Application Discovery might not be correctly configured. Run vseinitconfig -a on the command line to correct the configuration
of Application Discovery. (See also vseinitconfig(1M.) To identify other configuration
problems that might be affecting Application Discovery server, check the “Troubleshooting” notes in the VSE Management Software
Help instructions, or use vseassist(1M). Check that Application Discovery server is running on the CMS. Type ps
-elf | grep amgrserver.jar on the command line of the CMS.
You should see a Java process running the Application Discovery server. If you do not see this Java process, type /opt/amgr/bin/cms_start . You must be logged in as user 'root'
on the CMS to initiate this command.
Java 'UI exception' Message Displays'UI exception' errors indicate that
a problem internal to the Application Discovery user interface exists. Please
contact HP to report the error and receive assistance. See “HP Encourages Your Comments”.
|