ServerConductor/Blade Server Manager Description and Reference

### 5.2.3 Operation

After a database has been created, the system administrator can use the console service to perform the following management operations:

- Search the database for the hosts that satisfy specified conditions (host search function)
- Report regularly on a scheduled basis by means of email the hosts that satisfy specified conditions (auto-report function)

This subsection describes each function.

Organization of this subsection
  (1) Searching the database for hosts (host search function)
  (2) Setting a report schedule (auto-report function)

#### (1) Searching the database for hosts (host search function)

The host search function enables you to search a database for the hosts that satisfy specified inventory conditions. The search results can be output to a CSV file or can be grouped.

To use the host search function:

1. From the Host Management menu, choose Host Search.
   The Host Search dialog box appears.

2. From the condition tree view, select a search item.
   The search items are classified into Windows items and Linux items. When Windows items or Linux items is selected, the types of inventory items applicable to the selected server type are displayed in tree format.
   A search condition for the selected inventory item is displayed in the fields to the right of the tree view.
3. Specify an appropriate search condition.
   You can specify a maximum of 255 characters for a search condition. For details about the search condition that is displayed, see (d) Search conditions for host search.
   About wildcard search
   If you select the Wildcard search check box, you can use the following wildcard characters:
   ?: Any single character
   *: Any character string
   - When you use a wildcard search, you can specify only one search condition and the conditional operator will always be set to Equal. For example, if the Wildcard search check box were selected in the above window, the search condition would be the first search condition, which is 02-04-00 and Equal, and the other search condition (02-10-00 and Equal) would be disabled.
   - When only the asterisk (*) is specified as a condition, all host information is displayed.
4. Click the Settings for the List of Search Conditions button.
   The specified condition is displayed in the Search conditions that have been set list. You can specify a maximum of 10 search conditions. To delete an unneeded search condition, select it and click the Delete button.
   When multiple search conditions are specified, specify a conditional expression for the items in Conditional expressions between items. The conditional expressions available to be set between items are and, or, and parentheses. For example, to specify a condition that matches item 1 and any of items 2 to 4, specify as follows:

            1 and (2 or 3 or 4)

   - Parentheses can be used to create a maximum of 10 nested levels.
   - A maximum of 20 ands and ors can be specified.
   - and cannot be used to mix a search of Windows and Linux items.
5. Click the OK button.
   The database search begins, and the hosts satisfying the specified conditions are displayed in the Host Result window.

You can narrow the search results by executing another host search while the Host Result window is selected. The following options are available on the Host Result window:

- Changing the display format of the host search results
- Output of the host search results to a CSV file
- Grouping and registering the host search results

The following subsections describe these options.

##### (a) Changing the display format of host search results

While the Host Result window is selected, from the View menu, choose Display Format, and then Display Details or Overview.

The two display formats are described below:

Detail display format
  Each line displays a single search result item. If the search results for one host consist of multiple items, multiple lines are used to display the items.

Overview display format
  Each line displays all the search result items for one host.
  A Windows drive name and Windows total drive capacity are also displayed in a single line.
  The Windows total drive capacities are displayed in the order of the Windows drive names.

##### (b) Outputting host search results to a CSV file

While the Host Result window is selected, from the File menu, choose Output the host search result to CSV file. When the Save As dialog box appears, enter a name for the file and save the file.

##### (c) Grouping the host search results

To group the host search results:

1. While the Host Result window is selected, from the Group menu, choose User Definition.
   The User Definition window appears.

2. From the Edit menu, choose Create New Group.
   A new group is created in the group tree.
3. To register a host into a group, either drag it from the Host Result window and drop it in the User Definition window, or copy and paste it.
   By creating multiple groups and structuring them hierarchically, you can classify the groups for a desired purpose on the basis of the search results. You can also set a name for a group, so the group name can reflect the purpose of the grouping. You can set a maximum of eight hierarchical levels for groups.
4. After the group has been created, from the File menu, choose Save.
   The group information you have defined is saved.

To view the search conditions for a created group, right-click on that group, and then from the displayed menu choose Properties. The Properties dialog box for that group is displayed:

##### (d) Search conditions for host search

The tables below list for each search item the search conditions that can be selected from the Host Search dialog box when the database is searched for hosts:

Table 5-1 Search condition selections (for Windows items)

Category 1 | Category 2 | Search item | Format | Operators
--- | --- | --- | --- | ---
Basic system | System device | Agent version | Character | #
System Bios version | Character | Equal, Other than
System BIOS creation date | Character | #
OS & network | OS name | Character | Equal, Other than
OS version | Character | #
Service pack | Character | #
CPU | Processor name | Character | Equal, Other than
Maximum speed | Numeric (MHz) | #
Number of processors | Numeric | #
Slot number | Numeric | #
Attachment status | Character | Equal, Other than
System cache size | Numeric (KB) | #
Memory | Total memory size | Numeric (MB) | #
Maximum size of paging file | Numeric (KB) | #
Drive | -- | Drive name | Character | #
Drive assortment | Character | Equal, Other than
Total drive capacity | Numeric (KB) | #
Free drive space | Numeric (KB) | #
Asset information | Device information | Product name | Character | Equal, Other than
Serial number | Character | #
Assets information | Asset name | Character | #
Asset number | Character | #
Device configuration | Character | #
Purchase date | Character | #
Depreciation period | Character | #
Managing section name | Character | #
Managing section number | Character | #
Administrator's name | Character | #
Administrator's number | Character | #
Administrator's details | Character | #
Administrator information | Operation administrator's name | Character | #
Operation administrator's number | Character | #
Operation administrator's details | Character | #
Contact point phone number | Character | #
Contact point email address | Character | #
Installation site/other | Site information | Character | #
Installation site details | Character | #
Note | Character | #

