Email Subscription Notifications Suspended Temporarily
We are in the process of making navigation in the Servers and Operating Systems forums simpler and more direct. While doing this, we have to temporarily suspend email notifications for subscriptions. If you are subscribed to one or more discussion boards or blogs in the community, please check them daily to see new content. Notifications will be turned back on in a few days. We apologize for any inconvenience this may cause. Thanks, Warren_Admin
Storage Software
cancel
Showing results for 
Search instead for 
Did you mean: 

SSSU non-interactive mode

Highlighted
dany_aj
Occasional Contributor

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.
2 REPLIES
Aparna Nambiar
Occasional Contributor

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

BHASKAR GUNDA
Occasional Visitor

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