Each created EJB timer is "assigned" to a server instance where all timer's
timeouts are delivered. So if that instance (let's say 'instance1' goes down,
you need to reassign the corresponding timers so that they can continue to be
delivered in a timely manner. This is what timer migration does.
It doesn't matter much to which instance timers from the 'instance1' had been
reassigned. You can pick one or
glassfish_at_javadesktop.org wrote:
> Hi, I am confused about "migrate ejb timers" option of glassfish. "migrate
> ejb timers" is configured per cluster instead of per instance. And only from
> one source instance to one destination instance or to a set of destination
> instances(if left empty).
>
> Assume that i have a cluster configuration consisting of instance1,
> instance2, instance3... instanceN
>
> Assume I selected instance1 as "source Instance" and left blank "destination
> instance" so that if instance1 fails, timer on it will migrate to one of
> another instances who are currently running.
In a cluster you can set it up so that if any instance is down, the ejb timers
will be automatically migrated.
>
> Question 1) Say the scenario happened timer migrated to instance2. What will
> happen if instance2 goes down? There is no "migrate ejb timers" configuration
> for it in the cluster?
The cluster will automatically migrate it to some other running instance.
>
> Question 2) At console, at "migrate ejb timers" page, when I select one
> source instance although I have more than 1 destination instance running I
> can't left destinationInstance option left (?). However it says "If empty,
> one alive server is picked randomly from the cluster" below. [Message sent by
> forum member 'bahadir_g' (bahadir_g)]
It's a bug. Just choose one.
Regards,
-marina
>
> http://forums.java.net/jive/thread.jspa?messageID=331572
>
> --------------------------------------------------------------------- To
> unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net For additional
> commands, e-mail: users-help_at_glassfish.dev.java.net
>