- play_arrow Introduction
- play_arrow System Requirements
- play_arrow Install Paragon Automation On Ubuntu
- play_arrow Install Paragon Automation on RHEL
- play_arrow Configure Disaster Recovery
- play_arrow Upgrade and Update Paragon Automation
- play_arrow Backup and Restore
- play_arrow Troubleshooting
Migrate Data from NorthStar to Paragon Automation
You can migrate DeviceProfile, Cassandra DB, and Analytics (ES DB) data from an existing NorthStar Release 6.x setup to a Paragon Automation setup.
SUMMARY Use the steps described in this topic to migrate date from NorthStar to Paragon Automation.
Prerequisites
- Ensure that both the NorthStar and Paragon Automation setups are up and running.
- Cassandra must be accessible from Paragon Automation. Set the
rpc_address
parameter in the /opt/northstar/data/apache-cassandra/conf/cassandra.yaml path to an address to which the Paragon Automation setup can connect. After setting the address, restart Cassandra for the configuration changes to take effect:content_copy zoom_out_maproot@ns1: # supervisorctl restart infra:cassandra
Ensure that both NorthStar and Paragon Automation have sufficient disk space to migrate the Cassandra DB. The Cassandra migration exports all data to CSV files and sufficient space must be available for the migration operation. To ensure that sufficient space is available:
Log in to NorthStar and check the current disk usage by Cassandra. For a multisite setup, issue the following command on all nodes in the setup and add them to calculate total disk usage:
content_copy zoom_out_map[root@ns1-site1 ~]# du -sh /opt/northstar/data/apache-cassandra/ 404M /opt/northstar/data/apache-cassandra/ <--- Disk space used by Cassandra
Ensure that the available disk space on both NorthStar and Paragon exceeds the total Cassandra disk usage by at least a factor of 2. For Paragon Automation, this amount of space must be available on every node that has scheduling enabled on the device used for the /var/local directory. For NorthStar, only the node from which data is exported must have the available disk space.
For example, on a Paragon Automation node that has a large root partition '/' without an optional partition for '/var/local':
content_copy zoom_out_maproot@pa-master:~# df -h Filesystem Size Used Avail Use% Mounted on udev 11G 0 11G 0% /dev tmpfs 2.2G 32M 2.1G 2% /run /dev/sda3 150G 33G 110G 24% / <--- Available space for /var/local tmpfs 11G 0 11G 0% /dev/shm ...
See Disk Requirements for more information on partition options.
On NorthStar:
content_copy zoom_out_map[root@ns1-site1 ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/sda1 108G 9.6G 99G 9% / <--- Available space devtmpfs 7.6G 0 7.6G 0% /dev tmpfs 7.6G 12K 7.6G 1% /dev/shm tmpfs 7.6G 25M 7.6G 1% /run
Follow this procedure to migrate data from NorthStar to Paragon Automation.