(ZOS) olaRar.py script file
Use the olaRar.py script file with the wsadmin scripting tool to enable the optimized local adapters, install the resource archive (RAR) file and create a Java 2 Connector (J2C) connection factory.
We can enable the optimized local adapter, install the ola.rar file into WebSphere Application Server and configure the adapter to work in the environment. The tasks performed by olaRar.py script file can also be done using the administrative console. To learn more about how to use the administrative console, read the topics, Installing a resource adapter archive and Enabling the server environment to use optimized local adapters.
The olaRar.py script file is located in the /<install_root>/mso/OLA/bin/ directory.
Syntax
olaRar.py cell node
Parameters
cell
The long name of the cell where the optimized local adapters function is enabled.
node
The long name of the application server node containing the application servers that use optimized local adapters.
Sample invocations
For a Base system with the application server started:
Type the following in the command prompt:
<configuration_root>/AppServer/profiles/default/bin/wsadmin.sh -lang jython -f /<install_root>/util/zos/OLASamples/olaRar.py bbocell bbonodewhere bbocell is the cell long name and bbonode is the node long name of our WAS system.For a WAS ND system with the deployment manager started:
Type the following in the command prompt:
<configuration_root>/ Manager/profiles/default/bin/wsadmin.sh -lang jython -f /<install_root>/util/zos/OLASamples/olaRar.py bbocell bbonode
We also must specify -conntype SOAP -host host_name -port port_number -user user_ID -password password when starting the wsadmin.sh script.
Planning to use optimized local adapters for z/OS Enable the server environment to use optimized local adapters