当前位置:网站首页>Greenplus enterprise deployment
Greenplus enterprise deployment
2022-07-29 07:52:00 【Lying cat】
Create user : groupadd -g 530 gpadmin
useradd -g 530 -u 530 -m -d /home/gpadmin -s /bin/bash gpadmin
Empower folders , Create passwords for new users :
chown -R gpadmin:gpadmin /home/gpadmin/
passwd gpadmin
vim /etc/hosts
192.168.10.1 mdw
192.168.10.2 sdw1
192.168.10.3 sdw2
192.168.10.4 sdw3
rpm -ivh --prefix=/opt/greenplum/ open-source-greenplum-db-6.16.0-rhel7-x86_64.rpm
chown -R gpadmin:gpamdin /opt/gpadmin
cd /opt/greenplum
vi hostlist
mdw
sdw1
sdw2
sdw3
vi seg_host
192.168.10.2
192.168.10.3
192.168.10.4
su gpadmin
source /opt/greenplum/greenplum-db/greenplum_path.sh
gpssh-exkeys -f /home/gpadmin/conf/hostlist
alias ssh='ssh -p 9922'
ssh sdw1
gpssh -f /home/gpadmin/conf/seg_hosts
=> pwd
[gp-sdw1] /home/gpadmin
[gp-sdw3] /home/gpadmin
[gp-sdw2] /home/gpadmin
[ gp-master] /home/gpadmin
chown -R gpadmin:gpadmin /usr/local/
chown -R gpadmin:gpadmin /opt
tar -cf gp.tar greenplum-db-5.0.0/
source /usr/local/ greenplum-db/greenplum_path.sh
gpssh -f /home/gpadmin/conf/hostlist
cd /usr/local
tar -xf gp.tar
ln -s ./greenplum-db-6.7.0 greenplum-db
mkdir -p /opt/greenplum/data/master
mkdir -p /opt/greenplum/data/primary
mkdir -p /opt/greenplum/data/mirror
mkdir -p /opt/greenplum/data2/primary
mkdir -p /opt/greenplum/data2/mirror
vi /home/gpadmin/.bash_profile
source /home/gpadmin/greenplum/greenplum-db/greenplum_path.sh
export MASTER_DATA_DIRECTORY=/home/gpadmin/greenplum/gpdata/gpmaster/gpseg-1
export PGPORT=15432
export GPPORT=15432
export PGDATABASE=testDB
source /home/gpadmin/.bash_profile
scp /home/gpadmin/.bash_profile gp-sdw1:/home/gpadmin/
scp /home/gpadmin/.bash_profile gp-sdw2:/home/gpadmin/
scp /home/gpadmin/.bash_profile gp-sdw3:/home/gpadmin/
gpinitsystem -c /home/gpadmin/gpinit_config -s sdw3
gpstate -e # see mirror The state of
gpstate -f # see standby master The state of
gpstate -s # View the entire GP The state of the cluster
gpstate -i # see GP Version of
gpstate --help # Help document , You can see gpstate More usage
边栏推荐
- In JS, 0 means false, and non-0 means true
- [experience] relevant configuration of remote connection to intranet server through springboard machine
- Jiamusi Market Supervision Bureau carried out special food safety network training on epidemic and insect prevention
- You study, I reward, 21 day learning challenge | waiting for you to fight
- [paper reading] tomoalign: a novel approach to correcting sample motion and 3D CTF in cryoet
- Basic introduction to pod
- Monitor the bottom button of page scrolling position positioning (including the solution that page initialization positioning does not take effect on mouse sliding)
- Meizhi optoelectronics' IPO was terminated: annual revenue of 926million he Xiangjian was the actual controller
- What are the common error types and solutions of black box testing?
- Solve the problem that CSDN cannot publish blog due to unknown copyright
猜你喜欢

佳木斯市场监管局开展防疫防虫害专题食品安全网络培训

@JsonSerialize注解的使用

The new generation of public chain attacks the "Impossible Triangle"

Jiamusi Market Supervision Bureau carried out special food safety network training on epidemic and insect prevention

2022 Shenzhen Cup Title A: get rid of "scream effect" and "echo room effect" and get out of the "information cocoon room"

The new colleague wrote a few pieces of code, broke the system, and was blasted by the boss!
![[cryoelectron microscope] relation4.0 - subtomogram tutorial](/img/5b/5364fbe68c495b67d9db5ed9bec2ac.png)
[cryoelectron microscope] relation4.0 - subtomogram tutorial

207. Curriculum

Log4qt memory leak, use of heob memory detection tool

Cs61abc sharing session (VI) detailed explanation of program input and output - standard input and output, file, device, EOF, command line parameters
随机推荐
[cryoelectron microscope | paper reading] emclarity: software for high-resolution cryoelectron tomography and sub fault averaging
Access数据库引入datagridview数据后,显示错误
Why don't you like it? It's easy to send email in cicd
C# 之 volatile关键字解析
[paper reading | cryoelectron microscope] interpretation of the new subtomogram averaging method in relion 4.0
Technology sharing | quick intercom integrated dispatching system
[memo] summary of the reasons why SSH failed? Remember to come next time.
Jiamusi Market Supervision Bureau carried out special food safety network training on epidemic and insect prevention
Matrix decomposition and gradient descent
Solving linear programming problems based on MATLAB
What are the answers about older bloggers?
你学习·我奖励,21天学习挑战赛 | 等你来战
Day 014 二维数组练习
工业互联网行至深水区,落地的路要怎么走?
[flask introduction series] installation and configuration of flask Sqlalchemy
Use custom annotations to verify the size of the list
NLP introduction + practice: Chapter 5: using the API in pytorch to realize linear regression
Blue Bridge Cup group a selection XOR
[dry goods memo] 50 kinds of Matplotlib scientific research paper drawing collection, including code implementation
Sqlmap(SQL注入自动化工具)