zoukankan      html  css  js  c++  java
  • greenplum节点添加

    1.修改内存参数,修改io调度,参考gp官方文档

    2. 挂载新磁盘,添加fstab

    3.root用户配置互信:

     1 $ su -
     2 # source /usr/local/greenplum-db/greenplum_path.sh
     3 # gpssh-exkeys -e /home/gpadmin/existing_hosts_file -x /home/gpadmin/new_hosts_file
     4 # gpssh -f new_hosts_file '/usr/sbin/useradd gpadmin -d /home/gpadmin -s /bin/bash'
     5 # gpssh -f new_hosts_file ls -l /home
     6 
     7 gpadmin用户检查互信:
     8 su - gpadmin 
     9 $ gpcheck -f new_hosts_file
    10 $ gpcheckperf -f new_hosts_file -d /data1 -d /data2 -v 
    11 
    12  

    4.gpextend节点初始化:

     1 $ gpexpand -f /home/gpadmin/new_hosts_file 

    交互设置,根据提示选择需要的模式进行导下一步,等几分钟会生成一个配置文件,类似gpexpand_inputfile_yyyymmdd_145134

     gpexpand -i gpexpand_inputfile_20210118_165025 ##等几分钟,新节点加入集群成功,检查mirror状态

    $gpstate -m 

    5.执行表的充分布

     gpexpand -i gpexpand_inputfile_20210118_165025 等几分钟,新节点加入集群成功,检查mirror状态 $gpstate -m 

    业余经济爱好者
  • 相关阅读:
    windows上安装xampp和dvwa
    CentOS 7上安装Vtiger CRM Open Source Edition
    快速建站(lnmp)
    centos7中jdk安装
    centos7中apache安装
    centos7中mysql安装
    再探决策树算法之利用sklearn进行决策树实战
    决策树算法初探
    定制化自己的itchat
    itchat初探
  • 原文地址:https://www.cnblogs.com/5sdba-notes/p/14315874.html
Copyright © 2011-2022 走看看