Upload
ca-technologies
View
25
Download
2
Embed Size (px)
Citation preview
World®’16
TechTalk:WanttoGetinontheSecret?HowFastisYourDirectory?GregVickery– PrincipalServicesConsultant– CATechnologies
SCT45T
SECURITY
2 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
©2016CA.Allrightsreserved.Alltrademarksreferencedhereinbelongtotheirrespectivecompanies.
Thecontentprovidedinthis CAWorld2016presentationisintendedforinformationalpurposesonlyanddoesnotformanytypeofwarranty. The informationprovidedbyaCApartnerand/orCAcustomerhasnotbeenreviewedforaccuracybyCA.
ForInformationalPurposesOnlyTermsofthisPresentation
3 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Abstract
CADirectoryhasconsistentlyoutperformedleadingdirectoryserviceswhentestedagainstotherthird-partyproducts.Howfastisyourdirectory?Whysettleforgoodperformancewhenyoucanhavegreatperformance.Comebyandlearnmore.
GregVickery
CATechnologiesPrincipalServicesConsultant
4 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Agenda
WHATISPERFORMANCE?
WHYISPERFORMANCEIMPORTANT?
OPERATIONSMADEEASIER
MORETHANJUSTSEARCH
REPLICATIONPERFORMANCENOTJUSTUPDATEPERFORMANCE
OPTIMIZETHECONFIGURATION
1
2
3
4
5
6
5 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
DirectoryReview
§ Applicationcommunicatingwithadatastore– Viaprotocol- LDAP
§ Performance:– Howquicklyisdataavailable– Howquicklyisdatareplicated
LevelSettheConversation
LDAP
ApplicationLayer
6 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
WhyIsPerformanceImportant?
7 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
CADirectoryPerformance
§ SupportIncreasedOnlinePresence
§ DirectoryPerformancetranslatesintoUserExperience
§ AnApplicationTransactionmaybeseveralDirectoryrequests
– CASSOTransactionoftenincludes3+Searches,aBindandanUpdateforeveryauthentication
– Justafewextramillisecondsoneachcanadduptoslowresponsetimes
ConsiderApplicationBehavior
8 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
CADirectoryPerformance
§ BusinessUnitsoftenDriveDevTeams– Developersmaynothavetimetointegratetootherapplications– TightTimelinesoftenmeaninefficientApplications
CaseStudy:Asingleuserauthenticationcausesupto15requestsonthedirectory
§ NottheDevTeamsfault– DirectoryInfrastructuremustsupportthisFact.
PerformancetoOffsetApplicationInefficiencies
9 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Let’sTalkPerformance!
10 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
CADirectoryPerformance
§ Performance– Rawthrough-put- FastSearch/AuthN/Updates/Replication
§ Smallfootprint– Verylargeenvironmentsw/fewerservers– Lesstomanageandmonitor
§ OperationalAdvantages(easytomanage)– NoTuningRequired(nomaintenance)– Veryfastbackupandrestore
Expandthe‘Performance’Discussion
11 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
CADirectoryPerformanceCustomerTesting(WithOnly4DirectoryServers)
61,795Operations/Second
147,432Operations/Second
2,125Operations/Second
Performance(Alltestsforaperiodof30minutes– overSSL)
UserSearchandAuthentication
(bind)UserSearches Modify(~17ms
replicationtoall)
12 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
AMemoryMappingApproachIsMuchFasterThanItsDatabase-DrivenCounterparts
LDAPCache+Database Memory-Mapping
Results§ 10,000reads/sec§ 10,000writes/sec
Results*§ 1000reads/sec§ 100writes/sec
LDAP Database
Cache
CADirectory Disk
DiskI/O
MemoryFile
MemoryMapI/O
vs
*Resultsbasedoninternaltesting
13 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
ImportanceofFastReplication
14 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
CADirectoryReplication– DirectoryServertoDirectoryServer
15 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
DataCenterBDataCenterA
CADirectoryHasAdvancedReplicationFeaturesThatEnsureDataIsinSynchAcrossServers
AdvancedReplication
Details
§ Truemulti-masterreplication§ AnyServercanacceptanupdaterequest
§ Flexiblereplicationstrategy§ Synchronousorasynchronousreplication§ Alldatareplicatedbeforeclientupdateis
confirmed§ Canmixandmatchsynchronousand
asynchronousservers(synchronouswithinthedatacenterandasynchronoustootherdatacenters)
§ SynchronousMulti-writereplication§ AllDSAsareupdatedatthesametime§ WriteThrough(Sync)vs.WriteBehind
(Async/changelogs)
Server#1
Server#2
Server#3
Server#4
LDAPClient
Synchronous
Asynchronous
LDAP
16 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
FactorsofPerformance
§ DataPartitioning(InternaltoCADirectory)
– Applicationsviewasone‘OU’
– IncreasesUpdate/ReplicationPerformance§ MoreCPUsinvolvedmeansmorespeed!§ 3Partitionscanincreasewriteperformanceby~3times§ RealCustomerrunningnearly10,000replicatedupdates/second
ConfigurationandEnvironment
17 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
CADirectoryPerformanceMoreRecentCustomerTesting(8Servers)
9,700+Updates/Second
PerformanceUpdateNumbers– WithPartitioning
ReplicatedModification
• PartitionedData
• AllDirectoryServersupdatedin~15ms
18 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Replication
§ HighReplicationPerformanceAllows
– AccurateLoadSharing
– Fail-overwithconfidence
– Noconfusiononwhichisthe‘Gold’copyincaseofanoutage
ApplicationsUpdatetheDirectoryMoreThanEver
19 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
PerformanceTuningandOperations
20 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
FactorsofPerformance
§ HardwareFactors
§ CPU– ThefastertheClockSpeed,thefastertheDirectoryServer
§ RAM– CADirectoryrequiresappropriateRAM§ DataandIndexesexistentirelyinmemory§ CADirectorycanleverageadditionalhardwareforbetterperformance§ MoreCPUsormorePhysicalServersallowDataPartitioning
ConfigurationandEnvironment
21 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
FactorsofPerformance
§ Physicalvs.Virtual
– Wehaveseeninconsistentperformanceonvirtualservers§ RollerCoasterperformanceprofile
– Remember- TheDirectoryistheDataLayer§ Importantpieceoftheinfrastructure
– DirectoryServersmustworktogetherduringreplication§ OneslowDirectoryServerhasanimpactonothers
ConfigurationandEnvironment
22 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
FactorsofPerformance
§ BuiltinLoad-SharingCapability
§ OptimizeIndexesforUpdatePerformance
§ Optimizethe‘TransactionLog’– Protectionintheeventofahardshutdown– Writtentodiskforauto-recovery– CanmakeDirectoryServerI/Obound– SANfortheTLgivesbothperformanceandreliability!
ConfigurationandEnvironment
23 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
OperationsMadeEasy
§ On-linebackups– On-linebackupsaretakeninjustsecondsw/ointerruptionofservice– Fast,Fast– noneedforincremental(fullsnapshot)– OnDemandorScheduled– daily,hourly,wheneverneeded– Producesa‘zdb’filewhichisportableforrestoringotherDSAs
§ Justmovethezdb filetotheotherserverandrenameto‘<DSAname>.db’andstartthedirectory
§ DataFile(.db)requiresnomaintenance– Neverneedto‘tune’thedb.
VeryLowMaintenance
24 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
QuickRecap
§ SearchPerformanceisImportant§ Update/Replicationismoreimportant§ OptimizeConfigurationtomeettheHighestRequirements§ CADirectorycantakeadvantageofavailableHW§ Operationsmadeeasier(lessmovingparts)
– Increaseupdate(andremove)performance– Managememoryrequirement
§ TransactionLog– Protectionintheeventofahardshutdown– Writtentodiskforauto-recovery– CanmakeDirectoryServerI/Obound– SANfortheTLgivesbothperformanceandreliability!
PerformanceisMeasuredinManyWays
25 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
RecommendedSessions
SESSION# TITLE DATE/TIME
SCX12E FiveEasyStepsforMigratingtoCADirectory 11/15/2016at3:30pm
SCX305 BestPracticesforUpgradingSSO 11/15/2016at9:00am
SCT44T WAM&Federation(TechTalk) 11/17/2016at4:30pm
26 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Don’tMissOurINTERACTIVESecurityDemoExperience!
SNEAKPEEK!
26 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
27 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Wewanttohearfromyou!
§ ITCentralisaleadingtechnologyreviewsite.CAhasthemtohelpgenerateproductreviewsforourSecurityproducts.
§ ITCSstaffwillbeatmostsessions.Ifyouwouldliketoofferaproductreview,pleaseaskthemaftertheclass,orgobytheirbooth.
Note:§ Onlytakes5-7mins§ Youhavetotalcontroloverthereview§ Itcanbeanonymous,ifrequired
28 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Questions?
29 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Stayconnectedatcommunities.ca.com
Thankyou.
30 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Security
FormoreinformationonSecurity,pleasevisit:http://cainc.to/EtfYyw