You configure a data source to let the Policy Server communicate with the SiteMinder data store.
Create a MySQL Data Source on Windows
You create a MySQL data source for the MySQL wire protocol driver.
Follow these steps:
The ODBC Data Source Administrator appears.
System Data Sources lists all available data sources.
The Create New Data Source dialog appears.
The ODBC MySQL Wire Protocol Driver Setup dialog appears.
Example:
SiteMinder MySQL Wire Data Source
The connection settings are tested. If the settings are valid, a prompt states that the connection is successful.
The data source is created and appears in the System Data Sources list.
Note: You can now point the Policy Server to the SiteMinder data store.
Create a MySQL Data Source on UNIX Systems
The SiteMinder ODBC data sources are configured using a system_odbc.ini file, which you create by renaming mysqlwire.ini to system_odbc.ini. The mysqlwire.ini file is located in siteminder_home/db.
Specifies the Policy Server installation path.
This system_odbc.ini file contains all of the names of the available ODBC data sources and the attributes that are associated with these data sources. This file must be customized to work for each site. Also, you can add additional data sources to this file, such as defining additional ODBC user directories for SiteMinder.
The first section of the system_odbc.ini file, [ODBC Data Sources], contains a list of all of the currently available data sources. The name before the “=” refers to a subsequent section of the file describing each individual data source. After the “=” is a comment field.
Note: If you modify of the first line of data source entry, which is [SiteMinder Data Source], take note of the value. The value is required when you configure the database as a policy store.
Each data source has a section in the system_odbc.ini file describing its attributes. The first attribute is the ODBC driver that is loaded when SiteMinder uses this data source. The remaining attributes are specific to the driver.
Adding a MySQL Server Data source involves:
If you create a new service name or want to use a different driver, update the system_odbc.ini file. You should have entries for the MySQL driver under [SiteMinder Data Source].
Again, to configure a MySQL Server data source, you create the system_odbc.ini file by renaming mysqlwire.ini to system_odbc.ini.
Create the MySQL Wire Protocol Driver
You configure the wire protocol driver to specify the settings SiteMinder uses to connect to the database.
Note: This procedure only applies if the Policy Server is installed on a UNIX system. If you have not already done so, copy one of the following files and rename it system_odbc.ini. The file you rename depends on the database vendor you are configuring as a SiteMinder data store.
These files are located in siteminder_home/db
The system_odbc.ini file contains the following sections. The data source that you are configuring determine the section or sections that you edit:
Specifies the settings SiteMinder is to use to connect to the database functioning as the policy store.
Specifies the settings SiteMinder is to use to connect to the database functioning as the audit log database.
Specifies the settings SiteMinder is to connect to the database functioning as the key store.
Specifies the settings SiteMinder is to connect to the database functioning as the session store.
Specifies the settings SiteMinder is to connect to the database functioning as the sample user data store.
Follow these steps:
SiteMinder Data Source=DataDirect 6.0 MySQL Wire Protocol.
Driver=nete_ps_root/odbc/lib/NSmysql24.so Description=DataDirect 6.0 MySQL Wire Protocol Database=database_name HostName=host_name LogonID=root_user Password=root_user_password PortNumber=mysql_port
Note: When editing data source information, do not use the pound sign (#). Entering a pound sign comments the information, which truncates the value. The truncated value can cause ODBC connections to fail.
Specifies the Policy Server installation path. Enter this value as an explicit path, rather than one with an environment variable.
Example: /export/smuser/siteminder
Specifies the name of the MySQL database that is to function as the SiteMinder data store.
Specifies the name of the MySQL database host system.
Specifies the login ID of the MySQL root user.
Specifies the password for the MySQL root user.
Specifies the port on which the MySQL database is listening.
The wire protocol driver is configured.
You point the Policy Server to the database so the Policy Server can access the SiteMinder data in the policy store.
Follow these steps:
ODBC
Policy Store
Note: We recommend retaining the 25 connection default for best performance.
Key Store
ODBC
Use the Policy Store database
Audit Logs
ODBC
Use the Policy Store database
The Policy Server is configured to use the database as a policy store, key store, and logging database.
Copyright © 2012 CA.
All rights reserved.
|
|