Flussonic Media Server Migration
Caution
When migrating Flussonic Media Server settings from one server to another, do not move executable files and installed libraries. Use the batch manager to install the software on the new server. Only the configuration and license files should be transferred. Also note that you cannot run multiple instances of Flussonic Media Server at the same time if your license key is valid for only one server. In that case, you will have to stop Flussonic Media Server on current server before starting it on new one. We do not provide free trial keys for migration or similar tasks, as they are intended only for introduction purposes.
List of files to migrate:
/etc/flussonic/flussonic.conf
— the main configuration file./etc/flussonic/license.txt
— license.
Copying of configuration files is possible only with root privileges.
Ways to transfer files:
- Transferring the configuration using web interface
- Transferring the configuration using SCP
- Transferring a Configuration Using USB Media
Transferring the configuration using web interface
Go to Flussonic Media Server web interface, then go to the Config -> Settings tabs.
To download the configuration file, click the Download Config button. To upload configuration file to the new server, click the Upload Config button.
Your license key can be viewed in the client area on the License keys tab.
Transferring the configuration using SCP
SCP (Secure CoPy) is a program for transferring files over a network between hosts. It uses SSH for data transfer, including authentication and security protocols that are implemented in SSH.
To copy a file from one remote server remote.host1
to another remote server remote.host2
, execute the following command:
$ scp user@remote.host1:/directory/file.txt user@remote.host2:/some/directory/
Install Flussonic Media Server on the new server:
curl -sSf https://flussonic.com/public/install.sh | sh
After that, transfer the configuration files to the new server:
scp user@remote.host1:/etc/flussonic/flussonic.conf user@remote.host2:/etc/flussonic/
scp user@remote.host1:/etc/flussonic/license.txt user@remote.host2:/etc/flussonic/
Start Flussonic Media Server:
service flussonic start
Done!
Transferring a Configuration Using USB Media
If you want to transfer configuration files using any USB media, use the following instruction.
Mounting USB
First, create the mount point (directory):
mkdir -p /mnt/usb
Insert the USB flash drive into the USB port and find the name of the attached device:
fdisk -l
The result of this command will look like:
Disk /dev/sdb: 4008 MB, 4008706048 bytes
118 heads, 53 sectors/track, 1251 cylinders, total 7829504 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x74a37a4d
Device Boot Start End Blocks Id System
/dev/sdb1 * 63 7829503 3914720+ b W95 FAT32
In this example the device name is /dev/sdb1
.
Use it to mount the device:
mount /dev/sdb1 /mnt/usb
Copying the configuration
cp /etc/flussonic/flussonic.conf /mnt/usb/flussonic.conf
cp /etc/flussonic/license.txt /mnt/usb/license.txt
After copying, do not forget to unmount the drive:
sudo umount /dev/sdb1
Installing the configuration on a new server
Install Flussonic Media Server on the new server:
curl -sSf https://flussonic.com/public/install.sh | sh
Create a directory in which the USB-drive will be mounted:
mkdir -p /mnt/usb
Insert the media into the USB port and find the name of the device:
fdisk -l
Mount:
mount /dev/sdb1 /mnt/usb
Transfer the configuration files:
cp /mnt/usb/flussonic.conf /etc/flussonic/flussonic.conf
cp /mnt/usb/license.txt /etc/flussonic/license.txt
Launch Flussonic Media Server:
service flussonic start
Done!