\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{spange} \pdfinfo{ /Title (gruppe1.pdf) /Creator (Cheatography) /Author (spange) /Subject (Gruppe1 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}{3661A3} \definecolor{LightBackground}{HTML}{F2F5F9} \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{Gruppe1 Cheat Sheet}}}} \\ \normalsize{by \textcolor{DarkBackground}{spange} via \textcolor{DarkBackground}{\uline{cheatography.com/68017/cs/17126/}}} \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}spange \\ \uline{cheatography.com/spange} \\ \end{tabulary} \vfill \columnbreak \begin{tabulary}{5.8cm}{L} \SetRowColor{FootBackground} \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Cheat Sheet}} \\ \vspace{-2pt}Not Yet Published.\\ Updated 20th September, 2018.\\ 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*}{2} \begin{tabularx}{8.4cm}{x{3.28 cm} x{4.72 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{DPM - Funktionalitet}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{DPM`s hovedformål er at lave backup og gendanne virksomhedsdata.} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} \mymulticolumn{2}{x{8.4cm}}{DPM kan sættes op til at tage backup eller gendanne af bl.a} \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} \{\{nobreak\}\}Applikation-aware & Microsoft SQL Server, Exchange og Sharepoint \tn % Row Count 6 (+ 2) % Row 3 \SetRowColor{white} Fil backup & Filer, folder og volumer \tn % Row Count 8 (+ 2) % Row 4 \SetRowColor{LightBackground} System backup & System state eller bare-metal af server eller klient , kræver WSB er installeret på den pågældende server man ønsker backup af \tn % Row Count 14 (+ 6) % Row 5 \SetRowColor{white} Hyper-V backup & Windows og Linux VM \tn % Row Count 15 (+ 1) % Row 6 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{DPM kan opbevare data på Disk, Azure eller Bånd - DPM bruger sit eget filformat og formaterer Volumen du oprettet som datastore til DPM.} \tn % Row Count 18 (+ 3) % Row 7 \SetRowColor{white} \mymulticolumn{2}{x{8.4cm}}{DPM Administrator Console \{\{nl\}\} Tilføj servere under Management, disse servere er dem du vil have under backup af DPM. Under Management kan du vælge hvor meget båndbredde serverne må benytte i angivne timer. Tilføj disk(e) du vil benytte til dine DPM backup. \{\{nl\}\} under Protection laver du grupper hvori du tilføjer dine servere du lagde ind i DPM under Management. I protection groups vælges hvad du vil backe up. F.eks. system statem bare metal, volume(r) eller filer. \{\{nl\}\} Hvis din backup fejler vil DPM selv sørge for at køre et Consistency Check og prøve at rette op på fejlen. Hvis ikke får man fejlen Replica is Inconsistent} \tn % Row Count 31 (+ 13) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{8.4cm}{x{3.28 cm} x{4.72 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{DPM - Funktionalitet (cont)}} \tn % Row 8 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{DPM lægger daglige rapporter op om dine backups, andvendelse af diske m.m} \tn % Row Count 2 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{8.4cm}}{\bf\textcolor{white}{DPM - Serverkrav}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{1}{x{8.4cm}}{Windows Server 2016 - Desktop Experience, angiv hostname og statisk IP. Tilmeld serveren til Active Directory.} \tn % Row Count 3 (+ 3) % Row 1 \SetRowColor{white} \mymulticolumn{1}{x{8.4cm}}{SQL server skal være kørende samme eller remote server} \tn % Row Count 5 (+ 2) % Row 2 \SetRowColor{LightBackground} \mymulticolumn{1}{x{8.4cm}}{3 GB disk plads til DPM installation} \tn % Row Count 6 (+ 1) % Row 3 \SetRowColor{white} \mymulticolumn{1}{x{8.4cm}}{Dedikeret disk plads til storage pool, 2-3 gange volume ifht. protected data} \tn % Row Count 8 (+ 2) % Row 4 \SetRowColor{LightBackground} \mymulticolumn{1}{x{8.4cm}}{Installer Microsoft SQL Server Management Studio V16.5} \tn % Row Count 10 (+ 2) % Row 5 \SetRowColor{white} \mymulticolumn{1}{x{8.4cm}}{Følgende installeres automatisk:\{\{nl\}\}Microsoft .NET Framework 4.0\{\{nl\}\}Windows Installer 4.5 el. senere\{\{nl\}\}Microsoft Visual C++ 2008 Redistributable\{\{nl\}\}Windows PowerShell 3.0\{\{nl\}\}Windows Single Instance Store\{\{nl\}\}Microsoft Application Error Reporting} \tn % Row Count 16 (+ 6) \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{8.4cm}}{\bf\textcolor{white}{DPM - Installation}} \tn \SetRowColor{white} \mymulticolumn{1}{x{8.4cm}}{På en kørende Windows Server 2016 - Desktop Experience \newline % Row Count 2 (+ 2) Installeres Data Management Protection. version 1801 (til brug ved Virtuelle servere) - Bemærk en kørende MSSQL server skal være kørende i dit miljø med en tilgængelig SQLinstance. \newline % Row Count 6 (+ 4) Kør installationsprogrammet DPM \newline % Row Count 7 (+ 1) • HyperVpowershell bliver installeret første gang installeren køres Hyper-V ses herefter som en rolle i Server Manager som starter automatisk med serveren ved boot. \newline % Row Count 11 (+ 4) • Microsoft SQL Server Management Studio skal være installeret for at DPM installeren kan fortsætte \newline % Row Count 14 (+ 3) • Brugeren som kører installeren skal være Domain Admin \newline % Row Count 16 (+ 2) • Indsæt sti til din SQL instance, indtast herefter domæne og credentials \newline % Row Count 18 (+ 2) Kør herefter checks, indtast credentials, kør MS opdateringer manuelt \newline % Row Count 20 (+ 2) Når installationen er kørt igennem vil DPM oprette disse firewall regler \newline % Row Count 22 (+ 2) - Exception for DCOM communication on port 135 (TCP and UDP) in all profiles. \newline % Row Count 24 (+ 2) - Exception for Msdpm.exe in all profiles. \newline % Row Count 25 (+ 1) - Exception for DPMRA.exe in all profiles. \newline % Row Count 26 (+ 1) - Exception for AMSvcHost.exe in all profiles. \newline % Row Count 27 (+ 1) - Exception for DPMAMService communication on port 6075 (TCP and UDP) in all profiles. \newline % Row Count 29 (+ 2) services MSDPM bliver installeret og ses under get-service *dpm \newline % Row Count 31 (+ 2) } \tn \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{8.4cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{8.4cm}}{\bf\textcolor{white}{DPM - Installation (cont)}} \tn \SetRowColor{white} \mymulticolumn{1}{x{8.4cm}}{DPM kan også køres fra Powershell alene. DPM Management Shell lægges på Desktop standard under installationen.% Row Count 3 (+ 3) } \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{p{0.8 cm} p{0.8 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Firewall regler}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{Regler som skal tilføjes til SQL Server inden installation} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} \mymulticolumn{2}{x{8.4cm}}{Tillad sqlserv applikation for pågældende MSSQL instans med nedstående kommando} \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{netsh advfirewall firewall add rule name=DPM\_SqlServr.exe dir=in action=allow program=\textbackslash{}"\%PROGRAMFILES\%\textbackslash{}Microsoft SQL Server\textbackslash{}MSSQL11.\textless{}SQLinstance\textgreater{}\textbackslash{}MSSQL\textbackslash{}Binn\textbackslash{}sqlservr.exe\textbackslash{}" profile=Domain} \tn % Row Count 8 (+ 4) % Row 3 \SetRowColor{white} \mymulticolumn{2}{x{8.4cm}}{Tillad UDP port 1434 med nedstående kommando} \tn % Row Count 9 (+ 1) % Row 4 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{netsh advfirewall firewall add rule \seqsplit{name=DPM\_UDP\_Port\_1434} dir=in action=allow protocol=UDP localport=1434 profile=Domain} \tn % Row Count 12 (+ 3) % Row 5 \SetRowColor{white} \mymulticolumn{2}{x{8.4cm}}{Tillad sqlbrowser applikation med nedstående kommando} \tn % Row Count 14 (+ 2) % Row 6 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{netsh advfirewall firewall add rule name=DPM\_SqlBrowser.exe dir=in action=allow program=\textbackslash{}"\%ProgramFiles(x86)\%\textbackslash{}Microsoft SQL Server\textbackslash{}90\textbackslash{}Shared\textbackslash{}sqlbrowser.exe\textbackslash{}" profile=Domain} \tn % Row Count 18 (+ 4) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{4 cm} x{4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{SQL - Installation}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{Hvis DPM 2016 el. DPM 2012 R2\{\{nl\}\}Med DPM 1801, skal bruges SQL Server 2017, der opgraderes fra 2016 til 2017} \tn % Row Count 3 (+ 3) % Row 1 \SetRowColor{white} \mymulticolumn{2}{x{8.4cm}}{Ved tidl. ver. DPM og vil ikke bruge SQL Server 2008} \tn % Row Count 5 (+ 2) % Row 2 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{Installeres på DPM server eller Remote Server} \tn % Row Count 6 (+ 1) % Row 3 \SetRowColor{white} \mymulticolumn{2}{x{8.4cm}}{Ved Remote, install DPM SQL Prep før SQL Server} \tn % Row Count 7 (+ 1) % Row 4 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{SQL server som Stand Alone} \tn % Row Count 8 (+ 1) % Row 5 \SetRowColor{white} Feature Selection: & Database Engine Services\{\{nl\}\}Reporting Service - Native \tn % Row Count 11 (+ 3) % Row 6 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{Instance navn uden underscore} \tn % Row Count 12 (+ 1) % Row 7 \SetRowColor{white} \mymulticolumn{2}{x{8.4cm}}{Domain bruger skal være Local Administrator på Remote Server} \tn % Row Count 14 (+ 2) % Row 8 \SetRowColor{LightBackground} Domain bruger\{\{nl\}\}skal have\{\{nl\}\}adgang til: & SQL Server services\{\{nl\}\}SQL Server agent\{\{nl\}\}SQL Server Database Engine\{\{nl\}\}SQL Server Reporting \tn % Row Count 19 (+ 5) % Row 9 \SetRowColor{white} \mymulticolumn{2}{x{8.4cm}}{Services skal køres automatisk} \tn % Row Count 20 (+ 1) % Row 10 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{Domain brugeren skal tilknyttes Sysadmin} \tn % Row Count 21 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{8.4cm}}{\bf\textcolor{white}{SQL - Serverkrav}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{1}{x{8.4cm}}{Min. 4 GB RAM, 8 GB anbefalet} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} \mymulticolumn{1}{x{8.4cm}}{Min. 1 GB disk plads, 3 GB anbefalet} \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} \mymulticolumn{1}{x{8.4cm}}{Nødvendige Features: Database Engine Services, Reporting Services} \tn % Row Count 4 (+ 2) % Row 3 \SetRowColor{white} \mymulticolumn{1}{x{8.4cm}}{Installeres sammen med DPM Server eller remote, men ikke på Domain Controller} \tn % Row Count 6 (+ 2) % Row 4 \SetRowColor{LightBackground} \mymulticolumn{1}{x{8.4cm}}{Skal være i samme domæne og tidszone som DPM} \tn % Row Count 7 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{p{0.8 cm} p{0.8 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Rettigheder}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{Oprettelse af 2 Service kontier, ser\_sql og ser\_dpm, begge er tilføjet til Domain admins, så de har lokale rettigheder til at installere MSSQL og DPM} \tn % Row Count 4 (+ 4) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{3.04 cm} x{4.96 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Backup typer}} \tn % Row 0 \SetRowColor{LightBackground} Normal & Archive bit fjernes \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} Incremental & Archive bit fjernes \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} Differential & Archive bit beholdes \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} Copy & Archive bit beholdes \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} Daily & Archive bit beholdes \tn % Row Count 5 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{8.4cm}}{\bf\textcolor{white}{Kilde kode}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{1}{x{8.4cm}}{\seqsplit{https://docs.microsoft.com/en-us/system-center/dpm/install-dpm?view=sc-dpm-1801\#setup-prerequisites}} \tn % Row Count 2 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} % That's all folks \end{multicols*} \end{document}