Utilities : SetSharedSecretForManagementAgent

SetSharedSecretForManagementAgent
Command Utility
Syntax
SetSharedSecretForManagementAgent
     [-secret] encryptedSecret]
     [-trustDir pathname]
     [-PolicyMgrId instance]
Description
Arrange the shared secret for Management Agent for WebSphere instances.
Remarks
The shared secret enables a set of policy components to communicate with one another, while not interfering with other sets of policy components. This utility arranges the shared secret for management agents within WebSphere application manager instances.
This utility performs a subset of these actions, in this order:
1.
2.
If the secret parameter is present, then the utility stores the encrypted shared secret in the properties file (in the trust directory).
3.
Restart
After using this utility to set the shared secret, the new secret takes effect when you restart the corresponding WebSphere application server.
Location
 
TIBCO_HOME/amma-was/<version_num>/bin/SetSharedSecretForManagementAgent
 
-secret encryptedSecret
When present, the utility updates only the local management agents communicating with this policy manager instance.
When absent, the utility updates all management agents on the host computer (without regard to policy manager instances).
-trustDir pathname
When absent, this utility copies to the default location (recommended). The default location is TIBCO_HOME/amma-was/.trust/pm-host-port (where host and port specify the location of the Policy Manager instance to which the management agent connects).
Do not place the trust directory underTIBCO_HOME/amma-was/instances.
See Also
encryptSharedSecret in documentation for TIBCO ActiveMatrix Policy Manager