The following is an example of using the CLI to migrate all instances from Sun ONE Web Server 6.0 or Sun Java System Web Server 6.1 to Oracle iPlanet Web Server 7.0:
wadm> migrate-server [--user=admin-user] [--password-file=admin-pswd-file][--host=admin-host][--port=admin-port][--no-ssl][--rcfile=rcfile][--echo][--no-prompt][--verbose][--search-collection-copy-path=directory][[--log-dir=directory]([--all|[--config=newconfigname[--instance=instancename]) --server-root=path
-all=true --server-root=6.xwebserver_install_root
where, for example, 6.x webserver_install_root might be/opt/SUNWwbsvr.