To configure an Oracle database as key store, complete the following procedures:
Note: If you are trying to configure or upgrade a SiteMinder store listed in the SiteMinder Platform Support Matrix and cannot find the procedures in this guide, see the Directory Configuration Guide.
Configuring a single Oracle database to function as a policy store or any other type of SiteMinder data store requires specific database information.
Information prefixed with (U) indicates that the information is only required if the Policy Server is installed on a UNIX system. This information is required when configuring Oracle data source for UNIX.
Note: Policy and data store worksheets are provided to help you gather and record information before configuring or upgrading a SiteMinder data store. You can print the applicable worksheet and can use it to record required information before beginning.
Required Information
Gather the following required information before configuring a supported Oracle or Oracle RAC database as a policy store or any other type of SiteMinder data store:
Example: SM Oracle Server Wire DS.
Note: Ensure the administrative account does not have the DB role. Audit-based reports will not return correct results if the administrative account has the DB role.
Oracle Database Information
Gather the following information only if you are configuring a supported Oracle database as a policy store or any other type of SiteMinder data store:
Oracle RAC Database Information
Gather the following information only if you are configuring a supported Oracle RAC database as a policy store or any other SiteMinder data store:
Example: In the following tnsnames.ora file, SMDB is the service name for the entire system:
SMDB= (Description = (ADDRESS = PROTOCOL = TCP)(HOST = nete_servername1)(PORT=1521 (ADDRESS = PROTOCOL = TCP)(HOST = nete_servername2)(PORT=1521) (ADDRESS = PROTOCOL = TCP)(HOST = nete_servername3)(PORT=1521)) (LOAD_BALANCE = yes) (CONNECT_DATA= (SERVER = DEDICATED) (SERVER_NAME = SMDB)) )
Note: If you are using Oracle RAC 10g, determine the virtual IP address of each node in the system.
You create the key store schema so the Oracle database can store key information.
To create the SiteMinder schema
Note: We recommend that you do not create SiteMinder schema with the SYS or SYSTEM users. If necessary, create an Oracle user, such as SMOWNER, and create the schema with that user.
$NETE_PS_ROOT/db/sql/sm_oracle_ps.sql
Note: Environment variables may not function in Oracle's SQL utility. If you experience problems importing the script using the utility, specify an explicit path.
The key store schema is created in the database.
If you are using ODBC, you need to configure a data source for the Oracle wire protocol driver.
Create an Oracle Data Source on Windows
To create an Oracle data source on Windows
The ODBC Data Source Administrator appears.
The Create New Data Source dialog appears
The ODBC Oracle Wire Protocol Driver Setup dialog appears. The General tab is pulled to the front.
Note: Record this name. You will need the data source name when pointing the Policy Server to the database.
Note: The service name is specified in the tnsnames.ora file. The SID is the system identifier for the database instance. The tnsnames.ora file contains service names and details that Oracle uses to identify and connect to Oracle instances.
Example: if the tnsnames.ora file contains the following entry for an Oracle instance, you enter instance1 in the SID field:
instance1 =
(Description= (Address = (PROTOCOL = TCP)(Host = myhost)(Port=1521)) (Connect_DATA_ = (SID = SIDofinstance1)) )
The connection settings are tested and a prompt appears specifying that the connection is successful.
The Oracle data source is configured for the wire protocol driver.
Create an Oracle RAC Data Source on Windows
You can configure Oracle RAC instances with the Policy Server as a single data source name similar to that of a single instance Oracle database. However, the data source name for Oracle RAC is different than a regular ODBC data source.
In an Oracle RAC system, in addition to the SID or ServiceName for each Oracle instance, there is also a ServiceName for the entire Oracle RAC system. When configuring a data source, configure the data source name to use this ServiceName when connecting to an Oracle RAC.
To configure an Oracle RAC data source
The ODBC Data Source Administrator appears.
The ODBC Oracle Wire Protocol Driver Setup dialog appears. The General tab is pulled to the front.
Note: Record this name. You will need the data source name when pointing the Policy Server to the database.
Oracle RAC 10g: Enter the virtual IP Address.
Example: In the following tnsnames.ora file, the SMDB value is the service name for the entire Oracle RAC system, which contains 3 nodes:
SMDB=
(Description =
(ADDRESS = (Protocol = TCP)(HOST = nete_servername1)(PORT = 1521)) (ADDRESS = (Protocol = TCP)(HOST = nete_servername2)(PORT = 1521)) (ADDRESS = (Protocol = TCP)(HOST = nete_servername3)(PORT = 1521)) (LOAD_BALANCE = yes) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = SMDB) )
Failover settings appear.
Note: The ServiceName is the service name for the entire Oracle RAC system.
(HostName=nete_servername2:PortNumber=1521:ServiceName=nete_servicename[,...])
The Oracle RAC data source is configured for the wire protocol driver.
Create an Oracle Data Source on UNIX Systems
The SiteMinder ODBC data sources are configured using a system_odbc.ini file, which you create by renaming oraclewire.ini, located in policy_server_installation/db, to system_odbc.ini. This system_odbc.ini file contains all of the names of the available ODBC data sources as well as 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 change because you will need this value when configure your ODBC 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 to be loaded when this data source is used by SiteMinder. The remaining attributes are specific to the driver.
Adding an Oracle Data source involves adding a new data source name in the [ODBC Data Sources] section of the file, and adding a section that describes the data source using the same name as the data source. You need to change the system_odbc.ini file if you create a new service name or want to use a different driver. You should have entries for the SQL Server or Oracle drivers under [SiteMinder Data Source].
Again, to configure an Oracle data source, you must first create a system_odbc.ini file in the policy_server_installation/db directory. To do this, you need to rename oraclewire.ini, located in policy_server_installation/db, to system_odbc.ini.
Copyright © 2012 CA.
All rights reserved.
|
|