Skip to content

Commit 408ed9d

Browse files
JIRA-WDT-627 Update RCUDbInfo doc (#1125)
* JIRA-WDT-627 Update RCUDbInfo doc * doc update * update doc * edits Co-authored-by: Rosemary Marano <[email protected]>
1 parent 002e9f7 commit 408ed9d

File tree

1 file changed

+42
-15
lines changed

1 file changed

+42
-15
lines changed

documentation/2.0/content/rcuinfo.md

Lines changed: 42 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,27 @@
22

33
During creating or updating a domain, there is new section `RCUDbInfo` in the model, under the `domainInfo` section, for specifying RCU database connection information without using the command-line arguments `-rcu_db` and `-rcu_prefix`. Use this to support a database where the connection string is more complex and requires extra options.
44

5-
For example, in order to use the Oracle Autonomous Transaction Processing Cloud Database for the JRF domain, specify the following information in the model:
5+
### Access a database using a wallet
6+
7+
When accessing a database using a wallet, you need to obtain the wallet from your DBA and information about the database:
8+
9+
- `tns alias` - The network service name. You can find this in the `tnsnames.ora` file inside the database wallet. The alias is on the left side of the equals sign.
10+
11+
```text
12+
xxxx = (DESCRIPTION ...)
13+
yyyy = (DESCRIPTION ...)
14+
...
15+
```
16+
17+
- `keystore and truststore password` - Password used to generate the wallet.
18+
- `keystore and truststore type` - SSO or PKCS12.
19+
- `keystore and truststore file` - `cwallet.sso` (if store type is SSO), `ewallet.p12` (if store type is PKCS12).
20+
21+
Depending on the type of database and the choice of method for authentication, you can provide the necessary information with `RCUDbInfo` in the model.
22+
23+
#### ATP database
24+
25+
For example, to use the Oracle Autonomous Transaction Processing Cloud Database for a JRF domain, specify the following information in the model:
626

727
```yaml
828
domainInfo:
@@ -12,20 +32,21 @@ domainInfo:
1232
rcu_admin_password: <database admin password is required only when you specify -run_rcu flag>
1333
rcu_schema_password : <RCU schema password>
1434
atp.admin.user : admin
15-
tns.alias : dbatp_tp
16-
javax.net.ssl.keyStorePassword : <atp wallet password>
17-
javax.net.ssl.trustStorePassword : <atp wallet password>
35+
tns.alias : <tns alias name. e.g. dbname_tp>
36+
javax.net.ssl.keyStorePassword : <atp wallet password when generating the wallet from Oracle Cloud Console>
37+
javax.net.ssl.trustStorePassword : <atp wallet password when generating the wallet from Oracle Cloud Console>
1838
oracle.net.tns_admin: <optional: absolute path of the unzipped wallet root directory (outside of the archive), if the wallet.zip is not included in the archive>
19-
```
39+
```
2040
The database wallet can be included in the archive file under `atpwallet` zipentry structure
2141

2242
`atpwallet/Walletxyz.zip`
2343

24-
or by specifying the unzipped root directory of the ATP wallet zip file in `oracle.net.tns_admin`.
44+
Or, by specifying the unzipped root directory of the ATP wallet ZIP file in `oracle.net.tns_admin`.
45+
46+
**Note: Prior to release 0.23, the `useATP` flag only accepts values of `0`, `1`, `true`, or `false`.**
2547

26-
Using the Create Domain Tool with the `-run_rcu` flag will create the RCU schemas against the Oracle Autonomous Transaction Processing Cloud Database and configure the datasources in the JRF domain to use the database. For example:
48+
#### SSL database using SSO for authentication
2749

28-
weblogic-deploy/bin/createDomain.sh -oracle_home /u01/wls12213 -domain_type JRF -domain_home /u01/data/domains/demodomain -archive_file DemoDomain.zip -run_rcu
2950
For an SSL database, with an `SSO` wallet, use the following example:
3051
```yaml
3152
domainInfo:
@@ -41,10 +62,11 @@ domainInfo:
4162
javax.net,ssl.trustStore: <truststore found in unzipped wallet, i.e cwallet.sso>
4263
javax.net.ssl.trustStoreType: SSO
4364
oracle.net.tns_admin: <absolute path of the unzipped wallet root directory>
44-
65+
4566
```
67+
#### SSL database using PKCS12 for authentication
4668

47-
For an SSL database, with an `PKCS12` wallet, use the following example:
69+
For an SSL database, with a `PKCS12` wallet, use the following example:
4870
```yaml
4971
domainInfo:
5072
RCUDbInfo:
@@ -63,7 +85,9 @@ domainInfo:
6385
oracle.net.tns_admin: <absolute path of the unzipped wallet root directory>
6486
6587
```
66-
When using PKCS12 wallet, you must include the Oracle PKI provider to access your wallet. Add the Oracle PKI provider to your Java `java.security` file. For more information about adding the Oracle PKI provider to the Java `java.security` file, see Section 2.2.4 "How can Oracle wallets be used in Java" in [SSL with Oracle JDBC](https://www.oracle.com/technetwork/topics/wp-oracle-jdbc-thin-ssl-130128.pdf).
88+
When using a PKCS12 wallet, you must include the Oracle PKI provider to access your wallet. Add the Oracle PKI provider to your Java `java.security` file. For more information, see Section 2.2.4 "How can Oracle wallets be used in Java" in [SSL with Oracle JDBC Thin Driver](https://www.oracle.com/technetwork/topics/wp-oracle-jdbc-thin-ssl-130128.pdf).
89+
90+
### Access a database without using a wallet (non wallet-based access)
6791

6892
For a typical database, use the following example:
6993

@@ -79,6 +103,9 @@ domainInfo:
79103
if not specified>
80104
rcu_db_conn_string : dbhost:1521/pdborcl
81105
```
106+
107+
### Specify variables for RCU
108+
82109
RCU `-variables` option of the repository creation utility can now be included in the `RCUDbInfo` section with the key `rcu_variables`:
83110

84111
```yaml
@@ -87,13 +114,13 @@ domainInfo:
87114
rcu_variables : xxxx
88115
```
89116

90-
**Note: Prior to release 0.23, the `useATP` flag only accepts values of 0, 1, 'true' or 'false'.**
117+
### Specify extended XML files for RCU
91118

92-
When creating a domain using WDT and the -run_rcu option, you can specify your extended XML files in the RCUDbInfo section.
119+
When creating a domain using WDT and the `-run_rcu` option, you can specify your extended XML files in the `RCUDbInfo` section.
93120

94-
This correlates to the `createRepository` and `dropRepository` command-line arguments `RCU -compInfoXMLLocation <file path> -storageXMLLocation <file path>`
121+
This correlates to the `createRepository` and `dropRepository` command-line arguments `RCU -compInfoXMLLocation <file path> -storageXMLLocation <file path>`.
95122

96-
Include your XML files in your archive file using location `wlsdeploy/rcu/config`. Then include this relative location in the RCUDbInfo section of the model.
123+
Include your XML files in your archive file using the location `wlsdeploy/rcu/config`. Then include this relative location in the `RCUDbInfo` section of the model.
97124

98125
```yaml
99126
domainInfo:

0 commit comments

Comments
 (0)