Sun Java logo     Previous      Contents      Index      Next     

Sun logo
Sun Java System Identity Server 2004Q2 Migration Guide 

Chapter 1
Upgrading Identity Server 6.1 to Identity Server 2004Q2

This chapter describes how to upgrade Sun™ ONE Identity Server 6.1 or 6.1 Service Pack (SP) 1 to Sun Java™ System Identity Server 2004Q2. Topics include:

 


Requirements for Upgrading to Identity Server 2004Q2

The requirements for upgrading from Identity Server 6.1 to Identity Server 2004Q2 include:

 

Supported Platforms

Identity Server 2004Q2 is supported on these platforms:

For more information about these platforms, refer to the Sun Java Enterprise System 2004Q2 Release Notes.

Other platforms such as Windows are not supported in this release.

Identity Server Requirements

This chapter describes how to upgrade Identity Server 6.1 to Identity Server 2004Q2. To upgrade from Identity Server 6.0 or iPlanet™ Directory Server Access Management Edition (DSAME) 5.1, you must first upgrade the older version to Identity Server 6.1.

For information about upgrading older versions, see the instructions in the Sun ONE Identity Server 6.1 Migration Guide on the following web site:

http://docs.sun.com/doc/816-6771-10

The Identity Server 6.1 Migration Guide includes:

Directory Server Requirements

Identity Server 2004Q2 supports either Directory Server 5 2004Q2 or Directory Server 5.1 Service Pack (SP) 1 (or newer).

If you want to upgrade Directory Server 5.1, follow the instructions in the Directory Server 5 2004Q2 Installation and Migration Guide on the following Web site:

http://docs.sun.com/coll/DirectoryServer_04q2

If you have Identity Server 6.1 or 6.1 SP1 and Identity Server 2004Q2 running concurrently against the same shared Directory Server, the Directory Server must be upgraded to include the Identity Server 2004Q2 schema elements. For other coexistence requirements, see Identity Server Coexistence.

Web Container Requirements

To upgrade to Identity Server 2004Q2, you must be using one of the following products as your web container:

If you need to upgrade your web container, refer to Upgrading the Web Container Software.


Upgrading an Instance of Identity Server

This section includes the following information about upgrading an instance of Identity Server 6.1:

 

Backing up Web Container Customized Files

Before you upgrade, back up any web container customized files related to Identity Server 6.1, including:

Tip: Make a list of your customizations so you can redo them after you upgrade and then verify that they work correctly.

Upgrading the Web Container Software

Identity Server 2004Q2 supports Web Server 6.1 SP2 or Application Server 7.0 Update 3 as a web container. If you are using an older version, you must upgrade the web container software before you can upgrade to Identity Server 2004Q2.

For information about upgrading web container software, refer to the respective web container documentation:

Also, if you saved any customization files under Backing up Web Container Customized Files, you will need to redo the customizations after you upgrade the web container.

Running the Pre-Upgrade Script

The Identity Server 2004Q2 pre-upgrade script (pre61to62upgrade) is part of the Sun Java Enterprise System archive and is available in the following directory after you uncompress the archive:

JavaEnterpriseSystem_base/Solaris_sparc/Product/identity_srv/Tools

where JavaEnterpriseSystem_base is the directory where you uncompressed the archive.

The pre-upgrade script performs these functions:

To run the pre-upgrade script, Directory Server must be running.

Before you run the pre-upgrade script, use the Pre-Upgrade Script Worksheet to record the information you will need to provide.

To Run the Pre-Upgrade Script

  1. Log in as or become superuser (root).
  2. Verify that Directory Server is running. For example:
  3. # ps -ef | grep slapd

    If Directory Server is not running, start it. For example:

    # cd /var/opt/mps/serverroot/slapd-instance-name
    # ./start-slapd

  4. Move to the directory where the pre-upgrade script exists and then run the script. For example:
  5. # cd JavaEnterpriseSystem_base/Solaris_sparc/Product/identity_srv/Tools
    # ./pre61to62upgrade

  6. When you are prompted by the script, enter the following information:
    • Directory Server fully qualified host name. For example: ds.example.com
    • Directory Server port number. Default is 389.
    • Distinguished name (DN) and password of the top-level Identity Server administrator. For example: uid=amAdmin,ou=People,dc=example,dc=com
    • Directory where the script should back up the Identity Server 6.1 files. For example: /opt/is_backup
    • Certificate directory of the web container. For example: /opt/SUNWwbsvr/alias

