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/3.0/content/userguide/database/connect-db.md
+24Lines changed: 24 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,6 +31,30 @@ WDT will use the information you provided in the command line or in the `RCUDbin
31
31
For some advanced use cases, such as using an Oracle Active GridLink data source or Multi Data Sources, you can provide a sparse model of the data sources in a separate model file
32
32
during domain creation. See [Advance use cases](#advanced-jrf-database-use-cases).
33
33
34
+
### Creating a new domain to connect to an existing RCU schema
35
+
36
+
If you ever find a situation where your JRF domain home directory is corrupted or lost, it is possible to create a new
37
+
domain home directory using the existing RCU schemas provided that you have previously exported the domain's encryption
38
+
key into an Oracle wallet. To export the encryption key into a wallet, use the OPSS WLST offline [exportEncryptionKey](https://docs.oracle.com/en/middleware/fusion-middleware/platform-security/12.2.1.4/idmcr/security_wlst.html#GUID-3EF2815D-45B9-46EE-A4D7-34A6841195DB)
39
+
function.
40
+
41
+
When you want to recreate the JRF domain home, you have two options:
42
+
43
+
1. Use the Create Domain tool's `-opss_wallet <path-to-wallet-file>` argument and one of the following arguments to pass
44
+
the wallet passphrase:
45
+
46
+
-`-opss_wallet_passphrase_env <environment-variable-name>` - Simply pass the name of the environment variable to read
47
+
to get the wallet passphrase.
48
+
-`-opss_wallet_passphrase_file <path-to-file>` - Simply pass the file name for the file containing the wallet passphrase.
49
+
50
+
2. Add the OPSS wallet to the archive file in the prescribed location (i.e., `wlsdeploy/opsswallet/`) using the Archive
51
+
Helper tool's `add opssWallet` command and then provide the passphrase in the `domainInfo` section's `OPSSSecrets` field.
52
+
53
+
```yaml
54
+
domainInfo:
55
+
OPSSSecrets: MySecureOPSSWalletPassphrase
56
+
```
57
+
34
58
### Access a database using a wallet
35
59
36
60
When accessing a database, such as ATP or SSL, using a wallet, you need to obtain the wallet from your DBA and information about the database:
Copy file name to clipboardExpand all lines: documentation/3.0/content/userguide/tools/create.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -70,6 +70,7 @@ topology:
70
70
| `-java_home` | The Java home to use for the new domain. If not specified, it defaults to the value of the `JAVA_HOME` environment variable. | |
71
71
| `-model_file` | The location of the model file. This can also be specified as a comma-separated list of model locations, where each successive model layers on top of the previous ones. | |
72
72
| `-oracle_home` | Home directory of the Oracle WebLogic installation. Required if the `ORACLE_HOME` environment variable is not set.| |
73
+
| `-opss_wallet` | The location of the Oracle wallet containing the domain's encryption key required to reconnect to an existing set of RCU schemas. | |
73
74
| `-opss_wallet_passphrase_env` | An alternative to entering the OPSS wallet passphrase at a prompt. The value is an environment variable name that WDT will use to retrieve the passphrase. | |
74
75
| `-opss_wallet_passphrase_file` | An alternative to entering the OPSS wallet passphrase at a prompt. The value is the name of a file with a string value which WDT will read to retrieve the passphrase.
75
76
| `-passphrase_env` | An alternative to entering the encryption passphrase at a prompt. The value is an environment variable name that WDT will use to retrieve the passphrase. | |
0 commit comments