How to remove/delete an unwanted DSA from your CA Directory Server
search cancel

How to remove/delete an unwanted DSA from your CA Directory Server

book

Article ID: 48636

calendar_today

Updated On:

Products

CA Directory CA Identity Manager CA Identity Governance CA Identity Portal CA IT Asset Manager CA Software Asset Manager (CA SAM) ASSET PORTFOLIO MGMT- SERVER CA Risk Analytics CA Secure Cloud SaaS - Arcot A-OK (WebFort) CLOUDMINDER ADVANCED AUTHENTICATION CA Secure Cloud SaaS - Advanced Authentication CA Secure Cloud SaaS - Identity Management CA Secure Cloud SaaS - Single Sign On CA Security Command Center CA Data Protection (DataMinder) CA User Activity Reporting CA Service Management - Service Desk Manager CA Workload Automation AE - Business Agents (AutoSys) CA Workload Automation AE - Scheduler (AutoSys) Workload Automation Agent CA Process Automation Base

Issue/Introduction

Created a DSA but no longer needed. Require to remove the data and all reference to this DSA within the server



Environment

Release: 14.x
Component:  CA Directory

Resolution

STEPS:

Windows:

Shutdown the DSA you want to remove from the system.
i.e. dxserver stop <dsaname>

Remove the CA Directory - <dsaname> service from Service Panel.
i.e. dxserver remove <dsaname>

Manually delete the following two files:

%DXHOME%\config\servers\<dsaname>.dxi
%DXHOME%\config\knowledge\<dsaname>.dxc

If you have a reference to this <dsaname>.dxc file in a GROUP (.dxg) file, you want to remove that 'source' line from that GROUP .dxg file as well (from this same KNOWLEDGE folder)

Manually delete ALL related datastore files from DATA location.
i.e. <dsaname>.db, <dsaname>.tx etc.

Linux/UNIX: (perform the steps as 'dsa' user)
Shutdown the DSA you want to remove from the system.
i.e. dxserver stop <dsaname>

If the DSA is configured to 'autostart' upon a reboot, remove the reference from autostart folder.
i.e. $DXHOME/config/autostart

Manually delete the following two files:

$DXHOME/config/servers/<dsaname>.dxi
$DXHOME/config/knowledge/<dsaname>.dxc

If you have a reference to this <dsaname>.dxc file in a GROUP (.dxg) file, you want to remove that 'source' line from that GROUP .dxg file as well (from this same KNOWLEDGE folder)

Manually delete ALL related datastore files from DATA location.
i.e. <dsaname>.db, <dsaname>.tx etc.

Finally, run 'ls -latr' in $DXHOME/pid folder and you will find a hidden .dsaname.lck file (notice the filename starts with a period).
Manually delete this .dsaname.lck file(s) for a specific DSA you are attempting to remove from host.