Use the xd_APCconfig.jacl Jacl script to make persistent changes to the application placement controller configuration.
Depending on your administrative role, you are allowed specific privileges when configuring the autonomic managers. The following list shows the administrative roles and privileges for configuring the autonomic managers:
wsadmin.sh -profile xd_APCconfig.jacl -c "insert_proc"
In place of the insert_proc variable, use the name of the procedure and the proper variable values to complete your changes. You must enclose the procedures in quotation marks. You might have to modify the wsadmin command to wsadmin.sh or wsadmin.bat, depending upon your operating environment.
$AdminConfig show [$AdminConfig getid "/DynamicCluster:clustername/"]
The following procedures are available:
Sets the defined attribute and value on the application placement controller. For a list of the valid attributes for the application placement controller, run the following wsadmin command:
$AdminConfig show [$AdminConfig getid "/AppPlacementController:/"]
Displays the specified application placement controller attribute and value.
Sets the specified application placement controller custom property name, value, and description. See Application placement custom properties for custom properties that you can set on the application placement controller.
Example: wsadmin.sh -profile xd_APCconfig.jacl -c "setAPCCustomProperty numVerticalInstances.myNode 3 verticalstacking"
Gets the value and description for the specified application placement controller custom property.
Example: wsadmin.sh -profile xd_APCconfig.jacl -c "getAPCCustomProperty numVerticalInstances.myNode"
Sets the defined attribute and value for the specified dynamic cluster. For a list of the valid attributes for dynamic clusters, run the following wsadmin command:
$AdminConfig show [$AdminConfig getid "/DynamicCluster:clustername/"]
Displays the value for the specified dynamic cluster attribute.
Sets a custom property on the specified dynamic cluster. See Application placement custom properties for custom properties that you can set on dynamic clusters.
Example: wsadmin.sh -profile xd_APCconfig.jacl -c "setDynamicClusterCustomProperty my_dyncluster HTTPSessionRebalanceOff true disablerebalancing"
Gets the value of the specified custom property for a dynamic cluster.
Example: wsadmin.sh -profile xd_APCconfig.jacl -c "getDynamicClusterCustomProperty my_dyncluster HTTPSessionRebalanceOff"