Saturday, October 5, 2019

Data Migration/Files and Folder Migration using Double-Take Move

In this post we will look on how to perform a Files Folder migration using the Double-Take Move – 8.2.0 (latest Version).



Assumptions:

  • A separate server (jump server) with Double-Take console installed and configured.
  • Source server is licensed and activated for DT migration.
  • Double-Take Move is installed and configured in the source server.
  • Only Specific Pre checks have been mentioned here, however we also need to make sure all other generic pre checks are done before the migration.

Pre Migration Checks:

It is very much important we capture the details from the source server and it needs to validate with the target before the migration initiation.

Below details should be captured for successful migration –
  • Disk Storage details.
  • Number of partitions for each disk.
  • Size of each disk must be equal or greater than source server.
  • .Net 4.5.1 is installed in the source/target server.
  • Target server built with OS/Patches/Updates/Applications installed and pre-configured.

Migration Steps:

Open the Double-Take Move console and add the source server and target server manually by entering the required credentials.






















Right click on your source server and click install to push and install the Double-Take setup to the source server required for migration.
Note: Uncheck the option Reboot automatically if needed to prevent unwanted reboot.


































Once the installation is completed the source server in the console will reflecting the status as “IDLE”.



Now select the source and click on Migrate.




























Now select the migration type as Files and Folders Migration.
Note: In the replication rules, you can choose to include/exclude files and folders as per the requirement.




























      In the next screen choose your target server and click next.























In the next screen you will see the Job Options.




























Now make appropriate changes to each options as per your requirement in the above options.
Note: Under the Path Mapping, you need to click on the button one to one and you need to map each source disk to the target disk one by one. [This is very important step].












      Click Next.



























       
   
In the summary screen the Double-Take will make a pre-validation of the checklist item. If everything is fine, you will get a green check box across. If any errors found, you need to fix it to proceed.

Now click Finish.






























Wait for the synchronization to complete.



Once it completes, you can check the Activity column will display – Protecting and Mirror Status – Idle. Now we are ready for cutover.

Cutover Process:

Once the replication is completed, with Activity as Protecting and Mirror Status as Idle in replication queue, we can start the cutover process.

Take all the application/databases/services to offline state. (Note: It is advised to perform this step prior to migration if we doing cutover immediately)

Double check the replication queue shows 0 bytes pending.

Initiate the Cutover from DT Console. Select the migration job and click Failover/Cutover.



In the Failover/Cutover window select the “Apply data in the Target queue” from the dropdown window and choose cutover.

clip_image024_thumb1

Once the cutover is completed, the Activity will change to “Failed Over” status.













     With this we have successfully migrated the server and performed the cutover.

Proceed with your post migration activities, reboot the server and release the server for testing.




Friday, July 5, 2019

DoubleTake/Carbonite Linux Agent Install

DoubleTake Linux Agent Install:

Below are the steps to install the DT agent in the source server manually.  We can follow this process whenever the push install is not working and if the ports are blocked from the console server to the source server.

  • Copy the DT agent DoubleTake-8.2.1.75.0-1.x86_64.rpm to the source server using scp or winscp to /tmp/ folder or (whichever folder is your target).
  • Navigate to the target folder.
    # cd /tmp
  • Install the DT agent file.
    # rpm -ivh DoubleTake-8.2.1.75.0-1.x86_64.rpm
  • Once the installation is completed, we need to setup the DoubleTake.
    • Run the command DTSetup
      # DTSetup
    • Accept the License Agreement. Press ENTER to view the complete agreement.
    • Press Q and Type YES to accept the agreement.
    • Press 2 – To Start/Stop Double-Take daemon
    • Press 1 – To Start Double-Take and process driver config
    • Now we can see the DT process and Modules are running.
  • Now exit from the menu by pressing Q twice.

Once the agent is installed and configured, we can validate the status by:
# service DT status
# service DTMount status


Now, we can start the sync process without any issues.


Sysprep Tool

Sysprep (System Preparation Tool) is Microsoft's Tool for operating system deployment used to generalize the windows installations.  When you clone a server or deploy from a template, Sysprep needs to be executed to remove the unique identifiers duplicated from the base server/template.  With Sysprep we configure Windows to boot to the Out-of-Box Experience (OOBE).

Windows operating system installations include many unique elements per installation that need to be "generalized" before capturing and deploying a disk image to multiple computers. Some of these elements include:

  • Computer name
  • Security Identifier (SID)
  • Driver Cache
  • GUID

To Run Sysprep via GUI:

  • Navigate to C:\windows\system32\sysprep folder and click on Sysprep.exe


  • Select the Out of Box Experience and check the Generalize option.
  • Choose the Shutdown Option to Reboot (always).


  • Wait for the process to complete and the Windows will reboot.
  • Now select the Win Location/Keyboards defaults and Accept the license Agreement.
  • Once the Windows boots, the ServerName will be reset.  You need to change it to the required name and join the server to your domain.
  • RE-IP your NIC cards.
  • The disks might go offline (if you have other partitions than C:).  Go to the disk management > right click on each disk > click online.

To Run Sysprep via command line:
Open a Command Prompt window as an administrator. Change to the C:\windows\system32\sysprep directory. Type:




Command
Description
  Sysprep /generalize /shutdown /oobe  Standard command for real hardware  
  Sysprep /generalize /shutdown /oobe /mode:vm     Command for a Virtual Machine