Attention: The information presented on this page is out-of-date. In order to get the most actual info on StarWind products, please visit the following page.
The content here seems to be out-of-date. To get the latest info, please visit the following page


StarPort iSCSI and ATA-over-Ethernet Initiator: Using Mirror (RAID-1) disk device

Introduction

StarPort Mirror device is a virtual RAID-1 array based on 2 independent disks(mirrors), the data is written simultaneously on both mirrors what makes the device fault tolerant and protected from data loss in cases of hardware or software fault, network faults and power loss.

Using StarPort you can build a mirror (RAID-1) device based on a wide variety of devices and sources. Targets can be Local, iSCSI and FC (FCoE and AoE in upcoming version) in any combination. In the event of the failure of the Primary mirror the duplicate copy of all data maintained on the secondary mirror and  can be used without any downtime. If needed, the broken mirror can be hot swapped without downtime.

d01

Diagram 1. illustrates the RAID-1 based on 2 remote targets.

d02

Diagram 2. Illustrates a RAID-1 built using one local image file device and a remote target.

Installation and configuration

Open StarPort console by double clicking the StarPort icon in the system tray.

01

Press the Add Device button to continue.

The installation wizard window will appear.

02

Press the Next button to continue.

Select RAID-1 device option.

03

Press the Next button to continue.

Select Create new device option or Mount existing device to mount the device you have created before.

04

Press the Next button to continue.

Specify a meaningful device name and its size in megabytes.

05

Press the Next button to continue.

Specify first mirror options, the mirror can be any local virtual disk of sufficient size. In case the mirror is a remote iSCSI device you have to specify target server's IP address and then select the virtual disk from the list. If the desired disk is not appearing in the list click the Refresh button.

06

Press the Next button to continue.

Specify the second mirror disk location the same way as the first mirror.

07

Press the Next button to continue.

Select the initialization method for your RAID -1 device

08

Press the Next button to continue.

You have successfully  installed the RAID -1 device.

09

Press the Finish button to close the wizard window.

After closing the wizard window the StarPort console will look similar to the screenshot below.

10

Close the StarPort console.

Open computer management by going Start -> Administrative Tools -> Computer Management.

In the Computer management window select Storage -> Disk Management

An Initialize Disk Window will appear.

11 Click to enlarge

Press the OK button to continue

Right click on the new volume and select the New Simple Volume... option.

12 Click to enlarge

A New Simple Volume Wizard will appear.

13

Press the Next button to continue.

Specify the Volume size in megabytes.

14

Press the Next button to continue.

Assign a drive letter or path to the new volume.

15

Press the Next button to continue.

Specify the format options for the new volume.

16

Press the Next button to continue.

Review the settings you have selected for the new volume, Press the back button if need to make any changes.

17

Press the Finish button to close the wizard.

After Closing the New Simple Volume wizard you will see that the new volume is formatted and ready to use.

18 Click to enlarge

Replacing failed mirror

Right click on the device and select Properties, go to the Device status tab.

The device properties window shows that the both mirrors are valid and synchronized.

20

Press the OK button to close the window.

If active mirror fails, StarPort automatically switches to the second one. As a result - no system downtime.

21

Press the OK button to close the window.

When  one of the mirrors fails the device icon looks like on the screenshot below.

22

Device status shows the detailed information about which mirror has failed and the synchronization status.

23

The failed mirror can be replaced with a healthy one in this way:

Right click on the device.

Replacement of the mirror1

Select Change passive mirror option.

Mirror replacement wizard window appears.

Specify the address where the replacement mirror is stored or create a local image file of a sufficient size.

26

Press the Change button to continue.

StarPort informs that the passive mirror is replaced and needs to be synchronized.

sync request

Press the OK button.

You will be prompted if you wish to start synchronization process. During the synchronization the disk will be accessible and functional.

sync ask

Press the OK button to start synchronization.

StarPort will inform you that the synchronization process has finished.

30

Press the OK button.

The device is now shown as synchronized.

31

Manually switch active mirror and perform synchronization

In case the remote server storing the active mirror needs to be rebooted or disconnected from the network you can manually switch the active mirror to prevent the data loss and mirror desynchronizing.

In the StarPort console right click on the mirror device.

switch sel

Select Switch active mirror menu item and choose the second mirror as active.

StarPort console will inform that active mirror has been changed.

switch ready

Optionally select Synchronize popup menu item. Passive mirror will be synchronized with the active one.

Remember that on previous step we have switched active mirror to the second one. So by selecting Synchronize popup menu item first mirror with be synchronized with the second one that is active.

Right click on the device.

sync opt

Select the Synchronize menu item.

You will be informed about the synchronization status.

Copy of sync finish

Recreate RAID-1 device with 1 existing mirror

Open the New device installation wizard.

02

Press the Next button to continue.

Select RAID-1 device from the list.

03

Press the Next button to continue.

Select Create new device menu item.

04

Press the Next button to continue.

Specify the device name and size in megabytes.

36

Press the Next button to continue.

Specify existing mirror as the first one. By default first mirror is active.

37

Press the Next button to continue.

Specify new mirror as the second one. By default second mirror is passive.

38

Press the Next button to continue.

Choose Synchronize mirrors data. Passive mirror will be synchronized with the active one.

39

Press the Next button to continue.

Wizard informs that the device has been successfully created.

40

Press the Finish button to close the wizard.

You will see the new disk in the StarPort console.

41

Please fill out the form below to download the product. An installer link together with the license key will be sent to the e-mail address that you’ve specified. You may check the Free vs. Paid document if you are unsure about which StarWind Virtual SAN version you would like to try. Aside from this, there is a totally unrestricted NFS (Not For Sale) version of StarWind VSAN available for certain use cases. StarWind Virtual SAN for Hyper-V release notes are available here.