RE: Reg :- Multiple Node Cluster set up in Virtual Box

2017-11-07 Thread Kyrylo Lebediev
Nandan,

There are several options available how this can be done.

For example, you may configure 2 network adapters per each VM:
1) NAT: in order the VM to have access to the Internet
2) Host-only Adapter - for internode communication setup (listen_address, 
rpc_address). Static IP configuration should be used for these interfaces.

Regards,
Kyrill

From: @Nandan@ [mailto:nandanpriyadarshi...@gmail.com]
Sent: Tuesday, November 7, 2017 6:49 AM
To: user <user@cassandra.apache.org>
Subject: Re: Reg :- Multiple Node Cluster set up in Virtual Box

Hi All,

Thanks for sharing all information.
I am starting to work on this.
Now Problem which I am getting right now is:-
1) How to select Network for Virtual Machine by which I can able to get 
different IP for different Virtual Box?
2) As I am using WIFI for HOST machine which is Windows 10, so is there any 
internal configuration required or I need to select specific Network Adapter 
into Virtual Boxs by which  I will get IP1,IP2,IP3 for node1,node2,node3 
respectively.

Please give me some ideas.
Thanks in advance,
Nandan Priyadarshi


On Tue, Nov 7, 2017 at 8:28 AM, James Briggs 
<james.bri...@yahoo.com.invalid<mailto:james.bri...@yahoo.com.invalid>> wrote:
Nandan: The original Datastax training classes (when it was still called 
Riptano)
used 3 virtualbox Debian instances to setup a Cassandra cluster.

Thanks, James Briggs.
--
Cassandra/MySQL DBA. Available in San Jose area or remote.
cass_top: https://github.com/jamesbriggs/cassandra-top


From: kurt greaves <k...@instaclustr.com<mailto:k...@instaclustr.com>>
To: User <user@cassandra.apache.org<mailto:user@cassandra.apache.org>>
Sent: Monday, November 6, 2017 3:08 PM
Subject: Re: Reg :- Multiple Node Cluster set up in Virtual Box

Worth keeping in mind that in 3.6 onwards nodes will not start unless they can 
contact a seed. Not quite SPOF but still problematic. 
CASSANDRA-13851<https://issues.apache.org/jira/browse/CASSANDRA-13851>​




Re: Reg :- Multiple Node Cluster set up in Virtual Box

2017-11-07 Thread @Nandan@
for sharing all information.
> I am starting to work on this.
> Now Problem which I am getting right now is:-
> 1) How to select Network for Virtual Machine by which I can able to get
> different IP for different Virtual Box?
> 2) As I am using WIFI for HOST machine which is Windows 10, so is there
> any internal configuration required or I need to select specific Network
> Adapter into Virtual Boxs by which  I will get IP1,IP2,IP3 for
> node1,node2,node3 respectively.
>
> Please give me some ideas.
> Thanks in advance,
> Nandan Priyadarshi
>
>
> On Tue, Nov 7, 2017 at 8:28 AM, James Briggs <james.bri...@yahoo.com.
> invalid> wrote:
>
>> Nandan: The original Datastax training classes (when it was still called
>> Riptano)
>> used 3 virtualbox Debian instances to setup a Cassandra cluster.
>>
>> Thanks, James Briggs.
>> --
>> Cassandra/MySQL DBA. Available in San Jose area or remote.
>> cass_top: https://github.com/jamesbriggs/cassandra-top
>>
>>
>> --
>> *From:* kurt greaves <k...@instaclustr.com>
>> *To:* User <user@cassandra.apache.org>
>> *Sent:* Monday, November 6, 2017 3:08 PM
>> *Subject:* Re: Reg :- Multiple Node Cluster set up in Virtual Box
>>
>> Worth keeping in mind that in 3.6 onwards nodes will not start unless
>> they can contact a seed. Not quite SPOF but still problematic.
>> CASSANDRA-13851 <https://issues.apache.org/jira/browse/CASSANDRA-13851>​
>>
>>
>>
>


Re: Reg :- Multiple Node Cluster set up in Virtual Box

