How to export global collections and containers from one environment to another
search cancel

How to export global collections and containers from one environment to another

book

Article ID: 391529

calendar_today

Updated On:

Products

Network Observability Spectrum

Issue/Introduction

We are setting up a  new DxNetOps Spectrum environment but not bringing over the old data.  Is there any way to import the global collection and containers from old spectrum to new spectrum without importing the old SSDB?

 

Environment

DxNetOps Spectrum any version

Resolution

Yes this can be done using the modeling gateway.  You can update <SPECROOT>/SS-Tools/.modelinggatewayresource.xml

Change export_containers, ExportConfiguration, export_global_collections in the 'ExportConfiguration' from false to true :

ExportConfiguration

        export_devices           = "false"
        export_containers        = "false"
        export_port_attributes   = "false"
        export_links             = "false"
        export_topology_layout   = "false"
        export_annotation        = "false"
        export_WA_Link_models    = "false"
        export_spectrum_settings = "false"
        export_user_models       = "false"
        export_service_modeling  = "false"
        export_schedules         = "false"
        export_global_collections = "false"
        export_discovery_configs = "false"
        export_from_primary_ss_only = "false"
        export_policy_manager = "false"
        export_fanout = "false"

 

... export_user_models is advisable to avoid any security related issues

 

Then run the modeling gateway tool to export / import the configuration

See: The modelinggateway Tool for Export

Then to import follow: Import Modeling Gateway XML file