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 ?

Cause

In TRC_URC_VIEWER*.log we could see the delay here :

180821-17:36:37.8881835L|003932|00002260|VIEWER |rcMgrAddressBook |000000|DETAIL | GetBookInfo begin: id = F4E124EBBBC6284BA3698ED6A05DB2C0
180821-17:36:37.8882040L|003932|00002260|VIEWER |rcAddressBook |000000|INFO | CRCAddressBook::LoadAddressBookFromFile: loading file: C:\Users\Administrator\AppData\Roaming\CA\RemoteControl\winnt-jy-w2k16-14sp3-administrator-JY-W2K16-14SP3.localdomain.xml user: Administrator
180821-17:36:37.9777227L|003932|00002260|VIEWER |rcAddressBook |000000|INFO | GetBookInfo: Address book = F4E124EBBBC6284BA3698ED6A05DB2C0
180821-17:36:37.9778007L|003932|00002260|VIEWER |rcMgrAddressBook |000000|DETAIL | GetBookInfo end
180821-17:36:37.9778212L|003932|00002260|VIEWER |CAddressBookGlob |000000|DETAIL | m_sName = _DRV15_Clients
180821-17:36:37.9778364L|003932|00002260|VIEWER |CAddressBookGlob |000000|NOTIFY | Loading Global Address Book = _DRV15_Clients
...
180821-17:37:52.7625971L|003932|00002260|VIEWER |rcAddressBook |000000|INFO | CRCAddressBook::AddComputers: Called
180821-17:40:29.8844366L|003932|00002260|VIEWER |rcAddressBook |000000|INFO | CRCAddressBook::SetBookInfo: Entering

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, process could take long time
 

Environment

Client Automation - All Versions

Resolution

2 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.

https://api-broadcom-ca.wolkenservicedesk.com/attachment/get_attachment_content?uniqueFileId=Hb65/LgMWosNRrkPFwLE0g==

 

- Uncheck option "Global address book root group"

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

 

And
 
 
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.

Attachments