[ZBXNEXT-2380] Zabbix-Server should support oracle failover connection strings Created: 2014 Jul 10 Updated: 2014 Jul 18 |
|
Status: | Open |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | Server (S) |
Affects Version/s: | 2.2.3, 2.2.4 |
Fix Version/s: | None |
Type: | Change Request | Priority: | Major |
Reporter: | Christian Meissner | Assignee: | Unassigned |
Resolution: | Unresolved | Votes: | 1 |
Labels: | fallback, oracle | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
zabbix_server self compiled against oci api. |
Attachments: |
![]() |
Description |
we currently testing Zabbix with an oracle database backend. Here we have an oracle 11g cluster (rac-1.domain.tld) with an oracle 11g standby cluster (rac-2.domain.tld. (description_list=(load_balance=off)(failover=on)( description=(connect_timeout=3)(retry_count=2)(add ress_list=(load_balance=on)(address=(protocol=tcp) (host=rac-1.domain.tld)(port=1540)))(connect_data=(service_n ame= zbxserv)))(description=(connect_timeout=3)(retry_c ount=2)(address_list=(load_balance=on)(address=(pr otocol=tcp)(host=rac-2.domain.tld)(port=1540)))(connect_data=(service_n ame= zbxserv)))) How i can connect this way to an oracle system. An automatic connect after a database failover will be great. |
Comments |
Comment by Oleksii Zagorskyi [ 2014 Jul 17 ] |
Zabbix server reconnects to database if required (for a list of errors returned by db backend library). |
Comment by richlv [ 2014 Jul 17 ] |
when the failover happens, don't you have a virtual ip pointing at the current db ? |
Comment by Christian Meissner [ 2014 Jul 18 ] |
No, there is no virtual ip. In the above connection string you can find two host parameters, which are the both clusters. Each cluster has two nodes. In Cluster the connections will managed transparently to the application. But failover from active to standby database will lead to a hostname switch. |
Comment by Christian Meissner [ 2014 Jul 18 ] |
example tnsnames.ora |
Comment by Christian Meissner [ 2014 Jul 18 ] |
Ok, i got more information from my dba 1) Our two clusters hava a scan-name (rac-1 and rac-2) |