You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by Udara Liyanage <ud...@wso2.com> on 2013/11/20 05:42:24 UTC

Terminate a specified instance

Hi,

I have seen methods to terminate instances in a given partition and
clusterID.

terminateInstance(String clusterId, Partition partition)

If there are multiple instances in the given cluster which one will be
terminated? How can i terminate an specific instance. I need something like
*terminate(nodeId).*

-- 
Udara Liyanage
Software Engineer
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

web: http://udaraliyanage.wordpress.com
phone: +94 71 443 6897

Re: Terminate a specified instance

Posted by Reka Thirunavukkarasu <re...@wso2.com>.
Hi

On Tue, Nov 19, 2013 at 10:40 PM, Lahiru Sandaruwan <la...@wso2.com>wrote:

>
>
>
> On Wed, Nov 20, 2013 at 10:57 AM, Udara Liyanage <ud...@wso2.com> wrote:
>
>> Hi Lahiru,
>>
>> I could not find any method to terminate with the node id. What is the
>> method signature of it.
>>
>
> I thought it's there as Reka described sometimes ago. It seems it is not
> implemented yet as per the chat you had with me offline.
>

Yah..I have added all the required methods to CC. But some need to be
implemented. I couldn't continue with it, because CC needs more refactoring
on the existing.  I hope that Nirmal is following up with this.

>
>
> I think CC is capable of terminating instances using member id.
>
> Nirmal,
>
> Can you implement this method in CC interface?
>
> Thanks.
>
>>
>>
>> On Tue, Nov 19, 2013 at 11:45 PM, Lahiru Sandaruwan <la...@wso2.com>wrote:
>>
>>> Cloud controller supports termination using member ID.
>>>
>>>
>>> On Wed, Nov 20, 2013 at 10:12 AM, Udara Liyanage <ud...@wso2.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> I have seen methods to terminate instances in a given partition and
>>>> clusterID.
>>>>
>>>> terminateInstance(String clusterId, Partition partition)
>>>>
>>>> If there are multiple instances in the given cluster which one will be
>>>> terminated? How can i terminate an specific instance. I need something like
>>>> *terminate(nodeId).*
>>>>
>>>> --
>>>> Udara Liyanage
>>>> Software Engineer
>>>> WSO2, Inc.: http://wso2.com
>>>> lean. enterprise. middleware
>>>>
>>>> web: http://udaraliyanage.wordpress.com
>>>> phone: +94 71 443 6897
>>>>
>>>
>>>
>>>
>>> --
>>> --
>>> Lahiru Sandaruwan
>>> Software Engineer,
>>> Platform Technologies,
>>> WSO2 Inc., http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> email: lahirus@wso2.com cell: (+94) 773 325 954
>>> blog: http://lahiruwrites.blogspot.com/
>>> twitter: http://twitter.com/lahirus
>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>
>>>
>>
>>
>> --
>> Udara Liyanage
>> Software Engineer
>> WSO2, Inc.: http://wso2.com
>> lean. enterprise. middleware
>>
>> web: http://udaraliyanage.wordpress.com
>> phone: +94 71 443 6897
>>
>
>
>
> --
> --
> Lahiru Sandaruwan
> Software Engineer,
> Platform Technologies,
> WSO2 Inc., http://wso2.com
> lean.enterprise.middleware
>
> email: lahirus@wso2.com cell: (+94) 773 325 954
> blog: http://lahiruwrites.blogspot.com/
> twitter: http://twitter.com/lahirus
> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>
>


-- 
Reka Thirunavukkarasu
Software Engineer,
WSO2, Inc.:http://wso2.com,
Mobile: +94776442007

Re: Terminate a specified instance

Posted by Lahiru Sandaruwan <la...@wso2.com>.
On Wed, Nov 20, 2013 at 10:57 AM, Udara Liyanage <ud...@wso2.com> wrote:

> Hi Lahiru,
>
> I could not find any method to terminate with the node id. What is the
> method signature of it.
>

I thought it's there as Reka described sometimes ago. It seems it is not
implemented yet as per the chat you had with me offline.

I think CC is capable of terminating instances using member id.

Nirmal,

Can you implement this method in CC interface?

Thanks.

