(zos)olaRar.py script file
We can 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 console. To learn more about how to use the console, read the topics, Installing a resource adapter archive and Enable the server environment to use optimized local adapters.
Location
The olaRar.py script file is located in the /<smpe_root>/mso/OLA/bin/ directory.
Syntax
olaRar.py cell_name node
Parameters
cell_name
Long name of the cell where the optimized local adapters function is enabled.
node
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 /<smpe_root>/util/zos/OLASamples/olaRar.py bbocell bbonode
where bbocell is the cell long name and bbonode is the node long name of your WebSphere Application Server system.
For a WAS Network Deployment system with the deployment manager started:
Type the following in the command prompt:
<configuration_root>/ Manager/profiles/default/bin/wsadmin.sh -lang jython -f /<smpe_root>/util/zos/OLASamples/olaRar.py bbocell bbonode
You also must specify -conntype SOAP -host host -port port_number -user user_ID -password password when starting the wsadmin.sh script.
Related tasks
Plan to use optimized local adapters for z/OS Enable the server environment to use optimized local adapters