Previous Topic: Common Key Store DeploymentNext Topic: Upgrading from r12.x


Multiple Key Store Deployment

Existing r6.x Policy Servers can use an r6.x key store for key rollover, while r12.0 SP3 Policy Servers can use an r12.0 SP3 key store for key rollover. The following figure illustrates:

Note: Although not illustrated, policy store and key store data can be replicated for failover. The database or directory server type determines how you replicate data. For more information about key management in a master/slave environment, see the Policy Server Administration Guide. For more information about replicating data, see your vendor–specific documentation.

r6x Multiple Key Store Deployment

Create the r12.0 SP3 Environment

You can configure an r12.0 SP3 environment independently of the existing environment. Install and configure the r12.0 SP3 components in the following order:

  1. One or more Policy Servers.

    Important! If you are maintaining single sign–on with a common key store, all Policy Servers must use the same encryption key. If you do not know the value of the encryption key, you can reset the r6.x value in the policy store. Use the new value when installing r12.0 SP3 Policy Servers.

    Note: For more information about resetting the policy store encryption key, see the Policy Server Administration Guide.

  2. A policy store.
  3. An Administrative UI.
  4. One or more Web Agents.
  5. A Report Server

Note: For more information about installing a Policy Server, a policy store, an Administrative UI, and a Report Server, see the Policy Server Installation Guide. For more information about installing Web Agents, see the Web Agent Installation Guide.

Common Key Store Single Sign–on Requirements

If you are deploying a common key store, do the following or single sign–on fails:

More information:

Reset the r6.x Policy Store Encryption Key

How to Separate a Key Store from a Policy Store

Complete the following procedures to separate the key store from the policy store:

  1. Install or locate a set–up Policy Server. A set–up Policy Server is a Policy Server that is not configured with the collocated policy/key store.
  2. Use the set–up Policy Server host system to create a separate r6.x key store instance. Consider the following items:
  3. Disable dynamic agent key generation in the r6.x environment.

    Note: If your environment uses static keys, this step is not required. However, be sure that a SiteMinder administrator does not generate a random agent key after you export the keys from the policy store.

  4. Export the agent keys from the r6.x policy/key store.
  5. Import the agent keys in to the r6.x key store.
  6. Configure all Policy Servers to use the separate key store.
  7. If you disabled dynamic agent key generation, re–enable it.
Disable Dynamic Agent Key Generation

Before the key store separation is complete, the r6.x environment is operating with two key stores:

Disabling dynamic agent key generation prevents a Policy Server from generating keys after you export them for the separate store. Stopping the Policy Server from generating keys prevents single sign–on issues that can occur when the keys are not synchronized in all stores.

Follow these steps:

  1. Log in to the r6.x Policy Server user interface.
  2. Select Tools, Manage Keys.
  3. Select the Use Static Agent Key option.
  4. Click Apply.

    The Policy Server is configured to use a static key. The Policy Server does not generate keys automatically.

Export the Agent Keys

You export the keys from the collocated policy/key store to make them available to the separate key store.

Follow these steps:

  1. Log in to a r6.x Policy Server host system. Be sure that this Policy Server is configured with the collocated policy/key store.
  2. Run the following command to export only the keys from the policy store:
    smobjectexport -ffile_name -x
    

    Important! Before running a SiteMinder utility or executable on Windows Server 2008, open the command line window with administrator permissions. Open the command line window this way, even if your account has administrator privileges.

    Note: For more information about these modes and arguments, see the r6.x Policy Server Installation Guide.

    Example:

    smobjexport -fagentkeys -x
    

    The agent keys are exported from the collocated policy/key store.

  3. Copy the file that contains the agent keys to the set–up Policy Server host system.
Import the Agent Keys

You import the keys from the collocated policy/key store to make them available to the separate key store.

Follow these steps:

  1. Log in to the r6.x set–up Policy Server host system.
  2. Run the following command to import the agent keys in to the separate key store:
    smobjimport -ffile_name -k
    

    Important! Before running a SiteMinder utility or executable on Windows Server 2008, open the command line window with administrator permissions. Open the command line window this way, even if your account has administrator privileges.

    Note: For more information about these modes and arguments, see the r6.x Policy Server Installation Guide.

    Example:

    smobjimport -fagentkeys -k
    

    The agent keys are imported in to the separate key store.

Configure all Policy Servers to use the Key Store

Configuring all Policy Servers in the parallel environment to use a common r6.x key store maintains single sign–on across both environments.

Follow these steps:

  1. Identify the Policy Server that is nominated to generate agent keys dynamically. Configure this Policy Server with the key store last.
  2. Complete the following procedure for all other Policy Servers in the environment:
    1. Log in to the Policy Server host system.
    2. Open the Policy Server Management Console.
    3. Click the Data tab.
    4. Select Key Store from the Database list and clear the Use Policy Store database option.
    5. Select the key store type from the Storage list.
    6. Do one of the following steps:
      1. (LDAP) Enter the required connection information in the LDAP Key Store section.
      2. (ODBC) Enter the data source information in the Data Source Information section.
    7. Test the Connection.
    8. Click OK.
    9. Restart the Policy Server to configure the Policy Server to use the key store.
  3. Configure the Policy Server that is nominated to generate agent keys to use the key store.
Re–enable Dynamic Agent Key Generation

If you disabled dynamic agent key generation, re–enable the functionality for the Policy Server that is nominated to generate agent keys. Complete this procedure only after all Policy Servers in the environment are configured to use the new key store.

Follow these steps:

  1. Log in to the r6.x Policy Server user interface.
  2. Select Tools, Manage Keys.
  3. Select the Use Dynamic Agent Key option.
  4. Click Apply.

    The nominated Policy Server is enabled to generate keys dynamically.

You have completed the required tasks to separate the key store from the policy store.

Multiple Key Store Single Sign–on Requirements

If you are deploying multiple key stores, do the following or single sign–on fails:

Migrate the r6.x Policies

If you plan on using the r12.0 SP3 deployment to protect r6.x resources, we recommend migrating your policy store data to the r12.0 SP3 policy store.

You can avoid the possibility of conflicts that are associated with duplicate objects by migrating policy store data before you begin managing the r12.0 SP3 policy store.

Follow these steps:

  1. Use the r6.x version of the smobjexport utility to export the r6.x policy store data.

    Note: For more information about the r6.x version of the smobjexport utility, see the r6.x Policy Server Installation Guide.

  2. Use the r12.0 SP3 version of the smobjimport utility to import the policy data into the r12.0 SP3 policy store.

    When moving SiteMinder policies from one environment to another, either as part of an upgrade or a policy migration, some objects that are environment–specific are included in the export file. Examples of these objects include:

User Directory Single Sign–on Requirements

Be sure that the SiteMinder user directory objects you create in both environments have the same names. If you use different names to point r6.x and r12.0 SP3 Policy Servers to the same user stores, single sign–on fails.