DBA가 되고 싶은 병아리

그린플럼 설치에 관한 이야기 본문

ETC

그린플럼 설치에 관한 이야기

미스틱스 2015. 5. 27. 15:31

아무래도 오픈소스인 Postgres를 통해 개발된 데이터베이스이기 때문에 체계화되어 있고 쉽게 설치가 가능한 오라클과는 큰차이를 보인다.

물론 오라클도 커맨드를 통한 설치가 가능하지만 그린플럼에 경우는 모든 설치 과정이 사용자의 편의성과 다르게 전문성을 요구하는 것같다.

왜냐하면 전부 커맨드로만 설치하기 때문이다.

심지어 root를 이용하여 설치 하지 않으면 안되는 작업이 대부분이라는 인상을 보인다.

오라클의 경우는 파라메터와 설치 폴더를 제외한 모든 작업이 oracle 계정 그룹으로 이루어지지만 그린플럼의 경우는 개인적인 감상으로는 root의 작업이 절반정도를 차지 한다는 인상을 받는다.

말인 즉슨 그린플럼의 경우는 DBA가 설치에 관여되는 일은 적은 편이라는 이야기 이다. 그리고 오라클의 경우 single 설치를 진행 할 때 크게 문제가 되는 점이 적지만 그린플럼의 경우는 이러한 사용자의 편의성이 적은 만큼 설치 중 후에 작동이 안되는 경우도 발생하는 것 같다.

 

아래는 그 설치 과정에 실패되었던 상황을 나타내는 것이다.

[gpadmin@sachi Desktop]$ psql -l

List of databases

Name | Owner | Encoding | Access privileges

-----------+---------+----------+---------------------

gpperfmon | gpadmin | UTF8 | gpadmin=CTc/gpadmin

: =c/gpadmin

mydb | gpadmin | UTF8 |

postgres | gpadmin | UTF8 |

template0 | gpadmin | UTF8 | =c/gpadmin

: gpadmin=CTc/gpadmin

template1 | gpadmin | UTF8 | =c/gpadmin

: gpadmin=CTc/gpadmin

(5 rows)

 

[gpadmin@sachi Desktop]$

 

********************************************************************************

Installation complete.

Greenplum Command Center is installed in /usr/local/greenplum-cc-web-1.3.0.0-build-91

 

To complete the environment configuration, please ensure that the

gpcc_path.sh file is sourced.

********************************************************************************

[root@sachi stage]#

 

[gpadmin@sachi ~]$ gpccinstall -f hostlist_singlenode

20150526:23:08:53:008301 gpccinstall:sachi:gpadmin-[INFO]:-Installation Info:

link_name greenplum-cc-web

binary_path /usr/local/greenplum-cc-web-1.3.0.0-build-91

binary_dir_location /usr/local

binary_dir_name greenplum-cc-web-1.3.0.0-build-91

rm -f /usr/local/greenplum-cc-web-1.3.0.0-build-91.tar; rm -f /usr/local/greenplum-cc-web-1.3.0.0-build-91.tar.gz

cd /usr/local; tar cf greenplum-cc-web-1.3.0.0-build-91.tar greenplum-cc-web-1.3.0.0-build-91

20150526:23:08:53:008301 gpccinstall:sachi:gpadmin-[CRITICAL]:-early exit from gpccinstall

[gpadmin@sachi ~]$

 

[gpadmin@sachi ~]$ gpcmdr --setup

 

An instance name is used by the Greenplum Command Center as

a way to uniquely identify a Greenplum Database that has the monitoring

components installed and configured. This name is also used to control

specific instances of the Greenplum Command Center web UI. Instance names

can contain letters, digits and underscores and are not case sensitive.

 

Please enter a new instance name:

> mydb2

The web component of the Greenplum Command Center can connect to a

monitor database on a remote Greenplum Database.

 

 

Is the master host for the Greenplum Database remote? Yy|Nn (default=N):

>

The display name is shown in the web interface and does not need to be

a hostname.

 

 

What would you like to use for the display name for this instance:

> command-center

What port does the Greenplum Database use? (default=5432):

>

Creating instance schema in GPDB. Please wait ...

Failed to setup Command Center instance mydb2: Exception encountered while fetching GPDB version info Connection error for query select version();: FATAL: no pg_hba.conf entry for host "::1", user "gpmon", database "gpperfmon", SSL off

 

[gpadmin@sachi ~]$

 

[gpadmin@sachi ~]$ gpccinstall --help

 

USAGE: gpccinstall -f|--file HOSTFILE

where HOSTFILE lists all the hosts to install the software on

 

[gpadmin@sachi ~]$

'ETC' 카테고리의 다른 글

돈과 관련된 이야기  (0) 2021.02.24
그린플럼과 엑사데이터 –그린플럼이 불편한 이유-  (0) 2015.06.04
그린플럼 기동 방식  (0) 2015.05.26
자기고찰  (0) 2015.02.14