greenplum 安装手册 1.0.doc
文本预览下载声明
Greenplum 安装手册
目 录
目 录 3
1 环境说明 4
2 配置规范 4
2.1 基本说明 4
2.2 安装目录规范 5
3 主机配置规范 5
3.1 系统设置 5
4 Install 8
4.1 Master(only)上安装greenplum 8
4.2 安装和配置greenplum到所有主机(master) 9
4.3 check操作 11
4.4 初始化greenplum 11
4.4.1 创建gp的配置文件 11
4.4.2 Run Initialization 11
4.4.3 gp环境变量设置 11
5 扩展segment的个数 11
5.1.1 在现有机器上增加segment 12
5.1.2 新增host并添加segment 14
环境说明
操作系统:Red Hat Enterprise Linux Server release 6.4 (Santiago) x86_64
主机情况:
Master:1
Segment:2 7
配置规范
基本说明
(1)greenplum安装介质:
greenplum-db--build-2-RHEL5-x86_64.zip
(2)system要求:
Operating System SUSE Linux Enterprise Server 11 SP2
CentOS 5.0 or higher
Red Hat Enterprise Linux (RHEL) 5.0 or higher
Oracle Unbreakable Linux 5.5
Note:?See the?Greenplum Database Release Notes?for current supported platform information. File Systems xfs required for data storage on SUSE Linux and Red Hat (ext3 supported for root file system) Minimum CPU Pentium Pro compatible (P3/Athlon and above) Minimum Memory 16 GB RAM per server Disk Requirements 150MB per host for Greenplum installation
Approximately 300MB per segment instance for meta data
Appropriate free space for data with disks at no more than 70% capacity
High-speed, local storage Network Requirements 10 Gigabit Ethernet within the array
Dedicated, non-blocking switch Software and Utilities bash shell
GNU tar
GNU zip
GNU ed (used by the Greenplum Database installer)
安装目录规范
安装目录规划:/opt/greenplum
主机配置规范
系统设置
(1)sysctl.conf的设置
#cat /etc/sysctl.conf !
kernel.shmmax = 500000000
kernel.shmmni = 4096
kernel.shmall = 4000000000
kernel.sem = 250 512000 100 2048
kernel.sysrq = 1
kernel.core_uses_pid = 1
kernel.msgmnb = 65536
kernel.msgmax = 65536
kernel.msgmni = 2048
net.ipv4.tcp_syncookies = 1
net.ipv4.ip_forward = 0
net.ipv4.conf.default.accept_source_route = 0
net.ipv4.tcp_tw_recycle = 1
net.ipv4.tcp_max_syn_backlog = 4096
net.ipv4.conf.all.arp_filter = 1
net.ipv4.ip_local_port_range = 1025 65535
dev_max_backlog = 10000
net.core.rmem_max = 2097152
net.core.wmem_max = 2097152
vm.overc
显示全部