SlideShare a Scribd company logo
AUGUST 19, 2015
Multi-tenancy AEM Architecture enables FAST IT
2
Akhil Aggrawal
Sr. Director, Architecture, EMC
Previously - Distinguish Engineer & Chief Architect
Cisco.com
linkedin.com/in/akhilaggrawal
@akhil183
BIO
3
Loyola Baskar
Architect, Cisco
• Believes data structure simplifies architecture
• Loves adding numbers to his Fitbit
• Practices ‘zero’ bug coding and ‘blind’ debugging
BIO
Agenda
• Implementing Multi-tenant
architecture
• Supporting Fast-IT using Fast
deploy architecture
Cisco’s Digital Presence
355M
visits to Cisco.com
11.5M
social reach
3.9M
paid search click-
throughs
112M
organic search
referrals
40% 34%
71%
4%
10.7M
mobile web
visits
1.4M
social referrers
to Cisco.com
3M
social media
mentions
5.7M
customer
app
downloads
2.5M
video views on
Cisco.com
Social Media MobileWeb Video
7.5M
video views on
Cisco YouTube
47%
[Date Range: Q1FY14 – Q4FY14]
Q1FY14 – Q4FY14
Cisco.com Web Experience Management
• Ave 1200 hits/sec @ Edge
• 1.75m visitors
• 41% to Cisco Datacenter
• 28m hits @ Adobe AEM
• 82m hits @ non-AEM (migration
in fy15)
• Contains ~800K files (.html, .jpg, .gif, .pdf, .mobi and more) [35% of overall cisco.com content]
• ~1.5 TB
• 80M Nodes
Source: Enterprise Operation Intelligence (Splunk) & Akamai Control Panel & Enterprise Web Analytics
7
Implementing Multi-tenant architecture
subtopic
• Challenges in the past
• Multitenant journey
• Multitenant architecture
• Content organization in AEM
• weare.cisco.com use case
Problem statement
• 30+ Web Sites
• No Consistent User Experience
• No Governance
• Inefficient Web Analytics
• High Cost Per Site
10
Multitenant journey
Mar 2013
Launched
Intranet Site
Corporate Sites
*
Marketi
ng
*
Support
*
Solution
weare.cisco.com
AEM 5.5
Provisioned
Microsites
Implementation
Global Sites
* UK
*
Japan
*
China
* ...Feb 2014
salesconnect
Oct 2014
nic.cisco supplychain
lifeconnections
Jul 2015 Nov 2015FAST Deploy
11
DNS
www.cisco.com Intranet Site
All
Microsites
AEM App Server Farm
Shared
Dispatcher
Cached Folder
micro.
dbm
Apache Web Server Farm
W W W
VI
P
Microsite
VIP
Intranet
VIP
Internal
VIP
Domain Name AEM Folder
weare.cisco.com weare
nic.cisco csco/nic
AEM Author
Multitenant architecture
1. DNS/Site Selector
2. Corporate website Load Balancer
3. Microsites Load Balancer
4. Intranet/Employee Website Load Balancer
5. Apache web servers with Dispatcher
6. Apache DBM file
7. AEM 5.5 (Publish)
8. AEM 5.5 (Author)
Special Rule to transform request URL
to a destination Folder in AEM based on entry point
• SEO Consideration
• Separation of sites from one another
• Security Requirements
• Internal Vs External content
Domain name to respective Load Balancer IP
Mapping
Identicalstackin3datacenters
Active-Active-Passive
httxt2dbm
12
/content
en_us
products
support
int
hr
news
micro
salesconnect
weare
index
dam
int
micro
Amazing_People.pdf
weare
Corporate website
Intranet website
All campaign and
micro websites
Information Organization in AEm
13
DNS
www.cisco.com Intranet Site
All
Microsites
AEM App Server Farm
Shared
Dispatcher
Cached Folder
micro.
dbm
Apache Web Server Farm
W W W
VI
P
Microsite
VIP
Intranet
VIP
Internal
VIP
Domain Name AEM Folder
weare.cisco.com weare
nic.cisco csco/nic
AEM Author
How do we host a site on aem
1. Map weare.cisco.com to
the microsite IP address
2. Map weare.cisco.com to an AEM Folder
3. Create the AEM Folders
• /content/micro/weare
• /content/dam/micro/weare
14
DNS
www.cisco.com Intranet Site
All
Microsites
AEM App Server Farm
Shared
Dispatcher
Cached Folder
micro.
dbm
Apache Web Server Farm
W W W
VI
P
Microsite
VIP
Intranet
VIP
Internal
VIP
Domain Name AEM Folder
weare.cisco.com weare
nic.cisco csco/nic
AEM Author
Under the hood
http://weare.cisco.com/amazingpeople.html
GET /amazingpeople.html
HOST: weare.cisco.com
Add Load Balancer Identifier
GET /amazingpeople.html
HOST: weare.cisco.com
X-LB-ID: micro-cisco-public
RewriteMap realms "dbm:~/db/mapping.dbm"
RewriteCond %{HTTP:X-LB-ID} micro-cisco-public
RewriteRule .? - [E=micro:${realms:%{HTTP_HOST}}0}]
RewriteCond %{ENV:micro} !0
ReWriteRule /content/(.*) /content/micro/%{ENV:micro}/$1
/content/micro/weare/amazingpeople.html
GET /content/micro/weare/amazingpeople.
HOST: weare.cisco.com
X-LB-ID: micro-cisco-public
15
Supporting Fast-IT using Fast deploy architecture
What is fast deploy
• Fast code deployment
• < 5 minutes per DC for 30+ bundles (earlier 45 minutes)
• Resumes deploy from where last stopped/failed
• True ‘Zero’ Downtime to End User
• No disruption to even the requests in progress
• Sanity Test support on the deployment
• Sanity users use the same domain as the end users
Fast APP CODE deploy
• Udeploy pulls the required bundles from
Artifactory for a given build
• First and last bundle go in sequence
• Rest of the bundles go in parallel
• Tool retries deploy only bundles that failed
• The deployments progress parallel to all
AEM in a DC
pkgmgr
18
DNS
DC 1
VIP
DC 2
VIPDC 1''
VIP
DC 2''
VIP
AEM App Server Farm
Apache Web Server Farm
App
VI
P
AEM App Server Farm
Apache Web Server Farm
App
VI
P
Fast deploy architecture
Domain to IP Address Resolution
• Round Robin IP Distribution
Primary Load Balancers
•Use http probe health check
•Synthetic DC failure
Secondary Load Balancers (private)
•Used for DC fail over
•Use tcp/ip to stay connected
during sanity testing
Regular Traffic pattern
Http
probe
Http
probe
tcp
probe
tcp
probe
failover
50 50
failover
19
DNS
DC 1
VIP
DC 2
VIPDC 1''
VIP
DC 2''
VIP
AEM App Server Farm
Apache Web Server Farm
App
VI
P
AEM App Server Farm
Apache Web Server Farm
App
VI
P
Http
probe
Http
probe
tcp
probe
tcp
probe
DC1 Deployment: END user use case
1. Probe page deleted manually
to force the DC1 failure
2. End User Traffic moved to
DC2
3. When all logs stop, DC1 ready
for Code deployment
The requests in DC will complete
without fail
New requests
20
sanity user notification
21
DNS
DC 1
VIP
DC 2
VIPDC 1''
VIP
DC 2''
VIP
AEM App Server Farm
Apache Web Server Farm
App
VI
P
AEM App Server Farm
Apache Web Server Farm
App
VI
P
Http
probe
Http
probe
tcp
probe
tcp
probe
DC1 Deployment: sanity user use case
Deployment Complete in DC1 and is
ready for sanity testing
Sanity user comes with a special
cookie
Apache Special Rewrite Rule
Proxy the user to DC1 through
DC1”
ReWriteCond %{QUERY_STRING} sanitykey=xxkey [OR]
ReWriteCond %{HTTP_COOKIE} sanitykey=xxkey
ReWriteRule .? http://dc2shadow.cisco.com%{REQUEST_URI} [L,P]
22
Thank you.
Recap
1. A new campaign/microsite can be launched in few hours
2. Costs nothing to host a site
3. Efficient deployment model < 5 min per dc
4. Zero downtime for end user
5. Realistic Sanity testing support
Apache rewrite rules
ReWriteCond %{QUERY_STRING} sanitykey=xxkey
ReWriteRule .? - [CO=sanitykey:xxkey:.cisco.com:60:/]
ReWriteCond %{QUERY_STRING} sanitykey=xxkey [OR]
ReWriteCond %{HTTP_COOKIE} sanitykey=xxkey
ReWriteCond ~/f/fastdeploy.at.dc1 -f
ReWriteRule .? http://dc2shadow.cisco.com%{REQUEST_URI} [L,P]
RewriteMap realms "dbm:~/db/mapping.dbm"
RewriteCond %{HTTP:X-LB-ID} micro-cisco-public
RewriteRule .? - [E=micro:${realms:%{HTTP_HOST}}0}]
RewriteCond %{ENV:micro} !0
ReWriteRule /content/(.*) /content/micro/%{ENV:micro}/$1
MULTITENANT REWRITE RULE
FAST DEPLOY REWRITE RULE

