Uninstall CA Service Management 17.1.0.1

This article contains the following topics: 
casm171
This article contains the following topics: 
2
Uninstall CA SDM 17.1.0.1 (Windows)
Perform the following steps to uninstall CA SDM 17.1.0.1 on Windows:
  1. Log in to CA SDM as an Administrator.
  2. Shut down CA Service Desk Manager Server.
  3. Navigate to the location 
    where you have extracted the
    CA Service Management
     Installer zip package
  4. Locate 
    CASM-17.1.0.1-CommonPatchInstaller-Win\filestore\utils\ApplyPTF 
    folder.
  5. Run the 
    APPLYPTF.exe
    .  
  6. Select 
    Backout PTF
     from the local or remote node option.
  7. Click 
    Next
    .
  8. Enter the
     
    patch number for the language that is installed in your environment:
    • Binary: T6EE401
    • Language Master: T6EE402 
    • English: T6EE403
    • French: T6EE406
    • French Canadian: T6EE407
    • German:
       
      T6EE404
    • Spanish:
       
      T6EE405
    • Italian:
       
      T6EE408
    • Japanese: T6EE409
    • Brazilian Portuguese: T6EE410
    • Simplified Chinese: T6EE411
  9. Click 
    Next
     to continue backing out the specific patch.
  10. Repeat steps 
    6-9, 
    to back out the Language English (T6EE403) patch.
  11. Repeat steps 6-9 to back out the language master (T6EE402) patch.
  12. Repeat steps 6-9 to back out the binary (T6EE401) patch.
  13. Reboot the server.
  14. Repeat steps 6-12 on all standby, application, or secondary servers in your environment
  15. Restore the MDB database to the database backup that you took before applying the patch.
Uninstall the
xFlow Interface
 17.1.0.1
Perform the following steps to uninstall the
xFlow Interface
 (Windows): 
  1. Click 
    Start
    Control Panel
    Uninstall a Program
     to uninstall
    xFlow Interface
     17.1.0.1.
    Or
  2. Navigate to where you have installed the
    xFlow Interface
     (for example, 
    C:/Program Files/CA/xFlow)
  3. Select 
    xFlow Interface
     17.1.0.1_installation 
    and click 
    Change
    xFlow Interface
     17.1.0.1 Installation.exe
     to complete the uninstallation process.
How to Uninstall the Collaboration Server
Uninstall the Collaboration Server 17.1.0.1 (Windows) 
Perform the following steps to uninstall Collaboration Server:
  1. Stop CA Collaboration Server Services.
  2. From 
    Control Pane
    l,
     Programs, Programs and Features
    , select 
    17.1.0.1.
     Click 
    Uninstall
    /
    Change
    The installAnywhere wizard now starts the uninstallation process. 
  3. Click 
    Next.
  4. Run 
    installCollabServer.bat
     from 
    C:\Program Files\CA\SC\CollaborationServer
     to start the collaboration services.
Alternatively, you can also perform the following steps to uninstall the Collaboration Server:
  1. Stop Collaboration Services.
  2. Navigate to where you have installed Collaboration Server. For example: 
    C:\Program Files\CA\SC\CollaborationServer\_CollaborationServer 17.1.0.1_installation
  3. Click 
    Change CollaborationServer17.1.0.1 Installation.exe
    .
  4. The InstallAnywhere wizard starts the uninstallation process. Review the uninstallation summary and click 
    Next
     to uninstall the patch.
  5. Run 
    installCollabServer.bat
     from 
    C:\Program Files\CA\SC\CollaborationServer
     to start the collaboration services.
Uninstall the Collaboration Server 17.1.0.1 (Non-Windows)
  1. Stop CA Collaboration Server Services. 
  2. Navigate to where you have installed the Collaboration Server. 
    For example:
     /opt/CA/SC/CollaborationServer/_CollaborationServer 17.1.0.1_installation
  3. Execute the following command to uninstall:
    ./Change CollaborationServer 17.1.0.1 Installation   
  4. Click 
    Finish
     to complete the uninstallation process.
How to Uninstall Collaboration Server as well as the
xFlow Interface
 
Uninstall Collaboration Server and
xFlow Interface
  (Windows)
Perform the below post-installation steps if you are uninstalling both the Collaboration Server 17.1.0.1 and
xFlow Interface
 Server 17.1.0.1
  1. If you are using Microsoft SQL Server Database, run the following query:
    update ofProperty set propValue='select c.access_token from casm_active_sessions c WHERE UPPER(CONVERT(varchar(32), c.contact_uuid ,2)) = UPPER(?)' where name = 'jdbcAuthProvider.passwordSQL'
  2. If you are using Oracle Database, run the following query; 
    update ofProperty set propValue='select c.access_token from casm_active_sessions c WHERE UPPER(CAST( c.contact_uuid AS varchar2(32))) = UPPER(?)' where name = 'jdbcAuthProvider.passwordSQL'
