{ Community }
  • Academy
  • Docs
  • Developers
  • Resources
    • Community Articles
    • Apigee on GitHub
    • Code Samples
    • Videos & eBooks
    • Accelerator Methodology
  • Support
  • Ask a Question
  • Spaces
    • General
    • Edge/API Management
    • Developer Portal
    • API Design
    • APIM on Istio
    • Extensions
    • Business of APIs
    • Academy/Certification
    • Analytics
    • Events
    • Integration (AWS, PCF, Etc.)
    • Microgateway
    • Monetization
    • Private Cloud Deployment
    • Insights
    • IoT Apigee Link
    • BaaS/Usergrid
    • BaaS Transition/Migration
    • Apigee-127
    • New Customers
    • Topics
    • Questions
    • Articles
    • Ideas
    • Leaderboard
    • Badges
  • Log in
  • Sign up

Get answers, ideas, and support from the Apigee Community

  • Home /
  • Developer Portal /
avatar image
2

Installing Developer Portal in multiple data centers (OPDK 4.18.01 and higher)  

  • Export to PDF
gkoli123 created · Jul 26, 2016 at 03:10 AM · 714 Views · edited · Dec 14, 2018 at 06:24 PM

This article explains the approach to setup Developer Portal in two data-centers:

  1. Make sure you install the on-premises Developer portal in both the data-centers. This is required so that all the required software/dependencies are installed correctly.
  2. Verify the individual developer portals are working fine.
  3. Make sure you have the nightly database backups in-place. This is useful to make sure you have a copy to rollback to.
  4. When you want to perform a Multi Data-center Drupal setup, we recommend you use the Active-Passive approach. Only one data-center can be active at a time, second data-center kicks in only when the first data-center is down.
  5. Load Balancer for the Developer Portal
    • Make sure it points to data-center 1 and switches to data-center 2 in case of a failover
    • If the HTTP request times out a few times, we can assume the data center is down.
  6. Postgres replication
    • Please refer to this doc on how to setup Postgres replication
  7. File System synchronization
    • Drupal stores user uploaded files on the file system in sites/default/files and sites/default/private directories.
    • We have to make sure that these two directories are synchronized between the two data-centers. You can use NFS, GlusterFS, S3, or other type of syncing mechanism to sync
    • One way sync from the active DC to the passive DC should be enough for this.
  8. Cron Job
    • Make sure that you setup the cron job in only one of the data-centers
    • In this case would be data-center 1
    • Reason for this is to ensure only one data-center writes to the DB.
  9. Settings.php
    • The settings.php file in individual data-centers will still hold the database connection to servers in their Data-Centers.
    • This eliminates the need for adding an additional load balancer in front of the database servers and having to switch them in case of a failover.
thub.nodes.view.add-new-comment
Portals - Drupaldeployment
Add comment Show 7
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Gaurav Pahuja · Apr 10, 2017 at 03:08 AM 0
Link

Do I have an option to use multiple DC using cloud based portal? I understand that Pantheon has only one DC available ie. in USA.

avatar image gkoli123 ♦ Gaurav Pahuja · Nov 30, 2018 at 04:53 PM 0
Link

Pantheon has a new DR offering which can do multiple data centers.

https://pantheon.io/resources/disaster-recovery-webinar

avatar image Gaurav Pahuja · May 15, 2017 at 05:57 AM 0
Link

It seems Apigee uses Acuqia for EU based portals:

http://docs.apigee.com/developer-services/content/working-acquia

avatar image Christin Brown ♦ · Jun 23, 2017 at 12:18 PM 0
Link

This is for Private Cloud releases prior to 17.01.

avatar image potturiprasanth · Jan 12, 2018 at 08:15 PM 0
Link

Hi gkoli@apigee.com

In OPDK 4.17.09, two dc dev portal set up (postgres) noticed below

-- all the site customization such as logos, color, site information were automatically sync up with other node.

-- noticed same behavior with Smartdocs models (Open API specs imports) as well.

Could you please confirm if any of the above file system changes/configurations required here in this case..

Thanks.

avatar image gkoli123 ♦ potturiprasanth · Jan 12, 2018 at 08:35 PM 0
Link

Except step # 6 everything else should apply.

SmartDocs are stored in Edge so they would sync correctly.

the logo color and site information is stored in the DB and that may explain why they appear to have synced.

Does your site have a custom theme? or custom functionality?

avatar image potturiprasanth gkoli123 ♦ · Jan 12, 2018 at 09:43 PM 0
Link

Thanks Gitesh..

Currently there is no custom theme on DP. But do we need any file system changes/configurations to apply custom theme..

Article

Contributors

avatar image
Unfollow

Follow this article

41 People are following this .

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Navigation

Installing Developer Portal in multiple data centers (OPDK 4.18.01 and higher)
  • Installing Developer Portal Multi Datacenter Version:4.17.xx and higher

Related Articles

Apigee Developer Portal - Custom - SmartDocs Template - SDCT001

Module for adding regenerate key logic to drupal developer portal

SSO Integration via SAML with Developer Portal for Private Cloud

Installing Developer Portal Multi Datacenter Version:4.17.xx and higher

  • Products
    • Edge - APIs
    • Insights - Big Data
    • Plans
  • Developers
    • Overview
    • Documentation
  • Resources
    • Overview
    • Blog
    • Apigee Institute
    • Academy
    • Documentation
  • Company
    • Overview
    • Press
    • Customers
    • Partners
    • Team
    • Events
    • Careers
    • Contact Us
  • Support
    • Support Overview
    • Documentation
    • Status
    • Edge Support Portal
    • Privacy Policy
    • Terms & Conditions
© 2019 Apigee Corp. All rights reserved. - Apigee Community Terms of Use - Powered by AnswerHub
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Post an idea
  • Spaces
  • General
  • Edge/API Management
  • Developer Portal
  • API Design
  • APIM on Istio
  • Extensions
  • Business of APIs
  • Academy/Certification
  • Analytics
  • Events
  • Integration (AWS, PCF, Etc.)
  • Microgateway
  • Monetization
  • Private Cloud Deployment
  • Insights
  • IoT Apigee Link
  • BaaS/Usergrid
  • BaaS Transition/Migration
  • Apigee-127
  • New Customers
  • Explore
  • Topics
  • Questions
  • Articles
  • Ideas
  • Members
  • Badges