Quantcast
Channel: SCN : Document List - All Communities
Viewing all articles
Browse latest Browse all 2380

Undeploying Software/ Development component on NetWeaver Java release 7.0x

$
0
0

Purpose

The purpose of this document is to list steps to undeploy Software/ Development component on NetWeaver Java release 7.0x(7.00, 7.01, 7.02).

 

Use Case

Custom Software/ Development components have been deployed in system. During system upgrade, SUM or other upgrade tool could not continue upgrade saying these custom Software/ Development components can not be handled by upgrade tool. Under this situation, you can follow this document to manually undeploy custom Software/ Development components before upgrading.

 

 

NOTE: Undeployment as such is not supported and should be used only in cases where the SAP Basis admin is well versed with the system landscape and the repercussions of this activity very well. If unknowingly a component is deployed, the best option would be to restore the system to the previous state it was before the deployment was triggered. Hence, you should always take a full offline backup before commencing deployment.

 

 

Step1

Check out all Development Components that belong to the Software Components that need to be undeployed together.

1. Access http://<hostname>:<port>/sap/monitoring/SystemInfo, then click link "all components...".

2. Suppose want to undeploy Software Component DI_CBS, DI_CMS, DI_DTR.

    Note: Undeployment of SAP standard Software/ Development components is very risky operation.

             This document only use these Software/ Development components as example.

             Please do not do such undeployment in real system.

    SCA_need_undeployment.png

3. Check "Development Components" section for all entries that has "Software Component" with value DI_CBS, DI_CMS DI_DTR.

    DC_of_DI_CMS.png

    DC_of_DI_CMS.png

    DC_of_DI_DTR.png

 

Step2
1. Create xml file to list all Development Components identified in Step1 with format like below. Make sure no extra space and exact upper/lower case.

----------------------------------------------

<Components>

<DevelopmentComponentLine name="dev_comp1_name" vendor="vendor1_name"></DevelopmentComponentLine>

<DevelopmentComponentLine name="dev_comp2_name" vendor="vendor2_name"></DevelopmentComponentLine>

......

</Components>

---------------------------------------------

For example:

---------------------------------------------

<Components>

<DevelopmentComponentLine name="tc.CBS.Appl" vendor="sap.com"></DevelopmentComponentLine>

<DevelopmentComponentLine name="tc.CBS.CommonPart" vendor="sap.com"></DevelopmentComponentLine>

......

</Components>

-------------------------------------------

2. Stop SDM node, then modify it to standalone mode.

sdm_standalone.png

3. Undeploy Development Components using command: sdm undeploy "list=<xml file location>" "undeploydb=yes"

sdm_undeployment.png

    If undeployment successfully finished, "Return code: 0" message show up as below image.

    If any error happen, error detail can be seen in newest sdmlog*.log in usr/sap/<SID>/<xx>/SDM/program/log.

undeployment_ok.png

4. Once undeployment successfully finished, set SDM back to integrated mode and start it manually.

sdm_integrated.png

sdm_integrated_ok.png

 

Step3

Access http://<hostname>:<port>/sap/monitoring/SystemInfo again, and confirm indeed Software/ Development components that want to undeployed are not show there anymore.

status_after_undeployment.png


Viewing all articles
Browse latest Browse all 2380

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>