Use the ODBC context–sensitive storage controls to configure an ODBC data source for:
Note: For more information about configuring ODBC data sources, see the Policy Server Installation Guide.
To configure an ODBC data source
Indicates the name of the ODBC data source. You can enter multiple names in this field to enable failover.
Indicates the user name of the database account (if required) with full rights to access the database.
Contains the password of the database account.
Contains a duplicate of the database account password, for verification.
Indicates the maximum number of ODBC connections per database allowed at one time.
If you have multiple ODBC data sources and you want to configure failover, list the data source names in the Data Source Information field, separated by commas. For example, entering CA SiteMinder® Data Source1,CA SiteMinder® Data Source2 causes the Policy Server to look at Data Source 1 first. If CA SiteMinder® Data Source1 does not respond, the Policy Server automatically looks for CA SiteMinder® Data Source2.
Note: Using the method described above, you can configure failover for data sources used as policy stores, key stores, session stores, and audit logs.
SQL queries that return large numbers of records can cause the Policy Server to hang or crash. To manage this outcome, you can output a warning message to the SMPS logs when the number of records returned exceeds a maximum value that you specify.
To configure the maximum, add the registry key, MaxResults, and set its value to one or more. When the number of records returned by a query equals or exceeds the limit specified by MaxResults, the Policy Server outputs a warning to the SMPS logs. When MaxResults is set to zero or undefined, no warning messages are output.
Adding the registry key, MaxResults, does not change the number of records returned. Adding the key does warn you when the number of results exceeds a limit that you set. You can use this feedback to modify your SQL queries and fine-tune the number of records returned, as needed.
To configure a limit to the number of records returned by a SQL query
Windows
Add the registry key MaxResults to the following location:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Netegrity\SiteMinder\CurrentVersion\Ds \ODBCProvider
Solaris
Add the following lines to the sm.registry file:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Netegrity\SiteMinder\CurrentVersion\Ds \ODBCProvider=35921 MaxResults=0x1; REG_DWORD
The parameters listed following control timeout for the connection between and ODBC database and the Policy Server in various situations. The key on Windows and UNIX is available the following location:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Netegrity\SiteMinder\CurrentVersion\Database
The time that is allowed to connect to the database.
Allows 30 seconds for the query to complete. When the query does not complete within this time, a cancel request is sent to the database. For an ODBC user directory, the query timeout is overridden with the user directory object Searchtimeout. You set this value using XPSExplorer.
The number of seconds before the Policy Server marks a connection as hung. This value must be larger than twice the value of QueryTimeout or SearchTimeout.
The maximum wait time on a connection. In cases where the query timeout or the log-in timeout apply, those values override the connection timeout.
Copyright © 2015 CA Technologies.
All rights reserved.
|
|