Extract a script from a configured Onboard Administrator

Prerequisites

  • Privileges: Administrator

Procedure
  1. Access the Onboard Administrator from the Enclosures screen by clicking the OA link in the Hardware panel.
    1. Log in to the Onboard Administrator.
    2. Under Enclosure information in the OA screen, go to Configuration Scripts where you can view and copy scripts, such as SHOW CONFIG.
  2. From the OA CLI, enter the SHOW CONFIG command to view the current configuration script for the enclosure.
  3. Copy the generated script, and then paste it into the Configuration script text box of the Create Enclosure Group screen for a new enclosure group (or the Edit Enclosure Group screen for an existing enclosure group).

Extracting a script from a configured OA using REST APIs

When you perform a GET operation on an enclosure, the script URI is returned inside of the response body.

  1. Select an enclosure.

    GET /rest/logical-enclosures

  2. Get the enclosure using the URI from step 1.

    GET {id}/rest/logical-enclosures/

  3. Get the script using the configuration script URI returned in step 2.

    GET {id}/rest/logical-enclosures//script

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.