Running 'caf setserveraddress localhost' on DM or SS fails
search cancel

Running 'caf setserveraddress localhost' on DM or SS fails

book

Article ID: 28819

calendar_today

Updated On:

Products

CA Client Automation - IT Client Manager CA Client Automation

Issue/Introduction

Consider a situation where the Client Automation's Agent was installed using Infrastructure deployment on a Windows 2012 server. Later, this machine is upgraded to a Scalability Server or a Domain Manager. 

However, since the agent was reporting to another Domain Manager, 'caf setserveraddress' returns the Domain Manager name instead of ‘localhost’. 

Running 'caf setserveraddress localhost' to change it, returns the following error:

 

CA DSM r12 Common Application Framework <version details>

Copyright (c) 2013 CA Technologies. All rights reserved.

Caf currently registers with the scalability server at MACHINENAME

You cannot change the server of an agent running on a scalability server machine.

Environment

Client Automation - All Versions.

Resolution

- Delete the machine instance from the DSM Explorer on the original Domain Manager

- Run the following commands on the machine:

ccnfcmda -cmd setparametervalue -ps itrm/agent/solutions/generic -pn serveraddress -v localhost -manager

caf register all

- Run 'caf setserveraddress' to validate if the server address has been updated with 'localhost'