Running An Add-On Script; Viewing The Output From An Add-On Script - HP StoreAll 8800 Administrator's Manual

Hide thumbs Also See for StoreAll 8800:
Table of Contents

Advertisement

3.
Write an add-on shell script that contains a custom command/log that needs to be collected
in the final StoreAll collection. Only StoreAll and operating system commands are supported
in the scripts. These scripts should have appropriate permission to be executed.
IMPORTANT:
that are already collected as part of the ibrix_collect command.
4.
Make sure that add-on scripts that collect the custom logs redirects the collected custom logs
to the directory /local/ibrixcollect/ibrix_collect_additional_data. Only
files copied to this location will be included in the generated IbrixCollect tar file. Output of
the add-on scripts is available only when the IbrixCollect process is completed and the tar
files containing the output are extracted. See
"Viewing the output from an add-on script" (page

Running an add-on script

To run an add-on script:
1.
Verify that the add-on script is saved under the following location:
/usr/local/ibrix/ibrixcollect/ibrix_collect_add_on_scripts/
The ibrix_collect command only runs add-on scripts saved in this location.
2.
Enter the ibrix_collect command:
ibrix_collect -c -n addOnCollection
In this instance addOnCollection is the collection name.
The output of the add-on scripts is included into the final tar collection along with other logs
and command outputs. In this instance, the output would be in the addOnCollection.tgz
file.
NOTE:

Viewing the output from an add-on script

To view an output from an add-on script:
1.
Go to the active Fusion Manager node in the /local/ibrixcollect/archive directory
by entering the following command:
[root@host2 /]#cd /local/ibrixcollect/archive/
2.
The output of the add-on scripts is available under the tar file of the individual node. To view
the contents of the directory, enter the following command:
[root@host2 /]#ls -l
The following is an example of the output displayed:
total 3520
-rw-r--r-- 1 root root 2021895 Dec 20 12:41 addOnCollection.tgz
3.
Extract the tar file, containing the output of the add-on script. The tar file containing the output
of the add-on script has the name of the collection by entering the following command:
[root@host2 archive]#tar -xvf addOnCollection.tgz
In this instance, addOnCollection.tgz is the tar file containing the output of the add-on
script.
The tar command displays the following:
./
./host2_addOnCollection_2012-12-20-12-38-36.tgz
Make sure the scripts that you are creating do not collect information or logs
The add-on scripts timeout after 20 minutes.
"Running an add-on script" (page 123)
123).
Collecting information for HP Support with the IbrixCollect 123
and then

Advertisement

Table of Contents
loading

This manual is also suitable for:

Storeall 9320

Table of Contents