Re: SSSU non-interactive mode (1444 Views)
Reply
Occasional Contributor
dany_aj
Posts: 4
Registered: ‎07-16-2010
Message 1 of 3 (1,574 Views)

SSSU non-interactive mode

SSSU can be invoked and run in command line by using the following format:

sssu "SELECT MANAGER USERNAME= PASSWORD=" "command1" "command2"...."commandn"

eg) sssu "SELECT MANAGER 127.0.0.1 USERNAME=administrator PASSWORD=xxx" "add vdisk Vdisk001 size=1" "ls vdisk Vdisk001"

This may come in handy when writing scripts using SSSU.
Please use plain text.
Occasional Contributor
Aparna Nambiar
Posts: 8
Registered: ‎05-28-2010
Message 2 of 3 (1,574 Views)

Re: SSSU non-interactive mode

We could avoid having to type a password in cleartext by creating a password file for SSSU using the following steps.

1. Navigate to the folder where SSSU is located and issue the command sssu -a



ex,

c:\>sssu.exe -a

2. You will be asked for login credentials

ex,

C:\>sssu -a


SSSU for HP StorageWorks Command View EVA
Version: 9.2.0
Build: 0701109

Manager:127.0.0.1
Username:EVAAdmin
Password:

3. This creates an entry in the SSSU password file for the entered login, this can be verified by the command sssu -l

ex,

C:\>sssu -l

SSSU for HP StorageWorks Command View EVA
Version: 9.2.0
Build: 0701109

127.0.0.1 EVAAdmin

4. to delete an entry the command sssu -d can be used.


Once the password file entry is created, we can run a command as follows without the need to enter password.

sssu "SELECT MANAGER 127.0.0.1 USERNAME=administrator" "add vdisk Vdisk001 size=1" "ls vdisk Vdisk001"

Note: The password file is an encrypted file

Please use plain text.
Occasional Visitor
BHASKAR GUNDA
Posts: 1
Registered: ‎03-17-2003
Message 3 of 3 (1,444 Views)

Re: SSSU non-interactive mode

Thanks for the steps to create password file. I have a question about the password file.

Where is this password file created and what is it named as?

 

Thanks,

Bhaskar

Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation