Server Cloning using Symantec LiveState Recovery Print E-mail
Written by Richard Thompson, Monday, 09 October 2006

This past week my Citrix farm suffered 2 servers crashing from what looked like malicious damage to the server and using a product by Symantec called Live State Recovery we were able to recover both servers in under 2 hours. As a result of this I thought I would write a How to as well as a review on the product.

So here is the situation, you have a fairly large Citrix farm and a server fails. Your servers are pooled with certain servers hosting certain applications.

. Start by installing Symantec Live State recovery onto the Citrix server which you would like to clone.

Creating the recovery point

Once the console is installed and you have activated your license code launch the application. Being a System Administrator the first thing I do is click Advanced view in Task pane on the top right hand side of the screen. 

Right click on the System drive and select Create Recovery Point

A Welcome to the Create Recovery Point Wizard will then come up. It only really gives you 2 options, Next and Cancel! No prizes for guessing which the correct option is.

You will then be prompted to select the drives which you would like to include in the recovery points. As a rule I install all my applications onto the servers C Drive and then the D Drive is reserved for page files and my temp files. Using my configuration I simply select the C Drive and click next, however you can select as many drives as you need.

You are then prompted to type a location for the recovery point to be saved to. Your location will need to have more free space available than the amount of used space on your source drive. In this case I am using a local drive (E:) to save the image to and I name them by month. Generally speaking your Citrix Server will not change all that often. Personally I like to create an image after completely installing and testing my first server in a farm and then just loading this image on all subsequent machines. It is also extremely beneficial to make a restore point before installing any Software or making a system change. It takes around 10 – 15 minutes to make the image and can save you several hours if an application takes your server down.

You can save the image to a network share, unc path or a local drive. If you use a network location be sure to enter valid network credentials into the network credentials dialogue box.

Next you will see compression options. Compressing your restore point can save some space, BUT you must remember it will take a little longer to make the restore point as well as a little longer to restore this because of compressing and decompressing the image. Storage is one thing that we can get our hands on pretty cheaply these days so I would recommend leaving this setting on Standard.

The option to verify the recovery point is available at this time. Verifying the recovery point is a handy way of ensuring your recovery point is a good, error free recovery point. This option does cause the creation of the recovery point to take a little longer than without however if it is a scheduled task or one which you are deploying a new farm it is worth doing.

You will notice an advanced button, this gives you the option to password protect your recovery point, divide it into smaller pieces, ignore bad sectors and disable smart sector copying. For most cases you will leave this as is without modifying any options 

The next screen give you options to run command files during the process. Personally  I’ve never used these command files before but I am sure they can be pretty useful. 

Clicking Finish will start the Creation of the recovery point, you will see the following Progress and Performance window appear. In the case of a new farm you will want to set the performance to fast because you wont have people logged on and working on your server. If a server has gone down and you need to recover by taking an image and restoring or before replacing a hard disk or other online maintenance you will most likely want to drop the performance down a little so that your end users don’t notice a slow down in performance and start calling to complain. This is done by simply moving the Performance bar left or right.

Restoring the recovery point

Insert the bootable Symantec LiveState Recovery disk into the servers CD Rom drive and restart the server.

When prompted to Press any key to boot from CD Rom, Press any key. You will notice a screen similar to the initial Windows screen which reads Starting Symantec Recovery Disk. On certain systems this may appear to hang, this is normal and you should just leave it as eventually it will boot correctly.

You will then be prompted with a License Agreement screen. Read the license agreement and then click Accept to proceed.

A prompt will then appear asking whether you would like network support or not. If you do not select anything after 10 seconds LiveState Recovery will automatically enable networking support. Personally I always enable networking support because you can map network drives, verify connectivity to other systems, etc.

If your Image is located on the network you need to follow the following steps:
  • Select Network from the Task list on the left hand side of the screen.
  • Click Map a Network Drive from the list of available tasks
  • A screen similar to the one below will appear
  • Type in the server name and share name and click Finish
  • You should then be prompted for a username and password, here you can use either a domain username in the format DOMAIN\Username or a local Username. Once you enter the credentials click OK. The window will now disappear without any information of the drive being successfully mapped.

Click on the Recover option from the Task List on the left hand side of the screen. You will be given 2 options for recovery. Either Recover drives or recover files and folders. For the most part you will be recovering drives because quite often your initial image will not have been created on the system you are recovering and recovering system files to a different server is not always a very good idea.

For the purpose of this document which is aimed at imaging a server we are going to select to recover drives.

You are now prompted with 3 more options. These options are Recover a single drive, Recover Multiple Drives and Recover Multiple Drives using an index. Ultimately the second and third options do the same thing with the latter being a little quicker as it can use the index file.

For the most part you will only be looking to restore your system drive, in which case you will select Recovery single drive.

The next screen will present an option to select a recovery point. Click Browse and browse to the location which you saved your recovery point to. Here you can chose local drives or mapped network drives using the drop down boxes. Click on the v2i file and click open. You will then be returned to the Recovery point to restore window. The list box underneath the text box will display various bits of information about the recovery point.

The next window you see will be the recovery destination window. Select the destination drive to restore to.