2017-11-06 Thread @Nandan@
Hi All,

Thanks for sharing all information.
I am starting to work on this.
Now Problem which I am getting right now is:-
1) How to select Network for Virtual Machine by which I can able to get
different IP for different Virtual Box?
2) As I am using WIFI for HOST machine which is Windows 10, so is there any
internal configuration required or I need to select specific Network
Adapter into Virtual Boxs by which  I will get IP1,IP2,IP3 for
node1,node2,node3 respectively.

Please give me some ideas.
Thanks in advance,
Nandan Priyadarshi


On Tue, Nov 7, 2017 at 8:28 AM, James Briggs <james.bri...@yahoo.com.invalid
> wrote:

> Nandan: The original Datastax training classes (when it was still called
> Riptano)
> used 3 virtualbox Debian instances to setup a Cassandra cluster.
>
> Thanks, James Briggs.
> --
> Cassandra/MySQL DBA. Available in San Jose area or remote.
> cass_top: https://github.com/jamesbriggs/cassandra-top
>
>
> --
> *From:* kurt greaves <k...@instaclustr.com>
> *To:* User <user@cassandra.apache.org>
> *Sent:* Monday, November 6, 2017 3:08 PM
> *Subject:* Re: Reg :- Multiple Node Cluster set up in Virtual Box
>
> Worth keeping in mind that in 3.6 onwards nodes will not start unless they
> can contact a seed. Not quite SPOF but still problematic. CASSANDRA-13851
> <https://issues.apache.org/jira/browse/CASSANDRA-13851>​
>
>
>


Re: Reg :- Multiple Node Cluster set up in Virtual Box

2017-11-06 Thread James Briggs
Nandan: The original Datastax training classes (when it was still called 
Riptano)
used 3 virtualbox Debian instances to setup a Cassandra cluster. Thanks, James 
Briggs.
--
Cassandra/MySQL DBA. Available in San Jose area or remote.
cass_top: https://github.com/jamesbriggs/cassandra-top

  From: kurt greaves <k...@instaclustr.com>
 To: User <user@cassandra.apache.org> 
 Sent: Monday, November 6, 2017 3:08 PM
 Subject: Re: Reg :- Multiple Node Cluster set up in Virtual Box
   
Worth keeping in mind that in 3.6 onwards nodes will not start unless they can 
contact a seed. Not quite SPOF but still problematic. CASSANDRA-13851​

   

Re: Reg :- Multiple Node Cluster set up in Virtual Box

2017-11-06 Thread kurt greaves
Worth keeping in mind that in 3.6 onwards nodes will not start unless they
can contact a seed. Not quite SPOF but still problematic. CASSANDRA-13851

Re: Reg :- Multiple Node Cluster set up in Virtual Box

2017-11-06 Thread Jeff Jirsa


> On Nov 6, 2017, at 6:52 AM, @Nandan@  wrote:
> 
> Hi Jeff,
> Thanks for you suggestion.
> I have few questions here. 
> 1) It is fine to set up first node and put node1 ip as seed , and then I have 
> to follow to set up node 2,3,4 respectively with same seed node as node1 's 
> ip address. but this will also comes as SPOF as if node1 will close for some 
> time being.. 

Once the cluster is up you can change the seeds. The seeds are not a SPOF for a 
running cluster - they’re used the first time a node joins the ring (and for 
some other stuff you can ignore for now), as long as the cluster isn’t growing 
seeds don’t matter very much.



> 2) is it possible that ,after cluster set up with node1 's IP as seed and 
> cluster name as "ABC Cluster" and later I can change seed nodes like to add 
> node3 and node4 IP address in all 4 nodes. 

Yes, you can change seeds later. You can’t change the cluster name, though.

> 3) if it is possible then , are there nay chances that cluster may get 
> disturbed due to changing seeds. 

Not really, people tend to think seeds are more important than they are. You 
want them to be the same, but if they’re different across nodes for a while 
it’s unlikely to hurt much. 

