Download free for 30 days
Sign in
Upload
Language (EN)
Support
Business
Mobile
Social Media
Marketing
Technology
Art & Photos
Career
Design
Education
Presentations & Public Speaking
Government & Nonprofit
Healthcare
Internet
Law
Leadership & Management
Automotive
Engineering
Software
Recruiting & HR
Retail
Sales
Services
Science
Small Business & Entrepreneurship
Food
Environment
Economy & Finance
Data & Analytics
Investor Relations
Sports
Spiritual
News & Politics
Travel
Self Improvement
Real Estate
Entertainment & Humor
Health & Medicine
Devices & Hardware
Lifestyle
Change Language
Language
English
Español
Português
Français
Deutsche
Cancel
Save
Submit search
EN
Uploaded by
Антон Еремин
594 views
Wordpress 24/7
Wordpress HA Cluster
Internet
◦
Read more
0
Save
Share
Embed
Embed presentation
Download
Download to read offline
1
/ 27
2
/ 27
3
/ 27
4
/ 27
5
/ 27
6
/ 27
7
/ 27
8
/ 27
9
/ 27
10
/ 27
11
/ 27
12
/ 27
13
/ 27
14
/ 27
15
/ 27
16
/ 27
17
/ 27
18
/ 27
19
/ 27
20
/ 27
21
/ 27
22
/ 27
23
/ 27
24
/ 27
25
/ 27
26
/ 27
27
/ 27
More Related Content
DOCX
Konfigurasi https web server
by
slempase
KEY
ノンエンジニアがウェブサーバーを構築するまで
by
Kazuya Ueoka
PDF
Convox: Open Source Tooling for ECS
by
Noah Zoschke
DOC
Config postgres in linux
by
james jonatan rivera vega
PDF
Where to start refactoring?
by
thiagoalessio
PDF
Choose Your Own AWS Adventure
by
Noah Zoschke
PDF
ApachE HTTP Server
by
duylb
PDF
NetScaler Basic Cinfiguration
by
hideaki yanase
Konfigurasi https web server
by
slempase
ノンエンジニアがウェブサーバーを構築するまで
by
Kazuya Ueoka
Convox: Open Source Tooling for ECS
by
Noah Zoschke
Config postgres in linux
by
james jonatan rivera vega
Where to start refactoring?
by
thiagoalessio
Choose Your Own AWS Adventure
by
Noah Zoschke
ApachE HTTP Server
by
duylb
NetScaler Basic Cinfiguration
by
hideaki yanase
What's hot
PDF
Spring Boot 소개
by
beom kyun choi
PDF
C/C++とWebAssemblyを利用したライブラリ開発
by
祐司 伊藤
PPTX
Docker for localhost development (on Serbian)
by
Milan Urukalo
PDF
ベアメタルOpenStackのご紹介
by
VirtualTech Japan Inc.
PDF
JOOX - Java Object Oriented XML
by
Jakub Kubrynski
PPTX
Boxtream tools-161106062349
by
newegg
PDF
Affär - inte teknik
by
Per Åström
PDF
Jugando con docker
by
Yamir Ramirez
PDF
Port knocking
by
Ramalhev90
PDF
Task Automatisierung mit Grunt.js
by
3rfan
ODP
git svn workflow
by
yinhm .
PDF
Debianでできる簡単監視システム。
by
Kouhei Maeda
PPTX
GRUNT - The JavaScript Task Runner
by
Larry Nung
TXT
Ep3 ff994
by
vaidyasm
PDF
ApachE
by
guest24630
KEY
Yapc Asia 2009 ペパボでのPerlの使い方
by
hiboma
TXT
Configuraciones examen 3
by
Andres Izquierdo
TXT
Config
by
guest4f11e4
PDF
Discover ServiceWorker
by
Sandro Paganotti
PPTX
Rubyslava2102
by
Marius Sajgalik
Spring Boot 소개
by
beom kyun choi
C/C++とWebAssemblyを利用したライブラリ開発
by
祐司 伊藤
Docker for localhost development (on Serbian)
by
Milan Urukalo
ベアメタルOpenStackのご紹介
by
VirtualTech Japan Inc.
JOOX - Java Object Oriented XML
by
Jakub Kubrynski
Boxtream tools-161106062349
by
newegg
Affär - inte teknik
by
Per Åström
Jugando con docker
by
Yamir Ramirez
Port knocking
by
Ramalhev90
Task Automatisierung mit Grunt.js
by
3rfan
git svn workflow
by
yinhm .
Debianでできる簡単監視システム。
by
Kouhei Maeda
GRUNT - The JavaScript Task Runner
by
Larry Nung
Ep3 ff994
by
vaidyasm
ApachE
by
guest24630
Yapc Asia 2009 ペパボでのPerlの使い方
by
hiboma
Configuraciones examen 3
by
Andres Izquierdo
Config
by
guest4f11e4
Discover ServiceWorker
by
Sandro Paganotti
Rubyslava2102
by
Marius Sajgalik
Wordpress 24/7
1.
Wordpress 24/7 Масштабируемость, доступность,
надежность, восстановление после сбоев
2.
Web Server DB
3.
Source code
4.
Скажем «нет» FTP Git,
Mercurial, SVN Только свой код
5.
Wordpress Oursite.com > git commit,
> git push > git submodule add wordpress wp-content config.php index.php
6.
База данных Репликация Масштабирование Балансировка
7.
Galera Replication Node3.sqlNode1.sql Node2.sql HA
Proxy
8.
Установка Galera на
Node1.sql sudo apt-get update sudo apt-get install python-software-properties sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db sudo add-apt-repository 'deb http://mirror.jmu.edu/pub/mariadb/repo/5.5/ubuntu precise main‘ sudo apt-get update sudo apt-get install mariadb-galera-server galera sudo apt-get install rsync sudo nano /etc/mysql/conf.d/cluster.cnf # Galera Cluster Configuration wsrep_cluster_name=“wp_cluster" wsrep_cluster_address="gcomm://first_ip,second_ip,third_ip“ # Galera Node Configuration wsrep_node_address=“first_ip" wsrep_node_name=“Node1.sql"
9.
Maintenance Configuration sudo nano
/etc/mysql/debian.cnf [client] host = localhost user = debian-sys-maint password = 03P8rdlknkXr1upf socket = /var/run/mysqld/mysqld.sock [mysql_upgrade] host = localhost user = debian-sys-maint password = 03P8rdlknkXr1upf socket = /var/run/mysqld/mysqld.sock basedir = /usr
10.
Запуск Galera Cluster sudo
service mysql stop sudo service mysql start --wsrep-new-cluster # первая нода sudo service mysql start #все остальные
11.
Распределенное хранилище Большой объем Отказоустойчиовость
12.
Node1.glusterFs Node2.glusterFs Node3.glusterFs Client mount
-t glusterfs node0.glusterfs:/volume1 /data gluster volume create volume1 replica 3 transport tcp node1.glusterfs:/data/cluster node2.glusterfs:/data/cluster node3.glusterfs:/data/cluster
13.
Установка glusterFS sudo apt-get
update sudo apt-get install python-software-properties sudo add-apt-repository ppa:semiosis/ubuntu-glusterfs-3.4 sudo apt-get update sudo apt-get install glusterfs-server sudo gluster peer probe Node1.glusterFs sudo gluster volume create volume1 replica 2 transport tcp gluster0.droplet.com:/gluster-storage gluster1.droplet.com:/gluster-storage force sudo gluster volume start volume1
14.
Установка Масштабирование Балансировка нагрузки
15.
Hardware OS Hypervisor VM1 VM2 App1 App2
App3 App4 Hardware OS Docker App1 App2 App3 App4
16.
Версионность Легкость настройки Экономия ресурсов SRP
(Single responsibility principle)
17.
Dockerfile # Pull base
image. FROM dockerfile/ubuntu # Install Nginx. RUN add-apt-repository -y ppa:nginx/stable && apt-get update && apt-get install -y nginx && rm -rf /var/lib/apt/lists/* && echo "ndaemon off;" >> /etc/nginx/nginx.conf && chown -R www-data:www-data /var/lib/nginx # Define mountable directories. VOLUME ["/etc/nginx/sites-enabled", "/etc/nginx/certs", "/etc/nginx/conf.d", "/var/log/nginx", "/var/www/html"] # Define working directory. WORKDIR /etc/nginx # Define default command. CMD ["nginx"] # Expose ports. EXPOSE 80 EXPOSE 443
18.
Доступ к исходному
коду Доступ к данным Доступ к базе Web server {1..n} Балансировка Масштабирование
19.
Container Volume Host file
system /Folder # Dockerfile FROM busybox VOLUME /var/lib/mysql CMD /bin/sh
20.
GIT GlusterFS MySql
Galera Cluster /sourcecode /wp-content source vol content vol :80
21.
GIT GlusterFS MySql
Galera Cluster /sourcecode /wp-content source vol content vol :80 nginx
22.
GIT GlusterFS MySql
Galera Cluster /sourcecode /wp-content source vol content vol :80 nginx nginx nginx
23.
GIT GlusterFS MySql
Galera Cluster /sourcecode /wp-content source vol content vol :80 nginx nginx nginx HAProxy
24.
GIT GlusterFS MySql
Galera Cluster /sourcecode /wp-content source vol content vol :80 nginx nginx nginx HAProxy cerf cerf cerf cerf
25.
src cont HAProxy nginx nginx nginx nginx cerf sess memcached nginx nginx GIT GlusterFS MySql Galera Cluster cerf cerf cerf cerf cerf cerf
cerf
26.
Автоматизация Failover Логирование
27.
Спасибо за внимание! tonnyeremin.com @TonnyErjomin an.eremin@gmail.com
Download