#

The following operators can be selected: Equal, Other than, Above, Below, <, >.

Table 5-2 Search condition selections (for Linux items)

Category 1 | Category 2 | Search item | Format | Operators
--- | --- | --- | --- | ---
Basic system | System device | Agent version | Character | #
System Bios version | Character | Equal, Other than
System BIOS creation date | Character | #
OS & network | OS name | Character | Equal, Other than
OS version | Character | #
CPU | Processor name | Character | Equal, Other than
Maximum speed | Numeric (MHz) | #
Number of processors | Numeric | #
Slot number | Numeric | #
Attachment status | Character | Equal, Other than
System cache size | Numeric (KB) | #
Memory | Total memory size | Numeric (MB) | #
Maximum size of paging file | Numeric (KB) | #
File system | -- | File system number | Numeric | #
Mount point | Character | Equal, Other than
Total capacity | Numeric (KB) | #
Free space | Numeric (KB) | #
Asset information | Device information | Product name | Character | Equal, Other than
Serial number | Character | #
Assets information | Asset name | Character | #
Asset number | Character | #
Device configuration | Character | #
Purchase date | Character | #
Depreciation period | Character | #
Managing section name | Character | #
Managing section number | Character | #
Administrator's name | Character | #
Administrator's number | Character | #
Administrator's details | Character | #
Administrator information | Operation administrator's name | Character | #
Operation administrator's number | Character | #
Operation administrator's details | Character | #
Contact point phone number | Character | #
Contact point email address | Character | #
Installation site/other | Site information | Character | #
Installation site details | Character | #
Note | Character | #

#

The following operators can be selected: Equal, Other than, Above, Below, <, >.

#### (2) Setting a report schedule (auto-report function)

The auto-report function enables you to send inventory information managed by the manager service to the system administrator by email at a specified time.

To use the auto-report function:

1. From the Host Management menu, choose Report Schedule.
   The Report Schedule Setting dialog box appears.

2. Select the Auto-Report Notification check box.
   The auto-report function is enabled, allowing you to set a reporting time, conditions, and method.
3. In Report time, click the Add to List button.
   The Report Time Settings dialog box appears.

##### (a) Report Time Settings dialog box

Set a report time and click the OK button.

- For Setting name, enter a name for the schedule that is to be set. The default is Report time settings n (n: sequential number of this set of report time settings).
- For the other items, set the day of the week or date and the time for sending the report in the same manner as in 5.2.2(2) Creating a database.

Rules
  - When Send a report is selected, the Specific day setting settings take effect. When Send a report is selected in conjunction with both Specific day setting settings and Settings for days of the week settings, the Settings for days of the week settings are ignored regardless of the specified time.
    Example: If Specific day setting settings are 08/11/1999 9:00 (with Send a report selected) and Settings for days of the week settings are Wed 12:00 (with Send a report selected), then reporting on Wednesdays at 12:00 is ignored.
  - When To exclude a report is selected, there is no precedence between the Specific day setting settings and the Settings for days of the week settings. If Send a report is selected in conjunction with Specific day setting settings and To exclude a report is selected in conjunction with the Settings for days of the week settings, and the report time and exclusion time are the same, the exclusion settings take precedence.
    Example: If Specific day setting settings are 08/11/1999 9:00 (with Send a report selected) and Settings for days of the week settings are Wed 9:00 (with To exclude a report selected), then exclusion is assumed.
  - Make sure that the report schedule time will be subsequent to the database update schedule time described in 5.2.2(2) Creating a database. By setting the report schedule to be after database updating, the most recent information will always be reported. In such a case, you should provide an interval of at least one hour.
  - If fewer than 30 minutes will elapse between scheduled report times when Send a report is selected, the latter setting will result in an error.
  - If fewer than 30 minutes will elapse between scheduled report times as a result of setting Every month in Month or of clicking the Every day button, the Every day setting will be ignored.

1. In the Report Schedule Setting dialog box, click the Add to List button in Report condition.
   The Report condition setting dialog box appears.

##### (b) Report condition setting dialog box

Set report conditions in the same manner as in 5.2.3(1) Searching the database for hosts (host search function), and then click the OK button.

1. In the Report Schedule Setting dialog box, select a report time, set of conditions, and method to be used.
   - If you have set multiple report times or report conditions, the report will be sent in accordance with the report time and set of conditions you select here.
   - If you select To exclude a report for the report time, no reports will be sent.
2. In the Report Schedule Setting dialog box, click the OK button.

##### (c) Report format

Reports are sent in the following format:

Email message text
  The following shows the email message text:

File attachment
  The file selected on the Email Settings page of the Manager Service dialog box will be attached. The following describes file attachments in CSV format and in HTML format:
  - CSV format
  A CSV file with the following contents is attached. The name of the file is YYYYMMDDhhmm Inv.csv:
  - HTML format
  An HTML file with the following contents is attached. The name of the file is YYYYMMDDhhmm Inv.html:

Note
  If the size of the CSV or HTML file exceeds the specified maximum size for an attached file, as described in 5.2.2(3) Setting email addresses (auto-report function), the message The subsequent information will not be sent because the specified size for the attached file has been exceeded is added to the file and only as much information as fits in the specified size is included in the file attachment.

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