The pre-upgrade script displays its status as it runs. Be sure to allow the script to finish completely. If you stop the script before it has finished, the results will be unpredictable.

After the script finishes, you are ready to install Identity Server 2004Q2.

Installing Identity Server 2004Q2

To install Identity Server 2004Q2, you must run the Sun Java Enterprise System installer. For information about the installer, refer to the Sun Java Enterprise System Installation Guide on the following web site:

http://docs.sun.com/coll/entsys_04q2

 

When you run the installer, you must provide the same information that was used for your Identity Server 6.1 (2003Q4) configuration, as described in this section.

Before you run the installer, use the Identity Server 2004Q2 Installation Worksheets to record this information.

Identity Server 6.1 Information

Web Container Used for Identity Server 6.1

Directory Server That Supported Identity Server 6.1

Other Installation Choices

Other installation choices you must make are:

Running the Post-Upgrade Script

The Identity Server post-upgrade script (Upgrade61DitTo62) is available in the following directory after you install Identity Server 2004Q2:

where IdentityServer_base is the Identity Server 2004Q2 base installation directory. The default base installation directory is /opt on Solaris systems and /opt/sun on Linux systems.

The post-upgrade script performs these functions:

To run the post-upgrade script, Directory Server must be running. During the script, you will be asked to restart Directory Server before the script can continue. At the end, you will also be asked to restart both Directory Server and the web container for the changes to take effect.

Before you run the pre-upgrade script, use the Post-Upgrade Script Worksheet to record the information you will need to provide.

To Run the Post-Upgrade Script

  1. Log in as or become superuser (root).
  2. Verify that Directory Server is running. For example:
  3. # ps -ef | grep slapd

    If Directory Server is not running, start it. For example:

    cd /var/opt/mps/serverroot/slapd-instance-name
    ./start-slapd

  4. Run the post-upgrade script. For example, on Solaris systems::
  5. cd IdentityServer_base/SUNWam/migration/61to62/scripts
    ./Upgrade61DitTo62

    where IdentityServer_base is the Identity Server 2004Q2 base installation directory.

  6. When you are prompted by the script, provide the following information:
    • Directory Server fully qualified host name–For example: ds.example.com
    • Directory Server port number–Default is 389.
    • Distinguished name (DN) and password of the Directory Manager
    • Distinguished name (DN) and password of the top-level Identity Server administrator–For example: uid=amAdmin,ou=People,dc=example,dc=com
  7. When you are prompted by the script, restart Directory Server. The script pauses for you to perform the restart.
  8. After you restart Directory Server, return to the script and press Enter to continue. After the script has finished, it displays the following message:
  9. YOU MUST RESTART THE DIRECTORY AND WEB SERVERS FOR THE UPGRADE CHANGES TO TAKE EFFECT.

  10. Restart Directory Server and the web container.

After Directory Server and the web container are running, you are ready to verify that the upgrade was successful.

Verifying the Upgrade

If you customized your Identity Server 6.1 installation, you must manually redo the customizations in your new Identity Server 2004Q2 installation.

Here are several ways to verify that the upgrade was successful:

 


Upgrading Multiple Instances

This section describes how to upgrade multiple Identity Server 6.1 instances running on different hosts that share the same Directory Server.


Note

The upgrade process supports multiple instances of Identity Server installed on different host systems. Upgrading multiple instances of Identity Server installed on the same host system is not supported in the current release. If you have multiple instances on the same host, after you upgrade the main instance, you must then recreate the additional instances.


Identity Server 6.1 and Identity Server 2004Q2 instances installed on different hosts can run concurrently against the same shared Directory Server. For more information, including the Directory Server requirements, see Identity Server Coexistence.

