caf start : Delay of 3 minutes

Document ID : KB000006431
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

When caf is started there is a delay of 3 minutes before start of all plugins.

 

Example :

Execution of command "caf start" remains in this state during 3 minutes :

1.jpg

 

In the DSM\logs\TRC_CF_CAF_SERVICE_*.log following lines could be found:

120417-09:35:26.7079142L|000760|0000070c|CAF_SERVIC|caf|caf|000000|NOTIFY | CFCaf::run: Validating IP Address: 169.254.164.242

120417-09:35:26.7079547L|000760|0000070c|CAF_SERVIC|caf|caf|000000|NOTIFY | CFCaf::run: APIPA address found. Delaying Startup

120417-09:36:26.7197808L|000760|0000070c|CAF_SERVIC|caf|caf|000000|NOTIFY | CFCaf::run: Validating IP Address: 169.254.164.242

120417-09:36:26.7199903L|000760|0000070c|CAF_SERVIC|caf|caf|000000|NOTIFY | CFCaf::run: APIPA address found. Delaying Startup

120417-09:37:26.7238691L|000760|0000070c|CAF_SERVIC|caf|caf|000000|NOTIFY | CFCaf::run: Validating IP Address: 169.254.164.242

120417-09:37:26.7239567L|000760|0000070c|CAF_SERVIC|caf|caf|000000|NOTIFY | CFCaf::run: APIPA address found. Delaying Startup

120417-09:38:26.8139507L|000760|0000070c|CAF_SERVIC|caf|caf|000000|NOTIFY | CFPlugins::startOnePlugin: starting plugin: Session messaging server (smserver): args: 

 

 

 

 

Environment:
CA ITCM 14.0 or higher
Cause:

Starting ITCM 14.0 caf is checking if the machine has an ipaddress allocated by APIPA (Automatic Private Internet Protocol Addressing). APIPA allocates IP addresses in the private range 169.254.0.1 to 169.254.255.254

At startup of caf, if an APIPA address is found, caf does 3 checking with a delay of 60 seconds between checking. This is used to let time for DHCP server to allocate an address.

Resolution:

The 3 checking and the delay of 60 seconds could be configured in comstore.

 

ITCM 14.0

In ITCM 14.0, following command could be executed on the machines :

Example for 2 retries with a delay of 15 seconds between retries :

 

ccnfcmda -cmd SetParameterValue -ps trm/common/caf/general -pn apipa_retry -v 2

ccnfcmda -cmd SetParameterValue -ps trm/common/caf/general -pn apipa_delay -v 15

 

See also this page in online documentation :

https://docops.ca.com/ca-client-automation/14-0/en/implementing/troubleshooting-client-automation-implementation/delay-caf-start-when-windows-system-has-apipa-address

 

 

ITCM 14.0 SP1 or higher

These 2 parameters are managed by a configuration policy under :

DSM/Common Components/CAF/General/CAF: APIPA Delay (default value is 60) 

DSM/Common Components/CAF/General/CAF: APIPA Retry (default value is 3) 

 

2.jpg

Create or Update a configuration applied on the machines and change the values for these 2 parameters to the desired values.