Re: Bugzilla HA How to?
Laci D <[email protected]> Thu, 11 Mar 2021 08:29:54 -0800 (PST)
| Newsgroups | gmane.comp.mozilla.devel.webtools |
|---|---|
| Message-ID | <[email protected]> |
"So, as said: What are you actually trying to protect against? Better start with simple backups to be able to revert in case of problems." It is more like a planned failover, current server upgrade takes about two hours (OS upgrade, reboots, etc.) while Bugzilla is unavailable, I'd like to cut this planned downtime as short as possible. This is the main goal. On Thursday, March 11, 2021 at 11:19:48 AM UTC-5, Thorsten Schöning wrote: > Guten Tag Laci D, > am Donnerstag, 11. März 2021 um 15:41 schrieben Sie: > > - stand up a bugzilla-02.hostame.com server which syncs > > /usr/local/www/bugzilla/data/ from 01 to 02[...] > > That directory is an implementation detail of Bugzilla and might > change at any time. So syncing that only into another arbitrary older > or even newer version of Bugzilla is a risk in theory. Taking all or > nothing should be the better approach. > > - set bugzilla-01.hostame.com read only (if bugzilla has such an > > option, if not change DB connection to a read only replica) > Bugzilla can be put into maintenance mode, but NOT into read-only. > Read-only is used automatically for such operations IF shadow > databases are configured. > > > shutdownhtml > https://bugzilla.readthedocs.io/en/5.0/administering/parameters.html#general > > What do you think, does this look feasible? > First of all I still don't see against what your HA-setup should > actually protect and your should REALLY reconsider if such a > complexity is necessary to start with at all. Keep in mind that things > heavily depend on the number of outtakes you have e.g. because of > updates and those weren't too many in the near past at all. > > Said that, your setup won't work at all: You forgot the database. > Upgrading Bugzilla sometimes means new database schema and when you > only update/test one instance, the other is per definition NOT able to > use the same schema anymore/yet. OTOH, if you have multiple different > databases for Bugzilla, you have actual data in different databases > and need to merge that at some point. That is neither trivial nor HA. > > You won't change that problem with database clusters or stuff as well: > As long as you are running two different versions of Bugzilla, you can > not assume to use the same database for both. > > So, as said: What are you actually trying to protect against? Better > start with simple backups to be able to revert in case of problems. > Mit freundlichen Grüßen > > Thorsten Schöning > > -- > AM-SoFT IT-Service - Bitstore Hameln GmbH i.G. > Mitglied der Bitstore Gruppe - Ihr Full-Service-Dienstleister für IT und TK > > E-Mail: [email protected] > Web: http://www.AM-SoFT.de/ > > Tel: 05151- 9468- 0 > Tel: 05151- 9468-55 > Fax: 05151- 9468-88 > Mobil: 0178-8 9468-04 > > AM-SoFT IT-Service - Bitstore Hameln GmbH i.G., Brandenburger Str. 7c, 31789 Hameln > AG Hannover HRB neu - Geschäftsführer: Janine Galonska > > > Für Rückfragen stehe ich Ihnen sehr gerne zur Verfügung. > > Mit freundlichen Grüßen > > Thorsten Schöning > > > Tel: 05151 9468 0 > Fax: 05151 9468 88 > Mobil: > Webseite: https://www.am-soft.de > > AM-Soft IT-Service - Bitstore Hameln GmbH i.G. ist ein Mitglied der Bitstore Gruppe - Ihr Full-Service-Dienstleister für IT und TK > > AM-Soft IT-Service - Bitstore Hameln GmbH i.G. > Brandenburger Str. 7c > 31789 Hameln > Tel: 05151 9468 0 > > Bitstore IT-Consulting GmbH > Zentrale - Berlin Lichtenberg > Frankfurter Allee 285 > 10317 Berlin > Tel: 030 453 087 80 > > CBS IT-Service - Bitstore Kaulsdorf UG > Tel: 030 453 087 880 1 > > Büro Dallgow-Döberitz > Tel: 03322 507 020 > > Büro Kloster Lehnin > Tel: 033207 566 530 > > PCE IT-Service - Bitstore Darmstadt UG > Darmstadt > Tel: 06151 392 973 0 > > Büro Neuruppin > Tel: 033932 606 090 > > ACI EDV Systemhaus Dresden GmbH > Dresden > Tel: 0351 254 410 > > Das Systemhaus - Bitstore Magdeburg GmbH > Magdeburg > Tel: 0391 636 651 0 > > Allerdata.IT - Bitstore Wittenberg GmbH > Wittenberg > Tel: 03491 876 735 7 > > Büro Liebenwalde > Tel: 033054 810 00 > > HSA - das Büro - Bitstore Altenburg UG > Altenburg > Tel: 0344 784 390 97 > > Bitstore IT – Consulting GmbH > NL Piesteritz > Piesteritz > Tel: 03491 644 868 6 > > Solltec IT-Services - Bitstore Braunschweig UG > Braunschweig > Tel: 0531 206 068 0 > > MF Computer Service - Bitstore Gütersloh GmbH > Gütersloh > Tel: 05245 920 809 3 > > Firmensitz: AM-Soft IT-Service - Bitstore Hameln GmbH i.G. , Brandenburger Str. 7c , 31789 Hameln > Geschäftsführer Janine Galonska _______________________________________________ support-bugzilla mailing list [email protected] https://lists.mozilla.org/listinfo/support-bugzilla PLEASE put [email protected] in the To: field when you reply.