UNSOLVED

terryrw74

updated

11 years ago

T

terryrw74

23 Posts

0

7703

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

  • dynamox

    11 Legend

    •

    20419 Posts

    •

    87439 Points

    1845

    1

    Posted 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.

  • terryrw74

    23 Posts

    1845

    0

    Posted 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.

  • umichklewis

    4 Apprentice

    •

    1190 Posts

    1845

    0

    Posted August 13th, 2013 11:00

    Does return any errors or any useful output?

  • dynamox

    11 Legend

    •

    20419 Posts

    •

    87439 Points

    1845

    0

    Posted August 13th, 2013 12:00

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

  • christopher_ime

    6 Operator

    •

    1962 Posts

    1845

    0

    Posted 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.

  • 1845

    0

    Posted 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?

  • 1821

    0

    Posted September 17th, 2013 05:00

    I'm not very familiar with running scripts

  • dynamox

    11 Legend

    •

    20419 Posts

    •

    87439 Points

    1845

    0

    Posted September 17th, 2013 05:00

    did you try to make script executable ? man chmod

  • Rainer_EMC

    6 Operator

    •

    8645 Posts

    1821

    0

    Posted September 17th, 2013 08:00

    Chmod a+x collect-perfdata.pl

  • 1367

    0

    Posted September 17th, 2013 13:00

    Thanks, that did the trick!