> Please clarify these doubts. 
> 
> 
>> On Nov 6, 2017 10:44 PM, "Jeff Jirsa"  wrote:
>> Looks like official docs for first-time-setup are pretty lacking.
>> 
>> One node at a time:
>> - Install the deb package: 
>> http://cassandra.apache.org/doc/latest/getting_started/installing.html 
>> - Then configure - 
>> http://cassandra.apache.org/doc/latest/getting_started/configuring.html
>>   - Pick a cluster name
>>   - Set the listen_address (and maybe broadcast_address)
>>   - Put the IP of the first node as the seed.
>> - Start the node
>> - Wait 2 minutes and then proceed to the next one.
>> 
>> 
>> 
>>  
>> 
>>> On Mon, Nov 6, 2017 at 6:33 AM, @Nandan@  
>>> wrote:
>>> Hi Varun ,
>>> I tried CCM , but as for practice and for deep learning , finally I 
>>> understood that CCM is not a good way to go along.
>>> Like my goal is to learn about configuration aspects as well as to know in 
>>> details about administration parts. 
>>> So I am trying to do configure all 4 virtual boxs as 4 nodes. 
>>> Thanks for reply. Hope we will work on this .
>>> 
>>> 
>>> Thanks,
>>> Nandan Priyadarshi
>>> 
 On Nov 6, 2017 10:29 PM, "Varun Barala"  wrote:
 you can try CCM
 https://academy.datastax.com/planet-cassandra/getting-started-with-ccm-cassandra-cluster-manager
 
 Thanks
 
> On Mon, Nov 6, 2017 at 10:12 PM, @Nandan@ 
>  wrote:
> Hi Users ,
>  Just seeking some perfect guidelines to set up multi-node cluster  
> single Data Center in single host machine. 
> I am currently using windows 10 as host machine and installed Oracle 
> virtual box in which I created 4 virtual machines and all had Ubuntu 
> 16.04 
> I would like to configure a flexible robust no SPOF  data center.
> So please let me know how do I start and what steps, I have to follow to 
> configure this multi node cluster?
> My goal is to create 4 node cluster now and later based on learning 
> experiences I will remove 1 node and add 2 more nodes to check everything 
> should be working perfectly.
> 
> Just hope to get some step by step guidelines from all of you.
> 
> Thanks in advance and best regards,
> Nandan Priyadarshi 
 
>> 


Re: Reg :- Multiple Node Cluster set up in Virtual Box

2017-11-06 Thread @Nandan@
Hi Jeff,
Thanks for you suggestion.
I have few questions here.
1) It is fine to set up first node and put node1 ip as seed , and then I
have to follow to set up node 2,3,4 respectively with same seed node as
node1 's ip address. but this will also comes as SPOF as if node1 will
close for some time being..
2) is it possible that ,after cluster set up with node1 's IP as seed and
cluster name as "ABC Cluster" and later I can change seed nodes like to add
node3 and node4 IP address in all 4 nodes.
3) if it is possible then , are there nay chances that cluster may get
disturbed due to changing seeds.
Please clarify these doubts.

Thanks and Best Regards,
Nandan Priyadarshi


On Nov 6, 2017 10:44 PM, "Jeff Jirsa"  wrote:

