Migrating Microsoft Azure SoftNAS virtual machines
Symptoms
If you need to upgrade or move an Azure-based SoftNAS virtual machines, many of the steps will be familiar. Much like standard SoftNAS instances, there is no direct upgrade path for instances below version 5.0.2. If your version falls below this threshold, you will need to migrate your instance to a new VM. The steps below will help you do so:
Purpose
This article covers the steps required to migrate an Azure virtual machine from one VM to another.
Resolution
EXAMPLE: Select the same size of VM, provide the same network settings, etc..
Once the new host is created, the process is the same as any other SoftNAS VM migration.
etc/samba/smb.conf file for use on the new instance.NFS Settings
Remember, the pictured information is just a sample. The settings of your NFS export might be different.
Checking Pool Status
Once disk migration has been completed, please follow the steps below to ensure that your zpools are updated.
SSH Command
ssh softnas@<Instance IP>Verify Pools are Up to Date and Online
zpool status [pool name]zpool Status
If the above command returns an alert stating that ZFS is out of date then continue on to ensure pools are properly updated. Otherwise, your migration is complete.
Upgrading Pools
ZFS Upgrade
zpool upgrade [pool name]Verify Pool Configuration with SoftNAS
Copy CIFS Information
scp /etc/samba/smb.conf softnas-instance-ip:/etc/samba/smb.confCopy NFS Information
nano /etc/exports
service nfs restartCopy iSCSI Information
scp /etc/target/saveconfig.json softnas-instance-ip:/etc/target/saveconfig.json
sudo service fcoe-target restart