More Related Content

PPTX
ORGANISATION AND REGISTRATION OF CO-OPERATIVE SOCIETIES
PPTX
Cloud Computing Unveiled: Challenges, Security Frameworks, and Best Practices
PPT
MATERI PPT NILAI-NILAI KRISTIANI.hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh...
PDF
Microservices Architecture for AEM
PPTX
EVOLVE'14 | Enhance | Paul McMahon | AEM & Transactional Portal Systems
PDF
EVOLVE'14 | Enhance | Anshul Chhabra & Akhil Aggrawal | Cisco - AEM High Avai...
PPT
Cdn cs6740
PPTX
Cisco storage networking protect scale-simplify_dec_2016
ORGANISATION AND REGISTRATION OF CO-OPERATIVE SOCIETIES
Cloud Computing Unveiled: Challenges, Security Frameworks, and Best Practices
MATERI PPT NILAI-NILAI KRISTIANI.hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh...
Microservices Architecture for AEM
EVOLVE'14 | Enhance | Paul McMahon | AEM & Transactional Portal Systems
EVOLVE'14 | Enhance | Anshul Chhabra & Akhil Aggrawal | Cisco - AEM High Avai...
Cdn cs6740
Cisco storage networking protect scale-simplify_dec_2016

Similar to EVOLVE'15 | Enhance | Loyola Baskar | Cisco - Multi-tenancy AEM Architecture enables FAST IT (20)

