RC Viewer - Opening a Global Address Book takes long time
search cancel

RC Viewer - Opening a Global Address Book takes long time

book

Article ID: 221998

calendar_today

Updated On:

Products

CA Client Automation - IT Client Manager CA Client Automation - Remote Control

Issue/Introduction

In RC Viewer opening of a Global Address Book could take long time (several minutes).
How to speed up the process ?

Environment

Client Automation 14.5

Cause

In TRC_URC_VIEWER*.log we could see the delay here (4 minutes 8 secondes for a group of 4000 computers) :

100921-12:37:00.4672299L|003272|00002bcc|VIEWER |rcMgrAddressBook |000000|INFO   | GetBook begin, id = A6D803A5CCC54B40A2D1D44E2A964865
100921-12:37:27.9889758L|003272|00002bcc|VIEWER |rcMgrAddressBook |000000|INFO | GetBook: local data need an update
100921-12:37:45.2192983L|003272|00002bcc|VIEWER |rcAddressBook |000000|INFO | CRCAddressBook::AddComputers: Called
100921-12:41:08.2940931L|003272|00002bcc|VIEWER |rcAddressBook |000000|INFO | CRCAddressBook::SetBookInfo: Entering
100921-12:41:08.9556293L|003272|00002bcc|VIEWER |CAddressBookGlob |000000|DETAIL | Ends (OK)


Data of Global Address Book is retrieved from mdb database using RCManager plugin.
Then data are merged with content of file %TEMP%\..\..\Roaming\CA\RemoteControl\winnt-*localdomain.xml
If this file is big and Global Address Book contains a lot of computers, process could take long time
 
And if a minor change is made in a group (for example one computer added or removed), the full global address book for this group is again retrieved from RC Viewer.
 
Example :
- In RC Viewer, click on Global Address book GROUP4000 is taking 4 minutes.
- One minute later a new click on Global Address book GROUP4000 is taking only few seconds
- One minute later a new machine is added in group GROUP4000
- One minute later in RC Viewer new click on Global Address book GROUP4000 is again taking 4 minutes
 

Resolution

3 things could be done to speed up the process :

 

1- If group All Computer is not needed in Global Address Book, it could be removed and so decrease the size of %TEMP%\..\..\Roaming\CA\RemoteControl\winnt-*localdomain.xml

- Open group All Computers/{Group Details}/
 
- Right Click on "Remote Control Permissions" and select Properties in popup menu.

 

- Uncheck option "Global address book root group"

https://api-broadcom-ca.wolkenservicedesk.com/attachment/get_attachment_content?uniqueFileId=h1Jdc5M0j/rrgdp/9iJ3GQ==

 

And/Or
 
 
2- Delete the files %TEMP%\..\..\Roaming\CA\RemoteControl\winnt-*localdomain.xml before opening RC Viewer
 
This could be done automatically by creating the file DSM\bin\rcview.bat containing these lines :
del "%TEMP%\..\..\Roaming\CA\RemoteControl\winnt-*localdomain.xml
"%SDROOT%\..\Bin\gui_rcLaunch.exe"
 
 
And execute rcview.bat to open RC Viewer.
 
And (if Client Automation is in version 14.5) :
 
3- Open a CA Broadcom support case requesting the fix T533355 (fix for Client Automation 14.5).
Install the fix on the computers with RC Viewer 14.5
And execute this command line :
 
ccnfcmda -cmd setparametervalue -ps itrm/rc/Viewer/General -pn GABSyncTime -v 10
 
The parameter GABSyncTime indicates the delay to wait (in minutes) before a refresh of Global Address Book.
 
Example with this fix installed and parameter GABSyncTime set to 10 :
 
- In RC Viewer, click on Global Address book GROUP4000 is taking 4 minutes.
- One minute later a new click on Global Address book GROUP4000 is taking only few seconds.
- One minute later a new machine is added in group GROUP4000.
- One minute later in RC Viewer new click on Global Address book GROUP4000 is taking only few seconds.
- 8 minutes later in RC Viewer new click on Global Address book GROUP4000 is taking 4 minutes.