Troubleshoot issues

Problem: The HP-UX Virtualization Manager extension is not displayed in the SA Library.

Problem: When adding virtual servers, an HP-UX server does not appear in the search results. Or, when searching all servers, the server displays, but when searching for specific IP addresses, it does not.

  • Set the Display drop-down list to All Servers, and search again.
  • Ensure the server is a managed server. For more information, see the SA 10.51 Use section.
  • Perform a hardware registration. On the managed server, run the following SA command:

    /opt/opsware/agent/pylibs/cog/bs_hardware

Problem: When adding virtual servers, a particular server only shows in the results when display is set to All Servers.

  • Ensure either Virtual Partition or HP VM software is installed on the server
  • Perform a software registration. On the managed server, run the following SA command:

    /opt/opsware/agent/pylibs/cog/bs_software

Problem: The Summary view for a server does not display all information about the server.

  • If the server is not managed by SA, some information may not be displayed. Bring the server under SA management. For instructions, see the SA 10.51 Use section.
  • If the server is a managed server, perform a hardware registration. On the managed server, run the following SA command:

    /opt/opsware/agent/pylibs/cog/bs_hardware

Checking log files

Log files are stored in the user’s /tmp directory in the Global File System (OGFS). To access them, log in to the OGSH and change directory to /tmp.

The name of the log file for HP-UX virtualization is hpuxvirtlog. This is a rotating log file, so over time you will see hpuxvirtlog.1 and hpuxvirtlog.2 up to a maximum of 3 log files. The current log file is always hpuxvirtlog. The file rotates when the size reaches 5Mb.

The log file shows informative messages, warnings, and errors. The informative messages show the vPars and HP VM commands that are executed on the managed servers.

Nearly all errors and warnings are displayed in the HP-UX Virtualization manager, so checking the log files is usually not necessary.

Sample log messages

Here are example log messages:

2011-05-31 10:53:59 INFO HPUX-V12N(127): Requested operation: modify_virtual_machine

2011-05-31 10:54:00 INFO HPUX-V12N.vpar(416): dhcp-184-241: scanning

2011-05-31 10:54:03 INFO HPUX-V12N.vpar(462): /usr/sbin/vparmodify -p vpar2 -m cell:1:cpu::1

Returned: 0

2011-05-31 10:54:03 INFO HPUX-V12N.vpar(462): /usr/sbin/vparmodify -p vpar2 -B search

Returned: 0

The messages include the date, time, log level (INFO), module (HPUX-V12N and HPUX-V12N.vpar), and the message text. The lines above show a modify operation performed on a vPar (vpar2). The modify commands were executed on server dhcp-184-241 and both commands returned 0, meaning they were successful.