Open patriziobassi opened 6 years ago
Yes, if time permits ;-)
I need such a role in the next months for a project. The implementation is not as easy for a whole automatic setup of dataguard. I have to finish oradb-opatch and oradb-rman before I can start with oradb-dataguard...
Have you guys done some development in daraguard.
I m interested in doing it please let me know if done already
Hopefully I find time for it in october or november. The following needs to be completed before:
I have started looking into the tnsnames/listener.ora things. Don’t have enough time at the moment though, hopefully it will ease up in a couple of weeks
I am testing listener.ora and tnsnames.ora on my side. There is a good chance for the pull request for these parts at this weekend.
2 major parts for data-guard are done-
The configuration for tnsnames.ora and listener.ora in non Oracle Restart & Grid-Infrastructure is in PR #101
I have some issues with DBCA when dg_broker_start and log_archive_config is set inside the init_parameters of oracle_databases. This problem has been solved with #115
Autostart of databases in filesystem has been enhanced for Data-Guard. PR #137
Any more progress with this issue?
Have we had the data-guard role? Thanks
@Rendanic @oravirt, See the above your comunication, I want that you had finished more important works for data-guard. Currently, I have requirement to install an oracle data-guard env. Could you give some cue what I need to do for the rest works? Thanks you very much.
Hi @tanshaolong , just do the following:
That's it for a Data-Guard environment. It looks more work then it is, because most of the failures are done in listenerora and tnsnames.ora and that's easy to deploy with ansible-oracle.
Thanks Rendanic for your detail reply :). I will try as quickly as possible.
Hi @Rendanic
I have tried to install the oracle DG by your suggestion. Unfortunate, I get the both Oracle SI databases instead of a DG env. I think I should misunderstand your mean. Could you give me more details?
Some questions are in below: 1.How to configure inventory for primary- and standby-Server? I reference your sample. There have both host groups “db” and “dg1”. I think that the “db” is for primary db and “dg1” is for standby db. Is right? If so, why are the both group varlues same at your sample? If not, I should be how to configure. 2.“Remove Control-, Redo- and Datafiles on Standby”, what does it mean? Are they some initParameters for databases? 3.How to configure the broker?
Could you please give me an sample for Oracle DG installation? I don’t have too much exprerience for the installation manual. The sample will help me understand the reference that you mention at above. Thanks you.
Check oracle_services.create_service library code. I guess we can set primary and standby server by below configuration for host_vars.
# primary
services:
- { name: service2, state: started, role: primary }
# standby
services:
- { name: service2, state: started, role: physical_standby }
Is it right? Thanks you.
Any plan to add a dataguard configuration between 2 instances?