This document addresses the process of migrating your Spectrum OneClick server (and its associated netqos_integ MySQL database) to a new host, specifically when it's integrated with Performance Management.
The primary concern during such a migration is ensuring the continuity of Performance Management Groups whose membership is derived from synchronized Spectrum Global Collections (GCs). These relationships are critical for dashboards, reports, and other functions, and rely on unique database IDs. Any disruption to these IDs could break the integration and require significant manual effort to rebuild.
Key Point:
Implication for Migration:
Since the Global Collection IDs persist in the SpectroSERVER, any Performance Management Group Rules that reference synchronized Spectrum Global Collections for their membership should continue to function correctly after the OneClick host migration.
Therefore, the main task involves successfully migrating the netqos_integ MySQL database to the new OneClick web server host without impacting these foundational relationships.
All supported DX NetOps releases
This guide outlines the steps to migrate the netqos_integ MySQL database, used for Portal and Spectrum integration, from an old OneClick host to a new OneClick host.
Important Note: If the IP address or hostname of the OneClick host is also changing, you must refer to Step 5.5 at the end of this guide for the necessary update.
This step temporarily halts data synchronization to prevent inconsistencies during the migration.
Stop the Tomcat Web Server Service on the old OneClick host.
Open a terminal (Linux) or Command Prompt (Windows).
Navigate to the Spectrum installation directory or ensure $SPECROOT is set correctly.
Execute the appropriate command below to create a netqos_integ_backup.sql file. You will be prompted for the root password.
bash
$SPECROOT/mysql/bin/mysqldump --defaults-file=../my-spectrum.cnf
--routines --databases -uroot -p netqos_integ >
netqos_integ_backup.sql
cmd
$SPECROOT/mysql/bin/mysqldump.exe --routines --databases -uroot -p netqos_integ > netqos_integ_backup.sql
Optional: If you need to perform other tasks on the old host before proceeding, you may Start the Tomcat web server service. Otherwise, it can remain stopped.
netqos_integ_backup.sql file created in Step 2 from the old OneClick host to a suitable location on the new OneClick host (e.g., the $SPECROOT/mysql/bin directory).Stop the Tomcat Web Server Service on the new OneClick host.
Open a terminal (Linux) or Command Prompt (Windows) on the new host.
Navigate to the Spectrum installation directory or ensure $SPECROOT is set correctly.
Create the netqos_integ database:
Execute the appropriate command. You will be prompted for the root password.
bash
$SPECROOT/mysql/bin/mysql --defaults-file=../my-spectrum.cnf -uroot -p -e 'create database netqos_integ;'
cmd
$SPECROOT/mysql/bin/mysql --defaults-file=../my-spectrum.cnf -uroot -p -e 'create database netqos_integ;'
Load data into the netqos_integ database:
Execute the appropriate command to import the data from the backup file (netqos_integ_backup.sql). You will be prompted for the root password.
bash
$SPECROOT/mysql/bin/mysql --defaults-file=../my-spectrum.cnf -uroot -p netqos_integ < netqos_integ_backup.sql
cmd
$SPECROOT/mysql/bin/mysql.exe -uroot -p netqos_integ < netqos_integ_backup.sql
Start the Tomcat Web Server Service on the new OneClick host.
This step re-enables data synchronization with the newly migrated database.
Will the the old OneClick host be repurposed as a OneClick host for a new environment?
Once the functionality of the migrated integration has been validated, the netqos_integ database should be removed from the original OneClick server.
To remove it follow these steps to drop the database. These commands are not OS dependent.
Sample output for 'show databases;' command.
mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| mibtools |
| mysql |
| netqos_integ |
| performance_schema |
| reporting |
| sys |
+--------------------+
7 rows in set (0.16 sec)