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
After all CRD instances are deleted, it is safe to remove the CRDs, APIServices and operator deployment. To remove these files, use the following command:
The following database initialization parameters can be updated after the database is created:
399
404
@@ -559,7 +564,6 @@ The following steps are required to connect the Database using TCPS:
559
564
sqlplus sys@ORCL1 as sysdba
560
565
```
561
566
**NOTE:**
562
-
- Only database server authentication is supported (no mTLS).
563
567
- When TCPS is enabled, a self-signed certificate is generated and stored inside the wallets. For users' convenience, a client-side wallet is generated and stored at `/opt/oracle/oradata/clientWallet/$ORACLE_SID` location in the pod.
564
568
- The self-signed certificate used with TCPS has validity for 1 year. After the certificate is expired, it will be renewed by the `OraOperator` automatically. You need to download the wallet again after the auto-renewal.
565
569
- You can set the certificate renew interval with the help of `tcpsCertRenewInterval` field in the **[config/samples/sidb/singleinstancedatabase.yaml](../../config/samples/sidb/singleinstancedatabase.yaml)** file. The minimum accepted value is 24h, and the maximum value is 8760h (1 year). The certificates used with TCPS will automatically be renewed after this interval. If this field is omitted/commented in the yaml file, the certificates will not be renewed automatically.
@@ -583,9 +587,9 @@ In case of `NodePort` service, `listenerPort`, and `tcpsListenerPort` will be th
583
587
- If TCPS connections are enabled, and `listenerPort` is commented/removed in the [config/samples/sidb/singleinstancedatabase.yaml](../../config/samples/sidb/singleinstancedatabase.yaml) file, only TCPS endpoint will be exposed.
584
588
- If LoadBalancer is enabled, and either `listenerPort` or `tcpsListenerPort` is changed, then it takes some time to complete the work requests (drain existing backend sets and create new ones). In this time, the database connectivity is broken. Although, SingleInstanceDatabase and LoadBalancer remain in the healthy state, you can check the progress of the work requests by logging into the cloud provider's console and checking the corresponding LoadBalancer.
585
589
586
-
### Creating an Oracle Data Guard Configuration
590
+
### Setup Data Guard Configuration for a Single Instance Database
587
591
588
-
### Creating a Standby Database
592
+
### Create a Standby Database
589
593
590
594
#### Prerequisites
591
595
Before creating a standby, ArchiveLog, FlashBack, and ForceLog on primary Single Instance Database(`.spec.primaryDatabaseRef`) should be turned on.
Provision a new DataguardBroker custom resource fora single instance database(`.spec.primaryDatabaseRef`) by specifying appropriate values for the attributesin the example `.yaml` file, and running the following command:
642
645
@@ -667,7 +670,6 @@ To list the DataguardBroker resources, use the following command:
667
670
668
671
```
669
672
670
-
671
673
#### Detailed Status
672
674
673
675
```sh
@@ -738,9 +740,9 @@ To list the DataguardBroker resources, use the following command:
738
740
10.0.25.87:1521/DATAGUARD
739
741
```
740
742
741
-
#### Set any database as Primary Database (Switchover)
743
+
#### Performing a Switchover
742
744
743
-
Mention SID of the any databases (SID of one of `.spec.primaryDatabaseRef` , `.spec.standbyDatabaseRefs[]`) to be set primary in the `.spec.setAsPrimaryDatabase` of [dataguardbroker.yaml](./../../config/samples/sidb/dataguardbroker.yaml) and apply the yaml file.
745
+
Specify the approppriate SID (SID of one of `.spec.primaryDatabaseRef` , `.spec.standbyDatabaseRefs[]`) to be set primary in the `.spec.setAsPrimaryDatabase` of [dataguardbroker.yaml](./../../config/samples/sidb/dataguardbroker.yaml) and apply the yaml file.
744
746
745
747
The database will be set to primary. Ignored if the database is already primary.
**NOTE :** You can only delete DataGuard broker when role of `.spec.primaryDatabaseRef` is PRIMARY
773
775
774
-
### Patch primary and standby databases in dataguard configuration
776
+
### Patch primary and standby databases in Data Guard configuration
775
777
776
778
Databases (both primary and standby) running in you cluster and managed by the Oracle Database operator can be patched or rolled back between release updates of the same major release. While patching databases configured with the dataguard broker you need to first patch the Primary database followed by seconday/standby databases in any order.
To delete a standby database in a dataguard configuration, delete the dataguardbroker resource first followed by the standby database
789
+
To delete a standby or primary database configured for Data Guard, delete the dataguardbroker resource first followed by the standby databases and finally the primary database
0 commit comments