> Looks like official docs for first-time-setup are pretty lacking.
>
> One node at a time:
> - Install the deb package: http://cassandra.apache.org/doc/latest/getting_
> started/installing.html
> - Then configure - http://cassandra.apache.org/doc/latest/getting_started/
> configuring.html
>   - Pick a cluster name
>   - Set the listen_address (and maybe broadcast_address)
>   - Put the IP of the first node as the seed.
> - Start the node
> - Wait 2 minutes and then proceed to the next one.
>
>
>
>
>
> On Mon, Nov 6, 2017 at 6:33 AM, @Nandan@ 
> wrote:
>
>> Hi Varun ,
>> I tried CCM , but as for practice and for deep learning , finally I
>> understood that CCM is not a good way to go along.
>> Like my goal is to learn about configuration aspects as well as to know
>> in details about administration parts.
>> So I am trying to do configure all 4 virtual boxs as 4 nodes.
>> Thanks for reply. Hope we will work on this .
>>
>>
>> Thanks,
>> Nandan Priyadarshi
>>
>> On Nov 6, 2017 10:29 PM, "Varun Barala"  wrote:
>>
>>> you can try *CCM*
>>> https://academy.datastax.com/planet-cassandra/getting-starte
>>> d-with-ccm-cassandra-cluster-manager
>>>
>>> Thanks
>>>
>>> On Mon, Nov 6, 2017 at 10:12 PM, @Nandan@ >> m> wrote:
>>>
 Hi Users ,
  Just seeking some perfect guidelines to set up multi-node cluster
 single Data Center in single host machine.
 I am currently using windows 10 as host machine and installed Oracle
 virtual box in which I created 4 virtual machines and all had Ubuntu 16.04
 I would like to configure a flexible robust no SPOF  data center.
 So please let me know how do I start and what steps, I have to follow
 to configure this multi node cluster?
 My goal is to create 4 node cluster now and later based on learning
 experiences I will remove 1 node and add 2 more nodes to check everything
 should be working perfectly.

 Just hope to get some step by step guidelines from all of you.

 Thanks in advance and best regards,
 Nandan Priyadarshi

>>>
>>>
>


Re: Reg :- Multiple Node Cluster set up in Virtual Box

2017-11-06 Thread Jürgen Albersdorfer
You might want to have a look onto this:
https://www.digitalocean.com/community/tutorials/how-to-run-a-multi-node-cluster-database-with-cassandra-on-ubuntu-14-04

It worked great for me, but I have to admit that my cluster is running, but not 
yet in production.

Von: @Nandan@ [mailto:nandanpriyadarshi...@gmail.com]
Gesendet: Montag, 6. November 2017 15:34
An: user <user@cassandra.apache.org>
Betreff: Re: Reg :- Multiple Node Cluster set up in Virtual Box

Hi Varun ,
I tried CCM , but as for practice and for deep learning , finally I understood 
that CCM is not a good way to go along.
Like my goal is to learn about configuration aspects as well as to know in 
details about administration parts.
So I am trying to do configure all 4 virtual boxs as 4 nodes.
Thanks for reply. Hope we will work on this .


Thanks,
Nandan Priyadarshi

On Nov 6, 2017 10:29 PM, "Varun Barala" 
<varunbaral...@gmail.com<mailto:varunbaral...@gmail.com>> wrote:
you can try CCM
https://academy.datastax.com/planet-cassandra/getting-started-with-ccm-cassandra-cluster-manager

Thanks

On Mon, Nov 6, 2017 at 10:12 PM, @Nandan@ 
<nandanpriyadarshi...@gmail.com<mailto:nandanpriyadarshi...@gmail.com>> wrote:
Hi Users ,
 Just seeking some perfect guidelines to set up multi-node cluster  single Data 
Center in single host machine.
I am currently using windows 10 as host machine and installed Oracle virtual 
box in which I created 4 virtual machines and all had Ubuntu 16.04
I would like to configure a flexible robust no SPOF  data center.
So please let me know how do I start and what steps, I have to follow to 
configure this multi node cluster?
My goal is to create 4 node cluster now and later based on learning experiences 
I will remove 1 node and add 2 more nodes to check everything should be working 
perfectly.

Just hope to get some step by step guidelines from all of you.

Thanks in advance and best regards,
Nandan Priyadarshi



Re: Reg :- Multiple Node Cluster set up in Virtual Box

2017-11-06 Thread Jeff Jirsa
Looks like official docs for first-time-setup are pretty lacking.

One node at a time:
- Install the deb package:
http://cassandra.apache.org/doc/latest/getting_started/installing.html
- Then configure -
http://cassandra.apache.org/doc/latest/getting_started/configuring.html
  - Pick a cluster name
  - Set the listen_address (and maybe broadcast_address)
  - Put the IP of the first node as the seed.
- Start the node
- Wait 2 minutes and then proceed to the next one.





On Mon, Nov 6, 2017 at 6:33 AM, @Nandan@ 
wrote:

