#!/bin/bash if [ `whoami` != root ] then echo “Please login as root to continue :)” exit 1 fi #SETUP ENVIRONMENT echo “Installating cassandra cluster” tmpdir=”/tmp” setupdir=”/usr/share”… Read more “Installation Script for cassandra cluster”
MongoDB Cluster setup
Sharded Cluster Deployment Introduction to Sharding Sharding refers to the process of splitting data up across machines; the term partitioning is also sometimes used to describe this… Read more “MongoDB Cluster setup”
Script to start services in a cluster of nodes
Script to startĀ mongod service inĀ a cluster cat start.sh #!/bin/bash # Read number of servers in a cluster echo “Enter number of servers: ” read -e n; #… Read more “Script to start services in a cluster of nodes”
Cassandra- Clustering with 4 nodes , 2 seeds and a single data center
Clustering in a single data center Taken nodes: 192.168.1.106 (seed) 192.168.1.122 192.168.1.107 (seed) 192.168.1.191 In each node we need to create data directories and log directories by… Read more “Cassandra- Clustering with 4 nodes , 2 seeds and a single data center”
Cassandra : Primary key vs Partition key vs Clustering key vs composite key
The Primary key is a general concept to indicate one or more columns used to retrieve data from a Table. Behind the names … The Partition Key… Read more “Cassandra : Primary key vs Partition key vs Clustering key vs composite key”