addCustomProperty.py script

WebSphere® Extended Deployment Compute Grid provides a Jython script that you can use to add all custom properties required by grid execution environment (GEE) to all Compute Grid endpoints.

addCustomProperty.py

The addCustomProperty.py script is provided with the product. At installation time, the script is copied onto the installation target machines in the <install_root>/bin directory. The addCustomProperty.py script adds all custom properties required by grid execution environment (GEE) to all grid endpoints.
To run the addCustomProperty.py script with the wsadmin utility, use this command:
wsadmin -lang jython -f addCustomProperty.py <option>

You might have to modify the wsadmin command to wsadmin.sh or wsadmin.bat, depending on your operating system environment.

Help

Use the following command to show the help for this script:
 wsadmin -lang jython -f addCustomProperty.py --help

List endpoints

Use the following command to list the targets that have the GEE environment:
wsadmin -lang jython -f addCustomProperty.py --listEndpoints
For example:
>> wsadmin -lang jython -f addCustomProperty.py --list
INFO: Grid Execution Environment was found on following targets:
      cell=myCell,cluster=Endpoint1
      cell=myCell,cluster=Endpoint2
      cell=myCell,node=myNode01,server=server1

Add custom properties

Use following command to add all custom properties on all endpoints:
wsadmin -lang jython -f addCustomProperty.py <target>