You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by Sergey Antonov <se...@db.com> on 2020/07/02 10:09:16 UTC

Hot service upgrade without downtime

Hello, Igniters!

I’d like to know, does Ignite have ability to upgrade user’s service in service grid without downtime?

Let’s imagine that I have grid with 2 nodes. Each node has deployed instance of service. I’d like to upgrade service version without service’s downtime.

At the moment I have only one idea how to do it: start the same service on different nodes with different names (service1 on node1 and service2 on node2) and use node filter.

·         Stop one node

·         Upgrade service jar.

·         Return the node to cluster.

Apply same steps to another node.

Do you know simpler ways for the service upgrade?


---
Die Europäische Kommission hat unter http://ec.europa.eu/consumers/odr/ eine Europäische Online-Streitbeilegungsplattform (OS-Plattform) errichtet. Verbraucher können die OS-Plattform für die außergerichtliche Beilegung von Streitigkeiten aus Online-Verträgen mit in der EU niedergelassenen Unternehmen nutzen.

Informationen (einschließlich Pflichtangaben) zu einzelnen, innerhalb der EU tätigen Gesellschaften und Zweigniederlassungen des Konzerns Deutsche Bank finden Sie unter https://www.deutsche-bank.de/Pflichtangaben. Diese E-Mail enthält vertrauliche und/ oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet.

The European Commission has established a European online dispute resolution platform (OS platform) under http://ec.europa.eu/consumers/odr/. Consumers may use the OS platform to resolve disputes arising from online contracts with providers established in the EU.

Please refer to https://www.db.com/disclosures for information (including mandatory corporate particulars) on selected Deutsche Bank branches and group companies registered or incorporated in the European Union. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.

Re: Hot service upgrade without downtime

Posted by Ilya Kasnacheev <il...@gmail.com>.
Hello!

I don't see why you can't start the new service under new name, and then
stop the old service when new service is already available.

Regards,
-- 
Ilya Kasnacheev


чт, 2 июл. 2020 г. в 16:35, Sergey Antonov <se...@db.com>:

> Hi, Aravind.
>
>
>
> Thank you for reply! I don’t think that kubernetes may help in my case.
> The main problem is a requirement to cancel  service during service upgrade
> [1]. So, in that moment, the service will be stopped and other application
> can’t use them.
>
>
>
> [1]
> https://apacheignite.readme.io/docs/service-grid#service-updates-redeployment
>
>
>
> *From:* Aravind J [mailto:aravindjp@gmail.com]
> *Sent:* 02 July 2020 14:06
> *To:* user@ignite.apache.org
> *Subject:* Re: Hot service upgrade without downtime
>
>
>
> Hi ,
>
>
>
> If you are ready to port your cluster to kubernetes, these steps can be
> handled in much more cleaner way , even though technically it does the same
> steps mentioned above .
>
>
>
> With just "kubectil patch" command , you can achieve this .
>
>
>
> Regards
>
> Aravind
>
>
>
> On Thu, 2 Jul 2020 at 15:39, Sergey Antonov <se...@db.com> wrote:
>
> Hello, Igniters!
>
>
>
> I’d like to know, does Ignite have ability to upgrade user’s service in
> service grid without downtime?
>
>
>
> Let’s imagine that I have grid with 2 nodes. Each node has deployed
> instance of service. I’d like to upgrade service version without service’s
> downtime.
>
>
>
> At the moment I have only one idea how to do it: start the same service on
> different nodes with different names (service1 on node1 and service2 on
> node2) and use node filter.
>
> ·         Stop one node
>
> ·         Upgrade service jar.
>
> ·         Return the node to cluster.
>
>
>
> Apply same steps to another node.
>
>
>
> Do you know simpler ways for the service upgrade?
>
>
>
> ---
> Die Europäische Kommission hat unter http://ec.europa.eu/consumers/odr/
> eine Europäische Online-Streitbeilegungsplattform (OS-Plattform) errichtet.
> Verbraucher können die OS-Plattform für die außergerichtliche Beilegung von
> Streitigkeiten aus Online-Verträgen mit in der EU niedergelassenen
> Unternehmen nutzen.
>
> Informationen (einschließlich Pflichtangaben) zu einzelnen, innerhalb der
> EU tätigen Gesellschaften und Zweigniederlassungen des Konzerns Deutsche
> Bank finden Sie unter https://www.deutsche-bank.de/Pflichtangaben. Diese
> E-Mail enthält vertrauliche und/ oder rechtlich geschützte Informationen.
> Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich
> erhalten haben, informieren Sie bitte sofort den Absender und vernichten
> Sie diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe
> dieser E-Mail ist nicht gestattet.
>
> The European Commission has established a European online dispute
> resolution platform (OS platform) under http://ec.europa.eu/consumers/odr/.
> Consumers may use the OS platform to resolve disputes arising from online
> contracts with providers established in the EU.
>
> Please refer to https://www.db.com/disclosures for information (including
> mandatory corporate particulars) on selected Deutsche Bank branches and
> group companies registered or incorporated in the European Union. This
> e-mail may contain confidential and/or privileged information. If you are
> not the intended recipient (or have received this e-mail in error) please
> notify the sender immediately and delete this e-mail. Any unauthorized
> copying, disclosure or distribution of the material in this e-mail is
> strictly forbidden.
>
>
>
> ---
> Die Europäische Kommission hat unter http://ec.europa.eu/consumers/odr/
> eine Europäische Online-Streitbeilegungsplattform (OS-Plattform) errichtet.
> Verbraucher können die OS-Plattform für die außergerichtliche Beilegung von
> Streitigkeiten aus Online-Verträgen mit in der EU niedergelassenen
> Unternehmen nutzen.
>
> Informationen (einschließlich Pflichtangaben) zu einzelnen, innerhalb der
> EU tätigen Gesellschaften und Zweigniederlassungen des Konzerns Deutsche
> Bank finden Sie unter https://www.deutsche-bank.de/Pflichtangaben. Diese
> E-Mail enthält vertrauliche und/ oder rechtlich geschützte Informationen.
> Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich
> erhalten haben, informieren Sie bitte sofort den Absender und vernichten
> Sie diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe
> dieser E-Mail ist nicht gestattet.
>
> The European Commission has established a European online dispute
> resolution platform (OS platform) under http://ec.europa.eu/consumers/odr/.
> Consumers may use the OS platform to resolve disputes arising from online
> contracts with providers established in the EU.
>
> Please refer to https://www.db.com/disclosures for information (including
> mandatory corporate particulars) on selected Deutsche Bank branches and
> group companies registered or incorporated in the European Union. This
> e-mail may contain confidential and/or privileged information. If you are
> not the intended recipient (or have received this e-mail in error) please
> notify the sender immediately and delete this e-mail. Any unauthorized
> copying, disclosure or distribution of the material in this e-mail is
> strictly forbidden.
>

RE: Hot service upgrade without downtime

Posted by Sergey Antonov <se...@db.com>.
Hi, Aravind.

Thank you for reply! I don’t think that kubernetes may help in my case. The main problem is a requirement to cancel  service during service upgrade [1]. So, in that moment, the service will be stopped and other application can’t use them.

[1] https://apacheignite.readme.io/docs/service-grid#service-updates-redeployment

From: Aravind J [mailto:aravindjp@gmail.com]
Sent: 02 July 2020 14:06
To: user@ignite.apache.org
Subject: Re: Hot service upgrade without downtime

Hi ,

If you are ready to port your cluster to kubernetes, these steps can be handled in much more cleaner way , even though technically it does the same steps mentioned above .

With just "kubectil patch" command , you can achieve this .

Regards
Aravind

On Thu, 2 Jul 2020 at 15:39, Sergey Antonov <se...@db.com>> wrote:
Hello, Igniters!

I’d like to know, does Ignite have ability to upgrade user’s service in service grid without downtime?

