
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: The add-on scripts timeout after 20 minutes.
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
4. Individual node files in the tar format are provided as
<hostname>_<collection-name>_<time-date stamp>.tgz
Extract the <hostname>_<collection-name>_<time-date stamp>.tgz tar file by
entering the following command:
[root@host2 archive]#tar -xvf
host2_addOnCollection_2012-12-20-12-38-36.tgz
In this instance, host2_addOnCollection_2012-12-20-12-38-36.tgz is the individual
node file (<hostname>_<collection-name>_<time-date stamp>.tgz ).
42 StoreAll software commands
Kommentare zu diesen Handbüchern