The migrate-server command is used to migrate server instances and create Web Server 7.0 configurations using the administration command-line interface (CLI).
The wadm utility is located in install-dir/bin. For detailed information about using the administration CLI, see the man pages and the Oracle iPlanet Web Server 7.0.9 CLI Reference Manual document. For basic information that will help you get started, also see Using the Administration Command-Line Interface in this document.
The migrate-server syntax is as follows:
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
The following examples demonstrate how to use the command-line interface to migrate one or several server instances.
The following is an example of using the CLI to migrate a single instance from Sun ONE Web Server 6.0 or Sun Java System Web Server 6.1 to Oracle iPlanet Web Server 7.0 using the same name for the migrated configuration as the Sun ONE Web Server 6.0 or Sun Java System Web Server 6.1 instance :
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
--instance=instance_name --server-root=6.xwebserver_install_root
where, for example, 6.xwebserver_install_root might be/opt/SUNWwbsvr and instance_name might be https-foo.com.
The following is an example of migrate a single instance from Sun ONE Web Server 6.0 or Sun Java System Web Server 6.1 to Oracle iPlanet Web Server 7.0 using a different name from the Sun ONE Web Server 6.0 or Sun Java System Web Server 6.1 instance for the migrated configuration:
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
--instance=instance_name --config=new-foo --server-root=6.xwebserver_install_root
where, for example, 6.x webserver_install_root might be/opt/SUNWwbsvr and instance_name might be https-foo.com.
The following is an example to migrate single instance from Sun ONE Web Server 6.0 or Sun Java System Web Server 6.1 to Oracle iPlanet Web Server 7.0 using a different name from the Sun ONE Web Server 6.0 or Sun Java System Web Server 6.1 instance for the migrated configuration.
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
--instance=instance_name --config=new-foo --server-root=6.xwebserver_install_root
where, for example, 6.x webserver_install_root might be/opt/SUNWwbsvr and instance_name might be https-foo.com.
The following is an example of migrate single instance from Sun ONE Web Server 6.0 or Sun Java System Web Server 6.1 to Oracle iPlanet Web Server 7.0 using a different name from the Sun ONE Web Server 6.0 or Sun Java System Web Server 6.1 instance for the migrated configuration.
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
--instance=instance_name --config=new-foo --search-collection-copy-path=custom_path --server-root=6.xwebserver_install_root
where, for example, 6.x webserver_install_root might be/opt/SUNWwbsvr and instance_name might be https-foo.com.
The following is an example of migrate single instance from Sun ONE Web Server 6.0 or Sun Java System Web Server 6.1 to Oracle iPlanet Web Server 7.0 using a different name from the Sun ONE Web Server 6.0 or Sun Java System Web Server 6.1 instance for the migrated configuration. Specify a different log directory for migration logs:
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
--instance=instance_name --config=new-foo --search-collection-copy-path=custom_path --log-dir=log_path --server-root=6.xwebserver_install_root
where, for example, 6.x webserver_install_root might be/opt/SUNWwbsvr and instance_name might be https-foo.com.
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.