WA Agent For Databases Impl r11.3.4 ENU
WA Agent For Databases Impl r11.3.4 ENU
Implementation Guide
r11.3.4
This Documentation, which includes embedded help systems and electronically distributed materials, (hereinafter referred to
as the “Documentation”) is for your informational purposes only and is subject to change or withdrawal by CA at any time. This
Documentation is proprietary information of CA and may not be copied, transferred, reproduced, disclosed, modified or
duplicated, in whole or in part, without the prior written consent of CA.
If you are a licensed user of the software product(s) addressed in the Documentation, you may print or otherwise make
available a reasonable number of copies of the Documentation for internal use by you and your employees in connection with
that software, provided that all CA copyright notices and legends are affixed to each reproduced copy.
The right to print or otherwise make available copies of the Documentation is limited to the period during which the applicable
license for such software remains in full force and effect. Should the license terminate for any reason, it is your responsibility to
certify in writing to CA that all copies and partial copies of the Documentation have been returned to CA or destroyed.
TO THE EXTENT PERMITTED BY APPLICABLE LAW, CA PROVIDES THIS DOCUMENTATION “AS IS” WITHOUT WARRANTY OF ANY
KIND, INCLUDING WITHOUT LIMITATION, ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE, OR NONINFRINGEMENT. IN NO EVENT WILL CA BE LIABLE TO YOU OR ANY THIRD PARTY FOR ANY LOSS OR DAMAGE,
DIRECT OR INDIRECT, FROM THE USE OF THIS DOCUMENTATION, INCLUDING WITHOUT LIMITATION, LOST PROFITS, LOST
INVESTMENT, BUSINESS INTERRUPTION, GOODWILL, OR LOST DATA, EVEN IF CA IS EXPRESSLY ADVISED IN ADVANCE OF THE
POSSIBILITY OF SUCH LOSS OR DAMAGE.
The use of any software product referenced in the Documentation is governed by the applicable license agreement and such
license agreement is not modified in any way by the terms of this notice.
The manufacturer of this Documentation is CA.
Provided with “Restricted Rights.” Use, duplication or disclosure by the United States Government is subject to the restrictions
set forth in FAR Sections 12.212, 52.227-14, and 52.227-19(c)(1) - (2) and DFARS Section 252.227-7014(b)(3), as applicable, or
their successors.
Copyright © 2014 CA. All rights reserved. All trademarks, trade names, service marks, and logos referenced herein belong to
their respective companies.
CA Technologies Product References
This document references the following CA Technologies products:
■ CA Process Automation
■ CA Workload Automation AE
■ CA Workload Automation Agent for Application Services (CA WA Agent for
Application Services)
■ CA Workload Automation Agent for Databases (CA WA Agent for Databases)
■ CA Workload Automation Agent for i5/OS (CA WA Agent for i5/OS)
■ CA Workload Automation Agent for Informatica (CA WA Agent for Informatica)
■ CA Workload Automation Agent for Linux (CA WA Agent for Linux)
■ CA Workload Automation Agent for Micro Focus (CA WA Agent for Micro Focus)
■ CA Workload Automation Agent for Microsoft SQL Server (CA WA Agent for
Microsoft SQL Server)
■ CA Workload Automation Agent for Oracle E-Business Suite (CA WA Agent for
Oracle E-Business Suite)
■ CA Workload Automation Agent for PeopleSoft (CA WA Agent for PeopleSoft)
■ CA Workload Automation Agent for Remote Execution (CA WA Agent for Remote
Execution)
■ CA Workload Automation Agent for SAP (CA WA Agent for SAP)
■ CA Workload Automation Agent for UNIX (CA WA Agent for UNIX)
■ CA Workload Automation Agent for Web Services (CA WA Agent for Web Services)
■ CA Workload Automation Agent for Windows (CA WA Agent for Windows)
■ CA Workload Automation CA 7 Edition
■ CA Workload Automation DE
■ CA Workload Automation Desktop Client (CA WA Desktop Client)
■ CA Workload Automation ESP Edition
■ CA Workload Control Center
Contact CA Technologies
Contact CA Support
For your convenience, CA Technologies provides one site where you can access the
information that you need for your Home Office, Small Business, and Enterprise CA
Technologies products. At http://ca.com/support, you can access the following
resources:
■ Online and telephone contact information for technical assistance and customer
services
■ Information about user communities and forums
■ Product and documentation downloads
■ CA Support policies and guidelines
■ Other helpful resources appropriate for your product
Contents 5
Change the Number of Simultaneously Open Database Connections ....................................................................... 33
Specify a Default Database URL ................................................................................................................................. 34
Connecting to Oracle Real Application Clusters (RAC) ........................................................................................ 35
How to Change the Default Database User ID and Password .................................................................................... 35
Encrypt the Password ......................................................................................................................................... 36
Change the Default Database User and Password .............................................................................................. 36
Specify a Default Oracle User Role for Database Jobs ............................................................................................... 37
Change the Frequency the Agent Plug-in Monitors for Changes to the Database .................................................... 37
Enable Automatic Spool File Cleanup......................................................................................................................... 37
Configure the Agent Plug-in to Retry Running a Stored Procedure ........................................................................... 38
Index 45
6 Implementation Guide
Chapter 1: Introduction
This section contains the following topics:
Intended Audience (see page 7)
Agents and Agent Plug-ins (see page 7)
CA WA Agent for Databases (see page 8)
Job Types Supported by CA WA Agent for Databases (see page 9)
Intended Audience
This document is for system administrators who are responsible for upgrading,
installing, and configuring agents.
You require knowledge of the operating system where the agent is installed and any
third-party products or software technology that the agent uses.
Notes:
■ The term Windows refers to any Microsoft Windows operating system supported by
the agent.
■ The UNIX instructions in this document also apply to Linux systems unless otherwise
noted.
You can extend the functionality of the agent by installing one or more agent plug-ins in
the agent installation directory. If you have a relational database such as Oracle, you can
install a database agent plug-in to query and monitor the database. Other agent plug-ins
are also available. For more information about agent plug-ins, see the Implementation
Guide for the appropriate agent plug-in.
Note: The agent plug-ins are only available for UNIX, Linux, and Windows operating
environments.
Chapter 1: Introduction 7
CA WA Agent for Databases
The following workload contains z/OS jobs, a UNIX job, an SAP job, and a Windows job,
running on different computers, in different locations, and at different times:
Note: You can schedule jobs for Oracle, Microsoft SQL Server, IBM DB2, and Sybase
databases.
8 Implementation Guide
Job Types Supported by CA WA Agent for Databases
Chapter 1: Introduction 9
Chapter 2: Implementation Checklist
This section contains the following topics:
How to Install and Configure CA WA Agent for Databases (see page 11)
Collecting Your Database Information (see page 11)
Deciding Whether to Create an Alias (see page 12)
Note: Before you install the agent plug-in, install and configure the agent.
Note: If you are installing the agent plug-in to work with CA Workload Automation DE,
you must set up an alias. Setting up an alias for use with other scheduling managers is
optional.
Suppose you have installed an agent named AGT10 on a Linux computer. Users who
have access to that agent through their security permissions specify AGT10 as the agent
name in their job definitions. Now suppose that you install an agent plug-in into the
installation directory for AGT10. You can create an alias for the agent plug-in, for
example, AGT10_DB. You can then restrict access to that alias to only those users that
run Database workload. Those specific users then must specify AGT10_DB as the agent
name in their job definitions.
Each agent plug-in has a default alias that you can enable during installation. For
example, the agent plug-in for CA WA Agent for Databases has the default alias
agentname_DB. You can enable or change the default alias name after installation. To
work, you must also configure the alias on the scheduling manager.
Note: To configure agent aliasing for clustered environments, see the CA Workload
Automation Agent for UNIX, Linux, or Windows Implementation Guide.
12 Implementation Guide
Chapter 3: Installing the Agent Plug-in
This section contains the following topics:
CA WA Agent for Databases Installation Options (see page 13)
Controlling the Agent Plug-in (see page 14)
Install CA WA Agent for Databases (see page 14)
Download the jTDS JDBC Driver (see page 16)
Copy the JDBC Drivers for Sybase (see page 16)
How to Remove the Agent Plug-in (see page 17)
Note: For more information about starting and stopping the agent, see the CA Workload
Automation Agent for UNIX, Linux, or Windows Implementation Guide.
Copy the database.pak file into the agent installation directory. You can copy this file
from the product DVD or you can download a zip file that contains the file from the CA
Support Online website (http://ca.com/support).
1. Change to the agent installation directory. For example, type the following
command:
■ On UNIX:
cd opt/CA/WA_Agent_R11_3
■ On Windows:
cd C:\Program Files\CA\WA Agent R11.3
14 Implementation Guide
Install CA WA Agent for Databases
■ On Windows:
cybAgent -s
■ On Windows:
PluginInstaller.exe database.pak install_dir
install_dir
Specifies the agent installation directory.
4. Enter the information the installation program prompts you for.
The installation program displays a message and closes automatically upon a
successful installation.
5. Start the agent using one of the following commands:
■ On UNIX:
./cybAgent &
■ On Windows:
cybAgent -a
Note: The installation program backs up all modified and replaced files. The backup files
are compressed into a file that is named backup_timestamp.zip, located in the backups
subdirectory of the agent installation directory. You can use Winzip or other similar
utilities to open the backup file. A backup copy of the agentparm.txt file is stored in the
zip file.
install_dir
Specifies the agent installation directory.
4. Start the agent using the following command:
cybAgent -a
■ On Windows:
C:\database_install_dir\jConnect-version\devclasses
The agent was tested with the jconn3d.jar and jTDS3d.jar drivers.
2. Copy the JDBC drivers for your database to the jars/ext subdirectory of the agent
installation directory.
3. Change to the agent installation directory.
16 Implementation Guide
How to Remove the Agent Plug-in
■ On Windows:
cybAgent -s
5. Open the agentparm.txt file that is located in the agent installation directory.
6. Edit the following parameter if the driver class name for your database driver is
different:
jdbc.drivers
Specifies the driver class name for the JDBC driver. Separate multiple drivers
with a colon (:).
Example: sun.jdbc.odbc.JdbcOdbcDriver:com.sybase.jdbc3.jdbc.SybDriver
7. Save and close the agentparm.txt file.
8. Start the agent using one of the following commands:
■ On UNIX:
./cybAgent &
■ On Windows:
cybAgent -a
3. Open the agentparm.txt file that is located in the agent installation directory.
4. Comment out the plugins.start_internal_n parameter, and renumber any
subsequent plugins.start_internal_n parameters.
Note: Renumber all other agent plug-ins that are assigned a greater number than
the agent plug-in you are uninstalling.
5. Comment out the communication.alias parameter if you created an alias during the
agent plug-in installation.
Note: Renumber any subsequent communication.alias_n parameters.
6. Save and close the agentparm.txt file.
7. Remove the database.jar file from the JARs subdirectory of the agent installation
directory.
8. Start the agent.
Suppose that you have the following agent plug-ins set in the agentparm.txt file:
plugins.start_internal_1=runner
plugins.start_internal_2=database
plugins.start_internal_3=ftp
plugins.start_internal_4=microfocus
To disable the agent plug-in for CA WA Agent for Databases, you would modify the
agentparm.txt file as follows:
plugins.start_internal_1=runner
#plugins.start_internal_2=database
plugins.start_internal_2=ftp
plugins.start_internal_3=microfocus
Suppose that you have two alias agent plug-ins. The agentparm.txt file has the following
parameters:
communication.alias_1=AGENTNAME_DB
communication.alias_2=AGENTNAME_MF
To disable the agent plug-in for CA WA Agent for Databases, modify the agentparm.txt
file as follows:
#communication.alias_1=AGENTNAME_DB
communication.alias_1=AGENTNAME_MF
18 Implementation Guide
How to Remove the Agent Plug-in
Note: For detailed instructions to remove the agent from the scheduling manager, see
the documentation for your scheduling manager.
For detailed configuration instructions, see the documentation for your scheduling
manager.
Output file
Specifies the valid path to a file where you want the agent to store the query
results.
User
Specifies the user ID to run the job under.
Note: You do not need to include the USER statement if a default user ID is
specified in the agentparm.txt file.
For more information about defining an SQL job, see the documentation for your
scheduling manager.
22 Implementation Guide
Chapter 5: Configuring the Agent Plug-in
This section contains the following topics:
How to Configure Agent Parameters (see page 23)
CA WA Agent for Databases Parameters in the agentparm.txt File (see page 25)
How to Set Up an Alias for the Agent Plug-in (see page 30)
Change the JDBC Driver the Agent Plug-in Uses for your Database (see page 31)
Change the Number of Simultaneously Open Database Connections (see page 33)
Specify a Default Database URL (see page 34)
How to Change the Default Database User ID and Password (see page 35)
Specify a Default Oracle User Role for Database Jobs (see page 37)
Change the Frequency the Agent Plug-in Monitors for Changes to the Database (see
page 37)
Enable Automatic Spool File Cleanup (see page 37)
Configure the Agent Plug-in to Retry Running a Stored Procedure (see page 38)
■ On Windows:
cybAgent -s
3. Open the agentparm.txt file that is located in the agent installation directory.
4. Make the required changes to the agent parameters.
5. Save and close the agentparm.txt file.
6. Start the agent using one of the following commands:
■ On UNIX:
./cybAgent &
■ On Windows:
cybAgent -a
24 Implementation Guide
CA WA Agent for Databases Parameters in the agentparm.txt File
db.connect.setTrace
Specifies whether the agent turns on tracing for the database driver.
true
Turns on tracing for the database driver. With this setting, the agent generates
the jdbc.log file.
false
Does not turn on tracing for the database driver.
Default: false
db.connectionPool.maxSize
Specifies the maximum number of simultaneously open connections in a database
pool.
Limits: 0-20
Default: 5
Note: If you set it to zero, the agent does not use a connection pool.
db.dbproc.retryOnFailure
Specifies whether the agent continues to resend a stored procedure when an error
occurs between the agent and the database. The error is logged in the agent log
file.
true
Indicates that the agent retries running a stored procedure when an error
occurs.
false
Indicates that the agent attempts to run a stored procedure only once.
Default: false
db.dbproc.trimValues
Specifies whether the agent trims string values that a stored procedure returns.
true
Removes surrounding spaces from strings that a stored procedure returns. For
example, you can use this setting to trim string values in DB2 that are padded
with spaces.
false
Does not remove surrounding spaces from strings that a stored procedure
returns.
Default: false
26 Implementation Guide
CA WA Agent for Databases Parameters in the agentparm.txt File
db.default.password
Specifies the encrypted password for the default database user ID.
Note: This parameter does not apply to CA Workload Automation AE.
db.default.url
Specifies the default database URL, which includes the database host name and
port. When you specify the default location, you use a unique URL format for each
database type. Default database URL specifications are formatted as follows:
■ Oracle database:
jdbc:oracle:thin:@host:port:dbname
Example: jdbc:oracle:thin:@gemini:1527:cyb
■ Oracle Real Application Clusters (RAC)
Example: jdbc:oracle:thin:@(DESCRIPTION=(LOAD_BALANCE=on)
(ADDRESS=(PROTOCOL=TCP)(HOST=host1) (PORT=1521))
(ADDRESS=(PROTOCOL=TCP)(HOST=host2) (PORT=1521))
(CONNECT_DATA=(SERVICE_NAME=service)))
■ Microsoft SQL Server database:
db.default.url=jdbc:sqlserver://host:port;DatabaseName=dbname
Example: jdbc:sqlserver://qatest04:1433;DatabaseName=JAT50
■ IBM DB2 database:
db.default.url=jdbc:db2://host:port/dbname
Example: jdbc:db2://sapent:50000/SAMPLE
■ Sybase database:
db.default.url=jdbc:sybase:Tds:host:port/dbname
Example: jdbc:sybase:Tds:dbhost:5000/tsdata
Note: The URL specified in a job definition overrides this value.
db.default.user
Specifies the default database user ID that is used to monitor the table. Specify the
encrypted password for this user ID using the db.default.password parameter.
Notes:
■ If another user ID is specified in the job definition, the user ID in the job
definition overrides this default user ID.
■ This parameter does not apply to CA Workload Automation AE.
db.default.userType
Specifies the role of the Oracle user to log in as. The user role must be defined in
the Oracle database.
Example: as sysdba
db.error.connectionErrorMessage
Specifies the SQLException that the agent uses to determine whether a connection
failure has occurred. On a connection failure, the agent retries running the job.
Default: java.sql.SQLException: Io exception
db.mon.disable
Specifies whether the agent disables the Database Monitor feature.
true
Disables the Database Monitor feature. If you do not use Database Monitor
jobs, use this setting to reduce resource usage, setup, and potential error
messages.
false
Enables the Database Monitor feature.
Default: false
db.out.format.paramSeparator
Specifies the separator that the agent uses between key value pairs in the return
strings.
Default: |
db.out.format.valueSeparator
Specifies the separator that the agent uses between keys and values in the return
strings.
Default: =
db.sql.retryOnFailure
Specifies whether the agent retries the SQL execution when failure occurs.
true
Indicates that the agent retries the SQL execution once when failure occurs.
false
Indicates that the agent attempts the SQL execution only once.
Default: false
28 Implementation Guide
CA WA Agent for Databases Parameters in the agentparm.txt File
db.trig.disable
Specifies whether the agent disables the Database Trigger feature.
true
Disables the Database Trigger feature. If you do not use Database Trigger jobs,
use this setting to reduce resource usage, setup, and potential error messages.
false
Enables the Database Trigger feature.
Default: false
db.trig.log.table
Specifies the name of the log table.
Default: CYB_TRIG_LOG
db.trig.namePrefix
Specifies the prefix name for database triggers.
Default: CYB_
db.trig.pollingInterval.ms
Specifies how often (in milliseconds) the agent plug-in monitors for changes to the
CYB_TRIG_LOG table and any other table for Database Trigger jobs.
Default: 10000 (10 seconds)
db.trig.processMissingTriggers
Specifies whether to generate STATE COMPLETE messages for Database Trigger jobs
and jobs that are no longer tracked.
Default: false (STATE COMPLETE messages are not generated)
db.trig.propfile
Sets the properties file that stores database templates for a particular database
type as follows:
■ dbtrigOracle sets the file to dbtrigOracle.properties
■ dbtrigSqlServer sets the file to dbtrigSqlServer.properties
■ dbtrigDb2 sets the file to dbtrigDb2.properties
■ dbtrigSybase sets the file to dbtrigSybase.properties
The properties files are located in the agent installation directory.
db.use.default.outFile
Indicates whether to force the agent to store the results of the SQL query in the
spool file on the agent computer.
true
Forces the agent to store the results of the SQL query in the spool file. If an
output file is specified in the SQL job definition, the agent ignores it.
false
Does not force the agent to store the results of the SQL query in the spool file.
If an output file is specified in the SQL job definition, the results are stored in
the output file.
Note: If the agent runs as root, the owner of the output file is also root. As a
result, the output file can overwrite existing files.
jdbc.drivers
Specifies the driver class name for the JDBC driver. Separate multiple drivers with a
colon (:).
Example:
oracle.jdbc.driver.OracleDriver:com.microsoft.sqlserver.jdbc.SQLServerDriver
plugins.start_internal_n
Specifies the agent plug-in to start by the core Java agent.
n
Denotes an integer that is assigned to the agent plug-in, starting at 1. The n
suffix must increase sequentially for each agent plug-in.
30 Implementation Guide
Change the JDBC Driver the Agent Plug-in Uses for your Database
To create an alias for the agent, configure the following parameter on the agent:
communication.alias_n
Defines the alias name for the agent. The n suffix increments sequentially for each
alias agent.
Note: To enable an alias on the agent, verify that the comment character (#) is
removed from the parameter line.
Note: For detailed instructions to configure an alias on the scheduling manager, see the
documentation for your scheduling manager.
Change the JDBC Driver the Agent Plug-in Uses for your
Database
When you install CA WA Agent for Databases, the installation program installs a default
JDBC driver for the database type you chose.
■ On Windows:
cybAgent -s
5. Open the agentparm.txt file that is ocated in the agent installation directory.
6. Edit the following parameter if the driver class name for your database driver is
different:
jdbc.drivers
Specifies the driver class name for the JDBC driver. Separate multiple drivers
with a colon (:).
Example:
oracle.jdbc.driver.OracleDriver:com.microsoft.sqlserver.jdbc.SQLServerDriver
7. Save and close the agentparm.txt file.
8. Start the agent using one of the following commands:
■ On UNIX:
./cybAgent &
■ On Windows:
cybAgent -a
32 Implementation Guide
Change the Number of Simultaneously Open Database Connections
Notes:
■ Specify a number greater than five if you run many stored procedures or SQL
queries on the database at one time.
■ Specifying a greater number of open connections to the database requires more
resources. Do not specify a number greater than 20.
■ If you specify zero, connections are not reused. A new database connection opens
each time that you run a database job.
To specify a default database URL, configure the following parameter on the agent:
db.default.url
Specifies the default database URL, which includes the database host name and
port. When you specify the default location, you use a unique URL format for each
database type. Default database URL specifications are formatted as follows:
■ Oracle database:
jdbc:oracle:thin:@host:port:dbname
Example: jdbc:oracle:thin:@gemini:1527:cyb
■ Oracle Real Application Clusters (RAC)
Example: jdbc:oracle:thin:@(DESCRIPTION=(LOAD_BALANCE=on)
(ADDRESS=(PROTOCOL=TCP)(HOST=host1) (PORT=1521))
(ADDRESS=(PROTOCOL=TCP)(HOST=host2) (PORT=1521))
(CONNECT_DATA=(SERVICE_NAME=service)))
■ Microsoft SQL Server database:
db.default.url=jdbc:sqlserver://host:port;DatabaseName=dbname
Example: jdbc:sqlserver://qatest04:1433;DatabaseName=JAT50
■ IBM DB2 database:
db.default.url=jdbc:db2://host:port/dbname
Example: jdbc:db2://sapent:50000/SAMPLE
■ Sybase database:
db.default.url=jdbc:sybase:Tds:host:port/dbname
Example: jdbc:sybase:Tds:dbhost:5000/tsdata
Note: The URL specified in a job definition overrides this value.
34 Implementation Guide
How to Change the Default Database User ID and Password
jdbc:oracle:thin:@(DESCRIPTION=(LOAD_BALANCE=on)
(ADDRESS=(PROTOCOL=TCP)(HOST=host1) (PORT=1521))
(ADDRESS=(PROTOCOL=TCP)(HOST=host2) (PORT=1521))
(CONNECT_DATA=(SERVICE_NAME=service)))
In the example, the agent accesses the database through host1 or host2.
Note: If a host that the agent uses to access the database fails or failover occurs,
database jobs fail and must be resubmitted.
To change the default database user ID and password, follow these steps:
1. Encrypt the password (see page 36).
2. Change the default database user ID and password (see page 36).
■ On Windows:
password.bat
To change the default database user and password, configure the following agent
parameters on the agent:
db.default.user
Specifies the default database user ID that is used to monitor the table. Specify the
encrypted password for this user ID using the db.default.password parameter.
Notes:
■ If another user ID is specified in the job definition, the user ID in the job
definition overrides this default user ID.
■ This parameter does not apply to CA Workload Automation AE.
db.default.password
Specifies the encrypted password for the default database user ID.
Note: This parameter does not apply to CA Workload Automation AE.
36 Implementation Guide
Specify a Default Oracle User Role for Database Jobs
To specify a default Oracle database user role, configure the following parameter on the
agent:
db.default.userType
Specifies the role of the Oracle user to log in as. The user role must be defined in
the Oracle database.
Example: as sysdba
To change the frequency the CA WA Agent for Databases monitors for changes to the
database, configure the following parameter on the agent:
db.trig.pollingInterval.ms
Specifies how often (in milliseconds) the agent plug-in monitors for changes to the
CYB_TRIG_LOG table and any other table for Database Trigger jobs.
Default: 10000 (10 seconds)
To enable automatic spool file cleanup, configure the following parameter on the agent:
agent.spool.success.autocleanup
Sets whether the agent automatically clears spool files.
true
Enables automatic spool file cleanup.
false
Disables automatic spool file cleanup.
Default: false
To control whether the agent retries running a stored procedure, configure the
following parameter on the agent:
db.dbproc.retryOnFailure
Specifies whether the agent continues to resend a stored procedure when an error
occurs between the agent and the database. The error is logged in the agent log
file.
true
Indicates that the agent retries running a stored procedure when an error
occurs.
false
Indicates that the agent attempts to run a stored procedure only once.
Default: false
38 Implementation Guide
Chapter 6: Troubleshooting the Agent
Plug-in
This section contains the following topics:
Problem Connecting to Oracle Real Application Clusters (RAC) (see page 39)
Symptom:
When I run a Database job that connects to an Oracle RAC system, the job goes into a
SUBERROR state with the following error message:
Problem connecting to DB: Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor.
Solution:
In an Oracle RAC environment, multiple Oracle instances share physical data. List all
Oracle instances in the JDBC URL.
Use the following example to specify the db.default.url parameter in the agentparm.txt
file or the JDBC URL in the job definition:
jdbc:oracle:thin:@(DESCRIPTION=(LOAD_BALANCE=on)
(ADDRESS=(PROTOCOL=TCP)(HOST=host1) (PORT=1521))
(ADDRESS=(PROTOCOL=TCP)(HOST=host2)(PORT=1521))
(CONNECT_DATA=(SERVICE_NAME=service)))
Note: To view PDF files, download and install the Adobe Reader from the Adobe website
if it is not already installed on your computer.
Task Documentation
Configure the scheduling CA Workload Automation AE UNIX Implementation
manager to work with the agent Guide
CA Workload Automation AE Windows
Implementation Guide
Define, monitor, and control CA Workload Automation AE Reference Guide
jobs CA Workload Automation AE User Guide
CA Workload Control Center Workload Scheduling
Guide
Task Documentation
Task Documentation
42 Implementation Guide
CA Workload Automation CA 7 Edition Documentation
Task Documentation
D
database
default user ID and password • 35, 36
encrypting a password • 36
database connections, simulataneous number open
• 33
documentation, scheduling manager • 41
I
installation
instructions • 14
removing the plug-in • 17
verification test • 21
J
job types, supported • 9
N
name, agent plug-in • 31
P
password, encrypting • 36
S
scheduling manager
configuration for the agent plug-in • 21
configuring agent parameters • 24
configuring an alias • 31
documentation • 41
spool file cleanup, automatic • 37
Index 45