@@ -33,40 +33,40 @@ Do refer the autonomous database password criteria's [here](https://docs.oracle.
33
33
34
34
- Create the Source ADB (Autonomous Database)
35
35
36
- ``` shell
37
- oci db autonomous-database create --compartment-id ${COMPARTMENT_ID} \
38
- --db-name ${DB_NAME} --admin-password ${DB_PASSWORD} --db-version 19c \
39
- --cpu-core-count 1 --data-storage-size-in-tbs 1 \
40
- --display-name ${DB_DISPLAY_NAME} --region ${PRIMARY_REGION}
41
- ```
36
+ ``` shell
37
+ oci db autonomous-database create --compartment-id ${COMPARTMENT_ID} \
38
+ --db-name ${DB_NAME} --admin-password ${DB_PASSWORD} --db-version 19c \
39
+ --cpu-core-count 1 --data-storage-size-in-tbs 1 \
40
+ --display-name ${DB_DISPLAY_NAME} --region ${PRIMARY_REGION}
41
+ ```
42
42
43
43
- Fetch the Source ADB (Autonomous Database) OCID
44
44
45
- ` ` ` bash
46
- DB_ID=$( oci db autonomous-database list -c ${COMPARTMENT_ID} \
47
- --region ${PRIMARY_REGION} --display-name $DB_NAME \
48
- --query " data[?\" db-name\" =='${DB_NAME} '].id | [0]" --raw-output)
49
- ` ` `
45
+ ``` bash
46
+ DB_ID=$( oci db autonomous-database list -c ${COMPARTMENT_ID} \
47
+ --region ${PRIMARY_REGION} --display-name $DB_NAME \
48
+ --query " data[?\" db-name\" =='${DB_NAME} '].id | [0]" --raw-output)
49
+ ```
50
50
51
51
- Create the DR ADB (Autonomous Database)
52
52
53
- ` ` ` bash
54
- oci db autonomous-database create-adb-cross-region-data-guard-details \
55
- --compartment-id ${COMPARTMENT_ID} --db-name ${DB_NAME} --source-id ${DB_ID} \
56
- --cpu-core-count 1 --data-storage-size-in-tbs 1 \
57
- --region ${FAILOVER_REGION} --db-version 19c
58
- ` ` `
53
+ ``` bash
54
+ oci db autonomous-database create-adb-cross-region-data-guard-details \
55
+ --compartment-id ${COMPARTMENT_ID} --db-name ${DB_NAME} --source-id ${DB_ID} \
56
+ --cpu-core-count 1 --data-storage-size-in-tbs 1 \
57
+ --region ${FAILOVER_REGION} --db-version 19c
58
+ ```
59
59
60
60
- Download and extract autonomous database wallet from source ADB
61
61
62
- ` ` ` bash
63
- oci db autonomous-database generate-wallet --autonomous-database-id ${DB_ID} \
64
- --password ${WALLET_PW} --file ${WALLET_ZIP} --region $PRIMARY_REGION
65
- ` ` `
62
+ ``` bash
63
+ oci db autonomous-database generate-wallet --autonomous-database-id ${DB_ID} \
64
+ --password ${WALLET_PW} --file ${WALLET_ZIP} --region $PRIMARY_REGION
65
+ ```
66
66
67
- ` ` ` bash
68
- unzip ${WALLET_ZIP} -d /tmp/wallet_source
69
- ` ` `
67
+ ``` bash
68
+ unzip ${WALLET_ZIP} -d /tmp/wallet_source
69
+ ```
70
70
71
71
{{% alert style="information" icon="information" %}}
72
72
Keep this wallet handy as we will need to add it as OKE secret later on.
@@ -132,14 +132,14 @@ Follow the instructions provided [here](https://www.oracle.com/webfolder/technet
132
132
133
133
Sample Output:
134
134
135
- ```yaml
136
- global:
137
- ociAuthSecret: oci-credentials # OCI authentication credentials secret name
138
- ossStreamSecret: # Name of Stream Connection secret
139
- oadbAdminSecret: oadb-admin # Name of DB Admin secret created earlier
140
- oadbWalletSecret: oadb-wallet # Name of wallet secret created earlier
141
- oadbConnectionSecret: oadb-connection # Name of connection secret created earlier
142
- ```
135
+ ` ` ` yaml
136
+ global:
137
+ ociAuthSecret: oci-credentials # OCI authentication credentials secret name
138
+ ossStreamSecret: # Name of Stream Connection secret
139
+ oadbAdminSecret: oadb-admin # Name of DB Admin secret created earlier
140
+ oadbWalletSecret: oadb-wallet # Name of wallet secret created earlier
141
+ oadbConnectionSecret: oadb-connection # Name of connection secret created earlier
142
+ ` ` `
143
143
144
144
- Install MuShop
145
145
@@ -224,9 +224,9 @@ section and create a OKE cluster at the DR region.
224
224
225
225
Extract the wallet
226
226
227
- ` ` ` bash
228
- unzip < wallet_zip_file> -d /tmp/wallet_remote
229
- ` ` `
227
+ ```bash
228
+ unzip <wallet_zip_file> -d /tmp/wallet_remote
229
+ ```
230
230
231
231
- Create the secrets, set the region as `us-ashburn-1` in this case
232
232
@@ -267,14 +267,14 @@ Extract the wallet
267
267
268
268
Sample Output:
269
269
270
- ` ` ` yaml
271
- global:
272
- ociAuthSecret: oci-credentials # OCI authentication credentials secret name
273
- ossStreamSecret: # Name of Stream Connection secret
274
- oadbAdminSecret: oadb-admin # Name of DB Admin secret created earlier
275
- oadbWalletSecret: oadb-wallet # Name of wallet secret created earlier
276
- oadbConnectionSecret: oadb-connection # Name of connection secret created earlier
277
- ` ` `
270
+ ```yaml
271
+ global:
272
+ ociAuthSecret: oci-credentials # OCI authentication credentials secret name
273
+ ossStreamSecret: # Name of Stream Connection secret
274
+ oadbAdminSecret: oadb-admin # Name of DB Admin secret created earlier
275
+ oadbWalletSecret: oadb-wallet # Name of wallet secret created earlier
276
+ oadbConnectionSecret: oadb-connection # Name of connection secret created earlier
277
+ ```
278
278
279
279
- Install MuShop
280
280
0 commit comments