Unsolved
This post is more than 5 years old
2 Posts
0
6721
November 19th, 2009 07:00
CenteraCli
Using Solaris solCenteraTools4_1.zip, under /opt/EMC/Centera/4_1/SystemOperator/bin, there is an application called "CenteraCli".
How do I configure the "CenteraCli" in Solaris to use a script without asking for a username and password?
I have not found any documentation for it.
When run without options:
./CenteraCli
Username:
Password:
IP:
Centera interactive shell (Implementation CLI 4.1.2066, 2009-10-15)
Connected to RemoteManager at 64.142.137.33 using FRMP version 3682 2
Type "help" for available commands.
./CenteraCli -u username -p password -script xxxxxxxxUsername:
Password:
IPNo Events found!


khanz1
2 Intern
•
136 Posts
0
November 20th, 2009 09:00
You will need the login information to authenticate using the CenteraCLI. You can use the default Centera admin login information when scripting the CLI. (this can be obtained from your Centera administrator as some administrators may change the default admin login/password combination).
The Centera Tools also have documentation (also referred to as Centera Online Help) on Centera CLI and example on how to script it. Please review section titled "CLI Reference Guide" of "Centera Online Help 4.1".
You can also review the threads on Centera CLI: https://community.emc.com/thread/5276 & https://community.emc.com/message/11703 that have discussions around this.
huskyman1
2 Posts
0
November 20th, 2009 11:00
I think I need to make explain myself, I understand how to use the script part, but either way I run the "CenteraCli" command with or without the options, I am required to manually enter my username and password each and every time.
When I run the command below, I have to enter my username and password manually.
./CenteraCli -u bob -p X123zz2 -script bob.cli
Username:
Password:
IPSo again I will pose my question, what do I need in my environment variables to make this work correctly in Solaris???
gstuartemc
2 Intern
•
417 Posts
0
November 23rd, 2009 02:00
As you seem to be doingsupplying the username and password on the CLI, are you sure that these are valid credentials?
There are scripting examples in these forums and also in the online help. I have had no problem using a batch file containing the command
CenteraCLI -u admin -p ******** -ip a.b.c.d:3682 -script script.cli