Pivotal Knowledge Base

Follow

How To do a Silent Greenplum Binary Install

Environment

 Product  Version
 Pivotal Greenplum  All Version
 OS  RHEL 6.x

Purpose

Greenplum binary currently doesn't have a silent installation mode. Sometimes when installing on a platform or building a script, you need silent installation mode. In this article, we will take a look on how to install the Greenplum binary in silent mode.

Procedure

The basic idea of silent installation is to subdue all the messages. In the below step we would be redirecting the message to "/dev/null"

There are two steps for the Greenplum Binary installation:

  1. Installing the binary on the master:

To install Greenplum silent on the master, follow the instructions below:

/bin/bash <Installer> &>/dev/null << EOF 
yes
/usr/local/greenplum-db-<version>
yes
yes
EOF
  1. Replicating the binary to all the segment:

Once the binary installation on the master is completed, the next step is to propagate the binaries to all the segments for which "gpseginstall" is used, to subdue all the messages. It can be done by using:

gpseginstall -f <hostfile> &>/dev/null

 

Comments

Powered by Zendesk