CA Client Automation Software Delivery cleanup procedure

Document ID : KB000038537
Last Modified Date : 19/07/2018
Show Technical Document Details
Introduction:

During the course of administering CA Client Automation you may run into issues where software jobs may hang or become corrupt. If this happens a manual cleanup may be required.  This document outlines the Software Delivery/Data Transport Service cleanup procedure (AKA SDO/DTS cleanup) required to correct these issues.

Environment:
All Supported Windows operating systems
All Supported CA Client Automation versions 
 
Instructions:
This document is divided into two sections one set of directions for the Domain manager and the other for the Scalability Server. It is recommended that both are done at the same time. 

Domain Manager

1. Delete or unseal any Job Containers currently active. (Very Important and not optional)

2. Stop CAF (CAF STOP) 

3. Run 'cam change disabled' 

4. Run 'camclose'

5. Run 'csampmux stop'

6. Delete all the files and folders in the "%sdroot%\asm\d" folder.

7. Delete all the files and folders in the "%sdroot%\asm\library\activate" except the scripts folder, the lgzip folder and scripts.zip. 
(Note: You should never do this if there are ANY active job containers!)

Activate Folder.jpg


8. Delete all the files in the "..\CA\DSM\DTS\DTA\Staging" folder.

9. Make sure that  "..\CA\DSM\DTS\DTA\Status" folder contains only a zero-length file called 'Index' with no extension.

10. If the file 'INDEX' exists and is larger than '0 kb' then open it with notepad, perform 'select all', delete the content and then save. (It's ok if it shows as 1kb at this point) 

11. Delete the file "cfnotsrvd.dat" from the "..\CA\DSM\appdata" folder.

12. Create a folder called "CLEANSTART" in the "%SDROOT%\ASM\DATABASE\ftm_journals" folder.

Cleanstart.jpg

13. Browse to "..\CA\DSM\ServerDB\SWJORDER" and delete all folders and .cof files, except .XML files.

14. Run 'csampmux start'

15. Run 'cam change auto'

16. Run 'cam start -c -l'

17. Run 'caf start'

18. Confirm that the "CLEANSTART" folder created in step #11 has been deleted by the system now.
 

Scalability Server

1. Stop CAF (CAF STOP) 

2. Run 'cam change disabled' 

3. Run 'camclose'

4. Run 'csampmux stop'

5. Delete all the files and folders in the "%sdroot%\asm\d" folder.

6. Delete all the files and folders in the "%sdroot%\asm\library\activate" except the scripts folder, the lgzip folder and scripts.zip. 
(Note: You should never do this if there are ANY active job containers!)

Activate Folder.jpg

7. Delete all the files in the "\CA\DSM\DTS\DTA\Staging" folder.

8. Delete all the files in the "\CA\DSM\DTS\DTA\Status" folder.

9. Browse to "..\CA\DSM\ServerDB\SWJORDER" and delete all folders and .cof files, except .XML files.

10. Run 'csampmux start'

11. Run 'cam change auto'

12. Run 'cam start -c -l'

13. Run 'caf start'
Additional Information:
For information on Supported Windows and CA Client Automation versions please look at the Compatibility Matrix at the below link:
https://support.ca.com/us/product-content/status/compatibility-matrix/ca-it-client-manager-compatibility-matrix.html