设为首页 加入收藏

TOP

Greenplum环境安装配置步骤(二)
2014-11-24 07:42:21 来源: 作者: 【 】 浏览:14
Tags:Greenplum 环境 安装 配置 步骤
************************************* [Optional] Provide the path to a previous installation of Greenplum Database, or press ENTER to skip this step. e.g. /usr/local/greenplum-db-4.1.1.3
This installation step will migrate any Greenplum Database extensions from the provided path to the version currently being installed. This step is optional and can be run later with: gppkg --migrate /home/gpadmin/GPDB/install ********************************************************************************
Extracting product to /home/gpadmin/GPDB/install
Skipping migration of Greenplum Database extensions...
************************* ******************************************************* Installation complete. Greenplum Database is installed in /home/gpadmin/GPDB/install
Greenplum Database documentation is available for download at http://powerlink.emc.com. ******************************************************************************** [root@mdw GPDB]#
[root@mdw install]# source greenplum_path.sh [root@mdw install]#
3)准备allnotes文件 [root@mdw install]# pwd /home/gpadmin/GPDB/install [root@mdw install]# [root@mdw install]# [root@mdw install]# [root@mdw install]# ls allnotes bin demo docs etc ext GPDB-LICENSE.txt greenplum_path.sh include lib LICENSE.thirdparty sbin share [root@mdw install]# cat allnotes sdw1 sdw2 smdw
4)建立多机互信 [root@mdw install]# gpssh-exkeys -f allnotes [STEP 1 of 5] create local ID and authorize on local host ... /root/.ssh/id_rsa file exists ... key generation skipped
[STEP 2 of 5] keyscan all hosts and update known_hosts file
[STEP 3 of 5] authorize current user on remote hosts ... send to sdw1 ... send to sdw2 *** *** Enter password for sdw2: ... send to smdw
[STEP 4 of 5] determine common authentication file content
[STEP 5 of 5] copy authentication files to all remote hosts ... finished key exchange with sdw1 [ERROR] unable to copy authentication files to sdw2 lost connection [ERROR] unable to copy authentication files to smdw lost connection
上述报错解决办法:删除mdw /root/.ssh/目录下的内容 重新执行gpssh-exkeys -f allnotes
5)创建存放数据的目录
[root@mdw GPDB]# mkdir data [root@mdw GPDB]# mkdir data/master
[root@mdw GPDB]# chown gpadmin:gpadmin data -R [root@mdw GPDB]# [root@mdw GPDB]# [root@mdw GPDB]# ll 荤 109588 drwxr-xr-x 3 gpadmin gpadmin 4096 2 20 16:21 data lrwxrwxrwx 1 root root 9 2 20 16:02 greenplum-db -> ./install -rwxr-xr-x 1 root root 56782500 10 8 06:45 greenplum-db-4.2.6.3-build-2-RHEL5-x86_64.bin -rw-r--r-- 1 root root 55417563 11 25 11:44 greenplum-db-4.2.6.3-build-2-RHEL5-x86_64.zip drwxr-xr-x 11 root root 4096 2 20 16:04 install -r--r--r-- 1 root root 6935 10 8 06:45 README_INSTALL [root@mdw GPDB]#
6)其他机器安装GP [root@mdw install]# cat allseg smdw sdw1 sdw2
使用gpseginstall安装
[root@mdw install]# gpseginstall -f allseg -u gpadmin 20140220:16:28:05:003251 gpseginstall:mdw:root-[INFO]:-Installation Info: link_name greenplum-db binary_path /home/gpadmin/GPDB/install binary_dir_location /home/gpadmin/GPDB binary_dir_name install 20140220:16:28:05:003251 gpseginstall:mdw:root-[INFO]:-check cluster password access 20140220:16:28:06:003251 gpseginstall:mdw:root-[INFO]:-de-duplicate hostnames 20140220:16:28:06:003251 gpseginstall:mdw:root-[INFO]:-master hostname: mdw 20140220:16:28:07:003251 gpseginstall:mdw:root-[INFO]:-check for user gpadmin on cluster 20140220:16:28:07:003251 gpseginstall:mdw:root-[
首页 上一页 1 2 3 4 下一页 尾页 2/4/4
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇RTP记录log的机制 下一篇实战:INNOBACKUPEXformysql5.6自..

评论

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

·雾里看花:真正意义 (2025-12-26 10:54:36)
·C++——模板(超详细 (2025-12-26 10:54:34)
·C++ 模板 | 菜鸟教程 (2025-12-26 10:54:30)
·请问c语言刚入门,该 (2025-12-26 10:21:04)
·python 编程怎么定义 (2025-12-26 10:21:01)