This article addresses the following questions:
-
How to import/export Polling & Threshold settings from one domain instance to another domain instance?
-
Is it possible to import/export Polling & Threshold settings from one domain instance to another domain instance?
-
What is the command to import/export Polling & Threshold settings from one domain instance to another domain instance?
With the existing suite of Smarts VoIP AM, there is no commnad/mechanism by which the Polling & Threshold settings can be imported/exported from one VoIP domain instance to another VoIP domain instance.
However, the following example/steps can be considered and followed as a work around to provide this functionality:
-
Reuse the existing VoIP AM repository by renaming the repository with another VoIP AM server name.
-
Start the server with --clean-topology option.
-
Import/create new topology as follows:
-
Save the current settings:
./dmctl -s <Existing VoIP-AM domain name> invoke ICF_PersistenceManager::ICF-PersistenceManager save
-
Copy the ExistingVoIP-AM.rps at <VOIP_Basedir>/smarts/local/repos/icf and place it as NewVoIP-AM.rps in the same path. You would now have two rps files, ExistingVOIP-AM.rps and NewVoIP-AM.rps.
-
Start the new domain using the following options:
--name=NewVoIP-AM
--clean-topology
--ignore-restore-errors