ServerConductor/Blade Server Manager Description and Reference

### 8.1.1 Overview

Information acquisition is the function for acquiring, from the management console, information about a managed server, such as its OS information, ServerConductor log information, and hardware information (computer devices), and for transferring the acquired information to the administrator. The information can be transferred as a file to the management console or as an email attachment. This function enables the administrator to acquire maintenance information needed for determining the cause of an error that has occurred at a remote location.

Figure 8-1 Concept of information acquisition

Organization of this subsection
  (1) Limitations
  (2) Maintenance information that can be acquired

#### (1) Limitations

Information acquisition can be executed only for the following managed servers:

- Windows servers
- Linux servers

#### (2) Maintenance information that can be acquired

The following information can be acquired.

##### (a) For Windows servers

OS information
  The following OS information can be acquired for a managed server:
  - Network log information (output result of netStat.exe and NbtStat.exe)
  - Program diagnostics information (output result of WinMsd.exe)
  - Directory listing (output result of the Dir command)
  - Event log collection (EVT file that can be read by the event viewer EventVwr.exe, and CSV file containing the details)
  - Registry information (text file containing the registry information, including the last update date)
  - Hardcopy information
  - System dump information (if there are dump files and dumpchk.exe, the result of dumpchk.exe and the path to Memory.dmp; otherwise, Memory.dmp is not acquired)
  - User dump information (if Drwtsn32.log is available, then Drwtsn32.log; if User.dmp is available, then the path to User.dmp (User.dmp is not acquired))

ServerConductor log information
  ServerConductor log information can be acquired from a managed server.

Hardware information (computer device)
  The following hardware information can be acquired for a managed server:
  - Hardware log information (such as shared memory area)
  - Firmware information
  - Driver information (such as driver name, driver status, and sys file information)

Information acquired by user-defined tools
  The user can define information acquisition tools to acquire specific maintenance information other than the OS and ServerConductor log information.

##### (b) For Linux servers

For Linux servers, you can acquire the information listed in the Menu column in the table below as well as the maintenance information that can be acquired by the user-defined tools.

Table 8-1 Maintenance information that can be acquired for a Linux server

Menu | Tool name
--- | ---
Log information | agtget_log
ServerConductor log information | agtget_sysmgrlog
System settings information | agtget_sysconf
Network information | agtget_net
Package information | agtget_rpminfo
Kernel information | agtget_kernel
File system information | agtget_filesys
Machine configuration information | agtget_machineinfo
Process information | agtget_pid

If CompressCommand is specified for information acquisition in the agent environment settings menu, each menu's file will be compressed. The name of a compressed file is host-name_tool-name_menu-type_YYMMDDhhmmss.ext (where YYMMDD is the date, hhmmss is the time, and ext is an extension added by the specified command). The menu type is H for a default menu provided by ServerConductor and U for a menu added by the user.

Example: When log information and system settings information are executed and the data is compressed by LHA, the following files are obtained:

- 270g2_agtget_log_H_001225230101.lzh
- 270g2_agtget_sysconf_H_001225230101.lzh

For CompressCommand in the agent environment settings menu, set the command line character string used to start the compression command. In this case, you can use the macros described below. When a macro is used, it is expanded and executed during command execution. For details about CompressCommand in the agent environment settings menu, see 3.6.2(2) Settings on the agent environment settings menu.

Macro | Description
--- | ---
%archive% | Replaced with the output archive file name (file extension is not included).
%directory% | Replaced with the temporary directory for information acquisition (directory for each /var/opt/hitachi/serverconductor/agent/collect/ console).
%file% | Replaced with the file name (full path) obtained by the menu execution. If this macro is specified and multiple files have been obtained, the command is executed as many times as there are files.

Example of using LHA as the compression tool

      lha m %archive%.lzh %directory%

  or

      lha a %archive%.lzh %file% ; rm -f %file%

  When such a setting is specified, all acquired files are compressed by LHA and the original files are deleted. Any file remaining in the temporary directory will also be transferred. Therefore, when you execute the compression command, make sure that the command is specified as shown in the above example so that no file will remain in the temporary directory.

All Rights Reserved. Copyright (C) 2006, Hitachi, Ltd.