Previous Topic: How to Store Key Information in SQL ServerNext Topic: Sample User Directories


How to Store Key Information in PostgreSQL

To configure a PostgreSQL Server database as a standalone key store, complete the following procedures:

  1. Gather database information.
  2. Create the key store schema.
  3. Configure a PostgreSQL Server data source for CA SiteMinder®.
  4. Point the Policy Server to the database.
  5. Restart the Policy Server.
Create the Key Store Schema

You create the key store schema so the SQL Server database can store key information.

To create the key store schema

  1. Open sm_postgresql_ps.sql in a text editor and copy the contents of the entire file.
  2. Open a SQL client, such as psql, and log in as the who administers the Policy Server database.
  3. Select the database instance from the database list.
  4. Paste the schema from sm_postgresql_ps.sql into the query.
  5. Execute the query.

    The CA SiteMinder® key store schema is created in the database.

Point the Policy Server to Database

You point the Policy Server to the database so the Policy Server can read and store key information.

To point the Policy Server to the data store

  1. Open the Policy Server Management Console, and click the Data tab.

    Database settings appear.

  2. Select ODBC from the Storage list.

    ODBC settings appear.

  3. Select Key Store from the Database list and clear the Use Policy Store database check box.

    Data source settings become active.

  4. Enter the name of the data source in the Data Source Information field.
  5. Enter and confirm the user name and password of the database account that has full access rights to the database instance in the respective fields.
  6. Specify the maximum number of database connections allocated to CA SiteMinder®.

    Note: We recommend retaining the default for best performance.

  7. Click Apply.

    The settings are saved.

  8. Click Test Connection.

    SiteMinder returns a confirmation that the Policy Server can access the data store.

  9. Click OK.

    The Policy Server is configured to use the database as a key store

Restart the Policy Server

You restart the Policy Server for certain settings to take effect.

Follow these steps:

  1. Open the Policy Server Management Console.
  2. Click the Status tab, and click Stop in the Policy Server group box.

    The Policy Server stops as indicated by the red stoplight.

  3. Click Start.

    The Policy Server starts as indicated by the green stoplight.

    Note: On UNIX or Linux operating environments, you can also execute the stop-all command followed by the start-all command to restart the Policy Server. These commands provide an alternative to the Policy Server Management Console.