You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: documentation/2.0/content/rcuinfo.md
+42-15Lines changed: 42 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,27 @@
2
2
3
3
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.
4
4
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:
6
26
7
27
```yaml
8
28
domainInfo:
@@ -12,20 +32,21 @@ domainInfo:
12
32
rcu_admin_password: <database admin password is required only when you specify -run_rcu flag>
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>
18
38
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
+
```
20
40
The database wallet can be included in the archive file under `atpwallet` zipentry structure
21
41
22
42
`atpwallet/Walletxyz.zip`
23
43
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`.**
25
47
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:
For an SSL database, with an `SSO` wallet, use the following example:
30
51
```yaml
31
52
domainInfo:
@@ -41,10 +62,11 @@ domainInfo:
41
62
javax.net,ssl.trustStore: <truststore found in unzipped wallet, i.e cwallet.sso>
42
63
javax.net.ssl.trustStoreType: SSO
43
64
oracle.net.tns_admin: <absolute path of the unzipped wallet root directory>
44
-
65
+
45
66
```
67
+
#### SSL database using PKCS12 for authentication
46
68
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:
48
70
```yaml
49
71
domainInfo:
50
72
RCUDbInfo:
@@ -63,7 +85,9 @@ domainInfo:
63
85
oracle.net.tns_admin: <absolute path of the unzipped wallet root directory>
64
86
65
87
```
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)
67
91
68
92
For a typical database, use the following example:
69
93
@@ -79,6 +103,9 @@ domainInfo:
79
103
if not specified>
80
104
rcu_db_conn_string : dbhost:1521/pdborcl
81
105
```
106
+
107
+
### Specify variables for RCU
108
+
82
109
RCU `-variables` option of the repository creation utility can now be included in the `RCUDbInfo` section with the key `rcu_variables`:
83
110
84
111
```yaml
@@ -87,13 +114,13 @@ domainInfo:
87
114
rcu_variables : xxxx
88
115
```
89
116
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
91
118
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.
93
120
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>`.
95
122
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.
0 commit comments