The Many-Note: SoftNAS® FlexFiles Architect is a part of our legacy SoftNAS Platinum offering. It will not be visible in versions above 4.4.1 of our SoftNAS product, and is included here for legacy purposes.
The Many-To-One Data Flow template is designed to help showcase SoftNAS FlexFiles ability to help you with more complex scenarios by leveraging templates. In this sample template, volumes from multiple sources are configured to be "Lifted and Shifted" simultaneously to a separate target node. An example of where this might be useful is if you have app data in multiple cloud locations and you wish to consolidate it. Or perhaps you have on-premise data from two branch offices and you wish to move it to a single cloud repository.
Table of Contents |
---|
Preliminary Steps
To implement your Many-To-One template, be sure that you have performed the following steps:
- You have configured the Virtual Machines (Instances) you wish to migrate and the target instance you wish to migrate to. For more information on creating instances, see Creating Your Instance.
- Make sure your VMs/instances are up to date. See Updating Software.
- You have recorded the instance IP addresses, names and passwords for your instances. Having this information at hand is key to a stress-free deployment.
- Security groups have been configured for each source instance. A single security group can be configured for multiple source instances on the same platform, provided the security group covers all required port/IP permutations necessary for the use case (including UltraFast ports if accelerated data transfer is desired for the migration.) See Configuring Ports and Security Groups for SoftNAS Cloud and SoftNAS Platinum Beta componentsfeatures.
- A security group must be configured for the target node. The target VM/instance's security group must include rules for each source node. Below is a sample target node inbound security group on Azure. See Configuring Ports and Security Groups for SoftNAS Cloud and SoftNAS Platinum Beta componentsfeatures.
Configure FlexFile Settings on each node. See Configuring FlexFile Settings.widget
Widget Connector width 400 url https://wwwvimeo.youtube.com/watch?v=pbkGYjr8tnI&feature=youtu.becom/286754255 height 300 Widget Connector width 400 url https://www.youtubevimeo.com/watch?v=cJX_rgNts4o286801636 height 300 Widget Connector width 400 url https://wwwvimeo.youtube.com/watch?v=IF-uwKSxAS4&feature=youtu.be Widget Connector com/289102733 height 300 - Configure FlexFile Settings on each node. See Configuring Lift and Shift Settings.
Widget Connector width 400 url https://wwwvimeo.youtube.com/watch?v=Y9JneaT-zMM&feature=youtu.becom/289287062 height 300
Configure Source Nodes using Lift and Shift
To prepare your source nodes for the Many-To-One workflow, each node must be pre-configured with the required credentials and source instance information to allow the flow to proceed. This is accomplished by performing approximately half of the Lift and Shift process. Select ‘Lift and Shift’ from the Storage Administration panel of the SoftNAS StorageCenter UI.
...
Widget Connector | ||
---|---|---|
|
Configure Target Node FlexFile DataFlow Template
www.youtube Widget Connector url https://
watch?v=2t2I886ZiRE&feature=youtu.bevimeo.com/ 313216721
Adding the Template
Next, we will need to configure the Many-To-One DataFlow template on the target node.
- Select ‘FlexFiles Architect’ from the Storage Administration panel of the SoftNAS StorageCenter UI.
- From the SoftNAS FlexFiles options listed at the top of the panel, select ‘Template’ icon, second from the right., and drag it into the grid area. This will open the ‘Add Template’ panel.
- In the Add Template panel, select the desired template. In this case, it is the SoftNAS Many-To-One Target Template. Select ‘Add’ to apply the template to FlexFiles Architect.
- The template will appear in the FlexFiles Architect grid.
Configuring Remote Node 1 Input Port
- Click any open area within the grid to deselect the components of the template downloaded.
- Select the ‘Remote Node 1 Input Port’ by clicking on it.
- The ‘Operate’ panel should now show ‘Remote Node 1 Input Port’ as being selected. Select the ‘key’ icon to configure Access Policies.
- In Access Policies, select the dropdown by default labelled ‘view the component’, and change the default entry to ‘receive data via site-to-site’.
- Select ‘Create’ a new policy.
- After selecting 'Create', the icons to the far right will be made available. Select the ‘Add user’ icon located to the left of the trashcan icon.
- In the Add Users/Groups panel, type the Source Node 1 Public IP address in the box labeled ‘User identity’ (i.e. 13.228.114.1). If the preliminary configurations (security groups, FlexFiles Settings, and Lift and Shift steps) have been correctly configured, typing in the public IP address will call up the available nodes, allowing you to select the desired entry. Click 'Add'.
- Once the Remote Node 1 IP has been added to the Access Policy, close the panel by selecting the ‘X’ at the top right of the panel.
Configuring Remote Node 1 Output Port
- Select ‘Remote Node 1 Output Port’ by clicking on it.
- The ‘Operate’ panel should now show ‘Remote Node 1 Output Port’ as being selected. Select the ‘key’ icon to configure Access Policies.
- In Access Policies, select the drop-down by default labelled ‘view the component’, and change the default entry to ‘receive data via site-to-site’.
- Select ‘Create’ a new policy
- After selecting 'Create', the icons to the far right will be made available. Select the ‘Add user’ icon located to the left of the trashcan icon.
- In the Add Users/Groups panel, type the Source Node 1 Public IP address in the box labeled ‘User identity’ (i.e. 13.228.114.1). If the preliminary configurations (security groups, FlexFiles Settings, and Lift and Shift steps) have been correctly configured, typing in the public IP address will call up the available nodes, allowing you to select the desired entry. Click 'Add'.
- Once the Remote Node 1 IP has been added, close the panel by selecting the ‘X’ at the top right of the panel.
Configuring Remote Node 2 Input Port
- Select the ‘Remote Node 2 Input Port’ by clicking it.
- The ‘Operate’ panel should now show ‘Remote Node 2 Input Port’ as being selected. Select the ‘key’ icon to configure Access Policies.
- In Access Policies, select the drop-down by default labelled ‘view the component’, and change the default entry to ‘receive data via site-to-site’.
- Select ‘Create’ a new policy.
- After selecting 'Create', the icons to the far right will be made available. Select the ‘Add user’ icon located to the left of the trashcan icon.
- In the Add Users/Groups panel, type the Remote Node 2 Public IP address in the box labeled ‘User identity’ (i.e. 13.228.101.117). If the preliminary configurations (security groups, FlexFiles Settings, and Lift and Shift steps) have been correctly configured, typing in the public IP address will call up the available nodes, allowing you to select the desired entry. Click 'Add'.
Once the Remote Node 2 IP has been added, close the panel by selecting the ‘X’ at the top right of the panel.
Configuring Remote Node 2 Output Port
- Select the ‘Remote Node 2 Output Port’ by clicking it.
- The ‘Operate’ panel should now show ‘Remote Node 2 Output Port’ as being selected. Select the ‘key’ icon to configure Access Policies.
- In Access Policies, select the drop-down by default labelled ‘view the component’, and change the default entry to ‘receive data via site-to-site’.
- Select ‘Create’ a new policy.
- After selecting 'Create', the icons to the far right will be made available. Select the ‘Add user’ icon located to the left of the trashcan icon.
- In the Add Users/Groups panel, type the Remote Node 2 Public IP address in the box labeled ‘User identity’ (i.e. 13.228.101.117). If the preliminary configurations (security groups, FlexFiles Settings, and Lift and Shift steps) have been correctly configured, typing in the public IP address will call up the available nodes, allowing you to select the desired entry. Click 'Add'.
- Once the Remote Node 2 IP has been added, close the panel by selecting the ‘X’ at the top right of the panel.
Configure Remote Factory Aggregation
Remote Node 1 Factory
- Open the ‘Remote FactoryAggregation’ by double clicking it. It will split into two distinct boxes.
- Double-click on the ‘Remote Node 1 Factory‘ to open it.
Right-click the ‘RouteOnAttribute’ box, and select 'Configure'. This will open the panel to configure the processor.
- Select ‘Properties’ to add Source Node 1’s volumes.
- Double-click on the ‘TargetVolume1’ and replace “/remotenode1/volume1” with the mount point of the volume on Remote Node 1. In our case, this is simply "pool1/Volume1".
- If there are multiple volumes on Remote Node 1, repeat the above process by double-clicking TargetVolume2 and entering the next volume's mount point. Click the plus sign for each additional volume, and repeat as necessary.
Note: Each volume that is to be migrated must be added, by clicking the plus icon as shown above. If there is only one volume to be moved on the given source node, delete the second target volume configured by default in the template (TargetVolume2) from Properties in Configure Processor. To determine the mount point, log in to the Remote Node in question using its IP address and login information, and open Volumes and LUNs. Look under the Mountpoint column.
- Next, right-click ‘SoftNAS ProcessFileListTarget Volume 1’ , and select 'Configure'.
- In Configure Processor, select 'Properties'. Fill in the following values based on your configuration:
- Assign the Remote Node 1 Volume 1 name to the value for ‘Source Directory’ (i.e. /pool1/Volume1). Select ‘OK’ to apply the change.
- For 'DestinationDirectory', provide a volume name to be used on the Target Node to receive the Source Directory content (i.e. /S1/pool1-Vol1). Select ‘OK’ to apply the change.
- Assign the Target Node Public IP to the value for ‘Node Name’ (i.e. 52.187.73.229). Select ‘OK’ to apply the change.
- Assign the Remote Node 1 Volume 1 name to the value for ‘Flow ID’ (i.e. Pool1-Volume1). Select ‘OK’ to apply the change.
- Review the values and click ‘Apply’ to complete the ProcessFileList configuration.
- Assign the Remote Node 1 Volume 1 name to the value for ‘Source Directory’ (i.e. /pool1/Volume1). Select ‘OK’ to apply the change.
...
As this sample configuration only has the one volume on Remote Node 1 to transfer to the destination volume on the target node, we can now return to the Remote Factory Aggregation level of our FlexFiles Flow. To do this, simply double-click on 'Remote Factory Aggregation' at the bottom of the grid.
Remote Node 2 Factory
Having configured Remote Note 1 on the target, it is now time to configure the second (Remote Node 2) node.
- Open the ‘Remote Factory Aggregation’ by double-clicking it, then double-click on the ‘Remote Node 2 Factory’ to open it.
- Right-click the ‘RouteOnAttribute’ box, and select 'Configure'. This will open the panel to configure the processor.
Select ‘Properties’ to add Source Node 2’s volumes.
Double-click on the ‘TargetVolume1’ and replace “/remotenode2/volume1” with the mount point of the volume on Remote Node 2. In our case, this is simply "pool1/Volume1".
If there are multiple volumes on Remote Node 2, repeat the above process by double-clicking TargetVolume2 and entering the next volume's mount point. Click the plus sign for each additional volume, and repeat as necessary. You will need to copy an existing routing strategy and modify the volume attribute, as adding the volume here does not add any routing strategy. Adding a routing strategy is covered in more detail in Modifying the Many-To-One Template.
Note: Each volume that is to be migrated must be added, by clicking the plus icon as shown above. If there is only one volume to be moved on the given source node, delete the second target volume configured by default in the template (TargetVolume2) from Properties in Configure Processor. To determine the mount point, log in to the Remote Node in question using its IP address and login information, and open Volumes and LUNs. Look under the Mountpoint column.- Next, right-click ‘SoftNAS ProcessFileListTarget Volume 1’ , and select 'Configure'.
Note: If you see a warning sign on a processor or processor group, this means that there are required settings or configuration that need to be applied. - In Configure Processor, select 'Properties'. Fill in the following values based on your configuration:
- Assign the Remote Node 2 Volume 1 name to the value for ‘Source Directory’ (i.e. /pool1/Volume1). Select ‘OK’ to apply the change.
- For 'DestinationDirectory', provide a volume name to be used on the Target Node to receive the Source Directory content (i.e. /S2/pool1-Vol1). Select ‘OK’ to apply the change.
- Assign the Target Node Public IP to the value for ‘Node Name’ (i.e. 52.187.73.229). Select ‘OK’ to apply the change.
- Assign the Remote Node 2 volume name to the value for ‘Flow ID’ (i.e. S2Pool1-Vol1). Select ‘OK’ to apply the change.
- Review the values and click ‘Apply’ to complete the ProcessFileList configuration.
- Assign the Remote Node 2 Volume 1 name to the value for ‘Source Directory’ (i.e. /pool1/Volume1). Select ‘OK’ to apply the change.
- Again, the Many-To-One template defaults to a configuration of two volumes per Remote (Source) Node. If you have only one volume for this particular node, simply delete the second flow for the template default 'TargetVolume2' volume, as covered earlier in this document, as well as in Modifying the Many-To-One Template. The Modifying the Many-To-One Template article can also help you if you are adding additional volumes to the workflow.
Configure Source (Remote) Node 1 FlexFile DataFlow Template
www Widget Connector url https://
youtube.vimeo.
watch?v=pIM-el2VNd0&feature=youtu.becom/ 312390746
Adding the Template
Once the Target Node is configured to receive volumes, it is time to configure the Source Nodes to send them.
- To begin configuration, navigate via your browser to Source (Remote) Node 1, and select ‘FlexFiles Architect’ from the Storage Administration panel of the SoftNAS StorageCenter UI.
- From the SoftNAS FlexFiles options listed at the top of the panel, select ‘Template’, the icon second from the right, and drag it into the grid area.
This will open the ‘Add Template’ panel. Select the 'SoftNAS Many-to-One Source Template' and click ‘Add’ to apply the template to FlexFiles Architect.
Configure Remote Factory Aggregation
Now that the template has been added, we can begin configuration.
- Simply double-click Remote Factory Aggregation to begin.
- Once in Remote Factory Aggregation's configuration, select the ‘Remote Processor’ labeled https://0.0.0.0:9443/nifi, and delete it by right-clicking and selecting 'Delete'. This is just a placeholder in the template.
- Replace the deleted Remote Process Group by selecting the ‘Remote Process Group’ icon (fourth from the right) from the control panel at the top of the page. Click and drag it onto the grid where the deleted one was located.
Add the URL for the target node (i.e. https://52.187.73.229:9443/nifi) and select ‘ADD’ to apply the change.
- Once the connection is established with the target, you will see the lock next to the URL and the Send and Received will each show a ‘1’.
- Create a connection from the newly created ‘Remote Process Group’ to the ‘RouteOnAttribute’ by positioning your pointer in the middle of the process group (the dark circle-arrow icon), right-click, hold, and drag your pointer to the ‘RouteOnAttribute’ until the line turns green.
The Create Connection panel will open. Open the Settings tab, and configure the 'Selected Prioritizers' to read ‘PriorityAttributePrioritizer’ first, followed by ‘FirstInFirstOutPrioritizer’. Click ‘ADD’ to apply these values.
- Create a connection from the ‘Remote Factory – Volume 1’ to the newly created ‘Remote Process Group’by positioning your pointer in the middle of the remote factory (the dark circle-arrow icon), right-click, hold, and drag your pointer to the ‘RouteOnAttribute’ until the line turns green.
The Create Connection panel will open. Open the Settings tab, and configure the 'Selected Prioritizers' to read ‘PriorityAttributePrioritizer’ first, followed by ‘FirstInFirstOutPrioritizer’. Click ‘ADD’ to apply these values.
If you have more than one volume on the Source Node, you would repeat the above process once more, creating a connection between the ‘Remote Factory – Volume 2’ to the newly created Remote Process Group. Always be sure that the connector settings are configured with PriorityAttributePrioritizer first, and FirstInFirstOutPrioritizer second. By default, the template provides for two volumes.
If your node only has the one volume, delete the 2nd (Remote Factory - Volume 2). To do this, first delete the connectors. For more information on how to delete volumes from your template, or instructions on how to add additional volumes, see Modifying the Many-To-One Template.
Next, we will configure 'RouteOnAttribute'. Simply right-click 'RouteOnAttribute' andselect 'Configure'.
Select ‘Properties’ to add Source Node 1’s volumes.
Double-click on the ‘TargetVolume1’ and replace “/remotenode1/volume1” with the mount point of the volume on Remote Node 1. In our case, this is simply "pool1/Volume1".
If there are multiple volumes on Remote Node 1, repeat the above process by double-clicking TargetVolume2 and entering the next volume's mount point. Click the plus sign for each additional volume, and repeat as necessary. Again, you will need to copy an existing routing strategy and modify the volume attribute, as adding the volume here does not add any routing strategy. This process is covered in more detail in Modifying the Many-To-One Template.
Note: Each volume that is to be migrated must be added, by clicking the plus icon as shown above. If there is only one volume to be moved on the given source node, delete the second target volume configured by default in the template (TargetVolume2) from Properties in Configure Processor. To determine the mount point, log in to the Remote Node in question using its IP address and login information, and open Volumes and LUNs. Look under the Mountpoint column.
Next, configure 'Remote Factory-Volume 1' by double-clicking it. It will expand to a larger configuration grouping.
Right-click ‘SoftNAS GetFileList Source Volume 1’ and select 'Configure'.
In 'Configure Processor', under 'Properties', assign the source volume 1 mount point (i.e. /pool1/volume1) to the value for the ‘Root Directory’ and select ‘APPLY’.
If more than one volume was configured (and by default the template provides for two), then you would now return to Remote Factory Aggregation by clicking it at the bottom of the screen, in order to open and configure the second volume (by default labelled 'Remote Factory - Volume 2').
In our case, the second volume does not exist. However, for any additional volumes, the process would be the same - Double-click 'Remote Factory- Volume 2' (or 3 or 4), then right-click ‘SoftNAS GetFileList Source Volume 2’ (or Volume 3, Volume 4, and so on) and select 'Configure'. In 'Configure Processor', under 'Properties', assign the source volume 2 mount point (i.e. /pool2/volume2) to the value for the ‘Root Directory’ and select ‘APPLY’.
Configure Source (Remote) Node 2 FlexFile DataFlow Template
www.youtube Widget Connector url https://
watch?v=ttHWmAvAOF4&feature=youtu.bevimeo.com/ 312391301
Adding the Template
We can now configure the second Source (Remote) Node via our FlexFile source dataflow template.
- To begin configuration, navigate via IP address through your browser to Source (Remote) Node 2, and select ‘FlexFiles Architect’ from the Storage Administration panel of the SoftNAS StorageCenter UI.
- From the SoftNAS FlexFiles options listed at the top of the panel, select ‘Template’, the icon second from the right, and drag it into the grid area.
This will open the ‘Add Template’ panel. Select the 'SoftNAS Many-to-One Source Template' and click ‘Add’ to apply the template to FlexFiles Architect.
Configure Remote Factory Aggregation
Now that the template has been added, we can begin configuration.
- Simply double-click Remote Factory Aggregation to begin.
- Once in Remote Factory Aggregation's configuration, select the ‘Remote Processor’ labeled https://0.0.0.0:9443/nifi, and delete it by right-clicking and selecting 'Delete'. This is just a placeholder in the template.
- Replace the deleted Remote Process Group by selecting the ‘Remote Process Group’ icon (fourth from the right) from the control panel at the top of the page. Click and drag it onto the grid where the deleted one was located.
Add the URL for the target node (i.e. https://52.187.73.229:9443/nifi) and select ‘ADD’ to apply the change.
- Once the connection is established with the target, you will see the lock next to the URL and the Send and Received will each show a ‘1’.
- Create a connection from the newly created ‘Remote Process Group’ to the ‘RouteOnAttribute’ by positioning your pointer in the middle of the process group (the dark circle-arrow icon), right-click, hold, and drag your pointer to the ‘RouteOnAttribute’ until the line turns green.
The Create Connection panel will open. Open the Settings tab, and configure the 'Selected Prioritizers' to read ‘PriorityAttributePrioritizer’ first, followed by ‘FirstInFirstOutPrioritizer’. Click ‘ADD’ to apply these values.
- Create a connection from the ‘Remote Factory – Volume 1’ to the newly created ‘Remote Process Group’ by positioning your pointer in the middle of the remote factory (the dark circle-arrow icon), right-click, hold, and drag your pointer to the ‘RouteOnAttribute’ until the line turns green.
The Create Connection panel will open. Open the Settings tab, and configure the 'Selected Prioritizers' to read ‘PriorityAttributePrioritizer’ first, followed by ‘FirstInFirstOutPrioritizer’. Click ‘ADD’ to apply these values.
If you have more than one volume on the Source Node, you would repeat the above process once more, creating a connection between the ‘Remote Factory – Volume 2’ to the newly created Remote Process Group. Always be sure that the connector settings are configured with PriorityAttributePrioritizer first, and FirstInFirstOutPrioritizer second. By default, the template provides for two volumes.
If your node only has the one volume, delete the 2nd (Remote Factory - Volume 2). To do this, first delete the connectors. For more information on how to delete volumes from your template, or instructions on how to add additional volumes, see Modifying the Many-To-One Template.
Next, we will configure 'RouteOnAttribute'. Simply right-click 'RouteOnAttribute' and select 'Configure'.
Select ‘Properties’ to add Source (Remote) Node 2’s volumes.
Double-click on the ‘TargetVolume1’ and replace “/remotenode2/volume1” with the mount point of the volume on Remote Node 1. In our case, this is simply "pool1/Volume1".
If there are multiple volumes on Source (Remote) Node 2, repeat the above process by double-clicking TargetVolume2 and entering the next volume's mount point. Click the plus sign for each additional volume, and repeat as necessary. Again, you will need to copy an existing routing strategy and modify the volume attribute, as adding the volume here does not add any routing strategy. This process is covered in more detail in Modifying the Many-To-One Template.
Note: Each volume that is to be migrated must be added, by clicking the plus icon as shown above. If there is only one volume to be moved on the given source node, delete the second target volume configured by default in the template (TargetVolume2) from Properties in Configure Processor. To determine the mount point, log in to the Remote Node in question using its IP address and login information, and open Volumes and LUNs. Look under the Mountpoint column.
Next, configure 'Remote Factory-Volume 1' by double-clicking it. It will expand to a larger configuration grouping.
Right-click ‘SoftNAS GetFileList Source Volume 1’ and select 'Configure'.
In 'Configure Processor', under 'Properties', assign the source node 2 volume mount point (i.e. /pool1/volume1) to the value for the ‘Root Directory’ and select ‘APPLY’.
If more than one volume was configured (and by default the template provides for two), then you would now return to Remote Factory Aggregation by clicking it at the bottom of the screen, in order to open and configure the second volume (by default labelled 'Remote Factory - Volume 2').
In our case, the second volume does not exist. However, for any additional volumes, the process would be the same - Double-click 'Remote Factory- Volume 2' (or 3 or 4), then right-click ‘SoftNAS GetFileList Source Volume 2’ (or Volume 3, Volume 4, and so on) and select 'Configure'. In 'Configure Processor', under 'Properties', assign the source volume 2 mount point (i.e. /pool2/volume2) to the value for the ‘Root Directory’ and select ‘APPLY’.
...
Note: If you wish to use SoftNAS UltraFast™ to boost your configuration's data transfer speeds, you would now configure an UltraFast™ connection between Source (Remote) Node 1 and the Target Node, as well as another UltraFast connection between Source (Remote) Node 2 and the Target Node. For more information on configuring UltraFast™, see SoftNAS® UltraFast™.
Start Many-To-One Transfer
www Widget Connector url https://
youtube.vimeo.
watch?v=kT5F4YFprnA&feature=youtu.becom/ 313216721
Target Node
The templates have now been configured, and we can now start the transfer. Navigate first to the target node by entering the IP address into your browser.
- Open FlexFiles Architect from the Storage Administration panel.
- Click 'Start' from the 'Operate' panel.
- Verify the processors have successfully started (the arrow should turn green in the ‘Remote Factory Aggregation Processor’).
Source Node 1
Navigate to Source Node 1 by entering the IP address into your browser.
- Open FlexFiles Architect from the Storage Administration panel.
- Double-click the 'Remote Factory Aggregation' to open its configuration.
- In the Remote Processor, enable transmission by right-clicking, and selecting the command.
- Next, (still in the right-click menu for the Remote Processor) right-click 'Remote Ports' to check that connections are both active.
Both ports should be turned to the 'on' or active position. - Return to the FlexFiles Flow screen by selecting it from the bottom of the grid. Select Remote Factory Aggregation, and in the 'Operate' panel, select 'Start'
- Verify that the arrow icon in Remote Factory Aggregation turns green, indicating that all is ready to go.
Source Node 2
Navigate to Source Node 2 by entering the IP address into your browser. Repeat the process that was just completed for Source Node 1.
...