APCconfig.jacl script
Use the APCconfig.jacl script to make persistent changes to the application placement controller configuration.
For transitioning users: The WebSphere Virtual Enterprise command that equates to APCconfig.jacl is xd_APCconfig.jacl. If we are making the transition from WebSphere Virtual Enterprise, we can continue to use the xd_APCconfig.jacl command, which operates the same as the APCconfig.jacl command.trns
The APCconfig.jacl script is in the app_server_root/bin directory.
To change the configuration, we must have configurator or administrator administrative privileges.
To run the APCconfig.jacl script with the wsadmin tool.
wsadmin.sh -profile 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 our changes. Enclose the procedures in quotation marks. Modify the wsadmin command to wsadmin.sh or wsadmin.bat, depending on the operating system.
Make persistent changes to the application placement controller configuration
To receive a list of the valid attributes that we can set on the application placement controller or dynamic cluster.
$AdminConfig show [$AdminConfig getid "/DynamicCluster:clustername/"]
The following procedures are available:
- setAPCAttribute attribute_value
- Set the defined attribute and value on the application placement controller. For a list of the valid attributes for the application placement controller.
$AdminConfig show [$AdminConfig getid "/AppPlacementController:/"]
- getAPCAttribute attribute_name
- Display the specified application placement controller attribute and value.
- setAPCCustomProperty property value description
- Set the specified application placement controller custom property name, value, and description. For example, To set the numVerticalInstances custom property:
wsadmin.sh -profile APCconfig.jacl -c "setAPCCustomProperty numVerticalInstances.myNode 3 verticalstacking"
- getAPCCustomProperty custom_property_name
- Get the value and description for the specified application placement controller custom property. For example, to get the value of the numVerticalInstances custom property:
wsadmin.sh -profile APCconfig.jacl -c "getAPCCustomProperty numVerticalInstances.myNode"
- setDynamicClusterAttribute dynamic_cluster_name attribute_value
- Set the defined attribute and value for the specified dynamic cluster. For a list of the valid attributes for dynamic clusters...
$AdminConfig show [$AdminConfig getid "/DynamicCluster:clustername/"]
- getDynamicClusterAttribute dynamic_cluster_name attribute
- Display the value for the specified dynamic cluster attribute.
- setDynamicClusterCustomProperty dynamic_cluster_name custom_property_name value description
- Set a custom property on the specified dynamic cluster. For example, To set the HTTPsessionRebalanceOff custom property:
wsadmin.sh -profile APCconfig.jacl -c "setDynamicClusterCustomProperty my_dyncluster HTTPSessionRebalanceOff true disablerebalancing"
- getDynamicClusterCustomProperty dynamic_cluster_name property
- Get the value of the specified custom property for a dynamic cluster. For example, To get the value of the HTTPSessionRebalanceOff custom property:
wsadmin.sh -profile APCconfig.jacl -c "getDynamicClusterCustomProperty my_dyncluster HTTPSessionRebalanceOff"
Configure dynamic application placement Intelligent Management: administrative roles and privileges Intelligent Management: application placement custom properties Intelligent Management: dynamic cluster custom properties