Replicating 1 drive between 2 servers in different sites

Software-based VM-centric and flash-friendly VM storage + free version

Moderators: anton (staff), art (staff), Max (staff), Anatoly (staff)

Post Reply
sharapov
Posts: 8
Joined: Mon Aug 18, 2014 6:39 am

Fri Feb 13, 2015 10:44 am

We have 1 Hyper-V Host server installed in primary site and 1 Hyper-V Host server installed in DR site. (see attached diagram)
Bothe sites are connected via Site-to-Site VPN. Each site has different subnets.
Hyper-V server host in Primary site has 2 NICs. NIC 1 has IP 192.168.1.10 NIC 2 has IP 10.10.10.4
Hyper-V server host in DR site has 2 NICs. NIC 1 has IP 192.168.2.10 NIC 2 has IP 10.10.11.4
Both servers can ping each other using all IPs.
StarWind virtual SAN v8 is installed on both Hyper-V Hosts.
Hyper-V Host in primary site and Hyper-V Host in DR site each have 1 Guest Server installed. On Each Guest Server Application is installed on C: partition and database is installed on F: Partition. Size of Database is very small (less than 50 GB.)

Question: Can F: partition replicate between 2 servers using StarWind software. If yes what is needed and how can it be setup? Will free version of Starwind SAN be sufficient to achieve that?

Image
User avatar
anton (staff)
Site Admin
Posts: 4010
Joined: Fri Jun 18, 2004 12:03 am
Location: British Virgin Islands
Contact:

Fri Feb 13, 2015 2:39 pm

StarWind does not replicate partitions or whatever. We're virtual storage with a very flexible back end. So you may "chunk away" some space on a local hosts (images on a file system preferred, raw partitions are also OK but less desirable) and create virtual distributed iSCSI LUN from them. Then you place CSV on top of it and then you put your shared VHDX on that CSV. Back to a geo-clustered scenario: you need to have a) juicy and b) redundant links between sites to avoid brain split and performance issues. If you have at least 1 GbE between them (+ some lower bandwidth but also low latency network for "pings") you'll be able to setup a config like you have on your pic. Hope this helped :)
Regards,
Anton Kolomyeytsev

Chief Technology Officer & Chief Architect, StarWind Software

Image
sharapov
Posts: 8
Joined: Mon Aug 18, 2014 6:39 am

Fri Feb 13, 2015 6:56 pm

Hello Anton,

Thank you for your reply. As there step by step instructions somewhere that will help me achieve what you are describing. I read manual, watched videos and tried to setup virtual drive, but wasn't able to.

We have 100Mbit pipe between 2 sites. I know this is not ideal, but for DR site it should be sufficient.

Also, will free version of Starwind's virtual SAN be sufficient for what I'm trying to achieve or we need paid version?

Thank you
User avatar
Anatoly (staff)
Staff
Posts: 1675
Joined: Tue Mar 01, 2011 8:28 am
Contact:

Mon Feb 16, 2015 5:30 pm

Hi!
Well... 100 Mbps channel is not enough for synchronous replication. Is there any way to get faster link into the play?
Depending on the answer you need to go with synchronous or asynchronous replication.
Please note that free license covers only synchronous replication.
Best regards,
Anatoly Vilchinsky
Global Engineering and Support Manager
www.starwind.com
av@starwind.com
sharapov
Posts: 8
Joined: Mon Aug 18, 2014 6:39 am

Mon Feb 16, 2015 5:52 pm

Hello Anatoly,

Unfortunately we can't increase speed of the channel at this time. On the good side database that we want to synchronize is very small (less then 50 Gb) and that database is growing very slow. So I want to setup replication between 2 sites just to see if it will be even possible. So even if it will be very slow, but working, I still want to try it just as a proof of concept. We got full license for now just to see if it will work. So if you can provide steps on how to achieve what Anton have described in your first reply, I will really appreciate it.
User avatar
Anatoly (staff)
Staff
Posts: 1675
Joined: Tue Mar 01, 2011 8:28 am
Contact:

Fri Feb 20, 2015 12:40 pm

Gotcha. Thank you for clarification. OK, try that out please:
http://www.starwindsoftware.com/technic ... Server.pdf
Best regards,
Anatoly Vilchinsky
Global Engineering and Support Manager
www.starwind.com
av@starwind.com
sharapov
Posts: 8
Joined: Mon Aug 18, 2014 6:39 am

Sat Feb 21, 2015 6:22 pm

Hello Anatoly,

Thank you for the link to the article. It was very informative, but still doesn't provide any steps on how to achieve what we are trying to do. Can you help?

Thank you
thefinkster
Posts: 46
Joined: Thu Sep 18, 2014 7:15 pm

Mon Feb 23, 2015 2:06 pm

If you're just trying to do an HA setup over WAN (that is not at least 1gbps); then just setup the replication partner and point it to your DR site node as if it is local. Either it works or it doesn't. You can check your StarWind logs to see if there are any issues with timing, etc.

Did you need the step-by-step for doing an HA partner node?
sharapov
Posts: 8
Joined: Mon Aug 18, 2014 6:39 am

Tue Feb 24, 2015 10:47 pm

hefinkster,

If you can provide step by step instructions how to setup HA partner nodes, I'd greatly appreciate it.
User avatar
Anatoly (staff)
Staff
Posts: 1675
Joined: Tue Mar 01, 2011 8:28 am
Contact:

Fri Feb 27, 2015 4:17 pm

Here is the Quick Start guides about create HA:
http://www.starwindsoftware.com/quick-s ... irtual-san
http://www.starwindsoftware.com/quick-s ... irtual-san

And here is the instruction of how to add DR node:
Currently, we do have the following whitepaper describing the Asynchronous replication:
http://www.starwindsoftware.com/asynchr ... eplication
The process of configuring the asynchronous replication is available as a step-by-step guide in the StarWind Management Console help section: StarWind functionality\Replication\Asynchronous replication.
The asynchronous replication in StarWind V8 uses a journal on the primary node to form and replicate snapshots of the primary site to the secondary site.
The LU snapshots can be configured using StarWindX (PowerShell Management CLI).
The Snapshot Scheduler wizard is going to be introduced in the StarWind Management Console with the next minor update scheduled for mid-October.
In the event of primary site failure accessing the data on the replica server is performed using the steps below:
1. Select the replica device and right click on it, select the Snapshot Manager menu item.
2. Select the snapshot you would like to mount and press the Mount button.
3. Using iSCSI initiator, connect to the replica device.
4. View the contents of the replica using Windows explorer or vSphere Browser, depending on the client OS/Hypervisor used.


Please note that the replica snapshot can only be mounted in a read only mode. In order to launch the VMs contained in the snapshot they have to be copied to a different disk/datastore.
Best regards,
Anatoly Vilchinsky
Global Engineering and Support Manager
www.starwind.com
av@starwind.com
Post Reply