> Hi Varun ,
> I tried CCM , but as for practice and for deep learning , finally I
> understood that CCM is not a good way to go along.
> Like my goal is to learn about configuration aspects as well as to know in
> details about administration parts.
> So I am trying to do configure all 4 virtual boxs as 4 nodes.
> Thanks for reply. Hope we will work on this .
>
>
> Thanks,
> Nandan Priyadarshi
>
> On Nov 6, 2017 10:29 PM, "Varun Barala"  wrote:
>
>> you can try *CCM*
>> https://academy.datastax.com/planet-cassandra/getting-starte
>> d-with-ccm-cassandra-cluster-manager
>>
>> Thanks
>>
>> On Mon, Nov 6, 2017 at 10:12 PM, @Nandan@ > > wrote:
>>
>>> Hi Users ,
>>>  Just seeking some perfect guidelines to set up multi-node cluster
>>> single Data Center in single host machine.
>>> I am currently using windows 10 as host machine and installed Oracle
>>> virtual box in which I created 4 virtual machines and all had Ubuntu 16.04
>>> I would like to configure a flexible robust no SPOF  data center.
>>> So please let me know how do I start and what steps, I have to follow to
>>> configure this multi node cluster?
>>> My goal is to create 4 node cluster now and later based on learning
>>> experiences I will remove 1 node and add 2 more nodes to check everything
>>> should be working perfectly.
>>>
>>> Just hope to get some step by step guidelines from all of you.
>>>
>>> Thanks in advance and best regards,
>>> Nandan Priyadarshi
>>>
>>
>>


Re: Reg :- Multiple Node Cluster set up in Virtual Box

2017-11-06 Thread @Nandan@
Hi Varun ,
I tried CCM , but as for practice and for deep learning , finally I
understood that CCM is not a good way to go along.
Like my goal is to learn about configuration aspects as well as to know in
details about administration parts.
So I am trying to do configure all 4 virtual boxs as 4 nodes.
Thanks for reply. Hope we will work on this .


Thanks,
Nandan Priyadarshi

On Nov 6, 2017 10:29 PM, "Varun Barala"  wrote:

> you can try *CCM*
> https://academy.datastax.com/planet-cassandra/getting-
> started-with-ccm-cassandra-cluster-manager
>
> Thanks
>
> On Mon, Nov 6, 2017 at 10:12 PM, @Nandan@ 
> wrote:
>
>> Hi Users ,
>>  Just seeking some perfect guidelines to set up multi-node cluster
>> single Data Center in single host machine.
>> I am currently using windows 10 as host machine and installed Oracle
>> virtual box in which I created 4 virtual machines and all had Ubuntu 16.04
>> I would like to configure a flexible robust no SPOF  data center.
>> So please let me know how do I start and what steps, I have to follow to
>> configure this multi node cluster?
>> My goal is to create 4 node cluster now and later based on learning
>> experiences I will remove 1 node and add 2 more nodes to check everything
>> should be working perfectly.
>>
>> Just hope to get some step by step guidelines from all of you.
>>
>> Thanks in advance and best regards,
>> Nandan Priyadarshi
>>
>
>


Re: Reg :- Multiple Node Cluster set up in Virtual Box

2017-11-06 Thread Varun Barala
you can try *CCM*
https://academy.datastax.com/planet-cassandra/getting-started-with-ccm-cassandra-cluster-manager

Thanks

On Mon, Nov 6, 2017 at 10:12 PM, @Nandan@ 
wrote:

> Hi Users ,
>  Just seeking some perfect guidelines to set up multi-node cluster  single
> Data Center in single host machine.
> I am currently using windows 10 as host machine and installed Oracle
> virtual box in which I created 4 virtual machines and all had Ubuntu 16.04
> I would like to configure a flexible robust no SPOF  data center.
> So please let me know how do I start and what steps, I have to follow to
> configure this multi node cluster?
> My goal is to create 4 node cluster now and later based on learning
> experiences I will remove 1 node and add 2 more nodes to check everything
> should be working perfectly.
>
> Just hope to get some step by step guidelines from all of you.
>
> Thanks in advance and best regards,
> Nandan Priyadarshi
>