Uninstall Collaboration Server and
xFlow Interface
 (Non-Windows)
If you have installed Collaboration Server 17.1.0.1 and
xFlow Interface
 17.1.0.1 on either Solaris or Linux, perform the following steps:
  1. Run the following query for Oracle Database:
    update ofProperty set propValue='select c.access_token from casm_active_sessions c WHERE UPPER(CAST( c.contact_uuid AS varchar2(32))) = UPPER(?)' where name = 'jdbcAuthProvider.passwordSQL'
Uninstall CA Service Catalog 17.1.0.1
To uninstall CA Service Catalog, perform the following steps:
  1. Click 
    Control Panel
    Programs and Features
    .
  2. Double-click the CA Service Catalog 17.1.0.1 and follow the uninstallation wizard instructions.
Uninstall Unified Self-Service 17.1.0.1 (Windows)
To uninstall Unified Self-Service, perform the following steps:
  1. Log into USS as an Administrator.
  2. Stop the USS Server and Jetty Server.
  3. Navigate to the location 
    where you have  extracted the
    CA Service Management
     Installer zip package.  
  4. Locate
     CASM-17.1.0.1-CommonPatchInstaller-Win\Installer\filestore\utils\ApplyPTF
    .
  5. Click 
    APPLYPTF-64bit.exe
    .
  6. Select the 
    Backout PTF
     on local or remote nodes option.
  7. Click 
    Next
    .
  8. Enter T6EE400 in the first field.  Leave all other options intact unless the node is incorrect.
  9. Click 
    Next
     to uninstall USS 17.1.0.1. 
  10. To restore MDB database, revert to database backup that you took before applying the patch.  
Uninstall CA SDM 17.1.0.1 (Non-Windows)
Uninstall CA Service Desk Manager (Linux)
Perform the following steps to uninstall CA SDM 17.1.0.1 on Linux: 
  1. Log in to CA SDM as the root user.
  2. Shut down the CA Service Desk Manager Server.
  3. Navigate to the location where you have extracted the
    CA Service Management
     Installer tar.gz package. 
  4. Navigate to the 
    CASM_17.1.01_CommonPatchInstaller_Linux\filestore\utils\ApplyPTF
     folder. 
  5. The following binary/language-independent and language-dependent patches are supported:
    • Binary name: T6EE412
    • Language Master: T6EE413
    • English: T6EE414
    • German: T6EE415
    • French: T6EE416
    • Japanese: T6EE417
  6. Execute the following command to remove the binaries or the language-dependent patches. Replace the <patch_name> with the binary or language-dependent patch name:  
    ./applyptf.<platform> -b <patch_name>  -e <NX_ROOT>
     Here, <platform> specifies the operating system and <NX_ROOT> specifies the CA SDM installed location.
    For example:
    ./applyptf.linux -b T6EE412  -e /opt/CA/ServiceDeskManager
  7. Repeat step 
    6, 
    to back out the Language (T6EE414) patch.
  8. Repeat step 
    6
     to back out the language master (T6EE413) patch.
  9. Repeat step 
    6
     to back out the binary (T6EE412) patch.
  10. To restore MDB database, revert to database backup that you took before applying the patch.
Uninstall CA Service Desk Manager 17.1.01 (Solaris)
Perform the following steps to uninstall CA SDM 17.1.01 on Solaris:
  1. Log in to CA SDM as the root user.
  2. Shut down the CA Service Desk Manager Server.
  3. Navigate to the location where you have extracted the
    CA Service Management
     Installer tar.gz package. 
  4. Navigate to the 
    CASM_17.1.01_CommonPatchInstaller_Solaris\filestore\utils\ApplyPTF
     folder.
  5. The following binary/language-independent and language-dependent patches are supported:
    • Binary name: T6EE419
    • Language Master: T6EE420
    • English: T6EE421
    • French: T6EE423
    • German: T6EE422
    • Japanese: T6EE424
  6. Execute the following command to remove the binaries or the language-dependent patches. Replace the <patch_name> with the binary or language-dependent patch name:  
    ./applyptf.<platform> -b <patch_name> -e <NX_ROOT>
    Here, <platform> specifies the operating system and <NX_ROOT> specifies the CA SDM installed location. 
    For example:
    ./applyptf.sun -b T6EE419
     -e /opt/CA/ServiceDeskManager
  7. Repeat step 
    6, 
    to back out the English Language (T6EE421) patch.
  8. Repeat step 
    6
     to back out the language master (T6EE420) patch.
  9. Repeat step 
    6
     to back out the binary (T6EE419) patch.
  10. To restore MDB database, revert to database backup that you took before applying the patch.  
