Professional Documents
Culture Documents
Acme Infra
Acme Infra
Acme Infra
DC Infra Overview
UP-Link DS 192.168.3.x
Native
DB - 201 192.168.201.x
MM - 202 192.168.202.x
Active - Passive VM::SG:FW Physical SG::FW & IPS Staging & Management Servers
VM SG-FW1
VM SG-FW2
DC VM Clusters
Staging Server
Shared Storage 30G
SP Cluster (a)
n1 n2
ID Cluster (a)
n1 n2
ID DBCluster (ap)
n1 n2
Management Node Shared Storage 50G (GFS2) Shared Storage 50G (GFS2) Shared Storage 800G (GFS2) Shared Storage 50G (GFS2) Shared Storage 50G
Legend
Shared Disk/Storage/LUN Replication Slave
(a) (ap)
DR Infra Overview
Native
Physical CISCO-ASA::FW
DR VM Clusters
SP Cluster (a)
n1 n2 n1
Webs
n2 n3
NFS mount Shared Storage 50G (GFS2) Shared Storage 50G (GFS2) Shared Storage 820G
Legend
Shared Disk/Storage/LUN
(a) (ap)
DC Access Flow
Varnish
Return PIPE
HTTP
cache?
YES
NO
HTTPS
YES Cache Storage NO
lookup
Production to DC
rsync daily - triggered by node web5 ~/home & ~/documents only total sync average size around 600M time taken ~/home : 1 hour 20 minutes ~/documents : 2 hours 30 minutes
Sunday, May 6, 2012
Staging to DR
replicate to NFS server in DR real time, using DT block level replication ~/home, ~/documents, ~/gitfolder replication transmit bandwidth currently
limited/shaped to 2Mbps (DT level) minutes
DB: DC to DR
replicate from DC DB to DB server in DR real time, using DT block level replication ~/mysql (mysql data only) replication transmit bandwidth currently
limited/shaped to 2Mbps (DT level)
Migration
Migration
Requirements nameserver delegation and conguration Saudi NIC & ns servers in DC & DR Latest DB dump latest, import to DC Latest Source/Codes need to sync with production
Sunday, May 6, 2012
2 hours 24 minutes - execution time human time + 1 hour 30 minutes download latest dump from production import to DC MasterDB Sync with Slave DB DB and Application Internal Test
Sunday, May 6, 2012
Switching to DR
Switching to DR
Stop all replications Start MySQL in DR Start IDPs in DR Update DR/DC NS
Sunday, May 6, 2012
Switching to DR
When DC recovered, net, storage/servers start replication/mirror with differences
without delete sync
DR Simulation :: issues
idp need to start manually try to connect to DB during startup DB down, only up during switching Session error because of time differences
between idp, sp, and web servers.
DR - DC Restoration
DC Restoration
At least DB must be up-to-date Files sync can be delayed missing/error in links/downloads related
to les
DC Restoration: DB
Start DT restoration, from DR to DC start DB restoration, from DR to DC until mirror and replication status both
are 100% or idle
Pending Issues
Outstanding Issues
Code / patches synchronization with production google applications not working VMWare ESXi Networking 2nd vmnic for VLAN DS
Sunday, May 6, 2012
Thank You