Sun Directory Server Enterprise Edition 7.0 Upgrade and Migration Guide

ProcedureTo Upgrade Directory Proxy Server Instances

The following procedure is also valid for the following:

  1. Install Directory Server Enterprise Edition 7.0.

  2. Before upgrading the version 6 instances created by using native packages, to the 7.0 zip distribution instances, disable features specific to the native packages by using the version 6 native packages installation.

    • If your instance is registered to start at boot, type the following command:

      $ ./dpadm autostart --off INSTANCE_PATH
    • If your instance is registered as a Windows service, type the following command:

      $ ./dpadm disable-service --type WIN_SERVICE INSTANCE_PATH
    • If your instance is registered as an SMF service, type the following command:

      $ ./dpadm disable-service --type SMF INSTANCE_PATH
  3. Type the following command from the version 7.0 installation to upgrade the Directory Proxy Server instances.

    $ ./dpadm upgrade [-i] INSTANCE_PATH

    For example, to upgrade the /local/example instance, type the following command:

    # ./dpadm upgrade -i /local/example
    Directory Proxy Server instance '/local/example' will be upgraded to version 7.
    It will no longer be usable with DSEE 6 commands.
    Do you want to continue [y/n]? y
    Upgrading conf.ldif ...
    Old version of conf.ldif has been moved into '/local/example/bak/2009-08-25-11-09-06'.
    Directory Proxy Server instance '/local/example' is now ready to be used 
    with DSEE 7 commands.
  4. Upgrade all the Directory Proxy Server instances that you want to use with the version 7.0, by using the dpadm upgrade command.

    Note –

    The legacy instances once upgraded cannot be restored to its previous installation.

    The following dpadm commands do not require legacy instances to be upgraded before using them.

          - info
         - stop
         - disable-service
         - autostart --off
         - get-flags / set-flags
         - add-cert
         - add-selfsign-cert
         - import-cert
         - list-certs
         - remove-cert
         - renew-cert
         - request-cert
         - show-cert
         - delete

  5. (Optional) Remove Directory Server Enterprise Edition 6.