You are now presented with a variety of recovery options. The options are discussed hereafter.

  • Verify recovery point before restore will examine the restore point which you select and verify its integrity prior to restoring it. This option will slow down the restore process but if you are doing a DR deselecting this checkbox will save you a few minutes which could potentially save your organization a lot of money.
  • Check for file system errors after recovery is pretty self explanatory. It will perform the restore and then scan the entire file system will be scanned to ensure consistency and integrity.
  • The next checkbox, resize drive to fill unallocated space will be available if the volume you are restoring to is unformatted. It will take your 10 or 15GB image and restore it to use the full amount of disk space.
  • The next checkbox is a very important option, Set drive active. If you are restoring your system or C drive you need to set the drive as active in order for your system to boot from this drive.
  • Restore original disk signature is selected by default, I am not 100% sure what this option does, but it is on by default and every restore with it selected has succeeded so my advice is leave it selected.
  • Restore MBR, if your Master boot record has become corrupt or destroyed by a virus you will want to restore this from the good copy. If your MBR is not corrupt there is no need to restore it.
  • Preserve domain trust token on destination is also selected by default and is also a recommended option. My advice would be leave this selected. If you are restoring to a different server you are going to run sysprep afterwards anyway and if you are restoring to the same server then you will need to retain domain trust tokens.

You are not presented with a summary screen. Review your selections now and make sure you are 100% sure you have selected everything correctly. For the purpose of this document we are restoring this image to a different server so my next advice is really important, DO NOT SELECT Reboot when finished.

Your restore will now complete. Once your restore has completed and the server is waiting to be rebooted unplug all network cables. Failing to do this will result in duplicate names and IP Addresses appearing on your network which may cause users on the original image server to be disconnected.

Once you machine has rebooted and you are logged on to Windows using an account with administrative privileges. Launch a command prompt window and type sysprep. A warning dialogue will be displayed explaining that running sysprep can modify your system security.

A system preparation application will then appear, select the option to Reseal which will cause the system to be reconfigure, this includes regenerating a new SID, changing system names and IP addresses, etc.

Change the shutdown mode to reboot and click OK. You will then be notified that you have chosen to regenerate security identifiers on the next reboot.

You will see a block on screen saying Sysprep is working. This will take anything from a few seconds to a few minutes based on the speed of the server. The server will then reboot automatically.

You will then see something similar to the standard Windows setup wizard. Ensure you change the name of the server as well as set the correct IP Addresses. You will also be prompted to enter a new admin password. Once this process completes you can plug your network cables back in.

You may receive an error preventing you from logging on to an Active Directory domain. Verify that the servers computer account is enabled. In most cases this will be disabled and you will simply need to right click on the account and select Enable account. If you still have a problem after enabling the account simply disjoin the server from the domain and rejoin this to the domain.

You will now have a fully functional server which was restored from an image in around 20 minutes.

This action was performed using Symantec LiveState Recovery 6.5.

Note: Datacrash.net cannot be held responsible for any damage caused to servers as a result of server imaging.

Comments
Add NewSearchRSS
WoW Gold - WoW Gold Unregistered | 2008-09-07 16:22:33
we offer cheap wow power leveling service,wow power leveling,Cheapest WoW Gold,fast and secure service.This is the method the wow power leveling have used since closed beta wow power leveling and I finally got one of WoW Gold them to give it up. It is by no means WoW Gold the way to go if you want to maximize your wow gold in the game as this wow gold will bypass almost all the content in the game and wow gold essentially ignore many of the fun, unique aspects of World Of Warcraft gold This is not recommended for new players and is meant for players World Of Warcraft gold who already have experienced World Of Warcraft gold the content and just want to level up an alt to play World Of Warcraft gold with their level 60 friends (WoW Gold your level 60 instance group needs a priest and WoW Gold there are no priests to be had).wow power leveling As a benchmark to how successful you are with this, WoW Gold download cosmos (Cosmos) and useWorld of warcraft Power Leveling,World of warcraft Power Leveling,wow power level,wow power level,wow power level,ffxi gil,ffxi gil,ffxi gil,ffxi gil,final fantasy xi gil,final fantasy xi gil,final fantasy xi gil,final fantasy xi gil,guildwars gold,guildwars gold,guild wars gold,Maple Story mesos,MapleStory mesos,ms mesos,mesos,SilkRoad Gold,SRO Gold,SilkRoad Online Gold,eq2 plat,eq2 gold,eq2 Platinum,EverQuest 2 Platinum,EverQuest 2 gold,EverQuest 2 plat,lotro gold,lotr gold,Lord of the Rings online Gold,everquest plat,eq2 plat,eq2 gold,everquest platinum,rs gold,Pet products,dog bed,pet supply,pet product,Dog Collar,Dog carrier,Dog Clothes,silkroad gold,wow cd key,world of warcraft cd key,lineage2 cd key,Chinese Tea,Green Tea,China Tea,Black tea,Oolong Tea,White tea,Herbal Tea,Jasmine tea,Chinese Tea,Green Tea,Childrens Clothes,Childrens clothing,Baby Clothing,Baby Clothes,newborn clothes,infant clothes,boys clothes,
Anonymous Unregistered | 2008-11-10 08:28:15
zhanghe Welcome to our wow Gold and store. We are specilized, professional and reliable website for selling and service. By thewow goldsame token,we offer the best WoW service for our long-term and loyal customers You will find the benefits andwow power leveling value we created different from other sites. As to most people, they are unwilling to spend most of the time grinding money for mounts or repair when they can purchase what they are badly need. The only way is to look for the best place towow gold buy cheap WOW gold. Yes! You find it here! Our WoW Gold supplying service has already accumulated a high reputation and credibility. We have plenty of Gold suppliers, which will guarantee ourwow powerleveling delivery instant. Actually, we have been getting tons of postive feedbacks from our loyal customers who really appreciate our service.
Write comment
Name:
Title:
UBBCode:
[b] [i] [u] [url] [quote] [code] [img] 
 

Powered by JoomlaCommentCopyright (C) 2006 Frantisek Hliva. All rights reserved.Homepage: http://cavo.co.nr/

 
< Prev   Next >