ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

How to prevent Spectrum services from being exported by Modeling Gateway tool

book

Article ID: 41700

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

How to prevent Spectrum services from being exported by Modeling Gateway tool

 

Environment

Release: Any version of Spectrum
Component:

Resolution

Export using CMDB:

a) Edit the "$SPECROOT/SS_Tools/.cmdbresource.xml" file.

b) Locate and change the following lines, exactly as below:


From: 

<CMDBClassMapping>

    <CMDBClass family="Service" class="Service" />

    <SPECTRUMModelClass>50</SPECTRUMModelClass> <!-- Service Mgt Component -->

  </CMDBClassMapping>


To:

<!--<CMDBClassMapping> 

    <CMDBClass family="Service" class="Service" /> 

    <SPECTRUMModelClass>50</SPECTRUMModelClass> Service Mgt Component 

</CMDBClassMapping> -->


c) Run the Modeling Gateway tool with "-cmdb" parameter:

Example:

./modelinggateway -vnm SPECTRUM -cmdb -e CMDB_Export_File

 

Non-CMDB export:

a) Edit the "$SPECROOT/SS_Tools/.modelinggatewayresource.xml" file.

b) Locate and change the following line, exactly as below:


From: 

export_service_modeling  = "true"


To:

export_service_modeling  = "false"


c) Run the Modeling Gateway tool export.

Example:

./modelinggateway -vnm SPECTRUM -e Export_File