Let’s imagine that I have grid with 2 nodes. Each node has deployed instance of service. I’d like to upgrade service version without service’s downtime.

At the moment I have only one idea how to do it: start the same service on different nodes with different names (service1 on node1 and service2 on node2) and use node filter.

•         Stop one node

•         Upgrade service jar.

•         Return the node to cluster.

Apply same steps to another node.

Do you know simpler ways for the service upgrade?


---
Die Europäische Kommission hat unter http://ec.europa.eu/consumers/odr/ eine Europäische Online-Streitbeilegungsplattform (OS-Plattform) errichtet. Verbraucher können die OS-Plattform für die außergerichtliche Beilegung von Streitigkeiten aus Online-Verträgen mit in der EU niedergelassenen Unternehmen nutzen.

Informationen (einschließlich Pflichtangaben) zu einzelnen, innerhalb der EU tätigen Gesellschaften und Zweigniederlassungen des Konzerns Deutsche Bank finden Sie unter https://www.deutsche-bank.de/Pflichtangaben. Diese E-Mail enthält vertrauliche und/ oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet.

The European Commission has established a European online dispute resolution platform (OS platform) under http://ec.europa.eu/consumers/odr/. Consumers may use the OS platform to resolve disputes arising from online contracts with providers established in the EU.

Please refer to https://www.db.com/disclosures for information (including mandatory corporate particulars) on selected Deutsche Bank branches and group companies registered or incorporated in the European Union. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.


---
Die Europäische Kommission hat unter http://ec.europa.eu/consumers/odr/ eine Europäische Online-Streitbeilegungsplattform (OS-Plattform) errichtet. Verbraucher können die OS-Plattform für die außergerichtliche Beilegung von Streitigkeiten aus Online-Verträgen mit in der EU niedergelassenen Unternehmen nutzen.

Informationen (einschließlich Pflichtangaben) zu einzelnen, innerhalb der EU tätigen Gesellschaften und Zweigniederlassungen des Konzerns Deutsche Bank finden Sie unter https://www.deutsche-bank.de/Pflichtangaben. Diese E-Mail enthält vertrauliche und/ oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet.

The European Commission has established a European online dispute resolution platform (OS platform) under http://ec.europa.eu/consumers/odr/. Consumers may use the OS platform to resolve disputes arising from online contracts with providers established in the EU.

Please refer to https://www.db.com/disclosures for information (including mandatory corporate particulars) on selected Deutsche Bank branches and group companies registered or incorporated in the European Union. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.

Re: Hot service upgrade without downtime

Posted by Aravind J <ar...@gmail.com>.
Hi ,

If you are ready to port your cluster to kubernetes, these steps can be
handled in much more cleaner way , even though technically it does the same
steps mentioned above .

With just "kubectil patch" command , you can achieve this .

Regards
Aravind

On Thu, 2 Jul 2020 at 15:39, Sergey Antonov <se...@db.com> wrote:

