BladeSystem Management Software

Onboard Administrator scripting password changes, etc...

 
chuckk281
Trusted Contributor

Onboard Administrator scripting password changes, etc...

Marc asked the question:

 

***********************

 

Hello all,

 

Do we have an OA scripting guide or tool? The customer is specifically looking to script OA password changes and LDAP settings. He is familiar with the OA CLI commands.. just looking for tips.

 

**********************

 

Monty responded:

 

***********************

 

The OA CLI guide should have all the information required.

 

If you capture the enclosure current settings configuration script – you will see all the script commands needed to configure the enclosure.

 

One command you would want to add at the beginning is “set script mode on” – see the OA v3.10 CLI Guide page 45.

 

Notice in the description for this command that you need to add the password argument to each “add user” command – see the “add user” command on page 21.

 

*************************

 

Dan also provided info:

 

**********************

 

If you mean script changes across multiple chassis then the OA CLI guide is only half the equation.

 

You basically need a utility that will allow you to script an SSH session and after logging in to each Chassis, send the contents of a text file that contains all the commands mentioned in the OA CLI Guide (starting with Script Mode On as Monty mentioned)

 

I had a Unix guy at a customer site who figured this all out, but I don’t recall the name of the Linux tool he used to automate the SSH connection.  Finding a tool that would let you pass both the username and password and then also send the contents of your script was basically the hard part.  If they don’t mind a handful of keystrokes per chassis, this can be done with putty and about 30 seconds per chassis.

 

**********************

 

Other comments or questions?