当前位置:网站首页>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
边栏推荐
- QT connects two qslite databases and reports an error qsqlquery:: exec: database not open
- MySQL 45 讲 | 07 行锁功过:怎么减少行锁对性能的影响?
- In JS, 0 means false, and non-0 means true
- Cfdiv1+2-bash and a high math puzzle- (gcd+ summary of segment tree single point interval maintenance)
- Gin abort cannot prevent subsequent code problems
- webapi接口文件下载时跨域问题
- Zip gzip tar compression Advanced Edition
- [memo] summary of the reasons why SSH failed? Remember to come next time.
- Do you want to meet all the needs of customers
- 佳木斯市场监管局开展防疫防虫害专题食品安全网络培训
猜你喜欢
![[deep learning] data preparation -pytorch custom image segmentation data set loading](/img/7d/61be445febc140027b5d9d16db8d2e.png)
[deep learning] data preparation -pytorch custom image segmentation data set loading
![[flask introduction series] installation and configuration of flask Sqlalchemy](/img/62/3d108561f2cfeb182f8241192a79ba.png)
[flask introduction series] installation and configuration of flask Sqlalchemy

Keyboard processing in jetpack compose

Jianmu continuous integration platform v2.5.2 release

CDM - code division multiplexing (easy to understand)

Up sampling deconvolution operation

多线程购物
![[experience] relevant configuration of remote connection to intranet server through springboard machine](/img/27/25301cce8a4e5fa0c91902c7b734fb.png)
[experience] relevant configuration of remote connection to intranet server through springboard machine

@Use of jsonserialize annotation
![[cryoelectron microscope | paper reading] interpretation of sub fault average m software: multi particle cryo EM refining with M](/img/5e/69987afcd1e50ba37bc49441dd3a50.png)
[cryoelectron microscope | paper reading] interpretation of sub fault average m software: multi particle cryo EM refining with M
随机推荐
Popular cow G
JVM garbage collection mechanism (GC)
Space shooting Lesson 17: game over (end)
Cs61abc sharing session (VI) detailed explanation of program input and output - standard input and output, file, device, EOF, command line parameters
Excellent urban design ~ good! Design # visualization radio station will be broadcast soon
状态机dp(简单版)
You study, I reward, 21 day learning challenge | waiting for you to fight
[skill accumulation] common expressions when writing emails
String class
Zero technology is deeply involved in the development of privacy computing financial scenario standards of the ICT Institute
性能更佳、使用更简单的懒加载IntersectionObserverEntry(观察者)
黑盒测试常见错误类型说明及解决方法有哪些?
C language data type
[skill accumulation] presentation practical skill accumulation, common sentence patterns
Write some DP
Autojs微信研究:微信自动发送信息机器人最终成品(有效果演示)
[FPGA tutorial case 42] image case 2 - realize image binarization processing through Verilog, and conduct auxiliary verification through MATLAB
My entrepreneurial neighbors
Data warehouse modeling, what is wide table? How to design? Advantages and disadvantages
Monitor the bottom button of page scrolling position positioning (including the solution that page initialization positioning does not take effect on mouse sliding)