-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpresentacion_zimbra_ha.tex
374 lines (258 loc) · 7.76 KB
/
presentacion_zimbra_ha.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
% $Header: /cvsroot/latex-beamer/latex-beamer/solutions/generic-talks/generic-ornate-15min-45min.en.tex,v 1.4 2004/10/07 20:53:08 tantau Exp $
\documentclass[10pt]{beamer}
\definecolor{verdfosc}{rgb}{0,0.2,0}
\newsavebox{\savepar}
\newenvironment{boxit}%
{\begin{lrbox}{\savepar}
\begin{minipage}[b]{20cm}}
{\end{minipage}\end{lrbox}\fbox{\usebox{\savepar}}}
\newenvironment{quadre}[1]%
{\begin{center}\begin{lrbox}{\savepar}
\begin{minipage}[b]{#1 cm}}
{\end{minipage}\end{lrbox}\fbox{\usebox{\savepar}}\end{center}}
\newenvironment{codi}[1]%
{\begin{small}
\color{verdfosc}
\begin{quadre}{#1}
}
{
\end{quadre}
\end{small}
\normalcolor
}
\mode<presentation>
{
\usetheme{Warsaw}
% or ...Warsaw Malmoe, Singapore, PaloAlto, Warsaw, Copenhagen
\setbeamercovered{transparent}
% or whatever (possibly just delete it)
}
\usepackage[english]{babel}
\usepackage[latin1]{inputenc}
\usepackage{color}
\usepackage{listings}
%Listings setup:
\definecolor{grey}{rgb}{0.8,0.8,0.8}
\lstloadlanguages{Java,XML}
\lstset{language=Java,
numbers=left,
numberstyle=\footnotesize,
numbersep=7pt,
frame=shadowbox,
framexleftmargin=5mm,
xleftmargin=0.6cm,
rulesepcolor=\color{grey}
}
%\usepackage{pstricks,pst-node,pst-tree}
%\usepackage{times}
%\usepackage[T1]{fontenc}
% Or whatever. Note that the encoding and the font should match. If T1
% does not look nice, try deleting the line with the fontenc.
\title[Zimbra 8 High Availability on Ubuntu 12.04]{Zimbra 8 High Availability on Ubuntu 12.04}
%\subtitle{Free as in freedom}
\author[Adri\'an Gibanel L\'opez] % (optional, use only with lots of authors)
{Adri\'an Gibanel L\'opez}
%{F.~Author\inst{1} \and S.~Another\inst{2}}
% - Use the \inst{?} command only if the authors have different
% affiliation.
\institute[Universitat de Lleida] % (optional, but mostly needed)
{Universitat de Lleida}
% \inst{1}%
% Department of Computer Science\\
% University of Somewhere
% \and
% \inst{2}%
% Department of Theoretical Philosophy\\
% University of Elsewhere}
% - Use the \inst command only if there are several affiliations.
% - Keep it simple, no one is interested in your street address.
\date[]{September 2013}
%\subject{Cooperative Game Theory}
% This is only inserted into the PDF information catalog. Can be left
% out.
% If you have a file called "university-logo-filename.xxx", where xxx
% is a graphic format that can be processed by latex or pdflatex,
% resp., then you can add a logo as follows:
% \pgfdeclareimage[height=0.5cm]{university-logo}{university-logo-filename}
% \logo{\pgfuseimage{university-logo}}
% Delete this, if you do not want the table of contents to pop up at
% the beginning of each subsection:
\AtBeginSubsection[]
{
\begin{frame}<beamer>
\frametitle{Outline}
\tableofcontents[currentsection,currentsubsection]
\end{frame}
}
% If you wish to uncover everything in a step-wise fashion, uncomment
% the following command:
%\beamerdefaultoverlayspecification{<+->}
\begin{document}
\definecolor{un}{rgb}{0.75,0,0}
\definecolor{dos}{cmyk}{0.95,0,0.5,0.3}
\definecolor{tres}{rgb}{0.85,0.75,0}
\definecolor{quatre}{rgb}{0.2,0.4,0.9}
\setbeamercolor{cyanBox}{fg=black,bg=cyan}
\begin{frame}
\titlepage
\end{frame}
%\section*{Outline}
\begin{frame}<beamer>
\frametitle{Outline}
\tableofcontents[section]
\end{frame}
\section {Zimbra}
\begin{frame}
\frametitle{Zimbra Collaboration Server}
\begin{block}{}
Complete collaboration solution accessible from web client, offline clients and other emails and mobile devices
\end{block}
\quad
\begin{itemize}
\item Email
\item Address Book
\item Calendar
\item Tasks
\end{itemize}
\end{frame}
\begin{frame}
\frametitle{Zimbra Collaboration Server - Email}
\begin{center}
\includegraphics[scale=0.4,keepaspectratio=true]{./img/zimbra-email.jpg}
% zimbra-email.jpg: 1482x1009 pixel, 150dpi, 25.10x17.09 cm, bb=0 0 711 484
\end{center}
\end{frame}
\begin{frame}
\frametitle{Zimbra Collaboration Server - Calendar}
\begin{center}
\includegraphics[scale=0.4,keepaspectratio=true]{./img/zimbra-calendar.jpg}
% zimbra-calendar.jpg: 1503x961 pixel, 150dpi, 25.45x16.27 cm, bb=0 0 721 461
\end{center}
\end{frame}
\section {Zimbra High Availability}
\begin{frame}
\frametitle{ZCS High Availability}
\begin{block}{}
HA: System design approach that ensures that a prearranged level of operational performance will be met during a contractual measurement period.
\end{block}
\quad
\begin{itemize}
\item \textbf{Thesis purpose: HA Active/Passive cluster for Zimbra}
\item Minimize downtime due to Hardware or telecommunication failures
\item Minimal Zimbra modifications
\item Use of standard open source High Availability software
\end{itemize}
\end{frame}
\begin{frame}
\frametitle{ZCS HA Schema}
\begin{center}
\includegraphics[scale=0.19,keepaspectratio=true]{./img/ha_main_schema.eps}
% ha_main_schema.eps: 0x0 pixel, 300dpi, 0.00x0.00 cm, bb=0 0 1076 969
\end{center}
\end{frame}
\section {LAB}
\begin{frame}
\frametitle{LAB}
\begin{itemize}
\item {Operating System Installation}
\item {Network setup}
\item {Zimbra installation}
\item {DRBD Setup}
\item {Disable Zimbra and DRBD startup scripts}
\item {Corosync setup}
\item {Zimbra OCF Resource Agent Development}
\item {Pacemaker setup}
\end{itemize}
\end{frame}
\begin{frame}
\frametitle{LAB - Zimbra OCF Resource Agent Development (1/2)}
\begin{itemize}
\item {OCF: Standardized interface for a cluster resource}
\item {Cluster resource examples:
\begin{itemize}
\item IP address
\item DRBD partition
\item Filesystem mount
\item Zimbra server
\end{itemize}
}
\item Specific steps to the resource or application
\item {Result: Success or Failure}
\end{itemize}
\end{frame}
\begin{frame}
\frametitle{LAB - Zimbra OCF Resource Agent Development (2/2)}
\begin{block}{}
bTactic Zimbra OCF Resource Agent actions
\end{block}
\begin{itemize}
\item {\textbf{start . Starts the Zimbra resource}
\begin{itemize}
\item Exit 0 (Zimbra starts OK)
\item Exit != 7 or Exit != 0 (Zimbra fails to start)
\end{itemize}
}
\item {\textbf{stop . Stops the Zimbra resource}
\begin{itemize}
\item Exit 0 (Zimbra stops OK)
\item Exit != 7 or Exit != 0 (Zimbra fails to stop)
\end{itemize}
}
\item {\textbf{monitor . Monitors Zimbra resource health}
\begin{itemize}
\item Exit 0 (Zimbra is running)
\item Exit 7 (Zimbra is stopped)
\item Exit != 7 or Exit != 0 (Zimbra monitor has failed)
\end{itemize}
}
\item {\textbf{meta-data} : Provide information about Zimbra resource as an XML snippet. Exit 0.}
\end{itemize}
\end{frame}
%\section {HA System Management}
\section {Live DEMO}
\begin{frame}
\frametitle{Zimbra HA Live DEMO}
\begin{center}
\begin{block}{Check resources}
{\tt crm\_mon}
\end{block}
\begin{block}{Turn off active node}
{\tt Forced power off and passive node starts Zimbra}
\end{block}
\begin{block}{Stop resources manually}
{\tt crm resource stop ZimbraServer}
\end{block}
\end{center}
\end{frame}
\section {Future work}
\begin{frame}
\frametitle{Future work}
\begin{itemize}
\item OVH Datacentre network handling
\item Fencing
\item Mysql HA
\item Project Always ON
\item Data Loss measurement
\end{itemize}
\end{frame}
\section {Conclusions}
\begin{frame}
\frametitle{Conclusions}
\begin{center}
\begin{itemize}
\item Shared storage thanks to DRBD
\item State of the art HA software such as Pacemaker and Corosync has been used
\item Active/Passive cluster implemented
\item Zimbra HA with OSE version implemented
\end{itemize}
\end{center}
\end{frame}
\begin{frame}
\frametitle{Thank you}
\begin{center}
\Large{Questions\\
\&\\
Answers}\\
\end{center}
\end{frame}
\end{document}