Uninstall the 
xFlow Interface
To uninstall the
xFlow Interface
, complete the following steps on Linux or Solaris as per your implementation:
  1. Navigate to where you have installed the
    xFlow Interface
     server. 
    For example: 
     
    /opt/CA/_
    xFlow Interface
    _installation
  2. Execute the following command to uninstall the
    xFlow Interface
     17.1.0.1:
    ./Change xFlow_Interface 17.1.0.1 Installation
    To uninstall the base version of
    xFlow Interface
    , enter the following: 
    ./Change xFlow_Interface Installation
  3. Click 
    Finish
     to complete the uninstallation process.
Uninstall Unified Self-Service 17.1.0.1 (Linux)
Perform the following steps to uninstall the patch, if you have installed USS 17.1.0.1 on Linux:
  1. Log into USS as root.
  2. Shut down the Unified Self-Service Server and Jetty Server.
  3. Navigate to the location where you have  extracted the USS Installer tar.gz package. 
  4. Navigate to the 
    CASM_17.1.0.1_CommonPatchInstaller_Linux\Installer\filestore\utils\ApplyPTF
     folder.  
  5.  The following binary and language-dependent patches are supported:
    • Binary name: T6EE418
  6. Execute the following command to remove the binaries or the language-dependent patches. Replace the <patch_name> with the binary or language-dependent patch name:
    Here, <platform> specifies the operating system and <NX_Root> specifies the USS installed location.
    ./applyptf.<platform> -b <patch_name>  -e <NX_ROOT>
    For example:
    ./applyptf.linux -b T6EE412
     -e /opt/CA/Self Service
  7. To restore MDB database, revert to database backup that you took before applying the patch. 
Run the Database Cleanup Utility for
CA Service Management
 17.1.0.1
 During the installation of
CA Service Management
 products, each of the installed product is registered in a common mdb table that is reflected in the deployment summary of the selected environment. These entries must be cleared in the following cases:
  • Uninstallation of any
    CA Service Management
     products
  • Moving Database or migration from one server to another
Run the
CA Service Management
 database cleanup utility on a Windows or a Non-Windows environment. The database cleanup utility removes the entries and adds these to the following tables: 
Table Name from where the entries are removed
Table Name to which the removed entries are added
al_cdb_componentinstallstate
al_cdb_comp_installstate_bkup
al_cdb_configurationparameters
al_cdb_config_params_backup
On a Non-Windows Platform, before running the
DBCleanup.sh
Utility, you must export the Oracle Environment variables on the terminal.
Perform the following steps: 
  1. Navigate to 
    DVD1\DBCleanupUtility 
    directory.
  2. For Windows, double-click the 
    DBCleanupUtility.bat 
    to launch the DBCleanup utility.
    On a Non-Windows platform, you must run the 
    DBCleanupUtility.sh
     file.
  3. Enter the following details:
    1. Database Server Type
      : Specify the type of server, MS SQL or Oracle.
    2. Database Host Name:
       Enter the host name of the server where the database resides.
    3. Database User Name
      :
      • SQL Server
        : Enter the privileged user detail that has permission to create and modify schema.
      • Oracle
        :  Provide the mdbadmin  user name.
    4. Database Password
      :
      • MS SQL
        : Enter the database password used by the database admin user.
      • Oracle
        : Enter the password for the Oracle database user.
    5. Database Port Number: 
      Provide the database port number.
    6. Enter Database Name
      Enter the database name. For example, mdb.
    7. System Name
      : Provide the host name of the system from where you want to uninstall the
      CA Service Management
       product or products.
  4. Select any of the following products that you want to uninstall:
    • SDM - 
      CA Service Desk Manager.
    • SLCM- 
      CA Service Catalog.
    • USS - 
      Unified Self-Service.
    • xFlow Interface
    • Search Server
    • COLLABSERVER
    • DataMart
    • ProductUpdates
      Enter product name to be uninstalled: 
      ProductUpdates
  5. Enter product to cleanup updates:(sdm,slcm,xflow,uss,chatserver,searchserver) : For example, slcm
  6. Enter update version to cleanup: 17.1.0.1
  7. The utility cleans up the database and removes the entries of the selected product installed on the server.