Presented at 3|SHARE's EVOLVE'15 - The Adobe Experience Manager Community Summit on Monday August 19th, 2015 at the Hard Rock Hotel in San Diego, CA. http://evolve.3sharecorp.com
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
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
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