2.6. Restore to Virtual Server (With License Switch)¶
2.6.1. Restoring to Virtual Server on ECL2.0¶
This configuration guide describes an example how to restore to a virtual server on ECL2.0 by using the restoring media (boot kit) and backup those which have been created on the Arcserve installing to Windows Server 2012 R2. Especially, the contents introduce the restoring procedures made by changing to OS license provided on ECL2.0 (license switch).
For further details of license switch, please refer to 4.4 License Switch in the Enterprise Cloud 2.0 Tutorial. https://ecl.ntt.com/documents/tutorials/rsts/Image-Storage/license_switch.html
Create an image, which will be used for a license switch, on the ECL2.0 portal screen.
Select [ Virtual Server ] and click [ Image Storage ] as the picture below shows.
At the Private Template/ISO screen, click [ Create Image ].
Create an image.
Enter and select relevant information required and click [ Create Image ].
Name: Enter your preferred name.
- Image File: Prepare a dummy file those identifier is “.qcow2” in advance and specify it here.Please make sure that the memory size of the dummy file is larger than zero (0) byte because it would cause an error if the size is zero (0) byte.
Format: Select the QCOW2-QEMU emulator.
License Switch/BYOL: Select the relevant OS.
Confirm that the image created is shown on the screen.
An image required for a license switch has been created.
Create a volume which becomes a restore destination. From items of the image created above, select “Create Volume” as the picture below shows.
Create a volume which will be used as a restore destination.
Select “Create Volume” as shown below from the item of the image created above. Then,click [ Create Volume ].
- Volume Name: Enter if necessary.
- Description: Enter if necessary.
- Use image as a source: Select the image created above.
(This item should be selected if you perform license switch.)
- Size(GB): Select a size that is the same as that for the backup source or larger.
- Zone/Group: Select a suitable option for the instance intending to be created.
On the ECL2.0 portal screen, confirm that the volume named as the volume name specified above in the Volumes screen under the Virtual Server section has been applied.
A volume to be a restore destination has been created.
Create the Arcserve’s restore media (boot kit), which has been created based on another Arcserve’s function, as an image on ECL2.0. At the Private Template/ISO on the ECL2.0 Portal screen, which is placed in the Image Storage under the Virtual Server section, click [ Create Image ].
As the Create Image screen appears, enter the necessary setting items.
Enter and select the relevant information for the following items required and click [ Create Image ].
- Name: Enter if necessary.
- Image File: Select the Arcserve’s restore media (boot kit) which has been created with another Arcserve’s function).
- Format: Select “ISO – Optical Disk Image”.
Then, create a restore instance. (Please make sure that this restore instance is a temporal and created to deploy the restore image which has been created on the Arcserve for restoring. Therefore, it is different from that of the restore destination.)
Create Instance screen appears, enter necessary information for each tab.
In the Details tab, the items shown under the picture are specified.
- Zone/Group: Select an option suitable for the volume created.
- Instance Name: Enter if necessary.
- Flavor: Enter if necessary (as this instance will be used for restoring only, minimum configuration is required.)
- Instance Boot Source: Select “Boot from image”.
- Image Name: Select the Arcserve’s restore media (boot kit).
Enter necessary information in the Data Volume tab.
Select the volume created in advance (the restore destination volume).
Then, move to the Networking tab.
Select an IP address from the pull-down list of the Available Logical Networks that will be assigned to this instance, and specify the IP address at the Selected Logical Networks.
Then, click [ Create Instance ].
Confirm that the instance created above is shown on the Instance screen, which is accessible from the Virtual Server section on the ECL2.0.
After confirming the instance has been created, launch the instance. Click its name so as the Instance screen to launch.
Via the Console tab, move to the Instance Details section.
As the Instance Details screen appears, the Arcserve’s bare metal recovery screen like the picture below will be displayed automatically.
Note: From this screen, copy data from the backup file to the blank volume by using an Arcserve’s function.
Select a keyboard layout. Click [ Next ].
For a dialogue box with the message “Select type of restore source”, confirm that the option “Restore from a Arcserve Unified Data Protection backup” is selected. Click [ Next ].
On the screen below, configure a network. Click [ Utilities ] shown at the lower left of the screen, and select [ Network Configuration ].
Enter IP addresses that are assigned for the restore instance. Then, click [ OK ].
Click [ Browse ] and select “Browse from Network/Local pass”.
Enter the pass, where the restore file (backup file) is saved, in the UNC style starting with \ into the search box indicated as “Look in” directly. Then, click [ → ].
Enter User Name and Password. Then, click [ OK ].
Select the restore server folder appeared in the backup folder. Click [ OK ].
The backup file information will be display in the sample screen below. Click [ Next ].
When back to the following screen, select “Express mode” and click [ Next ].
Note: By default, Express mode is selected.
As the BMR pop-up screen appears, click [ Yes ] and [ Next ].
When the following screen appears, please wait for a while.
At the screen below, click [ OK ].
Restore starts.
Uncheck “Automatically reboot your system after recovery”. (Reboot will not be performed with this restore instance. Unchecking is made to reboot the volume that has been created on ECL2.0 upon another instance that will be created separately.)
When restore is completed, the [ Next] button will be in active. Then, click it.
The following screen will be displayed.
Click [ Next ].
NOTE: Do not click the reboot button.
When the following screen is displayed, close the Console screen of the ECL2.0 without clicking [ Reboot ]
The file which has been backed up to the blank volume created in the procedure above has been restored.
With this volume, create a new instance (restore server) based on the volume.
On the Instance screen of the Virtual Server section on ECL2.0, click [ ▼ ] shown next to “Start Instance” for showing the pull-down list.
From the pull-down list, select “Shut Off Instance”.
The temporal instance, which has been created just for this restoring action, will not be used anymore. So please delete it if necessary.
Click [ ▼ ] shown next to “Edit Volume” at the right-end of the Volume screen that controls the volume created above (the volume restored on the Arcserve) so that the pull-down list appears. Select and click “Manage Attachments”.
As the Volume Attachments screen appears, select and click “Detach Volume” to disconnect with the volume.
When the instance isn’t shut off, the volume cannot be detached.
Edit the volume created above (the volume restored on the Arcserve above.)
Click [ Edit Volume ].
At the Edit Volume screen, check “Bootable” and click [ Edit Volume ].
Create a new instance (restore server).
As the Create Instance screen is displayed, enter necessary information for each tab.
The following items are required at the Details tab.
Enter and select relevant information for the following required items and click [ Create Instance ].
- Zone/Group: Select an option suitable for the volume created.
- Instance Name: Enter if necessary.
- Flavor: Enter if necessary (the resource size which you want to restore)
- Instance Boot Source: Select “Boot from volume”.
- Volume: Select the volume restored above.
Then, move to the Networking tab to configure further.
Select an IP address from the pull-down list of the Available Logical Networks that will be assigned to this instance, and specify the IP address at the Selected Logical Networks.
Then, click [ Create Instance ].
Confirm that the instance create above is shown on the Instances screen, which is accessible from the Virtual Server section on the ECL2.0.
Via the Console tab, move to the Instance Details section.
Confirm that the OS is running properly. Then, perform necessary configuration.
Now, restoring to the virtual server has been completed.
Note: The following settings, Drivers required after restoring and License switch, are not obligation. Please perform them if necessary.
2.6.1.1. Drivers required after restoring¶
When restoring to a virtual server on ECL2.0, a VirtIO’s NIC driver will become uninstalled after the restore.
Therefore, it is essential to install necessary drivers (the NetKVM folder containing all files). Before starting a backup, please save the drivers to the backup source server.
Note: File to be downloaded is
Stable virtio-win iso: https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.iso
From the file above, download the NetKVM folder (with all necessary files).
As the example screen below shows, there is no NIC recognized when opening the Device Manager screen on the restored OS. If the driver has been saved in the backup destination, you can install it immediately after restoring so that it can be recognized. We will describe Windows Server 2008 R2 as an example.
Right-click the [ Ethernet Controller ] and select “Update Driver Software”.
Select “Browse my computer for driver software”.
Select a driver file and click [ Next ].
Click [ Install ].
Confirm that the installation has been updated properly, and click [ Close ].
Confirm that the network adopter recognize it.
●Installing “viostor”, the storage space controller
Right-click on the sever name, and select and click “Add legacy hardware”.
Welcome to the Add Hardware Wizard screen, click [ Next ].
Select “Install the hardware that I manually select from a list (Advanced)” and click [ Next ].
Select “Show All devices” and click [ Next ].
Click [ Have Disk... ].
Click [ Browse... ] and select “D:viostor2k8R2amd64viostor.inf”. Then, click [ OK ].
Confirm that “Red Hat VirtIO SCSI controller” is displayed, and click [ Next ].
Click [ Next ].
Confirm the message and click [ Finish ].
Confirm that the installation has been made completely and the storage space controller list shows “Red Hat VirtIO SCSI Controller”.
●Installing “Balloon”, the system device
Open the Control panel, and click the Hardware.
Right-click on the sever name, and select and click “Add legacy hardware”.
Welcome to the Add Hardware Wizard screen, click [ Next ].
Select “Install the hardware that I manually select from a list (Advanced)” and click [ Next ].
Select “Show All devices” and click [ Next ].
Click [ Have Disk... ].
Click [ Browse... ] and select “D:Balloon2k8R2amd64”. Then, click [ OK ].
Confirm that “VirtIO Balloon Driver” is displayed, and click [ Next ].
Confirm that the “Hardware to install” section shows “VirtIO Balloon Driver”, and click [ Next ].
Confirm the message and click [ Finish ].
Confirm that the installation has been made completely and the System Device list shows “VirtIO Balloon Driver”.
2.6.1.2. License switch¶
If you need a license switch, it is necessary to configure on the restore destination’s virtual server as well as to create the image performed above. For further details, please refer to the following website:
- 4.4.License Activation (https://ecl.ntt.com/en/documents/tutorials/rsts/Image-Storage/license_switch.html)