Start a Conversation

Unsolved

This post is more than 5 years old

7413

August 2nd, 2013 12:00

Celerra help running a perl script on control station

I am trying to collect performance data on an Celerra using Mitrend. I'm not very familiar with running scripts and the instructions for collecting the data are as follows below. I've placed the files on the Control Station (wasn't sure if they needed to be placed in particular directory) but not sure how to execute the scripts. I have no pearl experience and limited experience with executing command on a Celerra. Can someone walk me through how to run the commands below to collect the data required for the performance analaysis?

VNX File - Celerra (Pilot)

Step 1: Execute the collect-perfdata.pl script first on the VNX File / Celerra control station:

  • perl collect-perfdata.pl

Step 2: Execute the collect.pl script, which will collect the performance data plus additional configuration data

  • perl collect.pl

Step 3: Submit the results of the collect.pl script. Do not submit just the support materials or perfdata by itself. We require both results to generate an assessment.

Thank You

Terry

1 Rookie

 • 

20.4K Posts

August 2nd, 2013 12:00

Terry,

once you ssh in as "nasadmin", just run them exactly as you have listed. Perl is in the $PATH so you don't need to specify anything extra.

23 Posts

August 13th, 2013 09:00

Unfortunately the file isn't executing. I'm unsure if I need to be logged in as root, grant permissions to the file to execute, or if it is scripting related which I don't know well.

1.2K Posts

August 13th, 2013 11:00

Does return any errors or any useful output?

1 Rookie

 • 

20.4K Posts

August 13th, 2013 12:00

if you run perl scriptname.pl  ..what do you see ?

August 14th, 2013 17:00

Just a thought, are you by chance attempting to run this from the secondary control station?  It relies on /nas being mounted which would not be the case on the secondary CS.

September 17th, 2013 04:00

Hello,

I have a similar problem trying to run these scripts with a customer. Logged in as root we are getting this error:

bash: ./collect-perfdata.pl: Permission denied

Any ideas?

September 17th, 2013 05:00

I'm not very familiar with running scripts

1 Rookie

 • 

20.4K Posts

September 17th, 2013 05:00

did you try to make script executable ? man chmod

8.6K Posts

September 17th, 2013 08:00

Chmod a+x collect-perfdata.pl

September 17th, 2013 13:00

Thanks, that did the trick!

September 17th, 2013 13:00

Thanks!

September 18th, 2013 00:00

Just a follow-up question here... we got the files, but all the generated .csv files for both VNX filers are empty. Is this normal?

1 Rookie

 • 

20.4K Posts

September 18th, 2013 03:00

where did you get this perl file ? Was it already on the control station ?

September 18th, 2013 03:00

I downloaded it from Mitrend.

September 20th, 2013 12:00

Ran it again and this time there was data in the files. So it appears to be working now.

No Events found!

Top