Greenplum安装手册

0.Ready

rhel6.4;
greenplum-db-5.1.0-rhel6-x86_64.rpm, 其他版本下载地址>> |
对应版本官方文档>> | 官方教程>> | 入门学习>> |
在这里插入图片描述
硬件需求:Master需要较高的CPU(2核+)和内存,Segment配置相同;

节点名称 IP地址(*改为自己虚拟机的网段) 内存 硬盘容量 角色
gp-mst 192.168.*. 199 16G segment,master
gp-sgm1 192.168.*. 201 32G segment,standby
gp-sgm2 192.168.*. 202 32G segment
gp-sgm 3 192.168.*. 203 32G segment

参考安装详细过程:

[root@gp-mst ~]# echo root用户/root操作:

1.系统基本设置

1.1 添加所有节点到host

~]# vi /etc/hosts
192.168.1.199  gp-mst 
192.168.1.201  gp-sgm1
192.168.1.202  gp-sgm2
192.168.1.203  gp-sgm3

1.2 主机系统必须禁用SELinux和防火墙

~]# sestatus
SELinuxstatus: disabled
#else 需要更改SELINUX参数中的配置文件并重新启动系统(可最后重启重新验证)
~]# vi /etc/selinux/config
SELINUX=disabled
~
~]# /sbin/chkconfig --list iptables
#else 关闭,然后重启系统
~]# /sbin/chkconfig iptables off
~]# systemctl status firewalld		#// 检查防火墙状态
...Active: inactive (dead)
~]# systemctl stop firewalld.service	#// 禁止启动
~]# systemctl disable firewalld.service	#// 禁止开机启动防火墙

1.3 内核参数设置

~]# vi /etc/sysctl.conf
[root@gp-mst ~]# vi /etc/sysctl.conf
# Kernel sysctl configuration file for Red Hat Linux
# For binary values, 0 is disabled, 1 is enabled.  See sysctl(8) and
# sysctl.conf(5) for more details.
#
# Use '/sbin/sysctl -a' to list all possible parameters.

# Controls IP packet forwarding
net.ipv4.ip_forward = 0

# Controls source route verification
net.ipv4.conf.default.rp_filter = 1

# Do no
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值