createodr.jacl script
We can use the createodr.jacl script to create an on demand router (ODR) from the command line.
Purpose
We 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 to create the ODR.
- odr_template: In Version 6.1, a template parameter is required. The following list contains the options for odr_template:
- odr
- sip_odr_server
- http_sip_odr_server
(zos) On z/OS , the only option for odr_template is odr_zos.
- odr_name: The name of the ODR to create.
Alternatively, we 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 to create the 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
(zos)
./wsadmin.sh -f createodr.jacl node01 odr_zos
Related tasks
Create ODRs Get started with wsadmin scripting
Intelligent Management: administrative roles and privileges