createodr.jacl script
You can use the createodr.jacl script to create an on demand router (ODR) from the command line.
Purpose
You can use the createodr.jacl script to create an ODR server.
To create an ODR, you must have administrator or configurator privileges.
Location
The createodr.jacl script is in the app_server_root/bin directory.
Usage
The default script usage follows:
./wsadmin.sh -f createodr.jacl
Procedures
Specify the following parameters
with the createodr.jacl script:
- nodename: The name of the node on which you want to create your ODR.
- odr_template: The following list contains the
options for odr_template:
- odr
- sip_odr_server
- http_sip_odr_server
On z/OS®, the only option for odr_template is odr_zos.
- odr_name: The name of the ODR you want to create.
Alternatively, you can first launch the scripting client.
In wsadmin:
wsadmin> source createodr.jacl wsadmin> createodr nodenameIn place of nodename, specify the name of the node on which you want to create your ODR.
Example
Create an ODR.
./wsadmin.sh -f createodr.jacl node01 odr
Create
an ODR that is named great_ODR.
./wsadmin.sh -f createodr.jacl node01 http_sip_odr_server great_ODR
./wsadmin.sh -f createodr.jacl node01 odr_zos