Getting message "Failed to set property in configuration file" appears when running the cmd 'caf setserveraddress'
search cancel

Getting message "Failed to set property in configuration file" appears when running the cmd 'caf setserveraddress'

book

Article ID: 142679

calendar_today

Updated On:

Products

CA Client Automation

Issue/Introduction

A DSM/ITCM agent can be moved to another scalability server using the command:

caf setserveraddress <NewScalabilityServerNameOrIPAddress>

 

If the command succeeds, the DSM/ITCM agent is moved to the <NewScalabilityServerNameOrIPAddress>.

If the command returns the message "Failed to set property in configuration file", it means that the agent serveraddress policy is centrally managed and can be changed only via a configuration policy.

Environment

Client Automation - All versions

Resolution

In this scenario, to move the agent to a different scalability server the configuration policy has to be set within the DSM Explorer.

The policy to be configured is:

DSM/Agent/Common Agent/Common/Scalability Server Address

NOTE: By default, this policy is locally managed and not centrally managed.

 

 

 

If you need to override this policy should you not have access to the DSM Explorer to change the above policy you can run this command:

 

ccnfcmda -cmd setparametervalue -ps itrm/agent/solutions/generic  -pn serveraddress -v <New Scalability server hostname> -manager 

 

NOTE: only change the value between the <> with the NEW SS server hostname.

 

You can verify the setting took effect by running the command:

"caf setserveraddress"

 

or by running:

ccnfcmda -cmd getparametervalue -ps itrm/agent/solutions/generic  -pn serveraddress