6.3 HP StoreAll 9300/9320 Storage Administrator Guide (AW549-96072, June 2013)

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 3 ibrix_collect add-on scripts
Where to find more information?DescriptionStep
“Creating an add-on script” (page 136)Create an add-on script.1
“Running an add-on script” (page 137)Run the add-on script.2
“Viewing the output from an add-on script”
(page 137)
View the output from the add-on script.3
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: The version provided in the name must match the version of StoreAll on which
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.
136 Troubleshooting