dev@glassfish.java.net

Re: InstanceState service : getting the state of an instance

From: Vijay Ramachandran <vijay.ramachandran_at_oracle.com>
Date: Thu, 22 Jul 2010 10:03:48 -0700

>>
>>> How will the CLI replication work when DAS is down?
>>
>> DAS is the master and all commands go thro' DAS. Replication happens
>> from DAS and if DAS is down how will your command come in at all ?
>
> This is exactly my question. What would it mean that DAS may not be
> running?

The answer is, if DAS is down, you cannot issue any commands till that
DAS comes back up. Once the DAS is back up, then the InstanceState
service will be available and that will tell you the state of various
instances which you can use for your commands.


>
> thanks,
> -marina
>>
>> Vijay
>>
>>> These are my needs:
>>>
>>> 1. asadmin recover-transactions foo => should be sent to 'foo'
>>>
>>> 2. asadmin recover-transactions --target bar foo => should be sent
>>> to 'bar' *iff* 'foo' is down, it should fail if 'foo' is up.
>>>
>>> Regards,
>>> -marina
>>>
>>> Vijay Ramachandran wrote:
>>>> On 7/21/2010 4:16 PM, Marina Vatkina wrote:
>>>>> Will DAS be always running?
>>>>
>>>> May not be and when it is not running, the last know state will be
>>>> saved.
>>>>
>>>> I will be calling for a meeting to discuss this further - let me
>>>> know your use case then and we can decide if and how we can
>>>> accommodate your needs.
>>>>
>>>> Vijay
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>