Cassandra Cluster Setup for Linux
- Introduction to Cassandra & Overview of contents
- Software Requirements
- Linux Operating System Installation ( VM ware)
- Static IP Configuration
- Java Setup & Environment Variables Settings
- Cassandra Installation & Configuration for Node 1
- Create an image of existing Linux environment (ova file).
- Cassandra Setup & Configuration for Node 2.
- Multi-Node Cluster Setup & Example of replication
There is an increasing demand for No-SQL database experts, especially those highly trained on Apache Cassandra. This video focuses on introduction to Cassandra and overview of the course topics in upcoming videos.
2. Sofware Requirement for Cassandra Installation
3. Linux Operating System Installation on VMWare Player.
A step by step installation process of cent OS on virtual machine.
4. How to configure static IP in Linux (cent OS 7)?
We need static IP as we intend to run the server always on single ip address. The clients for the server will connect via the IP address which we have communicated and it would be disaster if we keep on getting dynamic IP address now and then. So to avoid any complexity and hectic process we need to configure static IP address. Below video shows the process of setting static IP in Linux.
5. How to install Java in Linux?
Thousands of devices & applications need java to support their functionality. So, is the Cassandra. We need to install java and python in order to use Cassandra. However Linux is already shipped with python so we skip it. But we have to install java. Below video describes step by step process of installing java in Linux and also setting environment variables.
6. How to install Cassandra in Linux?
7. How to create an image of existing Linux operating system on virtual machine?
8. How to configure node 2 for Cassandra cluster?
9. How to build multi node Cassandra Cluster in Linux?
####Execute as root ############
#find the status of firewall
systemctl status firewalld
#get all the available zones
# find all open ports & interfaces & services
#Add ports to firewall
firewall-cmd –zone=public –add-port=7000/tcp –add-port=9042/tcp –-permanent
#You can use –remove in the place of –add to undo the changes
#You can use –internal/any your zone in the place of public if you have any such zone
#To bring changes to effective