>
>
> On Tue, Nov 19, 2013 at 11:45 PM, Lahiru Sandaruwan <la...@wso2.com>wrote:
>
>> Cloud controller supports termination using member ID.
>>
>>
>> On Wed, Nov 20, 2013 at 10:12 AM, Udara Liyanage <ud...@wso2.com> wrote:
>>
>>> Hi,
>>>
>>> I have seen methods to terminate instances in a given partition and
>>> clusterID.
>>>
>>> terminateInstance(String clusterId, Partition partition)
>>>
>>> If there are multiple instances in the given cluster which one will be
>>> terminated? How can i terminate an specific instance. I need something like
>>> *terminate(nodeId).*
>>>
>>> --
>>> Udara Liyanage
>>> Software Engineer
>>> WSO2, Inc.: http://wso2.com
>>> lean. enterprise. middleware
>>>
>>> web: http://udaraliyanage.wordpress.com
>>> phone: +94 71 443 6897
>>>
>>
>>
>>
>> --
>> --
>> Lahiru Sandaruwan
>> Software Engineer,
>> Platform Technologies,
>> WSO2 Inc., http://wso2.com
>> lean.enterprise.middleware
>>
>> email: lahirus@wso2.com cell: (+94) 773 325 954
>> blog: http://lahiruwrites.blogspot.com/
>> twitter: http://twitter.com/lahirus
>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>
>>
>
>
> --
> Udara Liyanage
> Software Engineer
> WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
>
> web: http://udaraliyanage.wordpress.com
> phone: +94 71 443 6897
>



-- 
--
Lahiru Sandaruwan
Software Engineer,
Platform Technologies,
WSO2 Inc., http://wso2.com
lean.enterprise.middleware

email: lahirus@wso2.com cell: (+94) 773 325 954
blog: http://lahiruwrites.blogspot.com/
twitter: http://twitter.com/lahirus
linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146

Re: Terminate a specified instance

Posted by Udara Liyanage <ud...@wso2.com>.
Hi Lahiru,

I could not find any method to terminate with the node id. What is the
method signature of it.


On Tue, Nov 19, 2013 at 11:45 PM, Lahiru Sandaruwan <la...@wso2.com>wrote:

> Cloud controller supports termination using member ID.
>
>
> On Wed, Nov 20, 2013 at 10:12 AM, Udara Liyanage <ud...@wso2.com> wrote:
>
>> Hi,
>>
>> I have seen methods to terminate instances in a given partition and
>> clusterID.
>>
>> terminateInstance(String clusterId, Partition partition)
>>
>> If there are multiple instances in the given cluster which one will be
>> terminated? How can i terminate an specific instance. I need something like
>> *terminate(nodeId).*
>>
>> --
>> Udara Liyanage
>> Software Engineer
>> WSO2, Inc.: http://wso2.com
>> lean. enterprise. middleware
>>
>> web: http://udaraliyanage.wordpress.com
>> phone: +94 71 443 6897
>>
>
>
>
> --
> --
> Lahiru Sandaruwan
> Software Engineer,
> Platform Technologies,
> WSO2 Inc., http://wso2.com
> lean.enterprise.middleware
>
> email: lahirus@wso2.com cell: (+94) 773 325 954
> blog: http://lahiruwrites.blogspot.com/
> twitter: http://twitter.com/lahirus
> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>
>


-- 
Udara Liyanage
Software Engineer
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

web: http://udaraliyanage.wordpress.com
phone: +94 71 443 6897

Re: Terminate a specified instance

Posted by Lahiru Sandaruwan <la...@wso2.com>.
Cloud controller supports termination using member ID.


On Wed, Nov 20, 2013 at 10:12 AM, Udara Liyanage <ud...@wso2.com> wrote:

> Hi,
>
> I have seen methods to terminate instances in a given partition and
> clusterID.
>
> terminateInstance(String clusterId, Partition partition)
>
> If there are multiple instances in the given cluster which one will be
> terminated? How can i terminate an specific instance. I need something like
> *terminate(nodeId).*
>
> --
> Udara Liyanage
> Software Engineer
> WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
>
> web: http://udaraliyanage.wordpress.com
> phone: +94 71 443 6897
>



-- 
--
Lahiru Sandaruwan
Software Engineer,
Platform Technologies,
WSO2 Inc., http://wso2.com
lean.enterprise.middleware

email: lahirus@wso2.com cell: (+94) 773 325 954
blog: http://lahiruwrites.blogspot.com/
twitter: http://twitter.com/lahirus
linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146