Here
I am adding very basic steps to follow configuring MapR-5.0.0
cluster on Redhat-6.7 operating system.
Please
follow below steps for for configuring.
Note:
Here
We have 2 disks in each node.
Cluster
Information:
Cluster
Version : MapR-5.0.0
OS
version : RHEL-6.7
Number
of nodes : 3 nodes.
Login
as :mapr/mapr
(Note: Assuming that the basic hardware requirements meet the cluster to configure.)
(Note: Assuming that the basic hardware requirements meet the cluster to configure.)
Steps:
Step
1:
Add
the hostnames and ipaddress of all the cluster nodes in /etc/hosts
file on each node.
$sudo
vi /etc/hosts
172.20.10.10
host10
172.20.10.11
host11
172.20.10.12
host12
Step
2:
Adding
virtual disks info. in file called disks.txt to each node.
$sudo
vi /tmp/disks.txt
xvdb
xvdc
Step
3:
Adding
a group and a User to the each node
$sudo
groupadd -g 5000 mapr
$sudo
useradd -g 5000 -u 5000 mapr
Step
4:
Changing
the SELINUX parameter=pemissive in each node
$sudo
vi /etc/selinux/config
SELINUX=pemissive
Step
5:
Disable
the iptables(disable firewall permanently) using below command in
each node.
$sudo
iptables -F
or
use below two commands to disable permanently in each node.
$chkconfig
iptables off
$service
iptables stop
Step
6:
Add
the MapR version and ecosystem repos to maprtech.repo file in each
node
$sudo
vi /etc/yum.repos.d/maprtech.repo
[maprtech]
name=MapR
Technologies
baseurl=http://package.mapr.com/releases/v5.0.0/redhat/
enabled=1
gpgcheck=0
protect=1
[maprecosystem]
name=MapR
Technologies
baseurl=http://package.mapr.com/releases/ecosystem-5.x/redhat
enabled=1
gpgcheck=0
protect=1
Step
7:
Use
below rpm packages to download on each node
$sudo
wget
http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
Step
8:
Install
the above downloaded rpm.
$sudo
rpm -Uvh epel-release-6-8.noarch.rpm
Step
9:
import
the key
$sudo
rpm --import http://package.mapr.com/releases/pub/maprgpg.key
Step
10:
Install
java-1.7.0.openjdk-devel , if not installed.
$sudo
yum install java-1.7.0-openjdk-devel
Step
11:
Install
the mapr-core packages(eg: mapr-fileserver,mapr-cldb,mapr-zookeeper
etc... required services on each cluster)
$sudo
yum install mapr-fileserver
$sudo
yum install mapr-cldb mapr-zookeeper
Step
12:
List
out the CLDB's ,Zookeeper's insta nodes and then run the configure.sh
which is present in "/opt/mapr/server/" folder on each
node.
List
of CLDB installed nodes : 172.20.10.10,172.20.10.11
List
of Zookeeper installed Nodes: 172.20.10.10,172.20.10.11,172.20.10.12
$sudo
server/configure.sh -C 172.20.10.10,172.20.10.11 -Z
172.20.10.10,172.20.10.11,172.20.10.12 -N 3Node-MapR-5.0-Cluster
Step
13:
Add
the disks.txt file each node
$sudo
server/disksetup -F /tmp/disks.txt
Step
14:
use
below command to check for all started commands.
$
sudo maprcli node services -columns svc
Note:
Please refer below link for more detailed info:
http://doc.mapr.com/display/MapR/Advanced+Installation+Topics
Note:
Please refer below link for more detailed info:
http://doc.mapr.com/display/MapR/Advanced+Installation+Topics
No comments:
Post a Comment