Created a DSA but no longer needed. Require to remove the data and all reference to this DSA within the server
Release: 14.x
Component: CA Directory
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.