createodr.jacl script
Use the createodr.jacl script to create an on demand router (ODR) server from the command line.
We must have administrator or configurator privileges.
cd app_server_root/bin
./wsadmin.sh -f createodr.jacl
Procedures
Specify the following parameters with the createodr.jacl script:
- nodename: The name of the node on which we want to create the ODR.
- odr_template: Options for odr_template:
- odr
- sip_odr_server
- http_sip_odr_server
- odr_zos (z/OS)
- odr_name: The name of the ODR we want 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 we want 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
Create ODRs Get started with wsadmin scripting Intelligent Management: administrative roles and privileges