greenplum集群安装与增加节点生产环境实战

1.1 centos6.5

greenplum-db-4.3.3.1-build-1-RHEL5-x86_64。zip

greenplum, 2 ip

[root@BI-greenplum-01 ~] #猫/etc/hosts

127.0.0.1 ,localhost localhost.localdomain

:: 1,,,,,,,,localhost localhost。localdomain localhost6 localhost6.localdomain6

192.168.10.201 ,,,,,,BI-greenplum-01

192.168.10.202 ,,,,,,BI-greenplum-02

1.2 (root@BI-greenplum-01 ~) #,groupadd - g 530 gpadmin

(root@BI-greenplum-01 ~) # 530 -u530 useradd - g - m - d/home/gpadmin - s/bin/bash gpadmin

[root@BI-greenplum-01 ~] # passwd gpadmin

用户gpadmin改变密码。新密码:

坏密码:太简单/系统

坏密码:太简单的

重新输入新密码:

密码:所有身份验证令牌更新成功。

,

,

#由greenplum

net.ipv4。ip_forward=0

net.ipv4.conf.default.accept_source_route=0

内核。sysrq=1

内核。core_uses_pid=1

net.ipv4。tcp_syncookies=1

内核。msgmnb=65536

内核。msgmax=65536

内核。sem=250 64000 100 512

内核。shmmax=500000000

内核。shmmni=4096

内核。shmall=4000000000

内核。sem=250 64000 100 512

net.ipv4.tcp_tw_recycle=1

net.ipv4.tcp_max_syn_backlog=4096

net.core.netdev_max_backlog=10000

vm.overcommit_memory=2

net.ipv4.conf.all.arp_filter=1

,

[root@BI-greenplum-01 ~] # sysctl - p

,

限制。参看

root@BI-greenplum-01 ~ # vi/etc/security/limits.参看

#文件结束

*软nofile 65536

*硬nofile 65536

*软nproc 131072

*硬nproc 131072

,

yum - y安装ed openssh-clients gcc gcc-c + +,使automake autoconf libtool perl rsync coreutils glib2 lrzsz sysstat e4fsprogs xfsprogs国家结核控制规划readline-devel zlib zlib-devel解压

greenplumed,

,

root@BI-greenplum-01 ~ # greenplum-db-4.3.3.1-build-1-RHEL5-x86_64解压缩。zip

root@BI-greenplum-01 ~ #。/greenplum-db-4.3.3.1-build-1-RHEL5-x86_64。本

 greenplum集群安装与增加节点生产环境实战

 greenplum集群安装与增加节点生产环境实战

 greenplum集群安装与增加节点生产环境实战

,

[root@BI-greenplum-01 ~] # cd/usr/local/

[root@BI-greenplum-01当地]# chown - r gpadmin: gpadmin/usr/local/greenplum-db *

,

[root@BI-greenplum-01当地]#焦油zcvf gp.tar。广州greenplum-db *

,

# scp gp.tar root@BI-greenplum-01当地。广州BI-greenplum-02:/usr/地方/

,

[root@BI-greenplum-02 ~] # cd/usr/local/

[root@BI-greenplum-02当地]# ls

bin etc games gp.tar.gz include lib lib64 libexec sbin share src

[root@BI-greenplum-02当地]#焦油zxvf gp.tar.gz

,

[root@BI-greenplum-01当地]# su - gpadmin

[gpadmin@BI-greenplum-01 ~] $

,

,

[gpadmin@BI-greenplum-01 ~] $

,

[gpadmin@BI-greenplum-01 ~] $

,

[gpadmin@BI-greenplum-01 ~] $

[5]第一步创建本地ID和授权alt=" greenplum集群安装与增加节点生产环境实战”>  greenplum集群安装与增加节点生产环境实战

 greenplum集群安装与增加节点生产环境实战

,

greenplum集群安装与增加节点生产环境实战