Using configuration scripts, Configuration scripts – HP Onboard Administrator User Manual

Page 297

Advertising
background image

Using the command line interface 297

Using configuration scripts

Configuration scripts

Use configuration scripts to maintain settings and configuration information, particularly when setting up

multiple enclosures and Onboard Administrator modules and eliminating the need to configure each
enclosure manually. Configuration scripts can be created and used with Onboard Administrator in the

browser or through the CLI, executing them in the same manner as a shell script is executed in Linux or UNIX.

Current configuration
To view a current configuration for the enclosure:

1.

Click the SHOW CONFIG link. The configuration opens in a new browser window.

2.

To save the configuration as a text file, choose one of the following options:

o

If you use Microsoft Internet Explorer, select Save As.

o

If you use Mozilla Firefox, select Save Page As.

o

If you use Google Chrome, select Save Link As.

You can also select a local file or a URL for the configuration script.

Local file—You can browse for the configuration file or you can enter the path of the configuration file
into the textbox. The maximum number of characters in the file path cannot exceed 256. After entering

the configuration file path, click Upload.

URL—If the configuration file is located on a web server, enter an HTTP:// path to it. The maximum
number of characters in the file path cannot exceed 256. Enter the URL, and then click Apply.

For security, the retrieved current configuration does not contain any user passwords. You can manually edit
the script to add the user passwords after the user name on the ADD USER lines. Also, the retrieved current

configuration does not contain any of the LCD settings (Lock Buttons, Enable PIN Protection, and PIN Code).

These settings cannot be added from the configuration script.

Advertising