ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "shawn.du" <shawn...@neulion.com.cn>
Subject Re: how to dismiss a ignite server node.
Date Fri, 23 Feb 2018 10:23:45 GMT
<html>
<head>
    <meta http-equiv='Content-Type' content='text/html; charset=UTF-8'>
</head>
<body>
<style>
    font{
        line-height: 1.7;
    }
</style>
<div style = 'font-family:"微软雅黑"; font-size: 14px; color:#000000; line-height:1.7;'>
    <div>
<div><span>Hi,</span></div><div><span><br></span></div><div><span>I
know it is hard. &nbsp;But it is a common requirement. I wish ignite can have this feature
in future.</span></div><div>Think below scenarios:</div><div>I
initialize a 2-nodes server and all works fine. &nbsp;later &nbsp;I find my memory
will be used up soon.</div><div>so i decide to add a new node. &nbsp;I know
ignite can do this. All works fine. later then I find that</div><div>use 3 node
is too expensive(we run ignite on AWS) we don't need that much memory, I want to shrink the
cluster, but I don't want</div><div>to stop it. It means even we are shrinking
the cluster, all our business logic &nbsp;like cache, computing, SQL query</div><div>should
works as usual.&nbsp;</div><div>For we really need this feature, I have a
careful thought about it. My thought is simple:</div><div>1) use admin tools to
mark a node in a DISMISSING status. when node in this status, it is only readable, computing
jobs also OK, but can't write.</div><div>2) copy the data in above node to other
node.&nbsp;</div><div>3) when copy is finished, set the node status in DISMISSED
status. node in DISMISSED status will not involved any operations.</div><div>4)
then user can safely kill the process.&nbsp;</div><div><br></div><div>I
know talking is always simple, coding is hard. &nbsp;Leveraging ignite's atomic, distributed
locks, it may be possible.</div><div>welcome any comments.</div><div><br></div>
<div id="ntes-pcmail-signature" style="font-family:'微软雅黑'">
    <style type="text/css">
        a#ntes-pcmail-signature-default:hover {
            text-decoration: underline;
            color: #199cff;
            cursor: pointer;
        }
        a#ntes-pcmail-signature-default:active {
            text-decoration: underline;
            color: #246fce;
            cursor: pointer;
        }
    </style>

                <div style="font-size:14px; padding: 0;  margin:0;">
                    <div style="font-family:&quot;微软雅黑&quot;; font-size:
13px; color:#000000">
    <style>
        font{
            line-height: 1.5;
        }
    </style>
<div id="ntes-pcmail-signature-default" style="font-size:14px; color:#000; text-decoration:
none;">Thanks</div><div id="ntes-pcmail-signature-default" style="font-size:14px;
color:#000; text-decoration: none;">Shawn</div>
</div>
                </div>

</div><br>
</div><div class="J-reply" style="background-color:#f2f2f2;color:black;padding-top:6px;padding-bottom:6px;border-radius:3px;-moz-border-radius:3px;-webkit-border-radius:3px;margin-top:45px;margin-bottom:20px;font-family:'微软雅黑';">
    <div style="font-size:14px;line-height:1.5;word-break:break-all;margin-left:10px;margin-right:10px">On
<span class="mail-date">2/23/2018 17:47</span>,<a class="mail-to" style="text-decoration:none;color:#2a83f2;"
href="mailto:slava.koptilin@gmail.com">Вячеслав Коптилин&lt;slava.koptilin@gmail.com&gt;</a>
wrote: </div>
</div>
<blockquote id="ntes-pcmail-quote" style="margin: 0; padding: 0; font-size: 14px; font-family:
'微软雅黑';">
<div dir="ltr">Hello,<div><br></div><div><div>If you don't
have configured 3rd party cache store or backups,</div><div>then there is only
one possible way, I think.</div><div>You need to&nbsp;</div><div>&nbsp;-
store all the data from the node you want to shut down,</div><div>&nbsp;-
shut down the node&nbsp;</div><div>&nbsp;- upload stored data back to
the cluster.</div><div><br></div><div>It can be done via an
external database, for example.</div><div>If the data set is not huge, you can
try to use a new partitioned cache (with node filter/backups) or replicated cache.</div><div><br></div></div><div>Thanks.</div></div><div
class="gmail_extra"><br><div class="gmail_quote">2018-02-23 10:00 GMT+03:00
shawn.du <span dir="ltr">&lt;<a href="mailto:shawn.du@neulion.com.cn" target="_blank">shawn.du@neulion.com.cn</a>&gt;</span>:<br><blockquote
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

    

<div>

<div style="font-family:&quot;\005fae\008f6f\0096c5\009ed1&quot;;font-size:14px;color:#000000;line-height:1.7">
    
<div><span>Hi,</span></div><div><span style="line-height:1.7">Suppose
I have several ignite server nodes which compose a cluster.</span></div><div>all
data in PARTITIONED mode, and with no backups.</div><div>It is possible to dismiss
a node without restarting and data lose?</div><div>if possible, what are the steps?</div><div><br></div>
<div id="m_8299247720841442513ntes-pcmail-signature" style="font-family:'\005fae\008f6f\0096c5\009ed1'">
    

                <div style="font-size:14px;padding:0;margin:0">
                    <div style="font-family:&quot;\005fae\008f6f\0096c5\009ed1&quot;;font-size:13px;color:#000000">
    
<div id="m_8299247720841442513ntes-pcmail-signature-default" style="font-size:14px;color:#000;text-decoration:none">Thanks</div><span
class="HOEnZb"><font color="#888888"><div id="m_8299247720841442513ntes-pcmail-signature-default"
style="font-size:14px;color:#000;text-decoration:none">Shawn</div>
</font></span></div>
                </div>

</div><br>

</div>
</div>
</blockquote></div><br></div>
</blockquote><!--😀-->
</div>
</body>
</html>
Mime
View raw message