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
).
5.
A directory with the host name is extracted. The output of the add-on script is found in the
/<hostname>/logs/add_on_script/local/ibrixcollect/
ibrix_collect_additional_data
Find the directory containing the host name by entering the
ls -l
command, as shown in
the following example:
[root@host2 archive]# ls -l
The following is the output of the command:
total 5636
-rw-r--r-- 1 root root 2021895 Dec 20 12:41 addOnCollection.tgz
drwxr-xr-x 6 root root 4096 Dec 20 12:41 host2
-rw-r--r-- 1 root root 2156388 Dec 20 12:41
host2_addOnCollection_2012-12-20-12-38-36.tgz
In this example,
host2
is the directory with the host name.
6.
Go to the
/<hostname>/logs/add_on_script/local/ibrixcollect/
ibrix_collect_additional_data
directory, which contains the output of the add-on
script.
[root@host2 archive]#cd
host2/logs/add_on_script/local/ibrixcollect/ibrix_collect_additional_data/
In this instance,
host2
is the name of the host.
7.
View the contents of the
/<hostname>/logs/add_on_script/local/ibrixcollect/
ibrix_collect_additional_data
directory:
[root@host2 ibrix_collect_additional_data]#ls -l
The command displays the following output:
total 4
-rw-r--r-- 1 root root 2636 Dec 20 12:39 63_AddOnTest.out
In this instance,
63_AddOnTest.out
displays the output of the add-on script.
Viewing data collection information
To view data collection history from the CLI, use the following command:
ibrix_collect -l
To view data collection details such as date (of creation), size, description, state and initiator, use
the following command:
ibrix_collect -v -n <Name>
124
Troubleshooting