...
- Deploy the new instance that you will be migrating to from the marketplace:
- Deploy in the same VPC as the current SoftNAS.
- Deploy in the same subnet as the current SoftNAS.
- Assign the same security groups as the current SoftNAS.
- Assign the same IAM role as the current SoftNAS.
- Disable Source/Destination check on the new SoftNAS instance.
- Copy over the following config files from the current instance to the new instance.
'/etc/exports'
'/etc/samba/smb.conf'
- Only copy the shares sections of smb.conf if they exist, do not copy the '[global]' section.
'/etc/target/saveconfig.json'
'/var/www/softnas/config/snapshots.ini'
- If you are using tiered pools, copy the below files over:
'/var/www/softnas/config/btier.json'
- '/var/www/softnas/config/btier_migrations_saved_sdtiera'
- Copy over any custom monitors you may have in '/etc/monit.d/' if they exist.
- Power off both instances to migrate the disk devices.
- Power off the current instance.
- Power off the instance you are migrating to.
- Migrate the disk devices from the current instance where they are attached to the new instance.
- Log into the AWS EC2 console.
- Make note of the device order of the current attached disk devices on the current instance.
- Detach them all.
- Re-attach the devices in the same order and device id to the new instance.
- Power on the new instance.
- At boot time the ZFS pools should be imported and mounted with no user interaction.
- If using Active Directory, join the new instance to Active Directory at this time.
- Follow First remove the old computer object of the previous SoftNAS from Active Directory.
- Active Directory > Users and Computers > Delete the old object
- Now follow the instructions in the AD Wizard.
- Follow First remove the old computer object of the previous SoftNAS from Active Directory.
Step-by-step guide for manual migration of a HA Pair SoftNAS instances with block device pools.
...