PDF
Cisco UCS Solution EMC World 2015
PPTX
Adobe Ask the AEM Community Expert Session Oct 2016
PPTX
AWS re:Invent 2018
PDF
Presentation cisco it elastic infrastructures
PPTX
Owning End-to-end Application Experience With ThousandEyes
PDF
SDN in the Enterprise: APIC Enterprise Module
PPTX
Desafíos de la Ciberseguridad en un ecosistema digitalmente transformado
PPTX
Enabing DevOps in an SDN World
PDF
Cisco Connect 2018 Malaysia - Innovation towards SP transformation
PDF
Presentation cloud, the whole offer
PDF
Making Networks More Agile, Open, and Application Centric - Cisco Insights
PDF
Deploying Applications in Today’s Network Infrastructure
PDF
Presentation comprehensive cloud management with ucs director and ciac
PDF
Simplify Operations
PDF
Cisco Connect 2018 Malaysia - Cisco aci-delivering intent for data center net...
PPTX
Ntc 409 rank dreams come true ntc409rank.com
PPTX
[Cisco Connect 2018 - Vietnam] Minh dang hcmc_cisco aci_delivering intent for...
PDF
Cisco’s Cloud Ready Infrastructure
PPTX
[Cisco Connect 2018 - Vietnam] Huyen duong hn_cisco aci_delivering intent for...
PPTX
Ciena - the journey to the adaptive network
Cisco UCS Solution EMC World 2015
Adobe Ask the AEM Community Expert Session Oct 2016
AWS re:Invent 2018
Presentation cisco it elastic infrastructures
Owning End-to-end Application Experience With ThousandEyes
SDN in the Enterprise: APIC Enterprise Module
Desafíos de la Ciberseguridad en un ecosistema digitalmente transformado
Enabing DevOps in an SDN World
Cisco Connect 2018 Malaysia - Innovation towards SP transformation
Presentation cloud, the whole offer
Making Networks More Agile, Open, and Application Centric - Cisco Insights
Deploying Applications in Today’s Network Infrastructure
Presentation comprehensive cloud management with ucs director and ciac
Simplify Operations
Cisco Connect 2018 Malaysia - Cisco aci-delivering intent for data center net...
Ntc 409 rank dreams come true ntc409rank.com
[Cisco Connect 2018 - Vietnam] Minh dang hcmc_cisco aci_delivering intent for...
Cisco’s Cloud Ready Infrastructure
[Cisco Connect 2018 - Vietnam] Huyen duong hn_cisco aci_delivering intent for...
Ciena - the journey to the adaptive network
Ad

More from Evolve The Adobe Digital Marketing Community (20)

PDF
Evolve 19 | Sarah Xu & Kanika Gera | Adobe I/O - Why You Need it to Execute o...
PPTX
Evolve 19 | Upen Manickam & Amanda Gray | Adventures in SPA with AEM 6.5
PPTX
Evolve 19 | Ameeth Palla | Adobe Asset Link - Use Cases and Pitfalls to Avoid
PPTX
Evolve 19 | Giancarlo Berner | JECIS 2 - The Beginning of a New Era in Buildi...
PPTX
Evolve 19 | Paul Legan & Kristin Jones | Anatomy of a Solid AEM Implementatio...
PPTX
Evolve 19 | Rabiah Coon & Rebecca Blaha | Rockstar Kickoffs for AEM Projects
PPTX
Evolve19 | Nick Panagopoulos | World Focus: Translation Tips and Trends
PPTX
Evolve 19 | Rabiah Coon, Sabrina Schmidt & Noah Linge | Industry Focus | Furn...
PPTX
Evolve 19 | Carl Madaffari | Best Practices | From Customer Data to Customer ...
PPTX
Evolve 19 | Kevin Campton & Sharat Radhakrishnan | Industry Focus | Autodesk ...
PPTX
Evolve 19 | Gina Petruccelli | Let’s Dig Into Requirements
PPTX
Evolve 19 | Dave Fox | Retaining Niche Talent in a Highly Competitive Environ...
PDF
Evolve 19 | Paul Legan | Going Beyond Metadata: Extracting Meaningful Informa...
PPTX
Evolve19 | Giancarlo Berner & Brett Butterfield | AI & Adobe Sensei
PPTX
Evolve 19 | Gordon Pike | Prepping for Tomorrow - Creating a Flexible AEM Arc...
PPTX
Evolve 19 | Jayan Kandathil | Running AEM Workloads on Microsoft Azure
PPTX
Evolve 19 | Amol Anand & Daniel Gordon | Author in AEM Once - Deliver Everywhere
PPTX
Evolve 19 | Benjie Wheeler | Intro to Adobe Experience Manager 6.5
PDF
Evolve 19 | Bruce Swann | Adobe Campaign - Capabilities, Roadmap, and Fit wit...
PPTX
Evolve 19 | Pete Hoback & Francisco Fagalde | AEM QA, UAT, & Go Live
Evolve 19 | Sarah Xu & Kanika Gera | Adobe I/O - Why You Need it to Execute o...
Evolve 19 | Upen Manickam & Amanda Gray | Adventures in SPA with AEM 6.5
Evolve 19 | Ameeth Palla | Adobe Asset Link - Use Cases and Pitfalls to Avoid
Evolve 19 | Giancarlo Berner | JECIS 2 - The Beginning of a New Era in Buildi...
Evolve 19 | Paul Legan & Kristin Jones | Anatomy of a Solid AEM Implementatio...
Evolve 19 | Rabiah Coon & Rebecca Blaha | Rockstar Kickoffs for AEM Projects
Evolve19 | Nick Panagopoulos | World Focus: Translation Tips and Trends
Evolve 19 | Rabiah Coon, Sabrina Schmidt & Noah Linge | Industry Focus | Furn...
Evolve 19 | Carl Madaffari | Best Practices | From Customer Data to Customer ...
Evolve 19 | Kevin Campton & Sharat Radhakrishnan | Industry Focus | Autodesk ...
Evolve 19 | Gina Petruccelli | Let’s Dig Into Requirements
Evolve 19 | Dave Fox | Retaining Niche Talent in a Highly Competitive Environ...
Evolve 19 | Paul Legan | Going Beyond Metadata: Extracting Meaningful Informa...
Evolve19 | Giancarlo Berner & Brett Butterfield | AI & Adobe Sensei
Evolve 19 | Gordon Pike | Prepping for Tomorrow - Creating a Flexible AEM Arc...
Evolve 19 | Jayan Kandathil | Running AEM Workloads on Microsoft Azure
Evolve 19 | Amol Anand & Daniel Gordon | Author in AEM Once - Deliver Everywhere
Evolve 19 | Benjie Wheeler | Intro to Adobe Experience Manager 6.5
Evolve 19 | Bruce Swann | Adobe Campaign - Capabilities, Roadmap, and Fit wit...
Evolve 19 | Pete Hoback & Francisco Fagalde | AEM QA, UAT, & Go Live
Ad

