Storage Software
1752571 Members
5239 Online
108788 Solutions
New Discussion юеВ

Re: run a batch script in EVA6400

 
manuj kumar
Frequent Advisor

run a batch script in EVA6400

hi
i want to create a script to run some jobs using sssu command.
how i can use sssu inside a a batch file.

thanks
8 REPLIES 8
Torsten.
Acclaimed Contributor

Re: run a batch script in EVA6400

You write the sssu commands into a file and source it in your batch script.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
manuj kumar
Frequent Advisor

Re: run a batch script in EVA6400

I am trying to create the batch script which will connect to the EVA system,
how to create the script which will login to the system and run the needed commands?

thanks
Torsten.
Acclaimed Contributor

Re: run a batch script in EVA6400

On Windows?

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
manuj kumar
Frequent Advisor

Re: run a batch script in EVA6400

yes
V├нctor Cesp├│n
Honored Contributor

Re: run a batch script in EVA6400

As stated above, SSSU can run it's own scripts:

Two first lines log-in into Command View and select the EVA you want to work with:

SELECT MANAGER localhost USERNAME=administrator PASSWORD=administrator

SELECT CELL ""

Then put the commands you want below.

Run with SSSU.EXE "file script.txt"
manuj kumar
Frequent Advisor

Re: run a batch script in EVA6400

Hi

thanks for reply.
i made that, but how to give this file to sssu.exe program.

sssu.exe FILE script.exe

this is not working.
V├нctor Cesp├│n
Honored Contributor

Re: run a batch script in EVA6400

SSSU.EXE "FILE SCRIPT.TXT"

Including the quotes (")

the SCRIPT.TXT is a text file containing the commands
Sheldon Smith
HPE Pro

Re: run a batch script in EVA6400

Open the "HP StorageWorks Storage System Scripting Utility Reference" PDF file which came with your Command View distribution. Look at Chapter 1 "Getting Started". There are multiple examples of running SSSU with a script file, and redirecting the output.

Note: While I am an HPE Employee, all of my comments (whether noted or not), are my own and are not any official representation of the company

Accept or Kudo