cancel
Showing results for 
Search instead for 
Did you mean: 

Move DC from one SC to another SC within the same track

Former Member
0 Kudos

Hi,

I want to move a DC from one SC to another SC. I followed the instruction as described in SAP Note 888969 - How to Move a DC from one SC to another.

Unfortunately I got stuck in the following step:

> Checkin and activate the activity containing this newly added .dcref file.

When I try to activate the activity it fails with following message:


===== Post-Processing =====  finished at 2014-11-25 09:42:35.014 GMT and took 16 ms

Change request state from PROCESSING to FAILED

Error! The following problem(s) occurred  during request processing:

Error! The following error occurred during request processing: DC 'mycompany.com/mydc' is already active in the compartment 'OldSC' and cannot be activated in the compartment 'NewSC'

How can I resolve this issue? Or do I missed anything, which hasn't been mentioned in the SAP Note?

NWDI is on relase 7.3

Best regards

Mario

Full log:


REQUEST PROCESSING started at 2014-11-25 13:15:12.911 GMT

    ACTIVATION request in Build Space "myBuildSpace" at Node ID: 219,771,750

    [id: 136,399; parentID: 0; type: 4]

    [options: FORCE ACTIVATE PREDECESSORS]

    Waiting for access: 13 ms

   

    ===== Pre-Processing =====  started at 2014-11-25 13:15:12.924 GMT

        List of requested for activation activities:

            ''mycompany.com_NewSC_1'' compartment

                Preparation for migration to new SC

                    [ISN 4][created by MYUSERNAME at 2013-07-03 11:52:32.0][OID 31be21f8e32011e2aa5800000d197366]

            There is 1 activity in compartment mycompany.com_NewSC_1

            1 activity will be processed by this request

       

        Analyze dependencies to predecessor activities... started at 2014-11-25 13:15:12.944 GMT

            Analyzing predecessors in compartment "mycompany.com_NewSC_1"

                No dependencies to predecessor activities found.

        Analyze dependencies to predecessor activities... finished at 2014-11-25 13:15:12.946 GMT and took 2 ms

       

        Analyze versions... started at 2014-11-25 13:15:12.946 GMT

            List Active Versions Report: "HTTP/1.1 207 Multi-Status" finished at 2014-11-25 13:15:13.056 GMT and took 109 ms

           

            Synchronize metadata for [mycompany.com/myDC] started at 2014-11-25 13:15:13.122 GMT

                Verification of DL [ws/myTrack/mycompany.com_NewSC/dev/active/] finished at 2014-11-25 13:15:13.209 GMT and took 41 ms

                Verification of cache (level 2: Comparison of attributes) finished at 2014-11-25 13:15:13.243 GMT and took 34 ms

            Synchronize metadata for [mycompany.com/myDC] finished at 2014-11-25 13:15:13.245 GMT and took 123 ms

            < CREATE > ''mycompany.com/myDC'' DC

        Analyze versions... finished at 2014-11-25 13:15:13.262 GMT and took 316 ms

       

        Analyze activities... started at 2014-11-25 13:15:13.262 GMT

            Loading component definitions

            1 component to be build in compartment "mycompany.com_NewSC_1"

        Analyze activities... finished at 2014-11-25 13:15:13.501 GMT and took 239 ms

        Calculate all combinations of components and variants to be built...

       

        Analyze request DC BV... started at 2014-11-25 13:15:13.552 GMT

                ''mycompany.com/myDC'' variant ''default''

        Analyze request DC BV... finished at 2014-11-25 13:15:13.719 GMT and took 167 ms

       

        Prepare build environment in the file system... started at 2014-11-25 13:15:13.720 GMT

           

            Synchronize development configuration... started at 2014-11-25 13:15:13.720 GMT

            Synchronize development configuration... finished at 2014-11-25 13:15:13.723 GMT and took 3 ms

           

            Synchronize sources for [mycompany.com/myDC] started at 2014-11-25 13:15:13.735 GMT

                Verification of DL [ws/myTrack/mycompany.com_NewSC/dev/active/] finished at 2014-11-25 13:15:13.828 GMT and took 43 ms

                Verification of cache (level 2: Comparison of attributes) finished at 2014-11-25 13:15:13.984 GMT and took 155 ms

            Synchronize sources for [mycompany.com/myDC] finished at 2014-11-25 13:15:13.986 GMT and took 251 ms

           

            Synchronize used libraries... started at 2014-11-25 13:15:16.499 GMT

                PP ''runtime'' of DC ''sap.com/tc/ddic/runtime/facade'' [DCID=325] (in SC ''sap.com_FRAMEWORK_1'' [SCID=2267]) ... OK

            Synchronize used libraries... finished at 2014-11-25 13:15:17.183 GMT and took 684 ms

        Prepare build environment in the file system... finished at 2014-11-25 13:15:17.184 GMT and took 3 s 464 ms

    ===== Pre-Processing =====  finished at 2014-11-25 13:15:17.185 GMT and took 4 s 261 ms

    Waiting for access: 8 ms

   

    ===== Processing =====  started at 2014-11-25 13:15:17.194 GMT

        BUILD DCs

            ''mycompany.com/myDC'' in variant ''default''

                Starting CBS build controller process with JDK '/opt/java6'

                    ''TypesF'' PP has been changed. Dependent DCs will be re-built.

                The build was SUCCESSFUL. Archives have been created.

    ===== Processing =====  finished at 2014-11-25 13:15:31.102 GMT and took 13 s 908 ms

    ===== Post-Processing =====

    Waiting for access: 103 ms

   

    ===== Post-Processing =====  started at 2014-11-25 13:15:31.206 GMT

        Check whether build was successful for all required variants...

            "mycompany.com/myDC" in variant "default"   OK

       

        STORE activation build results... started at 2014-11-25 13:15:31.218 GMT

           

            Update DC metadata... started at 2014-11-25 13:15:31.218 GMT

            ===== Post-Processing =====  finished at 2014-11-25 13:15:31.228 GMT and took 22 ms

            Change request state from PROCESSING to FAILED

            Error! The following problem(s) occurred  during request processing:

            Error! The following error occurred during request processing: DC 'mycompany.com/myDC' is already active in the compartment 'OldSC' and cannot be activated in the compartment 'NewSC'

        REQUEST PROCESSING finished at 2014-11-25 13:15:31.234 GMT and took 18 s 323 ms

       

Build log for DC: myDC(default

Accepted Solutions (1)

Accepted Solutions (1)

former_member191643
Active Contributor
0 Kudos

Try deleting the old dc from the dtr web-ui : " http://<host>:<port>/dtr "

The dc should be present in the root 'active' directory.

Once this is successfully deleted, then try to follow the note and activate the activity.

This should work i guess.

Former Member
0 Kudos

Hi Siddhant,

thanks for your help!

First I have deleted the sources and DC-Ref file of the DC from the old SC. And afterwards I have activated the DC in the new SC.

This solved the issue.

Thanks and best regards

Mario

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Mario,

The note more or less describes the move of the DC in NWDI.

But I think your error telling you something about compartments is realted to your NWDS (local) stuff.

If you can verify in DTR (online in NWDI) that your DC has arrived in the target SC, tehn I would delete the projects (DCs) in your local NWDS and make sure contents on disk is removed also.

After that resync (create project) from NWDI to your local NWDS again and you should be done.

have fun

Sven