Previous Topic: CA Configuration Automation Server Installation Log FilesNext Topic: Verifying CA Configuration Automation Agent Installation


Edit Database Properties

If you need to edit any of the database settings made during the CA Configuration Automation Server installation, edit the cca.properties file.

To edit database properties

  1. Open the cca.properties file in a text editor.

    If you used the default installation directory, the file is located in the following location:

  2. Edit the value to the right of the equals sign (=) for one or more of the following properties, then save and close the file:
    db.server

    Specifies the server that hosts CA Configuration Automation Database.

    Default: localhost

    db.driver

    Specifies the database driver.

    Default:

    • (SQL Server) com.microsoft.sqlserver.jdbc.SQLServerDriver
    • (Oracle) oracle.jdbc.driver
    db.context

    Specifies the context of the database.

    Default:

    • (SQL Server) SQL_SERVER_CONTEXT
    • (Oracle)
    db.instance

    Specifies the named instance of the database.

    Default:

    • (SQL Server) MSSQLSERVER
    • (Oracle) ORA
    db.name

    Specifies the name of the database.

    Default: cca

    db.user

    Specifies the database administrator user.

    Default: cca

    db.password

    Specifies the database administrator's password. This encrypted entry must be changed if the database administrator's password changes.

    Note: You can edit this entry directly in the cca.properties file if you want to have the password stored in clear text and protected by file-level access security. If you want to encrypt the password, a utility to do so is included in the <CA Configuration Automation Server_install_directory>\bin directory. The file is called setDbPwd.sh (Linux or UNIX) or setDbPwd.bat (Windows). Run the utility from a command line, then enter and confirm the new password. The new, encrypted password is stored in the cca.properties file.

    db.port

    Specifies the listening port of the database.

    Default:

    • (SQL Server) 1433
    • (Oracle) 1521
    db.max_connections

    Specifies the maximum number of users who can be logged on to the database at one time.

    Default: 50

    db.deadlock_retry_delay_ms

    Specifies the time in milliseconds that the database waits before trying to resolve a resource deadlock.

    Default: 10000

    #db.max_idle_connections

    Specifies the maximum number of idle connections allowed by the database. You must remove the comment sign (#) to activate this property.

    Default: 5

    #db.max_wait_connection_ms

    Specifies the time in milliseconds that the database waits while trying to establish a connection. You must remove the comment sign (#) to activate this property.

    Default: 60000

    #db.min_idle_eviction_ms

    Specifies the time in milliseconds that the database waits before terminating an idle connection. You must remove the comment sign (#) to activate this property.

    Default: 15000

    #db.eviction_run_interval_ms

    Specifies the time in milliseconds that the database waits between connection eviction runs. You must remove the comment sign (#) to activate this property.

    Default: 15000

    The file is updated with your edits.

Resolving General Database Connection Issues

Many CA Configuration Automation Server installation problems are due to the inability to connect with the intended CA Configuration Automation Database server. Try the following solutions to resolve database creation and data loading issues:

Problems Loading Data: SQL Server Exception

Microsoft SQL Server does not always start properly when a server is started, restarted, or taken out of sleep mode.

If you attempt a Windows server installation without SQL Server being properly started, loading the data to the CA Configuration Automation Database displays the following exception error:

Exception: [Microsoft][SQLServer Driver for JDBC] Error establishing socket

Restart SQL Server, and try the CA Configuration Automation Server installation again.