Sei sulla pagina 1di 1

Knowledge Agent for Oracle The knowledge agent for Oracle requires the following pre-configuration tasks: Grant

t the following privileges to the Single Sign-On (SSO) user for the target d atabase. These are the minimum privileges needed to configure a CA Insight DPM k nowledge agent for Oracle: CREATE SESSION SELECT_CATALOG_ROLE CONNECT Note: Do not use the SYS or SYSTEM user as the SSO user Run the GrantUser.sql script, which grants the SSO user the privileges to select data from the SYS and V$ views and tables, and enables the full database monito ring capabilities of CA Insight DPM for Oracle. After you install the CA Insight DPM agent on a computer, the script resides in %uvroot%\install\ora\sql\ on Win dows, and in $uvroot/install/ora/sql/ on UNIX and Linux. Note: This task involves running a script which grants the additional privileges needed to enable full database monitoring capabilities. SYSDBA privileges to th e target database are required to run the script. Example: Perform the pre-configuration tasks Create a dedicated Oracle user as the SSO with the permissions and privileges me ntioned above, and then run the GrantUser.sql script, supplying the SSO user as an argument to the script: 1. From any computer where CA Insight DPM is installed, log in (using SQL *Plus) to the target database as a user with SYSDBA privileges. Note: Use an OS account that has the $uvroot / %uvroot% environment variable set . 2. Issue the following commands, where username and userpassword are the SSO use rname and password you plan to use to configure and run CA Insight DPM: CREATE USER username IDENTIFIED BY userpassword; GRANT CREATE SESSION TO username; GRANT SELECT_CATALOG_ROLE TO username; GRANT CONNECT TO username 3. For UNIX and Linux, issue the following command: @$uvroot/install/ora/sql/GrantUser.sql username 4. For Windows, issue the following command: @%uvroot%\install\ora\sql\GrantUser.sql username 5. Confirm that your SSO user is set up properly by connecting to the target dat abase as the SSO user and verifying that you can select from some of the SYS-own ed tables, by running the following SELECT statements: SELECT COUNT(*) FROM UDPM$KTFBUE; SELECT COUNT(*) FROM SYS.TAB$; The SSO user is set up properly if both of these SELECTs run successfully The RevokeUser.sql and RemoveUser.sql scripts are provided (in the same location as GrantUser.sql) for when you want to remove the knowledge agent and the SSO u ser. Supply the SSO user as an argument to the script as shown in the following Windows example: @%uvroot%\install\ora\sql\RevokeUser.sql username @%uvroot%\install\ora\sql\RemoveUser.sql username Important! If you upgrade CA Insight DPM, you must re-run the latest GrantUser.s ql script supplied with the newly upgraded release for all CA Insight DPM knowle dge agents for Oracle. See the CA Database Management for Distributed Databases Readme and CA Support Online for more information.

Potrebbero piacerti anche