Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 15 Next »

Configuring SnapReplicate™

Having prepared the environment on both SoftNAS on AWS instances, we can now set up high availability. The first step towards high availability in SoftNAS is to establish replication. SnapReplicate™ makes this as simple as completing a quick wizard.

  • On the Primary SoftNAS Instance (Source Controller) navigate to SnapReplicate/SNAP HA in the Storage Administration pane.

  • Click the Add Replication button located in the Replication Control Panel.

The Add Replication wizard will appear.

  • Read the Instructions and click the Next button.

  • Enter the IP address of the secondary SoftNAS instance (Target) in the IP address text box.  This is the network path that SnapReplicate™ traffic will take.

  • Once done, click the Next button.


The source node must be able to connect via HTTPS to the target node (similar to how the browser user logs into StorageCenter using HTTPS). HTTPS is used to create the initial SnapReplicate configuration.

Next, several SSH sessions are established to ensure two-way communications between the nodes is possible. When connecting two Amazon EC2 nodes, it is best to use the internal instance IP addresses, as traffic is routed internally by default between instances in EC2. 



If you have not yet done so, the Security Group on each instance should be configured with the internal IP addresses of the paired instance (the source instance should recognize traffic from the target instance, and the target instance should recognize traffic from the source) to ensure both HTTPS and SSH traffic between instances is recognized.

See Configuring Security Groups to learn more.

  • Enter the username of the target instance in the Remote admin user ID text box.

    The username should be softnas.

  • Enter the password of the target instance and verify in the appropriate text boxes.

    The password will be the Instance ID by default unless changed.

  • Once done, click the Next button.

  • Read the final instructions and then click the Finish button.

The SnapReplicate relationship between the two SoftNAS controller nodes will be established. The corresponding SyncImage of the SnapReplicate will be displayed.

After data from the volumes on the source node is mirrored to the target, once per minute SnapReplicate transfers keep the target node hot with data block changes from the source volumes.

The tasks and an event log will be displayed in the Replication Control Panel section. This indicates that a SnapReplicate relationship is established and that replication should be taking place.

Configuring SNAP HA™

SnapReplicate™ establishes a replication relationship, one that can be manually triggered or scheduled, but is not automated. For true high availability in a failover situation, SNAP HA™ must be configured as well.

To configure SNAP HA™, complete the SNAP HA wizard, beginning by clicking Add SNAP HA™.

Configuration of SnapReplicate™ is a prerequisite to setup of SNAP HA™.  If SnapReplicate™ is not configured, the Add SNAP HA™ button will be grayed out.

If you have not yet configured a notification email, the opportunity to provide one will be presented prior to continuing SNAP HA™.

  • Provide an email address for support reports and logs to be sent to,
  • Click OK.

  • Click Add SNAP HA™ once more if the prompt for an email notification occurred. 

The Add High Availability wizard will begin.


  • Provide a Virtual IP address.
  • Click Next to continue. 

This is a human-configured IP address (you choose the IP), and can be any IP address that falls outside the CIDR block of the IP addresses of the two SoftNAS HA paired nodes.

  • Provide the administrator credentials if prompted. However, in most cases, your IAM policy will handle this. 
  • Click Next to continue.

  • Next, we can fine tune our HA deployment. 

  1. You can determine the max number of retries before your virtual machine fails over.
  2. You can determine the max time (in seconds) that storage can be unavailable before a failover is triggered.
  3. You can also set a default for max ioping request time, to ensure that a failover is triggered more quickly in event of failure.
  4. Finally, you can determine the behavior of the failed node during a failover. 
  1. Reboot - this is the default option, allowing for quicker recovery and re-establishment of high availability, as the failed node will reboot, and SNAP HA will be reactivated, with the original node set as secondary.
  2. Shutdown - The failed node will remain shut down. You will need to reboot the instance manually to re-establish high availability. 
  3. None (No action taken) - This option is only for debug or support use. The failed node will remain in its current state. 
  • Click Next to continue.


  • Click Install to begin the HA installation.

  • Click Finish once the process completes. 


 

At this point the SoftNAS product will do all of the heavy lifting that is required to establish HA, without the need for any user intervention. The process may take several minutes. After completion, the High Availability SoftNAS pair has been successfully set up across Availability Zones.



  • No labels