WebSphere Extended Deployment, Version 6.0.x
             Operating Systems: AIX, HP-UX, Linux, Solaris, Windows, z/OS


Creating and deleting on demand routers with scripts

WebSphere Extended Deployment provides jacl scripts to allow administrators to use scripting options to create or delete an on demand router (ODR).

Create an ODR

A script entitled createodr.jacl is provided with the product. At install time the script is copied onto the installation target machine(s) in the install_root\bin directory. The createodr.jacl script creates an ODR server.

[Version 6.0.1 and later] To create an ODR, you must have administrator or configurator privileges.

To run createodr.jacl with wsadmin, use this command:
wsadmin -f createodr.jacl nodename
In place of nodename use the name of the node upon which you wish to create your ODR. You may have to modify wsadmin to wsadmin.sh or wsadmin.bat, depending upon your operating environment.
[For z/OS operating system] For the z/OS platform, options for odr_templates are: odr_zos, http_sip_odr_server_zos, http_sip_odr_server_zos. For example,
/wsadmin.sh -f createodr.jacl nodename <odr_zos>
You might be more comfortable with first launching the scripting client. Use the article Getting started with scripting if you require assistance. In wsadmin:
wsadmin> source createodr.jacl
wsadmin> createodr nodename
In place of nodename use the name of the node upon which you wish to create your ODR.

Delete an ODR

A script entitled deleteodr.jacl is provided with the product. At install time the script is copied onto the installation target machine(s) in the <install_root>\bin directory. The deleteodr.jacl script deletes an ODR server.

[Version 6.0.1 and later] To delete an ODR, you must have administrator or configurator privileges.

To launch deleteodr.jacl with wsadmin, use this command:
wsadmin -f deleteodr.jacl nodename
In place of nodename use the name of the node upon which your ODR exists. You may have to modify wsadmin to wsadmin.sh or wsadmin.bat, depending upon your operating environment.
You may be more comfortable with first launching the scripting client. Use the article Getting started with scripting if you require assistance. In wsadmin:
wsadmin> source deleteodr.jacl
wsadmin> deleteodr nodename
In place of nodename use the name of the node upon which your ODR exists.



Related tasks
Creating ODRs
Related reference
Administrative roles and privileges
Reference topic    

Terms of Use | Feedback

Last updated: Nov 30, 2007 4:05:14 PM EST
http://publib.boulder.ibm.com/infocenter/wxdinfo/v6r0/index.jsp?topic=/com.ibm.websphere.xd.doc/info/reference/todrscript.html