> Hello, Igniters!
>
>
>
> I’d like to know, does Ignite have ability to upgrade user’s service in
> service grid without downtime?
>
>
>
> Let’s imagine that I have grid with 2 nodes. Each node has deployed
> instance of service. I’d like to upgrade service version without service’s
> downtime.
>
>
>
> At the moment I have only one idea how to do it: start the same service on
> different nodes with different names (service1 on node1 and service2 on
> node2) and use node filter.
>
> ·         Stop one node
>
> ·         Upgrade service jar.
>
> ·         Return the node to cluster.
>
>
>
> Apply same steps to another node.
>
>
>
> Do you know simpler ways for the service upgrade?
>
>
> ---
> Die Europäische Kommission hat unter http://ec.europa.eu/consumers/odr/
> eine Europäische Online-Streitbeilegungsplattform (OS-Plattform) errichtet.
> Verbraucher können die OS-Plattform für die außergerichtliche Beilegung von
> Streitigkeiten aus Online-Verträgen mit in der EU niedergelassenen
> Unternehmen nutzen.
>
> Informationen (einschließlich Pflichtangaben) zu einzelnen, innerhalb der
> EU tätigen Gesellschaften und Zweigniederlassungen des Konzerns Deutsche
> Bank finden Sie unter https://www.deutsche-bank.de/Pflichtangaben. Diese
> E-Mail enthält vertrauliche und/ oder rechtlich geschützte Informationen.
> Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich
> erhalten haben, informieren Sie bitte sofort den Absender und vernichten
> Sie diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe
> dieser E-Mail ist nicht gestattet.
>
> The European Commission has established a European online dispute
> resolution platform (OS platform) under http://ec.europa.eu/consumers/odr/.
> Consumers may use the OS platform to resolve disputes arising from online
> contracts with providers established in the EU.
>
> Please refer to https://www.db.com/disclosures for information (including
> mandatory corporate particulars) on selected Deutsche Bank branches and
> group companies registered or incorporated in the European Union. This
> e-mail may contain confidential and/or privileged information. If you are
> not the intended recipient (or have received this e-mail in error) please
> notify the sender immediately and delete this e-mail. Any unauthorized
> copying, disclosure or distribution of the material in this e-mail is
> strictly forbidden.
>

Re: Hot service upgrade without downtime

Posted by Denis Magda <dm...@apache.org>.
Hi Sergey,

Starting Ignite 2.8 you can update services without brining down cluster
nodes:
https://apacheignite.readme.io/docs/service-grid#service-updates-redeployment

Even though you still need to shut down for a short period of time, the
cluster itself stays up-and-running.

-
Denis


On Thu, Jul 2, 2020 at 3:09 AM Sergey Antonov <se...@db.com> wrote:

> Hello, Igniters!
>
>
>
> I’d like to know, does Ignite have ability to upgrade user’s service in
> service grid without downtime?
>
>
>
> Let’s imagine that I have grid with 2 nodes. Each node has deployed
> instance of service. I’d like to upgrade service version without service’s
> downtime.
>
>
>
> At the moment I have only one idea how to do it: start the same service on
> different nodes with different names (service1 on node1 and service2 on
> node2) and use node filter.
>
> ·         Stop one node
>
> ·         Upgrade service jar.
>
> ·         Return the node to cluster.
>
>
>
> Apply same steps to another node.
>
>
>
> Do you know simpler ways for the service upgrade?
>
>
> ---
> Die Europäische Kommission hat unter http://ec.europa.eu/consumers/odr/
> eine Europäische Online-Streitbeilegungsplattform (OS-Plattform) errichtet.
> Verbraucher können die OS-Plattform für die außergerichtliche Beilegung von
> Streitigkeiten aus Online-Verträgen mit in der EU niedergelassenen
> Unternehmen nutzen.
>
> Informationen (einschließlich Pflichtangaben) zu einzelnen, innerhalb der
> EU tätigen Gesellschaften und Zweigniederlassungen des Konzerns Deutsche
> Bank finden Sie unter https://www.deutsche-bank.de/Pflichtangaben. Diese
> E-Mail enthält vertrauliche und/ oder rechtlich geschützte Informationen.
> Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich
> erhalten haben, informieren Sie bitte sofort den Absender und vernichten
> Sie diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe
> dieser E-Mail ist nicht gestattet.
>
> The European Commission has established a European online dispute
> resolution platform (OS platform) under http://ec.europa.eu/consumers/odr/.
> Consumers may use the OS platform to resolve disputes arising from online
> contracts with providers established in the EU.
>
> Please refer to https://www.db.com/disclosures for information (including
> mandatory corporate particulars) on selected Deutsche Bank branches and
> group companies registered or incorporated in the European Union. This
> e-mail may contain confidential and/or privileged information. If you are
> not the intended recipient (or have received this e-mail in error) please
> notify the sender immediately and delete this e-mail. Any unauthorized
> copying, disclosure or distribution of the material in this e-mail is
> strictly forbidden.
>