Example: Migrating - Modifying the virtual host

These examples demonstrate how to modify the virtual host in WebSphere Application Server V4.0 and V6.x.

Use the following examples:

[z/OS] When using the wsadmin tool, server ports are uniquely generated by default. To disable the unique generation of ports using the wsadmin tool, use the following example:
set def_host [$AdminConfig getid /VirtualHost:default_host/]
$AdminConfig modify $def_host {{aliases {{{port 80} {hostname *}} {{port 9080} {hostname *}} {{port 9081} {hostname *}}}} {adjustPort false}}
$AdminConfig save
The value of the adjustPort parameter is set to true by default. If you set the value of the adjustPort parameter to false, unique ports will not be generated.



Related tasks
Migrating V4.0.x administrative scripts to V6 wsadmin
Migrating administrative scripts
Related reference
Commands for the AdminConfig object
Reference topic    

Terms of Use | Feedback

Last updated: Sep 20, 2010 11:08:29 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=vela&product=was-nd-mp&topic=rxml_mvhost
File name: rxml_mvhost.html