[z/OS]

olaRar.py script file

You 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.

You can enable the optimized local adapter, install the ola.rar file into WebSphere® Application Server and configure the adapter to work in your 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.

Location

The olaRar.py script file is located in the /<install_root>/mso/OLA/bin/ directory.

Syntax

olaRar.py cell_name node_name

Parameters

cell_name

Specifies the long name of the cell where the optimized local adapters function is enabled.

node_name

Specifies the long name of the application server node that contains 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 bbonode 
where bbocell is the cell long name and bbonode is the node long name of your WebSphere Application Server system.

For a WebSphere Application Server 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 /<install_root>/util/zos/OLASamples/olaRar.py bbocell bbonode
Attention:
You also must specify -conntype SOAP -host host_name -port port_number -user user_ID -password password when starting the wsadmin.sh script.