Friday, July 1, 2016

Before Cassandra Installation

Pre-Reqs for dse 4.6.8 Cassandra installation

1. need a higher version of Java 

Details :

#If you have :
cassand01 ~]$ java -version
java version "1.7.0_65"
OpenJDK Runtime Environment (rhel-2.5.1.2.el6_5-x86_64 u65-b17)
OpenJDK 64-Bit Server VM (build 24.65-b04, mixed mode)

Needed version is:
java version "1.8.0_74"
Java(TM) SE Runtime Environment (build 1.8.0_74-b02)
Java HotSpot(TM) 64-Bit Server VM (build 25.74-b02, mixed mode)



2. Check /etc/hosts - it shoudn't have garbage. Make sure this file is good

3. make sure no firewall issues

[root@cassan02 .cct]# telnet cassan03.myblog.com 9042
Trying 10.xx.xx.xx ...

telnet: connect to address 10.xx.xx.xx: No route to host

work with your system admin to resolve the firewall issue

details on ports : https://docs.datastax.com/en/datastax_enterprise/4.8/datastax_enterprise/sec/secConfFirePort.html

4. Make sure all the dependencies (rpms are downloaded and applied)

libselinux-2.0.94-5.8.el6.x86_64
libselinux-utils-2.0.94-5.8.el6.x86_64
selinux-policy-targeted-3.7.19-260.el6.noarch
libselinux-python-2.0.94-5.8.el6.x86_64
util-linux-ng-2.17.2-12.18.el6.x86_64
selinux-policy-3.7.19-260.el6.noarch

NOTE: there can be more out there. Just depending on the OS version and os flavor, it can vary..

5. set swappiness -> /sbin/sysctl vm.swappiness=0

6. set zone_reclaim_mode -> echo 0 > /proc/sys/vm/zone_reclaim_mode


7. set vm.max_map_count -> value 131072

No comments: