Client Automation - How to synchronize and clean the Software Library folder of Scalability Servers ?

book

Article ID: 211496

calendar_today

Updated On:

Products

CA Client Automation - IT Client Manager CA Client Automation CA Client Automation - Software Delivery

Issue/Introduction

Software Library of a scalability Server could have following problems :
 
- A SD package is referenced in file library.dct but its associated .arc directory does not exist anymore
- A directory .arc exists but has no entry in library.dct
- A SD Package is registered in Scalability Server Software LIbrary but this package does not exist anymore on Domain Manager
- A SD Package appears to be registered to a Scalability Server in DSM Console but the package is not present on the Scalability Server
- A SD Package is registered on a Scalability Server but this package does not appear in SS Library in DSM Console.
 

Environment

Client Automation - All Versions

Resolution

Attached file Clean_Scala_Library_Database_v2.zip could be used to create a SD Package for a script which does a cleanup and reparation of a Scalability Server Library.

 

1- Copy and uncompress the attached file Clean_Scala_Library_Database_v2.zip in a temp directory on the Domain Manager

 

2- Open a cmd with Administrator privileges and execute following command :
cd /d C:\TEMP\Clean_Scala_Library_Database_v2
generate_pkg_clean_sslib_db.bat

or if logged user has not enough right on mdb database :
generate_pkg_clean_sslib_db.bat ca_itrm NOT_changedR11
 
Replace NOT_changedR11 by the valid password for ca_itrm if it has been changed.
 
 
 
3- A SD Package like "Clean Scala Library Database Thu_05-20-2021_22.13.41.33" is created and registered in Domain Manager
 
 
 
 
 
4- Send this package to one or more Scalability Servers to do a cleanup and repair of the Scalability Server SD Library.
 
5- Result of execution of job could be found in SD Job Output :
 
 
 
 
and also in file DSM\log\clean_SSLib_DB.log on the scalability server.
 
 
 
 
 
Remark :
The SD Package contains an export of some database data about Software package.
After some days/months a new SD package should be generated to have the latest data.
So script generate_pkg_clean_sslib_db.bat script should be executed again to generate and register a new SD package. 
 
 

Attachments

1621540280474__Clean_Scala_Library_Database_v2.zip get_app