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

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

Description:

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.

Solution:

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.

9-16-2015 2-49-13 PM.png

 

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