3.7.0 HP StorageWorks HP Scalable NAS File Serving Software command reference guide HP Scalable NAS for Linux (AG513-96003, October 2009)

Run mxcollect
You will need to run mxcollect on each node. The command is in the following
directory and can be run from that location:
/opt/hpcfs/lib/apache/cgi-bin/pmxs/mxcollect
You can also run the command from the HP Scalable NAS web server. Start the web
server as follows and specify your authentication credentials if asked for them.
https://<node name or IP address>:6771/cgi-bin/pmxs
On the web server, click mxcollect to run the utility.
When run from the web server, the command collects the appropriate information
from the node, creates a zip file, and then downloads the zip file to your download
location on the node. If you run the command directly, it will report the location of
the zip file.
Following is a sample script that lets you specify the nodes on which mxcollect
should be run. The script names the zip files with the node names specified on the
command line.
Example log collection script 'logs.sh':
#! /bin/sh -x
for i in $*
do
curl -ksu <user>:<password> https://$i:6771/cgi-bin/pmxs/mxcollect -o
$i.zip
&
done
wait
for i in $*
do
unzip $i.zip &
done
wait
Usage: logs.sh <node1> <node2> ...
HP Scalable NAS File Serving Software command reference guide 37