Migrate SoftNAS on AWS from VPC to VPC within a Region

Migrate SoftNAS on AWS from VPC to VPC within a Region

Symptoms

You have an existing SoftNAS instance set up, but you need to migrate it to another VPC in the same region. Reasons for this may include:

  • Your current version of SoftNAS is out-of-date, and cannot be upgraded without migration (your instance is a version of SoftNAS older than 3.3.3)

  • You are creating a new production environment from a staging environment.

Purpose

This knowlege base article covers the basic steps and key considerations when migrating a SoftNAS VPC to another VPC within the same region.

Resolution

Planning Stage:

Before you begin the migration process, you must be sure to collect the following information, in order to be sure the migration succeeds, and so that you can adjust the new VPC's settings to more closely match the original. In this portion, we will provide both the GUI and the Shell commands to obtain the desired information. 

 

All shell commands should be considered root.

Because of this, it is suggested to run the following command so that you do not have to run the subsequent commands with the sudo prefix.

sudo -i
Collect the licensing information.


Licensing can be found in the Storage Administration pane by navigating to Settings > Licensing.
Collect the following information:
Size of each volume.
Name of each volume.
Name of pool in which volume belongs.


This can be found by navigating to Storage > Volumes and LUNs in the Storage Administration pane.


You can also run the following command to obtain the information:

Collect the following information:
Name of each SoftNAS pool name
Name of the disk devices in the pool


This can be found by navigating to Storage > Storage Pools in the Storage Administration pane.


You can also run the following command to obtain the information

Navigate to Storage > Disk Devices under the Storage Administration pane and collect the following information:


If the disk is S3:
S3 Bucket name
Dev name
Region
Size


If the disk is EBS:
Name (/dev/sdX)
Size
Volume ID


Run the following commands to obtain the information:

If you have an NFSCIFS, or iSCSI shares on your VPC, you will need to copy the associated information.


To copy NFS data, navigate to Storage > NFS Exports under the Storage Administration pane.


Run the following command to obtain the information: