ServerConductor/Blade Server Manager Description and Reference
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
Information acquisition can be executed only for the following managed servers:
The following information can be acquired.
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:
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. |
lha m %archive%.lzh %directory%
lha a %archive%.lzh %file% ; rm -f %file%
All Rights Reserved. Copyright (C) 2006, Hitachi, Ltd.