DX NetOps

 View Only
  • 1.  Export / Import only Users and Groups with Privileged Roles using modelinggateway

    Posted Oct 08, 2021 06:43 AM
    Hi world,

    we have an old distributed environment with MLS and Polling Server.
    How do we need to proceed if we want to export and then import only the existing users with groups and Privileged Roles to an new Spectrum enviroment with a modern Spectrum Release?

    We don't want to export the models from the old enviroment.
    The challange is, we do not want to export the customer network topology with the models. On the old environment we discovered customer networks on the MLS, too. So we can't export all as it is.

    Do you have a good description how to go on?

    Thank you very much.
    Yours Rudi


  • 2.  RE: Export / Import only Users and Groups with Privileged Roles using modelinggateway

    Broadcom Employee
    Posted Oct 08, 2021 07:47 AM
    Rudi,

    In the $SPECROOT/SS-Tools/.modelinggatewayresource.xml file you will see the following section:

    <ExportConfiguration

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

    I have not tested this but if you set all but export_user_models to false, that may do it.

    As for exporting your customers network topology, you can specify where to start in the Topology for exporting models. By default it is the Universe but this can be changed.

    <!-- ******************************************************** -->
    <!-- -->
    <!-- RootContainerToExport specifies the root container in -->
    <!-- SPECTRUM to be exported. -->
    <!-- Change RootContainerToExport model_type value to "World" -->
    <!-- to export the models under World hierarchy or "Top_Org" -->
    <!-- to export the models under Top_Org hierarchy. -->
    <!-- -->
    <!-- ******************************************************** -->

    <RootContainerToExport model_type="Universe" model_name=""/>

    Joe



  • 3.  RE: Export / Import only Users and Groups with Privileged Roles using modelinggateway

    Posted Oct 08, 2021 10:10 AM

    Thank you Joe.
    I already tested the export it is showing what I need.

    Do you see a problem if we are exporting from Spectrum 9.4 to the newest Spectrum Version?
    In the documentation I read was explained to use the same Spectrum Version.

    Thank you.
    Kind regards,
    Rudi




  • 4.  RE: Export / Import only Users and Groups with Privileged Roles using modelinggateway

    Broadcom Employee
    Posted Oct 08, 2021 10:12 AM
    Rudi,

    I have never tested 9.4 to newest version so I cannot say.

    I have tested versions like 10.3.2 to 10.4.x and it worked.

    Joe


  • 5.  RE: Export / Import only Users and Groups with Privileged Roles using modelinggateway

    Posted Oct 08, 2021 10:35 AM
    Hi Joe,

    the informtion I send to you was not correct.
    We are using 10.2.3 and are migrating to the newest one: 21.2.1.0.46.

    Thank you.
    Rudi


  • 6.  RE: Export / Import only Users and Groups with Privileged Roles using modelinggateway

    Posted Oct 11, 2021 01:04 AM
    It should work.