设为首页 加入收藏

TOP

Greenplum环境安装配置步骤(一)
2014-11-24 07:42:21 来源: 作者: 【 】 浏览:10
Tags:Greenplum 环境 安装 配置 步骤
1、环境准备 服务器分配 192.168.100.101--mdw 192.168.100.11--smdw 192.168.100.12--sdw1 192.168.100.13--sdw2
ms1与ms2之间的心跳ip配置 10.10.10.1--mdw 10.10.10.2--smdw
2、修改hosts文件(所有主机hosts文件必须全部修改)
vi /etc/hosts 192.168.100.101 mdw 192.168.100.11 smdw 192.168.100.12 sdw1 192.168.100.13 sdw2
3、关闭iptables和selinux [root@mdw ~]# service iptables stop [root@mdw ~]# [root@mdw ~]# [root@mdw ~]# [root@mdw ~]# [root@mdw ~]# chkconfig iptables --list iptables 0: 抽 1: 抽 2: 抽 3: 抽 4: 抽 5: 抽 6: 抽 [root@mdw ~]# export LANG=zh_CN [root@mdw ~]# chkconfig iptables --list iptables 0:关闭 1:关闭 2:关闭 3:关闭 4:关闭 5:关闭 6:关闭
[root@mdw ~]# cat /etc/selinux/config
# This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: # enforcing - SELinux security policy is enforced. # permissive - SELinux prints warnings instead of enforcing. # disabled - No SELinux policy is loaded. SELINUX=disabled # SELINUXTYPE= can take one of these two values: # targeted - Targeted processes are protected, # mls - Multi Level Security protection. SELINUXTYPE=targeted
[root@mdw ~]# setenforce 0
4、修改系统参数 1)vi /etc/sysctl.conf [root@mdw ~]# sysctl -p net.ipv4.ip_forward = 0 net.ipv4.conf.default.rp_filter = 1 net.ipv4.conf.default.accept_source_route = 0 kernel.sysrq = 1 kernel.core_uses_pid = 1 net.ipv4.tcp_syncookies = 1 error: "net.bridge.bridge-nf-call-ip6tables" is an unknown key error: "net.bridge.bridge-nf-call-iptables" is an unknown key error: "net.bridge.bridge-nf-call-arptables" is an unknown key kernel.msgmnb = 65536 kernel.msgmax = 65536 kernel.shmmax = 68719476736 kernel.shmall = 4294967296 error: "kernel.msgmin" is an unknown key vm.overcommit_memory = 2 error: "net.ipv4.cp_tw_recycle" is an unknown key net.ipv4.tcp_max_syn_backlog = 4096 net.ipv4.conf.all.arp_filter = 1 error: "Invalid argument" setting key "net.ipv4.ip_local_port_range" net.core.netdev_max_backlog = 10000 error: "xfs_mount_options" is an unknown key kernel.shmmni = 4096 kernel.sem = 250 512000 100 2048 net.ipv4.tcp_tw_recycle = 1 net.ipv4.conf.default.arp_filter = 1 kernel.msgmni = 2048
2) vi /etc/security/limits.conf
* soft nofile 65536 * hard nofile 65536 * soft nproc 131072 * hard nproc 131072
在RHEL6.x版本需要修改文件 /etc/security/limits.d/90-nproc.conf,增加如下内容: * softnproc 131072 * hardnproc 131072
4、修改完系统参数后重启服务器
5、创建gpadmin用户 useradd gpadmin 6、安装GP 1) 上传安装文件解压缩 2)执行安装文件
[root@mdw GPDB]# ./greenplum-db-4.2.6.3-build-2-RHEL5-x86_64.bin
I HAVE READ AND AGREE TO THE TERMS OF THE ABOVE EMC SOFTWARE LICENSE AGREEMENT.
******************************************************************************** Do you accept the EMC Database license agreement [yes|no] ********************************************************************************
yes
******************************************************************************** Provide the installation path for Greenplum Database or press ENTER to accept the default installation path: /usr/local/greenplum-db-4.2.6.3 ********************************************************************************
/home/gpadmin/GPDB/install
******************************************************************************** Install Greenplum Database into [yes|no] ********************************************************************************
yes
*******************************************
首页 上一页 1 2 3 4 下一页 尾页 1/4/4
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇RTP记录log的机制 下一篇实战:INNOBACKUPEXformysql5.6自..

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容:

·About - Redis (2025-12-26 08:20:56)
·Redis: A Comprehens (2025-12-26 08:20:53)
·Redis - The Real-ti (2025-12-26 08:20:50)
·Bash 脚本教程——Li (2025-12-26 07:53:35)
·实战篇!Linux shell (2025-12-26 07:53:32)