Skip to Content

How to migrate a DC to a new SC


Problem


You have developed one (or more) DC(s) for a SC. Now you want
to use the results (sources) of this development in another DC.
Additionally you
want to enhance the functionality of the DC but not to change the
behaviour of the original DC. Both DCs should be executed at the same
server.

Because you want to run both DCs at the same server the DC
names have to be different. At the same server a DC (that has a unique
name) can only be deployed once.


Solution


To solve the problem you have to migrate the DC to another SC.
This means you have to copy the original DC, assign it to your new SC,
give it a new name and rename the used packages. This does not sound
very difficult. But NWDI and NWDS do not support this with wizards or
other tools. So you have to do all the work manually.


Preconditions


    • You defined a new SC in SLD into which you want to
      migrate one or more DCs
    • You defined a new namespace for developing DCs of the new
      SC.
    • You created a new development track in which you develop
      the newly created SC.
    • You imported the development configuration of your new
      track.


Steps to do


cfg/. 

    1. def/*.pp 
    2. .dcdef 

src/*/.* 

Model Folder/*/.*

Conclusion


You may think that this description violates the thoughts that
are behind component based development and I will agree with you. But
in todays practice there are situation that require this solution. The
description was born because customers of mine had this demand.

If one of the readers will have the time to write a tool that
does all this manual stuff with just some mouse-clicks I would highly
appreciate if she uploads this tool to SDN.


To report this post you need to login first.

8 Comments

You must be Logged on to comment or reply to a post.

  1. Matthias Sohn
    A command line tool supporting component refactoring
    operations has been developed and will be shipped
    with NWDI in one of the next SPs in Netweaver 2004s.
    (0) 
    1. Sejoon Ahn
      Could you tell me the status of the “New DC tool”? As of 2007/04/01, is this already available? What is the name of this feature?

      Best Regards.
      Sejoon

      (0) 
      1. Sushil Kumar Jain
        Hi

        Request you ti kindly let me know if you are aware of the tool mentioned here, or you are aware of other procedure where you can use the same DC with diffrent DC name in same SC

        (0) 
    1. Larry Chaput
      I’ve read through the documentation on this tool and have not found that its capable of doing a copy.  I’m working with ESS/MSS WebDynpro packages and would like to copy an ESS WebDynpro DC to the MSS package and make modifications to it.
        Is that possible with this tool and if so how would I go about doing this?
      (0) 
  2. Suhail Vagal
    Hi All,

    I am trying to copy multiple DC’s from one SC to another. Given that DC2 has dependency on DC1, how would I carry these references when I make a copy of the DC’s into a new SC? What I would like to avoid is having the new copied DC’s reference on of the original DC’s from the first SC.

    I have created the following diagram to assist in describing my question.
    http://img231.imageshack.us/img231/6379/16569361cy3.jpg

    (0) 

Leave a Reply