Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Once all searches have been repopulated, it´s time to test your DAM


How to Copy the Production Storaged disk to the test server in Azure.

Steps:

  1. Take a snapshot of the Production storage disk: (must be managed disks)
  2. Create a new disk from the snapshot (must be created in the test resource group)
  3. Remove the current storage disk from the test app server
  4. Mount the newly created storage disk on to the test app server
  5. RDP onto the test server and use disk management to ensure the disk is present and online.

Commence the database restoration process


Login to the Azure portal and search for virtual machines

Image Added

Select the production app server 

Select disks

Image Added

Select the storage disk, which will be a standard hdd of at least 1TB is size

Image Added

Select Create Snapshot

Image Added

Create the snapshot in the Test resource group, ensure the snapshot is a standard hdd and give the snapshot an easily recognizable name

Image Added

Click Review + Create, Once validation is passed then click create

Image Added

Once the deployment if finished click Go to resource

Image Added

Now click Create disk

Image Added

Ensure the resource group is the test resource group, give the disk a name and change the type to standard hdd by clicking on Change size

Image Added

Change the type to standard hdd and click OK

Image Added

Click Review + Create and after Validation is passed, click Create

Image Added

After creation click Go to resource

Image Added

And check all is as it should be, correct resource group, size, type and unattached.

Image Added

The next step is to attach the newly created disk to the test app server. Browse to the test app server in the azure portal and select disks.

Image Added

Remove the current storage disk by clicking on the X and click save.

Image Added

Once the virtual machine has been updated, you can now attach the newly created Production storage disk to the test app server by clicking Attach existing disks and selecting the disk from the dropdown box, ensure the host caching matches the other disks and click save

Image Added

Once the virtual machine is updated, we are ready to logon to the test server over rdp.

Once logged into the server open an mmc console by clicking on the start button and typing mmc

Image Added

After the console has opened we need to add the disk management snap in, click File, Add/Remove Snap-In

Image Added

Then select Disk Management and click Add

Image Added

Ensure This computer is selected then click Finish

Image Added

Then click OK, next double click on Disk Management (Local)

Image Added

Ensure the disk is online and healthy, once confirmed you can close the mmc console

Image Added

It important to check that the SQLDATA & SQLLOGS have the same drive letters as production, if now SQL will not load until this is rectified. (Drive letters can be changed using Disk Management)

Now we are ready to commence with the database restoration process.

How to Copy Assets from Production to Test using FTP.

...