Sun Directory Server Enterprise Edition 7.0 Upgrade and Migration Guide

ProcedureTo Upgrade Directory Service Control Center 6

To access the Directory Server Enterprise Edition 7.0 instances using DSCC, you must upgrade DSCC 6 to version 7.0.

Using DSCC 7.0, you can access both version 6 and version 7.0 instances.

If you are upgrading DSCC that was installed using native packages, you must perform the following steps as root.

  1. Install Directory Server Enterprise Edition 7.0.

    For more information, see Chapter 2, Installing Directory Server Enterprise Edition, in Sun Directory Server Enterprise Edition 7.0 Installation Guide.

  2. Stop the DSCC 6 registry and export its content.

    The dsee6-install-path specifies the path where Directory Server Enterprise Edition 6 is installed.

    1. Stop the DSCC 6 registry.


      # dsee6-install-path/ds6/bin/dsadm stop /var/opt/SUNWdsee/dscc6/dcc/ads
    2. Record the DSCC 6 registry port numbers.


      # dsee6-install-path/ds6/bin/dsadm info /var/opt/SUNWdsee/dscc6/dcc/ads
    3. Export the DSCC 6 registry content.


      # dsee6-install-path/ds6/bin/dsadm export /var/opt/SUNWdsee/dscc6/dcc/ads \
      cn=dscc /tmp/dscc.ldif

      The /tmp/dscc.ldif file contains the server configuration.

  3. Create and populate the DSCC 7.0 registry with the version 6 registry content.

    1. Create the DSCC 7.0 registry by using the same ports that DSCC 6 registry has used.


      # install-path/bin/dsccsetup ads-create -p port -P secure-port

      The port and secure-port values are the values that are recorded in Step 2b.

    2. Stop the registry.


      # install-path/bin/dsadm stop /var/opt/SUNWdsee7/dcc/ads
    3. Import the /tmp/dscc.ldif file.


      # install-path/bin/dsadm import /var/opt/SUNWdsee7/dcc/ads /tmp/dscc.ldif cn=dscc
    4. Start the registry.


      # install-path/bin/dsadm start /var/opt/SUNWdsee7/dcc/ads
    5. Verify all the registrations of the server.


      # install-path/bin/dsccreg list-servers -p port-number
      

      All the existing servers are displayed. All the registrations are version 6 registrations.

    6. (Optional) You can see all the Directory Server instances.


      # install-path/bin/dsccmon view-servers -p port-number
      

      The server instances are shown as version 6 instances.

  4. Deploy the DSCC 7.0 WAR file.

    Refer to Appendix A, Deploying DSCC WAR File With Supported Application Servers, in Sun Directory Server Enterprise Edition 7.0 Installation Guide.

    If you have upgraded DSCC that was installed by using native packages, you must access DSCC as root.

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

    For more information, refer to the Directory Server Enterprise Edition 6 Installation Guide.