Sun OpenSSO Enterprise 8.0 Administration Guide

ProcedureTo Restore the Directory Server Configuration Datastore by Loading XML

Use this option if there is only one OpenSSO Enterprise instance and it is corrupted or, multiple servers are configured to share the same configuration datastore and all instances are corrupted. If multiple instances of OpenSSO Enterprise are configured to share the same configuration datastore, repeat steps 1 through 4 on each instance first and then do step 5 and step 6.

  1. Stop all OpenSSO Enterprise instances.

  2. Remove all files and directories from the existing configuration directory.

    $ rm -rf configuration_directory

  3. Confirm that the Directory Server configuration datastore is up and running with no OpenSSO Enterprise service configuration.

  4. Reconfigure the OpenSSO Enterprise web application by accessing the OpenSSO Enterprise configurator.

    All configuration attributes must be redefined as they were originally defined. For the configuration of the second and all succeeding OpenSSO Enterprise instances, choose the Add to Existing Deployment option during configuration and point it to the first instance.

  5. (Optional) Repeat these steps on each instance of OpenSSO Enterprise that is configured to share the same Directory Server configuration datastore.

  6. Import the saved service configuration data to the configuration datastore using the ssoadmin command line utility option import-svc-cfg.

    ./ssoadm import-svc-cfg –u username -f password_file_location –e key_to_enctrypt_password -X backup_xml_file

    In the case of the multi-server configuration, this step only needs to be done once.

  7. Restart all OpenSSO Enterprise instances.