Starwind Free - Powershell Add Another Replication link

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

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

Post Reply
Rosario
Posts: 2
Joined: Sat Jul 18, 2020 4:05 pm

Sat Jul 18, 2020 4:14 pm

Hi,

Just a question. I have setup Starwind Free version for someone (2-Nodes). It works great and I have used the included PS scripts to configure everything.
I have initially created 2 HAImages with Synchronous Replication to use 2 Nics.

Would it be possible to add another NIC (3rd) one to the existing replication partners - - How do I go about that please. Very easy to do using GUI :) , but not sure about the PS commands?

Thank you.
yaroslav (staff)
Staff
Posts: 2345
Joined: Mon Nov 18, 2019 11:11 am

Sat Jul 18, 2020 4:37 pm

Greetings Rosario,

Welcome to StarWind Forum!
It is necessary to modify headers for the HA devices to which you want to add the sync link.
What you need to do is just adding one more "data" (if you want to add synchronization link) link or "control" one (if it is a heartbeat link) with the unique ID to _HA.swdsk files.
Find this section in the _HA.swdsk

<links>

<link id="1" type="data" priority="1" connections="1">

<peer ip="172.16.1.1" port="3260"/>

</link>

<link id="2" type="control" priority="1" connections="1">

<peer ip="172.16.2.1" port="3260"/>

</link>

<link id="3" type="control" priority="1" connections="1">

<peer ip="10.50.160.20" port="3260"/>

</link>

</links>

and add more "data link" please note that you are to add the partner IP address.

<links>

<link id="1" type="data" priority="1" connections="1">

<peer ip="172.16.1.1" port="3260"/>

</link>

<link id="2" type="control" priority="1" connections="1">

<peer ip="172.16.2.1" port="3260"/>

</link>

<link id="3" type="control" priority="1" connections="1">

<peer ip="10.50.160.20" port="3260"/>

<link id="4" type="data" priority="1" connections="1">

<peer ip="172.16.3.1" port="3260"/>

</link>



</link>

</links>

Here is the procedure

1. In the StarWind Management Console, check that all StarWind HA devices have the “Synchronized” status on all servers;
2. Check that all datastores have active paths from all StarWind servers (for clusters based on VMware vSphere);
3. Move all Cluster resources (VMs and roles) from the server, which is going to be restarted;
4. Disable StarWind service.
5. Copy the existing _HA.swdsk file.
6. Do the change I mentioned above.
7. Wait until the StarWind VSAN service starts and the synchronization process finishes;
8. Check that all StarWind HA devices have the “Synchronized” status on all servers;
9. Check that all datastores have active paths from all StarWind servers (for clusters based on VMware vSphere);
10. Repeat the above steps for any other server
Rosario
Posts: 2
Joined: Sat Jul 18, 2020 4:05 pm

Sat Jul 18, 2020 4:44 pm

Thank you very much for you help! I really appreciate it!
yaroslav (staff)
Staff
Posts: 2345
Joined: Mon Nov 18, 2019 11:11 am

Sat Jul 18, 2020 5:19 pm

Rosario,

You are always welcome. Please let me know if any additional assistance is required :)
Post Reply