|Oracle GlassFish Server Reference Manual
Part Number E24938-01
moves EJB timers when a clustered instance was stopped or has crashed
migrate-timers [--help] [--target target_server_name] server_name
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.
Displays the help text for the subcommand.
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.
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
asadmin>migrate-timers --target instance2 instance1 This command was successfully executed.
command executed successfully
error in executing the command