Uninstalling in silent mode

Use this procedure to uninstall InfoSphere® MDM components in silent mode.

About this task

A properties file is generated when you are running an interactive uninstall. To use a silent uninstall, you must edit this file or create your own file.

Attention: Although code examples might show with line breaks in the following content, the text between <.../> must be entered in the response file as one line without breaks.

Procedure

  1. To uninstall, replace the <install modify='false'> and </install> tags in your response file with uninstall.
    For example:
    <uninstall modify='false'>
    <offering id='com.ibm.mdm.advanced' version='versionNumber' profile='IBM InfoSphere Master Data Management' features='com.ibm.mdm.install.iu.localization.feature,com.ibm.im.mdm.db.feature,com.ibm.im.mdm.app.feature,com.ibm.im.mdm.native.feature,com.ibm.mdm.ba.webapp.feature,com.ibm.mdm.ds.webapp.feature,com.ibm.mdm.pui.webapp.feature,com.ibm.mdm.inspector.webapp.feature,com.ibm.mdm.ev.webapp.feature,com.ibm.mdm.wb.webapp.feature,com.ibm.mdm.pd.webapp.feature,com.ibm.im.mdm.pair.manager.feature,com.ibm.im.mdm.message.broker.feature,com.ibm.im.mdm.ei.feature,com.ibm.mdm.ba.webapp.sample.feature,com.ibm.im.mdm.eutc'/>
    </uninstall>
  2. Replace the default profile value with real profile values.
    For example:

    Before the change:

    <data key='user.was.profile.home,com.ibm.mdm.advanced' value='/opt/IBM/WebSphere/AppServer/profiles/AppSrv01'/>
    <data key='user.was.profile.home.ba,com.ibm.mdm.advanced' value='/opt/IBM/WebSphere/AppServer/profiles/AppSrv01'/>
    <data key='user.was.profile.home.ds,com.ibm.mdm.advanced' value='/opt/IBM/WebSphere/AppServer/profiles/AppSrv01'/>
    <data key='user.was.profile.home.pui,com.ibm.mdm.advanced' value='/opt/IBM/WebSphere/AppServer/profiles/AppSrv01'/>
    <data key='user.was.profile.home.inspector,com.ibm.mdm.advanced' value='/opt/IBM/WebSphere/AppServer/profiles/AppSrv01'/>
    <data key='user.was.profile.home.wb,com.ibm.mdm.advanced' value='/opt/IBM/WebSphere/AppServer/profiles/AppSrv01'/>
    <data key='user.was.profile.home.ev,com.ibm.mdm.advanced' value='/opt/IBM/WebSphere/AppServer/profiles/AppSrv01'/>
    <data key='user.was.profile.home.pd,com.ibm.mdm.advanced' value='/opt/IBM/WebSphere/AppServer/profiles/AppSrv01'/>

    After the change:

    <data key='user.was.profile.home,com.ibm.mdm.advanced' value='/home/wsadmin/WAS8502NDClusterProfiles/DmgrCL1'/>
    <data key='user.was.profile.home.ba,com.ibm.mdm.advanced' value='/home/wsadmin/WAS8502NDClusterProfiles/DmgrCL1'/>
    <data key='user.was.profile.home.ds,com.ibm.mdm.advanced' value='/home/wsadmin/WAS8502NDClusterProfiles/DmgrCL1'/>
    <data key='user.was.profile.home.pui,com.ibm.mdm.advanced' value='/home/wsadmin/WAS8502NDClusterProfiles/DmgrCL1'/>
    <data key='user.was.profile.home.inspector,com.ibm.mdm.advanced' value='/home/wsadmin/WAS8502NDClusterProfiles/DmgrCL1'/>
    <data key='user.was.profile.home.wb,com.ibm.mdm.advanced' value='/home/wsadmin/WAS8502NDClusterProfiles/DmgrCL1'/>
    <data key='user.was.profile.home.ev,com.ibm.mdm.advanced' value='/home/wsadmin/WAS8502NDClusterProfiles/DmgrCL1'/>
    <data key='user.was.profile.home.pd,com.ibm.mdm.advanced' value='/home/wsadmin/WAS8502NDClusterProfiles/DmgrCL1'/>
  3. Make sure that the following three features are always included in the response when you run a silent uninstall:
    com.ibm.mdm.install.iu.localization.feature,com.ibm.mdm.server.swtag.feature,com.ibm.mdm.server.bundles.feature
  4. If you use a sample response file from the Installation Startup Kit and want to modify it for a silent uninstall, add the following features: com.ibm.mdm.server.swtag.feature,com.ibm.mdm.server.bundles.feature
    For example:
    <uninstall modify='false'>
    <offering id='com.ibm.mdm.advanced' version='versionNumber profile='IBM InfoSphere Master Data Management' features='com.ibm.mdm.install.iu.localization.feature,com.ibm.mdm.server.swtag.feature,com.ibm.mdm.server.bundles.feature,com.ibm.im.mdm.db.feature,com.ibm.im.mdm.app.feature,com.ibm.mdm.ba.webapp.feature' installFixes='none'/>
    </uninstall>

What to do next

The uninstall process does not remove the composite bundle archive (CBA) from the internal bundle repository. You must manually remove the CBA in IBM® WebSphere® Application Server Integrated Solutions Console.