MDB Admin Console uses connection names to reference the MDB databases for its operations. Therefore, before using the MDB Admin Console, you need to define the connection names for the MDBs involved in the export and import operation. You supply these connection names as an argument to the MDB Admin Console command line interface.
Follow these steps:
Oracle MDB
connection.connection_name=jdbc:oracle:thin:@Host:Port:SID
SQL Server MDB
connection.connection_name=jdbc:sqlserver://Host\[Instance_name]:Port;DatabaseName=database_name
To configure a trusted connection to the SQL Server MDB, use the following format:
connection.mssql-test =jdbc:sqlserver://Host\[instance_name]:Port;DatabaseName=database_name;integratedSecurity=true
Defines the connection name. You specify this connection name as a parameter to the MDB Admin Console CLI to refer to the MDB.
Defines the name of the computer that hosts the MDB.
(Optional) Defines the instance name to connect to.
Default: Default instance
Note: If your instance name starts with 'n', 'r', or 't', you must add the escape sign '\' before the character because these characters act as terminators when prefixed with a '\'. For example, if the instance name is nonname, the connection string must be as follows:
MyMachine\\nonname:1488
Note: The instance_name parameter is mandatory for the adjustmdbcfg method even if you are using the default instance. The default instance name must be provided as "MSQLSERVER".
Defines the port number of the MDB.
Defines the database name of the MDB.
Defines the SID of the MDB.
Indicates that trusted connection to the SQL Server MDB is required. You need a trusted connection to the SQL Server MDB for running the adjustmdbcfg method.
Examples:
connection.mssql-test =jdbc:sqlserver://lab_test:1433;DatabaseName=mdb
connection.mssql-test =jdbc:sqlserver://lab_test\\MSQLSERVER:1433;DatabaseName=mdb;integratedSecurity=true Connection.oracle-test=jdbc:oracle:thin:@lab-test:1521:orcl
cd MDBAC_Installation_Directory
mdbac -testcon -target Connection_name -user username -pwd password
Verifies the database connection and returns the result.
Examples:
mdbac -testcon -target mssql-test -user ca_itrm -pwd password123
mdbac -testcon -target oracle-test -user mdbadmin -pwd password123
You can now use the connection names in your MDB Admin Console CLI.
|
Copyright © 2013 CA.
All rights reserved.
|
|