Re: Cassandra and GCP

2020-12-18 Thread Ahmed Eljami
Hi,

First, you should deploy with the minimal configuration required for the
production. More details can be found from Cassandra doc here =>
https://cassandra.apache.org/doc/latest/operating/hardware.html

Also, to ensure reliability and fault tolerance you should configure your
cluster to have more than one replica/node (3 is the recommended
replication factor) deployed in two or more region/zone... So, in case of
upgrade/maintenance operation/ unavailable zone... you can switch your
clients to request your second Data Center

Finally, Cassandra is linear scalable, so your cluster can be increased by
simply adding new nodes when your traffic load increases :)

Cheers,


Cassandra and GCP

2020-12-17 Thread Manu Chadha
Hi

I am moving my MVP application to GCP. It is a general web application with 
standard database workload (CRUD). I am not expecting much traffic to begin 
with.

I don’t have any experience in putting applications in production. Would it be 
possible to change the machine configuration later (CPUs, disk size) for 
Cassandra when the traffic load increases? Would I have to stop the application 
completely when I am upgrading or would I be able to do rolling upgrade?

Any tips on how to approach upgrade later would be most appreciated.

Thanks
Manu


Sent from Mail for Windows 10



Re: Unable to start cassandra on GCP (Google cloud) using public email address

2019-12-18 Thread guo Maxwell
I think this may be that the public address is not able for you to bound.
Check if the network adapter for the address is useable . I think you
should ask the GCP for some details.

Manu Chadha  于2019年12月18日周三 下午5:25写道:

> Hi
>
>
>
> Apologies if this isn’t the right group to ask questions. If it isn’t,
> please let me know wehre I should send such messages.
>
>
>
> I am trying to run cassandra on google cloud and want to use external IP
> to run cassandra. I specified the external address in rpc_address in but
> got error when trying to start cassandra- INFO [main] 2019-12-17
> 19:00:37,251 Server.java:159 - Starting listening for CQL clients on
> /xx.xx.xxx.xx:9042 (unencrypted)... Exception
> (java.lang.IllegalStateException) encountered during startup: Failed to
> bind port 9042 on xx.xx.x.xx. java.lang.IllegalStateException: Failed to
> bind port 9042 on x.x.x.x.x..
>
>
>
>
>
> Would you know what I might be doing wrong?
>
>
>
> Thanks
>
> Manu
>
>
>
> Sent from Mail  for
> Windows 10
>
>
>


-- 
you are the apple of my eye !


Unable to start cassandra on GCP (Google cloud) using public email address

2019-12-18 Thread Manu Chadha
Hi

Apologies if this isn’t the right group to ask questions. If it isn’t, please 
let me know wehre I should send such messages.

I am trying to run cassandra on google cloud and want to use external IP to run 
cassandra. I specified the external address in rpc_address in but got error 
when trying to start cassandra- INFO [main] 2019-12-17 19:00:37,251 
Server.java:159 - Starting listening for CQL clients on /xx.xx.xxx.xx:9042 
(unencrypted)... Exception (java.lang.IllegalStateException) encountered during 
startup: Failed to bind port 9042 on xx.xx.x.xx. 
java.lang.IllegalStateException: Failed to bind port 9042 on x.x.x.x.x..


Would you know what I might be doing wrong?

Thanks
Manu

Sent from Mail for Windows 10