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
  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值