{"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\/2011\/03\/recover-cell-server-with-enhanced-automated-disaster-recovery\/","title":{"rendered":"Recover Cell Server with Enhanced Automated Disaster Recovery"},"content":{"rendered":"<p>In article <a href=\"https:\/\/www.data-protector.org\/wordpress\/2011\/01\/eadr-mit-windows-2008-r2\/\">EADR with Windows 2008 R2<\/a> I described how to use Data Protector EADR for a Windows 2008 R2 server. I also described in former articles that you should be prepared when your Cell Server crashs. To be able to do EADR for your Cell Server I wrote a small script, which allows you to create the needed ISO file, which can be used to recover your Cell Server to the latest state. The Batch file can be downloaded below. The script will be implemented as Post-exec script in the backup of the IDB (for settings see below), in the configured path the ISO will be generated, including the information for the used media during the backup. All stuff within this article is valid for a Cell Manager on Windows 2008 R2.<\/p>\n<p>[wpdm_file id=9]<\/p>\n<p>\nIt is recommended to test that solution at least once. You may use a imaging tool to create a image from your server.<\/p>\n<p>\nThe main components of the batch are described below.<\/p>\n<p><strong>Variables &#8211; all values must be provided:<\/strong><br \/>\n<code>SET OMNIHOME=D:\\Program Files\\Omniback<\/code> &#8211; Data Protector home folder<br \/>\n<code>SET WAIKPATH=C:\\Program Files\\Windows AIK<\/code> &#8211; path to WAIK<br \/>\n<code>SET CELLSERVER=nbdb0001<\/code> &#8211; name of the Cell Server (use output from omnidbutil -show_cell_name)<br \/>\n<code>SET ISOPATH=%OMNIHOME%\\tmp\\<\/code> &#8211; the folder for the ISO to be created<br \/>\n<code>SET SRDFILE=%OMNIHOME%\\Config\\Server\\dr\\srd\\%CELLSERVER%<\/code> &#8211; SRDFile &#8211; fix values<br \/>\n<code>SET P1SFILE=%OMNIHOME%\\Config\\Server\\dr\\p1s\\%CELLSERVER%<\/code> &#8211; P1SFile &#8211; fix values<br \/>\n<code>SET P1SIMAGE=%OMNIHOME%\\Config\\Server\\dr\\p1s\\%CELLSERVER%.img<\/code> &#8211; P1SImage &#8211; fix values<br \/>\n<code>SET NETWORKSHARE=\\\\servername\\share<\/code> &#8211; a network share to copy the ISO off the server<br \/>\n<br \/>\nThe used exit codes (you can also use other exit codes) will mark the session as &#8220;failed&#8221; in case of errors.<\/p>\n<p><strong>Do some check before the ISO is created:<\/strong><br \/>\nif not exist &#8220;%ISOPATH%&#8221; (<br \/>\n&nbsp;&nbsp;mkdir &#8220;%ISOPATH%&#8221;<br \/>\n&nbsp;&nbsp;if not exist &#8220;%ISOPATH%&#8221; (<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;echo Unable to create the ISOPATH &#8211; &#8220;%ISOPATH%&#8221;. Aborting &#8230;<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;exit 500<br \/>\n&nbsp;&nbsp;)<br \/>\n)<\/p>\n<p>if not exist &#8220;%WAIKPATH%&#8221; (<br \/>\n&nbsp;&nbsp;echo WAIK not found in &#8220;%WAIKPATH%&#8221;. Aborting &#8230;<br \/>\n&nbsp;&nbsp;exit 500<br \/>\n)<\/p>\n<p><strong>The creation of the ISO file:<\/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; creates the ISO using the given variables<br \/>\n<code>\"%OMNIHOME%\\bin\\omnidb.exe\" -session \"%SESSIONID%\" -media &gt; \"%ISOPATH%usedmedia.txt\"<\/code> &#8211; writes the used media to a text file<br \/>\n<code>\"%OMNIHOME%\\bin\\omnidb.exe\" -session \"%SESSIONID%\" -media -detail &gt;&gt; \"%ISOPATH%usedmedia.txt\"<\/code> &#8211; adds some more details for the used media<\/p>\n<p>\n<strong>At the end the files are copied to the specified share:<\/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>General information: <\/strong>If you now need EADR for your Cell Server, burn the created ISO image to CDROM or in case you have a HP Server, mount the ISO as virtual media within ILO. The EADR process is very similiar to the already described Windows 2008 R2 EADR process. You have to keep in mind that the drive must be maped directly to the server and the media for the restore must be already mounted, as during the DR process the robotic is not used. In the DRMSHELL you will be prompted to select a drive for the offline restore. Please keep also in mind that you used a media with 64k block size for the backup. It is common to create a separate drive with 64k block size and to use a dedicated pool with dedicated media for the backup of the IDB. Other backup jobs might use other drives with higher block size, if available. <\/p>\n<p><strong>Requirements:<\/strong> The article was created with Data Protector patches installed in January 2011 and valid for the mentioned products and versions only (patches from December and additional SSP applied). For further requirements, please refer to the article mentioned above.<\/p>\n<p><strong>Settings for the IDB backup:<\/strong><\/p>\n<ul>\n<li>Within the backup specificationall mount points must be selected (in case there is a file library n the cell server, unselect the folders for the file library for the involved montpoints).<\/li>\n<li>The backup of CONFIGURATION must be done without any excludes.<\/li>\n<li>The backup of the internal database must be enabled<\/li>\n<li>The backup for mount oint C: will be done with only these excludes defined: pagefile.sys and c:\\windows\\system32\\config.<\/li>\n<li>For the munt point where Data Protector is installed exclude the db40 folder.<\/li>\n<li>In Backup options, in Post-exec edit the call to the batch makeiso.cmd (i.e. &#8220;d:\\program files\\omniback\\bin\\makeiso.cmd&#8221;)<\/li>\n<li>In Filesystem options in tab Other select &#8220;Copy Full DR Image to disk&#8221;, all other options stay unselected (&#8220;Display statistical info&#8221; of course can be selected).<\/li>\n<li>In Filesystem options in tab WINFS unselect all, except: &#8220;Detect NTFS hardlinks&#8221;, &#8220;Backup share information for directories&#8221;, &#8220;Use Shadow Copy&#8221;<\/li>\n<li>Important: the backup must be done to a media formatted with 64k blocksize.<\/li>\n<li>Optional: select a data protection for the IDB other than permanent.\n<\/li>\n<\/ul>\n<p><strong>Important part from Post-exec script in 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>In article EADR with Windows 2008 R2 I described how to use Data Protector EADR for a Windows 2008 R2 server. I also described in former articles that you should be prepared when your Cell Server crashs. To be able to do EADR for your Cell Server I wrote a small script, which allows you [&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":"en","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\/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. May 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\/2011\/01\/eadr-mit-windows-2008-r2\/","url_meta":{"origin":431,"position":1},"title":"EADR with Windows 2008 R2","date":"21. January 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\/2015\/01\/eadr-tape-block-size\/","url_meta":{"origin":431,"position":2},"title":"EADR and Tape Block Size","date":"1. January 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\/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\/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\/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. June 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\/wp-json\/wp\/v2\/posts\/431"}],"collection":[{"href":"https:\/\/www.data-protector.org\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.data-protector.org\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.data-protector.org\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.data-protector.org\/wordpress\/wp-json\/wp\/v2\/comments?post=431"}],"version-history":[{"count":37,"href":"https:\/\/www.data-protector.org\/wordpress\/wp-json\/wp\/v2\/posts\/431\/revisions"}],"predecessor-version":[{"id":2851,"href":"https:\/\/www.data-protector.org\/wordpress\/wp-json\/wp\/v2\/posts\/431\/revisions\/2851"}],"wp:attachment":[{"href":"https:\/\/www.data-protector.org\/wordpress\/wp-json\/wp\/v2\/media?parent=431"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.data-protector.org\/wordpress\/wp-json\/wp\/v2\/categories?post=431"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.data-protector.org\/wordpress\/wp-json\/wp\/v2\/tags?post=431"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}