Is it possible to re-install the CA CSM software without destroying the current databases?

Document ID : KB000100228
Last Modified Date : 14/09/2018
Show Technical Document Details
Question:
Would it be possible to re-install the CA CSM software without destroying the current databases?
Answer:
These are the steps to re-install CA CSM 6.0 or 6.1 without destroying the current databases and the /mpm file systems:

(1).Shutdown MSMTC, MSMDBSRV and MSMMUF. 

(2). Delete all the directories under /msmruntime and /msm 

For example: 
EUID=0 /.../csm60/msm/ 
Type Filename 
_ Dir . 
_ Dir .. 
d Dir CEGPHFS 
d Dir CEGPJAR 
d Dir CEG1JAR 
d Dir CEG1SHSC 
d Dir datacom 
d Dir dsi 
d Dir MSMDepBackup 
d Dir MSMDeployLog 

EUID=0 /.../csm60/msmruntime/ 
Type Filename Row 1 of 
d Dir . 
d Dir .. 
d Dir apache-tomcat-7.0.42 
d Dir dsi 
d Syml tomcat 

(3). Run your MSMSetup.sh script using manual mode. Manual mode is important because this procedure is only going to recreate the /msm and /msmruntime directories and files and also the SMP/E CSI and it's related datasets. This will not affect your MSM database and USS file systems mounted under /mpm. 

When you get this prompt: Do you want to restart from the earlier failed location (r) or start from scratch (s)? 

Note: If you have modified options in MSMSetupOptionsFile.properties inbetween 
execution of MSMSetup.sh, you should start from scratch, otherwise 
the changes will not be processed. 

Please enter S to start from scratch. 
(5). You will get this prompt: 
Do you want to use the provided values and over write the existing files (Y/N)? 
Respond with Y. 

(6). After MSMSetup.sh terminates successfully it puts you into the summary report. All you need to do is run CSMN6003. if you last upgraded from a previous release the name of this job would be CSMUnn03 were nn would be the previous release. Before running this job that recreates the CSI review DDDEF(SRVHFS2) and DDDEF(SRVHFS3) .
There is an HOLDDATA action that requires SRVHFS2) DDDEF ends with /lib and SRVHFS3 ends with /bin. This must be current in CSMN6003/CSMUnn03 for the target zone. This is how it should be:
REP DDDEF(SRVHFS2) 
PATH('/....../msm/datacom/dbsrv/lib/'). 
REP DDDEF(SRVHFS3) 
PATH('/......./msm/datacom/dbsrv/bin/'). 
 
Note that this will put you back to the original base build..