Obtaining Custom Logging From Ibrix_Collect Add-On Scripts; Creating An Add-On Script - HP StoreAll 9730 Administrator's Manual

Hide thumbs Also See for StoreAll 9730:
Table of Contents

Advertisement

To set up email settings to send cluster configurations using the CLI, use the following command:
ibrix_collect -C -m <Yes\No> [-s <SMTP_server>] [-f <From>] [-t <To>]
NOTE:
More than one email ID can be specified for -t option, separated by a semicolon.
The "From" and "To" command for this SMTP server are Ibrix Collect specific.

Obtaining custom logging from ibrix_collect add-on scripts

You can create add-on scripts that capture custom StoreAll and operating system commands and
logs. To activate an add-on script, place it in the specified location, and the add-on script will run
when the ibrix_collect command is executed. Output of these add-on scripts is packaged
into IbrixCollect tar files.
Table 5 ibrix_collect add-on scripts
Step
Description
1
Create an add-on script.
2
Run the add-on script.
3
View the output from the add-on script.

Creating an add-on script

To create an add-on script:
1.
Add-on Scripts names should be in the defined format. The file name of the script should strictly
followed this format <release Number>_<add-on_script_name>.sh.
When you provide the release number in the file name, remove the period between the first
and second digit of the version number.
For example, assume you obtained the version number from the ibrix_version -l
command.
The output of the command displays the version number.
[root@host2 /]# ibrix_version -l
Fusion Manager version: 6.3.33
==============================
Segment Servers
===============
HOST_NAME FILE_SYSTEM IAD/IAS IAD/FS OS KERNEL_VERSION ARCH
–------ - --------------------------------- ------- ------ ---------
-------------- ----
host2 6.3.33(internal rev 132818 in SVN) 6.3.33 6.3.33 GNU/Linux
2.6.18-194.el5 x86_64
In this example, the version displayed is 6.3.33. Use the first two digit of the version number,
6.3 for example, as a prefix to "Add-on Script File Name" without "." (Dot), so that the name
of an add-on script named AddOnTest.sh would be 63_AddOnTest.sh.
IMPORTANT:
you plan to run the script. For example, any add-on script that you want to run on StoreAll
version 6.3, must have 63_ in its file name; otherwise, the script will not run. For example, if
you prefix the name with another version, such as 6.2_, and you attempt to run the add-on
script on StoreAll 6.3, the script will not run.
146 Troubleshooting
The version provided in the name must match the version of StoreAll on which
Where to find more information?
"Creating an add-on script" (page 146)
"Running an add-on script" (page 147)
"Viewing the output from an add-on script"
(page 147)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ibrix x9720

Table of Contents