[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cassandra-user
Subject:    Re: Anyone connecting the Cassandra on a server
From:       Bowen Song <bowen () bso ! ng>
Date:       2021-11-19 21:01:28
Message-ID: b351c862-3c4d-0c3f-e88d-8f66bc1c4ded () bso ! ng
[Download RAW message or body]

This could be two questions with different answers:


1. Is there anyone / who is connected to the Cassandra server right now?

Use the netstat or ss command and check the active TCP connections on 
native port (default is 9042)


2. Is there anyone / who is connecting to the Cassandra servers between 
now and next hour/day/week/month/etc.?

Use iptables/nftables to log new TCP connections (ct state new) on that port


On 19/11/2021 18:12, Saha, Sushanta K wrote:
> I need to shutdown an old Apache Cassandra server for good. Running 
> 3.0.x. Any way I can determine if anyone is still connecting to the 
> Cassandra instance running on this server?
>
> Thanks
> .... Sushanta
>
[Attachment #3 (text/html)]

<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>This could be two questions with different answers:</p>
    <p><br>
    </p>
    <p>1. Is there anyone / who is connected to the Cassandra server
      right now?</p>
    <p>Use the netstat or ss command and check the active TCP
      connections on native port (default is 9042)</p>
    <p><br>
    </p>
    <p>2. Is there anyone / who is connecting to the Cassandra servers
      between now and next hour/day/week/month/etc.?</p>
    <p>Use iptables/nftables to log new TCP connections (ct state new)
      on that port<br>
    </p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 19/11/2021 18:12, Saha, Sushanta K
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAHty+vO5CemT9Og_18zmbykxfirw96KE30T-L6HvpVeCBYPNQg@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">I need to shutdown an old Apache Cassandra server
        for good. Running 3.0.x. Any way I can determine if anyone is
        still connecting to the Cassandra instance running on this
        server?<br clear="all">
        <div><br>
        </div>
        <div>Thanks</div>
        <div>.... Sushanta</div>
        <div><br>
        </div>
        <input name="virtru-metadata" type="hidden"
value="{&quot;email-policy&quot;:{&quot;state&quot;:&quot;closed&quot;,&quot;expiratio \
nUnit&quot;:&quot;days&quot;,&quot;disableCopyPaste&quot;:false,&quot;disablePrint&quo \
t;:false,&quot;disableForwarding&quot;:false,&quot;enableNoauth&quot;:false,&quot;pers \
istentProtection&quot;:false,&quot;expandedWatermarking&quot;:false,&quot;expires&quot \
;:false,&quot;isManaged&quot;:false},&quot;attachments&quot;:{},&quot;compose-id&quot;:&quot;30&quot;,&quot;compose-window&quot;:{&quot;secure&quot;:false}}"></div>
  </blockquote>
  </body>
</html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic