Topic
  • 2 replies
  • Latest Post - ‏2013-09-30T12:52:13Z by randybrown
TimothyLam
TimothyLam
2 Posts

Pinned topic How can tbsm merge multiple service models to a new service model ?

‏2013-09-28T04:16:02Z |

Hello ,

 

How can tbsm merge multiple service models to a new service model ? Is there a command line provided ? Is it possible ? We see customers requesting for this.

 

 

Timothy Lam

  • GER_MCC
    GER_MCC
    13 Posts

    Re: How can tbsm merge multiple service models to a new service model ?

    ‏2013-09-30T11:58:27Z  

    Could a radshell export be used to import service models in this case? Individual radshell commands will fail if a template, rule or service already exists. But the others would complete successfully.

     

  • randybrown
    randybrown
    64 Posts

    Re: How can tbsm merge multiple service models to a new service model ?

    ‏2013-09-30T12:52:13Z  
    • GER_MCC
    • ‏2013-09-30T11:58:27Z

    Could a radshell export be used to import service models in this case? Individual radshell commands will fail if a template, rule or service already exists. But the others would complete successfully.

     

    As suggested, a rad_radshell export would handle services and templates, but it has a couple of limitations:

    1. As mentioned by the previous poster, rad_radshell export will not update or replace any service, template, or rule of a template that already exists.
    2. rad_radshell is good for templates, services, datasources, data fetchers, and maintenance schedules. If there are any tree templates, view definitions, menu actions, or SCR configuration files, then rad_radshell will not get those.

    Starting with TBSM 6.1.0, the tbsm_export command can be used to exchange data between systems. This will replace templates and other elements on import by default, though it does not "merge" elements of a template. So last import wins.

    The tbsm_export command does not handle services, as the assumption is that services will generally be discovered again on the target system. For services created manually, there are rad_radshell commands in 6.1.0 called exportInstanceNoMeta and exportFromStartingInstanceNoMeta. These will export the services without exporting all the associated template data, which should be handled with tbsm_export.

    For more information, see:

    http://pic.dhe.ibm.com/infocenter/tivihelp/v3r1/index.jsp?topic=%2Fcom.ibm.tivoli.itbsm.doc_6.1.1%2Fadminguide%2Fbsma_imp_exp_cust_art.html

    I hope this helps...

     

    Randy Brown