{"id":431,"date":"2011-03-29T17:34:30","date_gmt":"2011-03-29T15:34:30","guid":{"rendered":"http:\/\/www.data-protector.org\/wordpress\/?p=431"},"modified":"2015-12-10T19:51:43","modified_gmt":"2015-12-10T18:51:43","slug":"recover-cell-server-with-enhanced-automated-disaster-recovery","status":"publish","type":"post","link":"https:\/\/www.data-protector.org\/wordpress\/de\/2011\/03\/recover-cell-server-with-enhanced-automated-disaster-recovery\/","title":{"rendered":"Recover Cell Server with Enhanced Automated Disaster Recovery"},"content":{"rendered":"<p>Im Artikel <a href=\"https:\/\/www.data-protector.org\/wordpress\/2011\/01\/eadr-mit-windows-2008-r2\/\">EADR with Windows 2008 R2<\/a> wurde beschrieben wie ein Windows 2008 R2 Server mit der EADR Funktion im Data Protector wiederhergestellt werden kann. Ich hatte bereits in einigen Artikeln darauf hingewiesen dass auch der Cell Server gegen einen Totalausfall gesch\u00fctzt werden sollte. Um auch f\u00fcr den Cell Server ein Disaster Recovery durchf\u00fchren zu k\u00f6nnen habe ich ein kleines Skript erstellt welches den EADR Prozess vorbereitet, so dass man im Falle eines Totalsausfalls des Cell Servers schnell auf den gew\u00fcnschten Stand zur\u00fccksichern kann. Unter dem untenstehenden Link kann das Skript (Batch File) heruntergeladen werden. Das Skript soll als Postexec Skript bei der IDB Sicherung aufgerufen werden (siehe unten Einstellungen zur IDB Sicherung), im angegebenen Pfad wird dann das ISO File abgelegt, inkl. der Information welche B\u00e4nder bei der Sicherung verwendet wurden. Alle Angaben in diesem Artikel beziehen sich auf einen Cell Manager unter Windows 2008 R2.<\/p>\n<p>[wpdm_file id=9]<\/p>\n<p>\nEs wird dringend empfohlen diesen Prozess mindestens 1-mal zu testen, es kann ja vorher mit den g\u00e4ngigen Image Tools ein Abbild erzeugt werden.<br \/>\n<br \/>\nDie wesentlichen Komponenten des Batch Files sind nachfolgend erkl\u00e4rt.<\/p>\n<p><strong>Variablen &#8211; alle Werte m\u00fcssen ausgef\u00fcllt sein:<\/strong><br \/>\n<code>SET OMNIHOME=D:\\Program Files\\Omniback<\/code> &#8211; das Basis Verzeichnis der Data Protector Installation<br \/>\n<code>SET WAIKPATH=C:\\Program Files\\Windows AIK<\/code> &#8211; der Pfad zum installierten WAIK<br \/>\n<code>SET CELLSERVER=nbdb0001<\/code> &#8211; der Name des Cell Servers (Output von omnidbutil -show_cell_name)<br \/>\n<code>SET ISOPATH=%OMNIHOME%\\tmp\\<\/code> &#8211; der Ablageort f\u00fcr das erstellte ISO File<br \/>\n<code>SET SRDFILE=%OMNIHOME%\\Config\\Server\\dr\\srd\\%CELLSERVER%<\/code> &#8211; SRDFile &#8211; feststehende Werte<br \/>\n<code>SET P1SFILE=%OMNIHOME%\\Config\\Server\\dr\\p1s\\%CELLSERVER%<\/code> &#8211; P1SFile &#8211; feststehende Werte<br \/>\n<code>SET P1SIMAGE=%OMNIHOME%\\Config\\Server\\dr\\p1s\\%CELLSERVER%.img<\/code> &#8211; P1SImage &#8211; feststehende Werte<br \/>\n<code>SET NETWORKSHARE=\\\\servername\\share<\/code> &#8211; Ein share wo im Anschluss das erstellte ISO File wegkopiert wird<br \/>\n<br \/>\nDie verwendeten Exit Codes (es k\u00f6nnen auch andere verwendet werden) veranlasst dass die Sicherung als &#8222;Failed&#8220; markiert wird!<\/p>\n<p><strong>Checks bevor das ISO erstellt wird:<\/strong><br \/>\nif not exist &#8222;%ISOPATH%&#8220; (<br \/>\n&nbsp;&nbsp;mkdir &#8222;%ISOPATH%&#8220;<br \/>\n&nbsp;&nbsp;if not exist &#8222;%ISOPATH%&#8220; (<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;echo Unable to create the ISOPATH &#8211; &#8222;%ISOPATH%&#8220;. Aborting &#8230;<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;exit 500<br \/>\n&nbsp;&nbsp;)<br \/>\n)<\/p>\n<p>if not exist &#8222;%WAIKPATH%&#8220; (<br \/>\n&nbsp;&nbsp;echo WAIK not found in &#8222;%WAIKPATH%&#8220;. Aborting &#8230;<br \/>\n&nbsp;&nbsp;exit 500<br \/>\n)<\/p>\n<p><strong>Und die Durchf\u00fchrung:<\/strong><br \/>\n<code>\"%OMNIHOME%\\bin\\omniiso.exe\" -session \"%SESSIONID%\" -cd -iso \"%ISOPATH%%CELLSERVER%.iso\" -srd \"%SRDFILE%\" -rset \"%P1SFILE%\" \"%P1SIMAGE%\" -autoinject -waik \"%WAIKPATH%\"<\/code> &#8211; erstellt das ISO Image unter Nutzung der Variablen<br \/>\n<code>\"%OMNIHOME%\\bin\\omnidb.exe\" -session \"%SESSIONID%\" -media &gt; \"%ISOPATH%usedmedia.txt\"<\/code> &#8211; schreibt in die Textdatei welches Band verwendet wurde<br \/>\n<code>\"%OMNIHOME%\\bin\\omnidb.exe\" -session \"%SESSIONID%\" -media -detail &gt;&gt; \"%ISOPATH%usedmedia.txt\"<\/code> &#8211; schreibt in die Textdatei mehr Details zum verwendeten Band<\/p>\n<p>\n<strong>Im Anschluss werden die Dateien auf den Share kopiert:<\/strong><br \/>\n<code>copy \"%ISOPATH%%CELLSERVER%.iso\" \"%NETWORKSHARE%\" \/Y<\/code><br \/>\n<code>copy \"%ISOPATH%usedmedia.txt\" \"%NETWORKSHARE%\" \/Y<\/code><\/p>\n<p><strong>Allgemeines:<\/strong> Falls nun ein EADR des Cell Servers notwendig wird kann das erstellte ISO als CDROM gebrannt werden oder im Falle eine HP Servers als Virtual Media im ILO gemountet werden. Der EADR Prozess erfolgt \u00e4hnlich des bereits beschriebenen Windows 2008 R2 EADR Prozesses. Es ist jedoch darauf zu achten dass das Band Laufwerk dem Server direkt zugeordnet werden kann und sich das ben\u00f6tigte Band bereits im Laufwerk befindet, da zum Zeitpunkt des DR Prozesses die Robotic nicht angesprochen wird. In der DRMSHELL wird dann abgefragt welches Laufwerk f\u00fcr den Offline Restore verwendet werden soll. Ferner ist darauf zu achten dass das Band was f\u00fcr die Sicherung verwendet wurde mit 64K Blocksize formatiert wurde. Es hat sich bew\u00e4hrt ein eigenes Laufwerk mit 64K Blocksize zu erstellen und einen eigenen Pool mit dedizierten B\u00e4ndern nur f\u00fcr die IDB Sicherung zu verwenden. Den anderen Backupjobs weist man dann die &#8222;normalen&#8220; Laufwerke mit einer gr\u00f6\u00dferen Blocksize zu, sofern m\u00f6glich.<\/p>\n<p><strong>Bedingungen:<\/strong> Die Anleitung ist zum Data Protector Patch Stand Januar 2011 und gilt nur f\u00fcr die zu diesem Zeitpunkt eingesetzten Produkte und Versionsst\u00e4nde (Patch Stand Dezember 2010 zuz\u00fcglich SSP). Im \u00dcbrigen wird auf die Bedingungen verwiesen, die im oben erw\u00e4hnten Artikel enthalten sind.<\/p>\n<p><strong>Die Einstellungen der IDB Sicherung:<\/strong><\/p>\n<ul>\n<li>In der Sicherung m\u00fcssen alle Mountpoints ausgew\u00e4hlt werden (sollte auf dem Server eine Filelibrary angelegt sein, so k\u00f6nnen die Filelibrary Verzeichnisse abgew\u00e4hlt werden).<\/li>\n<li>Die\u00a0CONFIGURATION Sicherung muss vollst\u00e4ndig erfolgen.<\/li>\n<li>Die Sicherung der internen Datenbank muss aktiviert sein.<\/li>\n<li>Die Sicherung des Laufwerk C: erfolgt vollst\u00e4ndig, es wird nur das pagefile.sys und c:\\windows\\system32\\config exkludiert.<\/li>\n<li>Bei der Sicherung des D: Laufwerks (oder auf dem Laufwerk wo Data Protector installiert ist) wird das db40 Verzeichnis exkludiert.<\/li>\n<li>In den Backup options wird unter Post-exec der Aufruf zum makeiso.cmd eingetragen (z.B.: &#8222;d:\\program files\\omniback\\bin\\makeiso.cmd&#8220;)<\/li>\n<li>In den Filesystem options wird unter Other der Haken bei &#8222;Copy Full DR Image to disk&#8220; gesetzt, alle anderen Optionen bleiben deaktiviert (&#8222;Display statistical info&#8220; kann aktiviert bleiben.<\/li>\n<li>In den Filesystem options werden unter WinFS options folgende Optionen ativiert, der Rest bleibt deaktiviert: &#8222;Detect NTFS hardlinks&#8220;, &#8222;Backup share information for directories&#8220;, &#8222;Use Shadow Copy&#8220;<\/li>\n<li>Wichtig: die Sicherung muss auf ein band mit 64K Block Size erfolgen.<\/li>\n<li>Optional kan die Schutzfrist der IDB von permanent auf einen beliebigen Wert gesetzt werden.<\/li>\n<\/ul>\n<p><strong>Relevanter Teil aus dem Post-exec Skript in den Session messages:<\/strong><\/p>\n<p><code>[Normal] From: BSM@nbdb0001 \"DP_TEST\"  Time: 17.03.2011 12:45:17<br \/>\n\tStarting to execute \"\"D:\\Program Files\\OmniBack\\bin\\makeiso.cmd\"\"...<\/p>\n<p>Script Parameter:<br \/>\nScript Environment: host='LIBDBR' user='NBDB0001\\danielbraun'<br \/>\n                    script='D:\\Program Files\\OmniBack\\bin\\makeiso.cmd'<br \/>\n                    path='D:\\Program Files\\OmniBack\\bin\\'<br \/>\nPrepared SRDFILE found, skipping generation<br \/>\n[Normal] From: omniiso@nbdb0001 \"omniiso\"  Time: 17.03.2011 12:45:20<br \/>\n\tCreating the Disaster Recovery ISO image file. This may take a few minutes...<\/p>\n<p>[Normal] From: omniiso@nbdb0001 \"omniiso\"  Time: 17.03.2011 12:45:22<br \/>\n\tInitializing MiniOS directory structure.<\/p>\n<p>[Normal] From: omniiso@nbdb0001 \"omniiso\"  Time: 17.03.2011 12:45:24<br \/>\n\tMounting MiniOS image.<\/p>\n<p>[Normal] From: omniiso@nbdb0001 \"omniiso\"  Time: 17.03.2011 12:45:33<br \/>\n\tInserting Recovery Info file into the MiniOS image file.<\/p>\n<p>[Normal] From: omniiso@nbdb0001 \"omniiso\"  Time: 17.03.2011 12:45:33<br \/>\n\tInserting Hardware Info file into the MiniOS image file.<\/p>\n<p>[Normal] From: omniiso@nbdb0001 \"omniiso\"  Time: 17.03.2011 12:45:33<br \/>\n\tInserting Network Info file into the MiniOS image file.<\/p>\n<p>[Normal] From: omniiso@nbdb0001 \"omniiso\"  Time: 17.03.2011 12:45:33<br \/>\n\tInserting ASR BCD file into the MiniOS image file.<\/p>\n<p>[Normal] From: omniiso@nbdb0001 \"omniiso\"  Time: 17.03.2011 12:45:33<br \/>\n\tCopying MiniOS system files to the image file.<\/p>\n<p>[Normal] From: omniiso@nbdb0001 \"omniiso\"  Time: 17.03.2011 12:45:36<br \/>\n\tCopying DRM binaries to the image file.<\/p>\n<p>[Normal] From: omniiso@nbdb0001 \"omniiso\"  Time: 17.03.2011 12:45:36<br \/>\n\tCopying DRM configuration directory to the image file.<\/p>\n<p>[Normal] From: omniiso@nbdb0001 \"omniiso\"  Time: 17.03.2011 12:45:36<br \/>\n\tCopying backup application depot directory to the image file.<\/p>\n<p>[Normal] From: omniiso@nbdb0001 \"omniiso\"  Time: 17.03.2011 12:45:36<br \/>\n\tConfiguring vendor specific system images.<\/p>\n<p>[Normal] From: omniiso@nbdb0001 \"omniiso\"  Time: 17.03.2011 12:45:36<br \/>\n\tCreating the MiniOS image startup file.<\/p>\n<p>[Normal] From: omniiso@nbdb0001 \"omniiso\"  Time: 17.03.2011 12:45:36<br \/>\n\tInstalling additional MiniOS packages.<\/p>\n<p>[Normal] From: omniiso@nbdb0001 \"omniiso\"  Time: 17.03.2011 12:46:04<br \/>\n\tInstalling additional MiniOS packages.<\/p>\n<p>[Normal] From: omniiso@nbdb0001 \"omniiso\"  Time: 17.03.2011 12:46:11<br \/>\n\tCleaning up MiniOS image, preparing it for usage.<\/p>\n<p>[Normal] From: omniiso@nbdb0001 \"omniiso\"  Time: 17.03.2011 12:46:11<br \/>\n\tInjecting driver files into the MiniOS image.<\/p>\n<p>[Normal] From: omniiso@nbdb0001 \"omniiso\"  Time: 17.03.2011 12:46:27<br \/>\n\tInitializing MiniOS scratch space.<\/p>\n<p>[Normal] From: omniiso@nbdb0001 \"omniiso\"  Time: 17.03.2011 12:46:29<br \/>\n\tDismounting\/Committing MiniOS image.<\/p>\n<p>[Normal] From: omniiso@nbdb0001 \"omniiso\"  Time: 17.03.2011 12:46:42<br \/>\n\tWriting CD-ROM ISO image to the target location.<\/p>\n<p>[Normal] From: omniiso@nbdb0001 \"omniiso\"  Time: 17.03.2011 12:46:43<br \/>\n\tSuccessfully created the Disaster Recovery ISO image.<\/p>\n<p>Finished<br \/>\n[Normal] From: BSM@nbdb0001 \"DP_TEST\"  Time: 17.03.2011 12:46:44<br \/>\n\tThe exec script \"\"D:\\Program Files\\OmniBack\\bin\\makeiso.cmd\"\" has completed.<\/p>\n<p><\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Im Artikel EADR with Windows 2008 R2 wurde beschrieben wie ein Windows 2008 R2 Server mit der EADR Funktion im Data Protector wiederhergestellt werden kann. Ich hatte bereits in einigen Artikeln darauf hingewiesen dass auch der Cell Server gegen einen Totalausfall gesch\u00fctzt werden sollte. Um auch f\u00fcr den Cell Server ein Disaster Recovery durchf\u00fchren zu [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"spay_email":""},"categories":[11],"tags":[89,97,98,66,65,64,67,96],"translation":{"provider":"WPGlobus","version":"2.8.8","language":"de","enabled_languages":["en","de"],"languages":{"en":{"title":true,"content":true,"excerpt":false},"de":{"title":false,"content":true,"excerpt":false}}},"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p28cjj-6X","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":3016,"url":"https:\/\/www.data-protector.org\/wordpress\/de\/2016\/05\/prepare-and-execute-eadr-cell-server-on-windows-2012-r2-data-protector-9-06\/","url_meta":{"origin":431,"position":0},"title":"Prepare and execute EADR &#8211; Cell Server on Windows 2012 R2 and Data Protector 9.06","date":"13. Mai 2016","format":false,"excerpt":"{:en} In the past I often informed about the free EADR feature in Data Protector to recover clients and cell server. The last time I wrote an article in 2014 including two small scripts to get things prepared and automated - see https:\/\/www.data-protector.org\/wordpress\/2014\/04\/eadr-cell-server-dp-8-1x-windows-2012-r2\/. However, the batch files got broken due\u2026","rel":"","context":"In &quot;HowTo&quot;","img":{"alt_text":"EADR_23","src":"https:\/\/i0.wp.com\/www.data-protector.org\/wordpress\/wp-content\/uploads\/2016\/05\/EADR_23.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":313,"url":"https:\/\/www.data-protector.org\/wordpress\/de\/2011\/01\/eadr-mit-windows-2008-r2\/","url_meta":{"origin":431,"position":1},"title":"EADR with Windows 2008 R2","date":"21. Januar 2011","format":false,"excerpt":"{:de}In einen fr\u00fcheren Artikel hatte ich \u00fcber die Wiederherstellung eines Windows 2003 Servers mit Data Protector berichtet. Nachdem Windows 2008 auch immer mehr in Rechenzentren betrieben wird zeige ich nachfolgend die Wiederherstellung eines Windows 2008 R2 Servers mit Data Protector und der Enhanced Automated Disaster Recovery Funktion. Vorbereitung: In der\u2026","rel":"","context":"In &quot;HowTo&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2190,"url":"https:\/\/www.data-protector.org\/wordpress\/de\/2015\/01\/eadr-tape-block-size\/","url_meta":{"origin":431,"position":2},"title":"EADR and Tape Block Size","date":"1. Januar 2015","format":false,"excerpt":"{:en}In older articles I often wrote about Bare Metal Recovery, a feature included in Data Protector without any additional costs and called Enhanced Automated Disaster Recovery (EADR) - see https:\/\/www.data-protector.org\/wordpress\/?s=eadr. To recover the Cell Server (see link) I always told to use tape devices with a block size of 64K.\u2026","rel":"","context":"In &quot;HowTo&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":126,"url":"https:\/\/www.data-protector.org\/wordpress\/de\/2010\/08\/enhanced-automated-disaster-recovery\/","url_meta":{"origin":431,"position":3},"title":"Enhanced Automated Disaster Recovery","date":"6. August 2010","format":false,"excerpt":"{:en}No translation for this article available.{:} {:de} Immer wieder mal ben\u00f6tigt man es wenn ein Server komplett den Bach runter geht... \u00a0In der Regel sollte man vor einem Disaster wissen wie man seine Server wieder herstellt. In den Unterlagen von HP ist zwar sehr sch\u00f6n und ausf\u00fchrlich beschrieben welche einzelnen\u2026","rel":"","context":"In &quot;HowTo&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1947,"url":"https:\/\/www.data-protector.org\/wordpress\/de\/2014\/04\/eadr-cell-server-dp-8-1x-windows-2012-r2\/","url_meta":{"origin":431,"position":4},"title":"EADR for Cell Server &#8211; DP 8.1X on Windows 2012 R2","date":"4. April 2014","format":false,"excerpt":"{:en}With Data Protector 8.XX the process to create disaster recovery images has been changed. Since the new version, the backup of the internal database is separated from the filesystem backup of the cell server. Hence, the \"makeiso.cmd\" (see https:\/\/www.data-protector.org\/wordpress\/2011\/03\/recover-cell-server-with-enhanced-automated-disaster-recovery\/) is no longer working. With the separation it is necessary to\u2026","rel":"","context":"In &quot;HowTo&quot;","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3086,"url":"https:\/\/www.data-protector.org\/wordpress\/de\/2016\/06\/omniofflr-offline-restore-data-protector-internal-database\/","url_meta":{"origin":431,"position":5},"title":"OMNIOFFLR &#8211; Offline Restore Data Protector Internal Database","date":"1. Juni 2016","format":false,"excerpt":"{:en} In one of my previous articles I briefy informed about EADR for Data Protector 9.06 on Windows 2012 R2 - please refer to https:\/\/www.data-protector.org\/wordpress\/2016\/05\/prepare-and-execute-eadr-cell-server-on-windows-2012-r2-data-protector-9-06\/. However, if you don't need EADR as a complete recovery option and the preparation for disaster recovery for the IDB is required only, then you\u2026","rel":"","context":"In &quot;HowTo&quot;","img":{"alt_text":"","src":"https:\/\/i2.wp.com\/www.data-protector.org\/wordpress\/wp-content\/uploads\/2016\/06\/offlr1.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.data-protector.org\/wordpress\/de\/wp-json\/wp\/v2\/posts\/431"}],"collection":[{"href":"https:\/\/www.data-protector.org\/wordpress\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.data-protector.org\/wordpress\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.data-protector.org\/wordpress\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.data-protector.org\/wordpress\/de\/wp-json\/wp\/v2\/comments?post=431"}],"version-history":[{"count":37,"href":"https:\/\/www.data-protector.org\/wordpress\/de\/wp-json\/wp\/v2\/posts\/431\/revisions"}],"predecessor-version":[{"id":2851,"href":"https:\/\/www.data-protector.org\/wordpress\/de\/wp-json\/wp\/v2\/posts\/431\/revisions\/2851"}],"wp:attachment":[{"href":"https:\/\/www.data-protector.org\/wordpress\/de\/wp-json\/wp\/v2\/media?parent=431"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.data-protector.org\/wordpress\/de\/wp-json\/wp\/v2\/categories?post=431"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.data-protector.org\/wordpress\/de\/wp-json\/wp\/v2\/tags?post=431"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}