Link
Embed
Share
Beginning
This slide
Copy link URL
Copy link URL
Copy iframe embed code
Copy iframe embed code
Copy javascript embed code
Copy javascript embed code
Share
Tweet
Share
Tweet
Slide 1
Slide 1 text
No content
Slide 2
Slide 2 text
© JAMF Software, LLC Andy McKay Head of Technical Services Trams Ltd
Slide 3
Slide 3 text
© JAMF Software, LLC Scaling Jamf Pro for High Availability Presentation agenda: Overview Fundamentals Jamf Pro Clustering MySQL Replication & Failover Distribution Point Scaling, Replication & Failover
Slide 4
Slide 4 text
© JAMF Software, LLC Overview • ~65,000 devices • ~8,000 requests/sec • 100% uptime • 24/7 worldwide access What do I know?
Slide 5
Slide 5 text
© JAMF Software, LLC Overview • Zero Touch Deployment • Self Service • Worldwide users • High expectations Why does availability matter?
Slide 6
Slide 6 text
© JAMF Software, LLC Fundamentals of Jamf Pro The database is important Everything else is ‘just’ a web app
Slide 7
Slide 7 text
© JAMF Software, LLC Fundamentals of High Availability • Design for failure • Automate as much as possible • Automate some more • Monitor Automate, Automate, Automate!
Slide 8
Slide 8 text
© JAMF Software, LLC Jamf Pro Clustering Enable clustering in the web interface. Designate a master node.
Slide 9
Slide 9 text
© JAMF Software, LLC
Slide 10
Slide 10 text
© JAMF Software, LLC /WEB-INF/xml/datbase.xml dbserver
Slide 11
Slide 11 text
© JAMF Software, LLC …
Slide 12
Slide 12 text
© JAMF Software, LLC Jamf Pro Clustering • ‘Round Robin’ DNS • Layer 3 load balancer Load Balancers • Layer 4 load balancer • Layer 7 load balancer
Slide 13
Slide 13 text
© JAMF Software, LLC Jamf Pro Clustering • X-forwarded-for • ‘sticky’ sessions • JSESSIONID • SSL Termination Load Balancers
Slide 14
Slide 14 text
© JAMF Software, LLC … HTTPS/443 HTTP/8080 HTTP/8080
Slide 15
Slide 15 text
© JAMF Software, LLC Jamf Pro Clustering Memcached • Recommended but not yet required • Should be run separately from Tomcat • Cache cluster used by all nodes
Slide 16
Slide 16 text
© JAMF Software, LLC … /WEB-INF/classes/dal/cache.properties /WEB-INF/classes/dal/memcached.properties
Slide 17
Slide 17 text
© JAMF Software, LLC https://www.jamf.com/jamf-nation/articles/428
Slide 18
Slide 18 text
© JAMF Software, LLC Jamf Pro Clustering Upgrades • Stop Tomcat on all nodes • Upgrade Master node • Upgrade Slave nodes • … or trash and rebuild, it’s ‘just’ the web app
Slide 19
Slide 19 text
© JAMF Software, LLC Jamf Pro Clustering
Slide 20
Slide 20 text
© JAMF Software, LLC MySQL Replication & Failover MySQL Clustering is not supported Master -> Slave Replication
Slide 21
Slide 21 text
© JAMF Software, LLC https://github.com/github/orchestrator https://dev.mysql.com/doc/refman/5.7/en/replication.html
Slide 22
Slide 22 text
© JAMF Software, LLC Max image dimensions Distribution Point Replication & Failover Jamf Admin (Mac) rsync (Mac, Linux) Robocopy (Windows)
Slide 23
Slide 23 text
© JAMF Software, LLC Distribution Point Scaling File share distribution points - randomised load sharing Cloud distribution points - use CDN!
Slide 24
Slide 24 text
© JAMF Software, LLC Questions?
Slide 25
Slide 25 text
© JAMF Software, LL THANK YOU!