Recently uploaded (20)

PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PPTX
sap open course for s4hana steps from ECC to s4
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Encapsulation theory and applications.pdf
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
Spectroscopy.pptx food analysis technology
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
Big Data Technologies - Introduction.pptx
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
sap open course for s4hana steps from ECC to s4
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
The AUB Centre for AI in Media Proposal.docx
Diabetes mellitus diagnosis method based random forest with bat algorithm
MIND Revenue Release Quarter 2 2025 Press Release
MYSQL Presentation for SQL database connectivity
Per capita expenditure prediction using model stacking based on satellite ima...
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Encapsulation theory and applications.pdf
Building Integrated photovoltaic BIPV_UPV.pdf
Spectroscopy.pptx food analysis technology
“AI and Expert System Decision Support & Business Intelligence Systems”
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Big Data Technologies - Introduction.pptx
20250228 LYD VKU AI Blended-Learning.pptx
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Spectral efficient network and resource selection model in 5G networks
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...

EVOLVE'15 | Enhance | Loyola Baskar | Cisco - Multi-tenancy AEM Architecture enables FAST IT

  • 1. AUGUST 19, 2015 Multi-tenancy AEM Architecture enables FAST IT
  • 2. 2 Akhil Aggrawal Sr. Director, Architecture, EMC Previously - Distinguish Engineer & Chief Architect Cisco.com linkedin.com/in/akhilaggrawal @akhil183 BIO
  • 3. 3 Loyola Baskar Architect, Cisco • Believes data structure simplifies architecture • Loves adding numbers to his Fitbit • Practices ‘zero’ bug coding and ‘blind’ debugging BIO
  • 4. Agenda • Implementing Multi-tenant architecture • Supporting Fast-IT using Fast deploy architecture
  • 5. Cisco’s Digital Presence 355M visits to Cisco.com 11.5M social reach 3.9M paid search click- throughs 112M organic search referrals 40% 34% 71% 4% 10.7M mobile web visits 1.4M social referrers to Cisco.com 3M social media mentions 5.7M customer app downloads 2.5M video views on Cisco.com Social Media MobileWeb Video 7.5M video views on Cisco YouTube 47% [Date Range: Q1FY14 – Q4FY14] Q1FY14 – Q4FY14
  • 6. Cisco.com Web Experience Management • Ave 1200 hits/sec @ Edge • 1.75m visitors • 41% to Cisco Datacenter • 28m hits @ Adobe AEM • 82m hits @ non-AEM (migration in fy15) • Contains ~800K files (.html, .jpg, .gif, .pdf, .mobi and more) [35% of overall cisco.com content] • ~1.5 TB • 80M Nodes Source: Enterprise Operation Intelligence (Splunk) & Akamai Control Panel & Enterprise Web Analytics
  • 8. subtopic • Challenges in the past • Multitenant journey • Multitenant architecture • Content organization in AEM • weare.cisco.com use case
  • 9. Problem statement • 30+ Web Sites • No Consistent User Experience • No Governance • Inefficient Web Analytics • High Cost Per Site
  • 10. 10 Multitenant journey Mar 2013 Launched Intranet Site Corporate Sites * Marketi ng * Support * Solution weare.cisco.com AEM 5.5 Provisioned Microsites Implementation Global Sites * UK * Japan * China * ...Feb 2014 salesconnect Oct 2014 nic.cisco supplychain lifeconnections Jul 2015 Nov 2015FAST Deploy
  • 11. 11 DNS www.cisco.com Intranet Site All Microsites AEM App Server Farm Shared Dispatcher Cached Folder micro. dbm Apache Web Server Farm W W W VI P Microsite VIP Intranet VIP Internal VIP Domain Name AEM Folder weare.cisco.com weare nic.cisco csco/nic AEM Author Multitenant architecture 1. DNS/Site Selector 2. Corporate website Load Balancer 3. Microsites Load Balancer 4. Intranet/Employee Website Load Balancer 5. Apache web servers with Dispatcher 6. Apache DBM file 7. AEM 5.5 (Publish) 8. AEM 5.5 (Author) Special Rule to transform request URL to a destination Folder in AEM based on entry point • SEO Consideration • Separation of sites from one another • Security Requirements • Internal Vs External content Domain name to respective Load Balancer IP Mapping Identicalstackin3datacenters Active-Active-Passive httxt2dbm
  • 13. 13 DNS www.cisco.com Intranet Site All Microsites AEM App Server Farm Shared Dispatcher Cached Folder micro. dbm Apache Web Server Farm W W W VI P Microsite VIP Intranet VIP Internal VIP Domain Name AEM Folder weare.cisco.com weare nic.cisco csco/nic AEM Author How do we host a site on aem 1. Map weare.cisco.com to the microsite IP address 2. Map weare.cisco.com to an AEM Folder 3. Create the AEM Folders • /content/micro/weare • /content/dam/micro/weare
  • 14. 14 DNS www.cisco.com Intranet Site All Microsites AEM App Server Farm Shared Dispatcher Cached Folder micro. dbm Apache Web Server Farm W W W VI P Microsite VIP Intranet VIP Internal VIP Domain Name AEM Folder weare.cisco.com weare nic.cisco csco/nic AEM Author Under the hood http://weare.cisco.com/amazingpeople.html GET /amazingpeople.html HOST: weare.cisco.com Add Load Balancer Identifier GET /amazingpeople.html HOST: weare.cisco.com X-LB-ID: micro-cisco-public RewriteMap realms "dbm:~/db/mapping.dbm" RewriteCond %{HTTP:X-LB-ID} micro-cisco-public RewriteRule .? - [E=micro:${realms:%{HTTP_HOST}}0}] RewriteCond %{ENV:micro} !0 ReWriteRule /content/(.*) /content/micro/%{ENV:micro}/$1 /content/micro/weare/amazingpeople.html GET /content/micro/weare/amazingpeople. HOST: weare.cisco.com X-LB-ID: micro-cisco-public
  • 15. 15 Supporting Fast-IT using Fast deploy architecture
  • 16. What is fast deploy • Fast code deployment • < 5 minutes per DC for 30+ bundles (earlier 45 minutes) • Resumes deploy from where last stopped/failed • True ‘Zero’ Downtime to End User • No disruption to even the requests in progress • Sanity Test support on the deployment • Sanity users use the same domain as the end users
  • 17. Fast APP CODE deploy • Udeploy pulls the required bundles from Artifactory for a given build • First and last bundle go in sequence • Rest of the bundles go in parallel • Tool retries deploy only bundles that failed • The deployments progress parallel to all AEM in a DC pkgmgr
  • 18. 18 DNS DC 1 VIP DC 2 VIPDC 1'' VIP DC 2'' VIP AEM App Server Farm Apache Web Server Farm App VI P AEM App Server Farm Apache Web Server Farm App VI P Fast deploy architecture Domain to IP Address Resolution • Round Robin IP Distribution Primary Load Balancers •Use http probe health check •Synthetic DC failure Secondary Load Balancers (private) •Used for DC fail over •Use tcp/ip to stay connected during sanity testing Regular Traffic pattern Http probe Http probe tcp probe tcp probe failover 50 50 failover
  • 19. 19 DNS DC 1 VIP DC 2 VIPDC 1'' VIP DC 2'' VIP AEM App Server Farm Apache Web Server Farm App VI P AEM App Server Farm Apache Web Server Farm App VI P Http probe Http probe tcp probe tcp probe DC1 Deployment: END user use case 1. Probe page deleted manually to force the DC1 failure 2. End User Traffic moved to DC2 3. When all logs stop, DC1 ready for Code deployment The requests in DC will complete without fail New requests
  • 21. 21 DNS DC 1 VIP DC 2 VIPDC 1'' VIP DC 2'' VIP AEM App Server Farm Apache Web Server Farm App VI P AEM App Server Farm Apache Web Server Farm App VI P Http probe Http probe tcp probe tcp probe DC1 Deployment: sanity user use case Deployment Complete in DC1 and is ready for sanity testing Sanity user comes with a special cookie Apache Special Rewrite Rule Proxy the user to DC1 through DC1” ReWriteCond %{QUERY_STRING} sanitykey=xxkey [OR] ReWriteCond %{HTTP_COOKIE} sanitykey=xxkey ReWriteRule .? http://dc2shadow.cisco.com%{REQUEST_URI} [L,P]
  • 22. 22 Thank you. Recap 1. A new campaign/microsite can be launched in few hours 2. Costs nothing to host a site 3. Efficient deployment model < 5 min per dc 4. Zero downtime for end user 5. Realistic Sanity testing support
  • 23. Apache rewrite rules ReWriteCond %{QUERY_STRING} sanitykey=xxkey ReWriteRule .? - [CO=sanitykey:xxkey:.cisco.com:60:/] ReWriteCond %{QUERY_STRING} sanitykey=xxkey [OR] ReWriteCond %{HTTP_COOKIE} sanitykey=xxkey ReWriteCond ~/f/fastdeploy.at.dc1 -f ReWriteRule .? http://dc2shadow.cisco.com%{REQUEST_URI} [L,P] RewriteMap realms "dbm:~/db/mapping.dbm" RewriteCond %{HTTP:X-LB-ID} micro-cisco-public RewriteRule .? - [E=micro:${realms:%{HTTP_HOST}}0}] RewriteCond %{ENV:micro} !0 ReWriteRule /content/(.*) /content/micro/%{ENV:micro}/$1 MULTITENANT REWRITE RULE FAST DEPLOY REWRITE RULE

Editor's Notes

  • #6: Updated 8/11/14: 1 year of data / Q1FY14 – Q4FY14 Web: 4% growth y/y for visits to cisco.com Social Media: 40% growth y/y for social reach Mobile: 34% growth y/y for app downloads / 71% for mobile web visitors Video: 47% growth y/y for youtube views
  • #7: Talk about Splunk, New Relic