To Upgrade an Instance

  1. Log in as or become superuser (root).
  2. Stop all Identity Server 6.1 instances that access the Directory Server. For example, on Solaris systems:
  3. # cd /IdentityServer_base/SUNWam/bin
    # ./amserver stop

    where IdentityServer_base is the Identity Server 6.1 base installation directory.

    Stopping all instances prevents Identity Server from making changes to the Directory Server while you are performing the upgrade.

  4. Start the Identity Server 6.1 instance you want to upgrade. For example:
  5. # ./amserver start

  6. Upgrade the Identity Server 6.1 instance you started in Step 3, as described in Upgrading an Instance of Identity Server.
  7. During the upgrade of the first instance, the post-upgrade script (Upgrade61DitTo62) upgrades the Identity Server schema to Identity Server 2004Q2. During subsequent upgrades of other instances, however, the post-upgrade script detects that the Directory Server has already been upgraded and does not try to upgrade it again.

  8. Restart the instance you just upgraded.
  9. Repeat Step 3 through Step 5 for each Identity Server 6.1 instance on a different host that you want to upgrade.

  10. If there are any Identity Server 6.1 instances you did not upgrade, restart those instances. For information about the co-existence of Identity Server 6.1 and Identity Server 2004Q2, see Identity Server Coexistence.


Upgrading the Identity Server SDK

To upgrade an Identity Server 2003Q4 (6.1) SDK only installation, you must uninstall the 2003Q4 version and then re-install the 2004Q2 version.

To upgrade an Identity Server SDK only installation

  1. Back up your Identity Server 2003Q4 configuration files, including the AMConfig.properties and serverconfig.xml files. (The upgrade process will not affect your user data.)
  2. Uninstall the Identity Server 2003Q4 SDK by following the instructions in the Sun Java Enterprise System 2003Q4 Installation Guide (http://docs.sun.com/doc/816-6874).
  3. Install the Identity Server 2004Q2 SDK by following the instructions in the Sun Java Enterprise System 2004Q2 Installation Guide (http://docs.sun.com/doc/817-5760).
  4. Incorporate the configuration changes you saved in Step 1 into the new Identity Server 2004Q2 configuration files.


Identity Server Coexistence

Identity Server 6.1 and Identity Server 2004Q2 can coexist and run concurrently against the same shared Directory Server, if these requirements are met:

Usually, the coexistence of Identity Server 6.1 and Identity Server 2004Q2 is a transitional phase during an Identity Server 2004Q2 upgrade. During the upgrade process, some Identity Server 6.1 servers are upgraded to version 2004Q2 before the other version 6.1 servers are upgraded. The Directory Server is upgraded to the version 2004Q2 schema when you upgrade the first Identity Server 6.1 server.

Then, both any upgraded version 2004Q2 servers and any remaining Identity Server 6.1 servers and applications can run against the upgraded Directory Server.

To access the Identity Server 2004Q2 features, including new services, new attributes in existing services, and new policy plug-ins, use the Identity Server 2004Q2 console. Do not use the Identity Server 6.1 admin console to access Identity Server 2004Q2.


Using Portal Server Mobile Access

To use Java System Portal Server Mobile Access, change the Identity Server Client Detection global attributes as follows:

  1. Access the Identity Server 2004Q2 console using the following URL:
  2. http://host-name.domain-name:port/amconsole

    where host-name.domain-name:port is the fully qualified host name and port of the web container you are using.

  3. When the Identity Server login page appears, log in as amadmin.
  4. On the console, click the Service Configuration tab.
  5. The console displays the Service Configuration options in the navigation frame.

  6. In the navigation frame under Service Configuration, click Client Detection.
  7. For Client Detection, set the following items in the data frame:
    1. Set the Client Detection Class global attribute to com.sun.mobile.cdm.FEDIClientDetector
    2. Click the Enable Client Detection check box.
  8. Click Save.

 



Previous      Contents      Index      Next     


Copyright 2004 Sun Microsystems, Inc. All rights reserved.