Downloading and Running the Greenplum Command Center Installer
Download and Run the Installer
Important: The gpadmin
user owns and executes the Greenplum Command Center software, which is installed in the /usr/local
directory by default. Before you begin installing, ensure that the gpadmin
user has write permission in the directory where you will install the software. Be sure to prepare the standby master host in the same way. Alternatively, you can run the installer as root
and, after installation, change the owner of the installation directory and its contents to gpadmin
.
Follow these steps as gpadmin
to download and install the Greenplum Command Center software.
Download the Greenplum Command Center installer file from the Greenplum Database section of Pivotal Network. Installer files are available for Linux 64-bit platforms.
Unzip the installer file.
$ unzip greenplum-cc-web-3.X.X-LINUX-x86_64.zip
Launch the installer with
bash
:$ /bin/bash greenplum-cc-web-3.X.X-LINUX.bin
Read through the license agreement. When you reach the bottom, type
yes
to accept the license agreement.The installer prompts you to provide an installation path. Press Enter to accept the default installation path (
/usr/local/greenplum-cc-web-X.X.X
), or enter an absolute path to another install location. You must have write permission in the location you specify.The installer then asks if you want to install on the standby master.
- Enter
no
if you do not want to install the software to the standby master host now. You can install the software to the standby master later using thegpccinstall
utility. See Install Greenplum Command Center Software on Additional Hosts. - Enter
yes
to install the Greenplum Command Center software on the standby master host, then enter the name of the host.
- Enter
The installer completes with a summary of the actions that were performed.
Note:
If you have performed the previous steps as any user other than gpadmin
, you need to change ownership and permissions of the installation directory before you continue.
Change the ownership of the installation directory:
# chown -R gpadmin:gpadmin greenplum-cc-web-X.X.X
Change the permissions of the installation directory:
# chmod -R 755 greenplum-cc-web-X.X.X
Install Greenplum Command Center Software on Additional Hosts
Follow the steps in this section to install the Greenplum Command Center software on the standby master host or on other hosts where you want to run Greenplum Command Center console instances.
Run the gpccinstall
utility as the gpadmin
user on the host where you installed the Greenplum Command Center software.
Create a text file containing the names of the standby master host and other hosts where the software is to be installed, one name per line. Do not include the name of the host where you ran the installer. Hostnames must be resolvable in DNS. For example:
smdw gpspare
Source the Greenplum Database and Command Center path files.
$ source /usr/local/greenplum-db/greenplum_path.sh $ source /usr/local/greenplum-cc-web/gpcc_path.sh
As
gpadmin
, run thegpccinstall
utility to install Command Center on all hosts listed in the host file you created.$ gpccinstall -f hostfilename
where
hostfilename
is the name of the host file you created.