\documentclass[10pt,a4paper]{article} % Packages \usepackage{fancyhdr} % For header and footer \usepackage{multicol} % Allows multicols in tables \usepackage{tabularx} % Intelligent column widths \usepackage{tabulary} % Used in header and footer \usepackage{hhline} % Border under tables \usepackage{graphicx} % For images \usepackage{xcolor} % For hex colours %\usepackage[utf8x]{inputenc} % For unicode character support \usepackage[T1]{fontenc} % Without this we get weird character replacements \usepackage{colortbl} % For coloured tables \usepackage{setspace} % For line height \usepackage{lastpage} % Needed for total page number \usepackage{seqsplit} % Splits long words. %\usepackage{opensans} % Can't make this work so far. Shame. Would be lovely. \usepackage[normalem]{ulem} % For underlining links % Most of the following are not required for the majority % of cheat sheets but are needed for some symbol support. \usepackage{amsmath} % Symbols \usepackage{MnSymbol} % Symbols \usepackage{wasysym} % Symbols %\usepackage[english,german,french,spanish,italian]{babel} % Languages % Document Info \author{liconaCarlos} \pdfinfo{ /Title (nas-vs-san.pdf) /Creator (Cheatography) /Author (liconaCarlos) /Subject (NAS vs SAN Cheat Sheet) } % Lengths and widths \addtolength{\textwidth}{6cm} \addtolength{\textheight}{-1cm} \addtolength{\hoffset}{-3cm} \addtolength{\voffset}{-2cm} \setlength{\tabcolsep}{0.2cm} % Space between columns \setlength{\headsep}{-12pt} % Reduce space between header and content \setlength{\headheight}{85pt} % If less, LaTeX automatically increases it \renewcommand{\footrulewidth}{0pt} % Remove footer line \renewcommand{\headrulewidth}{0pt} % Remove header line \renewcommand{\seqinsert}{\ifmmode\allowbreak\else\-\fi} % Hyphens in seqsplit % This two commands together give roughly % the right line height in the tables \renewcommand{\arraystretch}{1.3} \onehalfspacing % Commands \newcommand{\SetRowColor}[1]{\noalign{\gdef\RowColorName{#1}}\rowcolor{\RowColorName}} % Shortcut for row colour \newcommand{\mymulticolumn}[3]{\multicolumn{#1}{>{\columncolor{\RowColorName}}#2}{#3}} % For coloured multi-cols \newcolumntype{x}[1]{>{\raggedright}p{#1}} % New column types for ragged-right paragraph columns \newcommand{\tn}{\tabularnewline} % Required as custom column type in use % Font and Colours \definecolor{HeadBackground}{HTML}{333333} \definecolor{FootBackground}{HTML}{666666} \definecolor{TextColor}{HTML}{333333} \definecolor{DarkBackground}{HTML}{42ADE3} \definecolor{LightBackground}{HTML}{F3F9FD} \renewcommand{\familydefault}{\sfdefault} \color{TextColor} % Header and Footer \pagestyle{fancy} \fancyhead{} % Set header to blank \fancyfoot{} % Set footer to blank \fancyhead[L]{ \noindent \begin{multicols}{3} \begin{tabulary}{5.8cm}{C} \SetRowColor{DarkBackground} \vspace{-7pt} {\parbox{\dimexpr\textwidth-2\fboxsep\relax}{\noindent \hspace*{-6pt}\includegraphics[width=5.8cm]{/web/www.cheatography.com/public/images/cheatography_logo.pdf}} } \end{tabulary} \columnbreak \begin{tabulary}{11cm}{L} \vspace{-2pt}\large{\bf{\textcolor{DarkBackground}{\textrm{NAS vs SAN Cheat Sheet}}}} \\ \normalsize{by \textcolor{DarkBackground}{liconaCarlos} via \textcolor{DarkBackground}{\uline{cheatography.com/121511/cs/22274/}}} \end{tabulary} \end{multicols}} \fancyfoot[L]{ \footnotesize \noindent \begin{multicols}{3} \begin{tabulary}{5.8cm}{LL} \SetRowColor{FootBackground} \mymulticolumn{2}{p{5.377cm}}{\bf\textcolor{white}{Cheatographer}} \\ \vspace{-2pt}liconaCarlos \\ \uline{cheatography.com/liconacarlos} \\ \end{tabulary} \vfill \columnbreak \begin{tabulary}{5.8cm}{L} \SetRowColor{FootBackground} \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Cheat Sheet}} \\ \vspace{-2pt}Published 3rd April, 2020.\\ Updated 3rd April, 2020.\\ Page {\thepage} of \pageref{LastPage}. \end{tabulary} \vfill \columnbreak \begin{tabulary}{5.8cm}{L} \SetRowColor{FootBackground} \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Sponsor}} \\ \SetRowColor{white} \vspace{-5pt} %\includegraphics[width=48px,height=48px]{dave.jpeg} Measure your website readability!\\ www.readability-score.com \end{tabulary} \end{multicols}} \begin{document} \raggedright \raggedcolumns % Set font size to small. Switch to any value % from this page to resize cheat sheet text: % www.emerson.emory.edu/services/latex/latex_169.html \footnotesize % Small font. \begin{multicols*}{4} \begin{tabularx}{3.833cm}{x{1.7165 cm} x{1.7165 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{3.833cm}}{\bf\textcolor{white}{Características}} \tn % Row 0 \SetRowColor{LightBackground} {\emph{NAS}} & {\emph{SAN}} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} Donde las unidades de disco físico están conectadas a un servidor permitiendo que el almacenamiento sea accesible sobre una red usando tanto protocolos como NSF y TCP/IP & El RAID de hardware basado en el canal de fibra es el ajuste perfecto para admitir sistemas de bases de datos con protección de datos integrada de extremo a extremo, como los disponibles de MTI. Con la memoria caché de lectura y escritura reflejada incorporada, la integridad de los datos se mantiene junto con la protección de energía completa. \tn % Row Count 19 (+ 18) % Row 2 \SetRowColor{LightBackground} & Baja latencia y características de alto rendimiento con respecto al modelo tradicional probado La capacidad SAN, combinada con Oracle Parallel Server u otro software, permite que las bases de datos se agrupen y compartan \tn % Row Count 31 (+ 12) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{3.833cm}{x{1.7165 cm} x{1.7165 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{3.833cm}}{\bf\textcolor{white}{Desventajas}} \tn % Row 0 \SetRowColor{LightBackground} {\emph{NAS}} & {\emph{ SAN}} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} Tiene un único punto de fallo, si llega a fallar algo como la alimentación, todos los dispositivos que quisieran extraer información no podrían extraer esa información & El intercambio de archivos o datos requiere un sistema de archivos global / NAS como NFS o CIF \tn % Row Count 10 (+ 9) % Row 2 \SetRowColor{LightBackground} \mymulticolumn{2}{x{3.833cm}}{Analístas y grupo Meta no recomiendan el uso de de NAS para aplicaciones de bases de datos} \tn % Row Count 12 (+ 2) % Row 3 \SetRowColor{white} \mymulticolumn{2}{x{3.833cm}}{Es posible que se necesite actualizarse cada vez que se quiera admitir una nueva actividad de E/S adicional} \tn % Row Count 15 (+ 3) % Row 4 \SetRowColor{LightBackground} \mymulticolumn{2}{x{3.833cm}}{Hay una falta de caché duplicada para la protección de datos de extremo a extremo} \tn % Row Count 17 (+ 2) % Row 5 \SetRowColor{white} \mymulticolumn{2}{x{3.833cm}}{No hay soporte para particiones de volumen RAW para E / S rápidas.} \tn % Row Count 19 (+ 2) % Row 6 \SetRowColor{LightBackground} \mymulticolumn{2}{x{3.833cm}}{No hay soporte para bases de datos paralelas o agrupadas como Oracle Parallel Server} \tn % Row Count 21 (+ 2) % Row 7 \SetRowColor{white} \mymulticolumn{2}{x{3.833cm}}{Los tamaños de E / S y las configuraciones RAID son limitadas o fijas.} \tn % Row Count 23 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{3.833cm}{x{1.7165 cm} x{1.7165 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{3.833cm}}{\bf\textcolor{white}{Ventajas}} \tn % Row 0 \SetRowColor{LightBackground} {\emph{NAS}} & {\emph{SAN}} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} Brinda distancia, compartir, fácil manejo y en algunos casos rendimiento & El compartir entre dos o más sistemas host es posible \tn % Row Count 5 (+ 4) % Row 2 \SetRowColor{LightBackground} El almacenamiento compartido entre dos o más sistemas host es posible & El almacenamiento puede ser físicamente ubicado más lejos de los sistemas host \tn % Row Count 9 (+ 4) % Row 3 \SetRowColor{white} El almacenamiento puede ubicarse físicamente más lejos de los sistemas host & El almacenamiento se puede colocar en línea y reconfigurado dinámicamente \tn % Row Count 13 (+ 4) % Row 4 \SetRowColor{LightBackground} El almacenamiento puede ponerse en línea y reconfigurar dinámicamente & La carga de trabajo se descarga de las redes LAN \tn % Row Count 17 (+ 4) % Row 5 \SetRowColor{white} Las copias pueden llegar a ser muy simples & Puedes posponer o retrasar las actualizaciones y mejorar el rendimiento de las redes LAN. \tn % Row Count 22 (+ 5) % Row 6 \SetRowColor{LightBackground} Ideal para compartir archivos y web hosting cuando multiples sistemas necesitan leer el mismo archivo. & Hay soporte para volúmenes RAW para Oracle y otras aplicaciones \tn % Row Count 28 (+ 6) % Row 7 \SetRowColor{white} & Hay soporte para bases de datos paralelas o agrupadas como Oracle Parallel Server. \tn % Row Count 33 (+ 5) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{3.833cm}{x{1.7165 cm} x{1.7165 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{3.833cm}}{\bf\textcolor{white}{Ventajas (cont)}} \tn % Row 8 \SetRowColor{LightBackground} & El RAID de hardware descarga el servidor de las operaciones RAID y las reconstrucciones de la unidad de disco. \tn % Row Count 6 (+ 6) % Row 9 \SetRowColor{white} & Más adecuado para bases de datos o aplicaciones que no requieran compartir archivos (funciona como o mejor que almacenamiento interno o conectado deirectamente) \tn % Row Count 15 (+ 9) % Row 10 \SetRowColor{LightBackground} & Reemplazo de múltiples dispositivos de almacenamiento independientes por menos dispositivos que admitan la capacidad compartida \tn % Row Count 22 (+ 7) % Row 11 \SetRowColor{white} & Las copias de seguridad sin LAN se realizan a través de la SAN en lugar de la LAN (más lenta), y las copias de seguridad sin servidor pueden permitir que el almacenamiento en disco se "escriba" directamente en la cinta sin sobrecarga del procesador \tn % Row Count 35 (+ 13) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{3.833cm}{x{1.7165 cm} x{1.7165 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{3.833cm}}{\bf\textcolor{white}{Ventajas (cont)}} \tn % Row 12 \SetRowColor{LightBackground} & Ofrece beneficios tales como reducir el número de copias de archivos, aumentar la accesibilidad a los datos actuales y reducir la necesidad de transferir copias de datos entre servidores a través de la red. \tn % Row Count 11 (+ 11) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{3.833cm}{x{1.88815 cm} x{1.54485 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{3.833cm}}{\bf\textcolor{white}{Aplicaciones y usos}} \tn % Row 0 \SetRowColor{LightBackground} Almacenamiento o consolidación de servidores & SAN \tn % Row Count 3 (+ 3) % Row 1 \SetRowColor{white} Intercambio de datos, puesta en escena y movimiento entre varios sistemas host & Usar NAS con SAN subyacente \tn % Row Count 7 (+ 4) % Row 2 \SetRowColor{LightBackground} Acceso a datos por Unix, Linux, NT y otros. & Usar NAS con SAN o SAN subyacente \tn % Row Count 9 (+ 2) % Row 3 \SetRowColor{white} Uso compartido de datos, incluido contenido web de Internet para granjas de servidores web & Usar NAS con SAN subyacente \tn % Row Count 14 (+ 5) % Row 4 \SetRowColor{LightBackground} Rendimiento sensible con baja latencia, incluida la base de datos y OLTP & Usar SAN \tn % Row Count 18 (+ 4) % Row 5 \SetRowColor{white} E/S grandes o aplicaciones de transferencia de datos. & Usar SAN \tn % Row Count 21 (+ 3) % Row 6 \SetRowColor{LightBackground} Copia de seguridad sin servidor o sin LAN & Usar SAN \tn % Row Count 23 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} % That's all folks \end{multicols*} \end{document}