Oracle GlassFish Server Reference Manual Release 3.1.2 Part Number E24938-01 |
|
|
View PDF |
moves EJB timers when a clustered instance was stopped or has crashed
migrate-timers [--help] [--target target_server_name] server_name
The migrate-timers
subcommand moves EJB timers to a specified server when a server instance stops or crashes, if automatic timer migration is not enabled in the cluster configuration. This subcommand is supported in remote mode only.
--help
-?
Displays the help text for the subcommand.
--target
This is the target server instance. If this option is not specified, then DAS will find a server instance or multiple server instances. A migration notification will be sent to the selected server instances.
--destination
This option is deprecated. It works exactly as the --target
option does.
This is the server instance on which the timers are currently located. This server instance should not be running during the migration process.
This example shows how to migrate timers from the server named instance1
to a server named instance2
.
asadmin>migrate-timers --target instance2 instance1
This command was successfully executed.
command executed successfully
error in executing the command