removePGC.py batch script
Use the removePGC.py Jython script to remove the common batch container from the deployment target.
The removePGC.py script is provided with the product. The removePGC.py script removes the common batch container from the deployment target or removes it when the deployment target is the only target.
At installation, removePGC.py is copied onto the installation target machines in the app_server_root/bin directory.
To run removePGC.py script with the wsadmin utility, use this command:
wsadmin -lang jython -f removePGC.py <option>We might have to modify the wsadmin command to wsadmin.sh or wsadmin.bat, depending on the operating system environment.
To see a list of all available operations.
wsadmin -lang jython -f removePGC.py --help
Operations
Use the following option with this command:
- --list
- List the targets that have the common batch container.
Example
Use following command to list the targets which have the common batch container:
wsadmin -lang jython -f removePGC.py --listFor example:
>> wsadmin -lang jython -f removePGC.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
Related:
Grid endpoints Administer the batch environment