Install and Configure Greenplum Database    Note: The CentOS 7 minimal install does not provide two utilities  needed by the GP install routines  ● ifconfig (run “yum install net­tools” as root)  ● ed (run “yum install ed” as root)      As root:    Configure Networks    CentOS 6: Edit /etc/sysconfig/network­scripts/ifcfg­ethX            Edit /etc/sysconfig/network to change the hostname            service network restart            ifconfig ­a to verify network enabled    CentOS 7: nmtui            Choose “Automatic” in IPv4 CONFIGURATION.            Choose Automatic Connect check box.            Press OK and quit Network manager.            hostnamectl set­hostname             hostnamectl status            systemctl restart network    —————————————————————————————————————————————————————————————————————    Disable IPv6 on All Servers    CentOS 6/7:   echo 'net.ipv6.conf.default.disable_ipv6=1' >> /etc/sysctl.conf  echo 'net.ipv6.conf.all.disable_ipv6 = 1' >> /etc/sysctl.conf  sysctl ­p    —————————————————————————————————————————————————————————————————————    Add smdw, sdw 1­N data nodes to /etc/hosts on the master.    Create /tmp/segs file with db segment server names.  Make sure the  host names match the names in /etc/hosts and the actual server names.    —————————————————————————————————————————————————————————————————————   

gscp  #!/bin/bash    FILE1="$1"  FILE2="$2"    while read HOST ; do scp "$FILE1" root@"$HOST":"$FILE2" < /dev/null;  done < /tmp/segs    —————————————————————————————————————————————————————————————————————          gssh  #!/bin/bash    COMMAND="$1"    while read HOST ; do ssh $HOST "$COMMAND" < /dev/null; done <  /tmp/segs    —————————————————————————————————————————————————————————————————————    Create ssh keys and distribute to all nodes in the cluster.    Add public key to authorized_keys on the master.    [root@localhost ~]# ssh­keygen ­t rsa  Generating public/private rsa key pair.    cat /tmp/segs | while read hostname c  do    ssh­copy­id "$hostname"   done    On the Master, as root:    cd .ssh  cp id_rsa.pub authorized_keys  chmod 600 authorized_keys    —————————————————————————————————————————————————————————————————————   

Check IP Tables status:    CentOS 6: /sbin/chkconfig ­­list iptables  CentOS 7: systemctl status firewalld    Disable IP Tables:    CentOS 6: /sbin/chkconfig iptables off  CentOS 7: systemctl stop firewalld; systemctl disable firewalld;  systemctl status firewalld    —————————————————————————————————————————————————————————————————————    Check and Disable SE Linux Status:    CentOS 6/7: sestatus  CentOS 6/7: sed ­i 's/enforcing/disabled/g' /etc/selinux/config          —————————————————————————————————————————————————————————————————————    Disable transparent_hugepage and set elevator to deadline:    CentOS 6:  sed ­i 's/ro root/transparent_hugepage=never elevator=deadline ro  root/g' /boot/grub/grub.conf    CentOS 7:  grubby ­­update­kernel=ALL ­­args="elevator=deadline"  vi /etc/rc.d/rc.local    if test ­f /sys/kernel/mm/transparent_hugepage/enabled; then  echo never > /sys/kernel/mm/transparent_hugepage/enabled  fi  if test ­f /sys/kernel/mm/transparent_hugepage/defrag; then  echo never > /sys/kernel/mm/transparent_hugepage/defrag  fi    chmod u+x /etc/rc.d/rc.local    ————————————————————————————————————————————————————————————————————— 

  Set the parameters in the /etc/sysctl.conf file as per the install  guide.    Set the parameters in the /etc/security/limits.conf file as per the  install guide.    —————————————————————————————————————————————————————————————————————    Disable IPC object removal for RHEL 7.2 or CentOS 7.2.  sed ­i 's/#RemoveIPC=yes/RemoveIPC=no/g' /etc/systemd/logind.conf    grep RemoveIPC /etc/systemd/logind.conf    Reboot                        —————————————————————————————————————————————————————————————————————    Install GPDB software on the Master:    [root@localhost tmp]# ./greenplum­db­4.3.7.1­build­1­RHEL5­x86_64.bin    Install GPDB software on remaining nodes:    source /usr/local/greenplum­db/greenplum_path.sh    gpseginstall ­f /tmp/segs ­u gpadmin ­p       —————————————————————————————————————————————————————————————————————    Configure Data Directories   

On the Master:    mkdir /data  chown gpadmin:gpadmin /data  mkdir /data/master  chown gpadmin:gpadmin /data/master      On the Data Nodes:    gpssh ­f /tmp/segs ­e 'mkdir /data'  gpssh ­f /tmp/segs ­e 'chown gpadmin:gpadmin /data'  gpssh ­f /tmp/segs ­e 'mkdir /data/primary'  gpssh ­f /tmp/segs ­e 'mkdir /data/mirror'  gpssh ­f /tmp/segs ­e 'chown gpadmin:gpadmin /data/primary'  gpssh ­f /tmp/segs ­e 'chown gpadmin:gpadmin /data/mirror'    —————————————————————————————————————————————————————————————————————    Create Configuration File & Initialize the Database    su ­ gpadmin    Add the following to the .bashrc file:    source /usr/local/greenplum­db/greenplum_path.sh  export MASTER_DATA_DIRECTORY=/data/master/gpseg­1  set ­o vi  alias ll='ls ­al'        cp $GPHOME/docs/cli_help/gpconfigs/gpinitsystem_config $HOME  chmod 660 gpinitsystem_config    Edit the gpinitsystem_config file to configure the DB cluster.    gpinitsystem ­c gpinitsystem_config ­­locale=C ­­lc­collate=C  ­­lc­ctype=C ­­lc­monetary=en_US.utf8 ­­lc­numeric=en_US.utf8  —lc­time=en_US.utf8    —————————————————————————————————————————————————————————————————————   

Install and Configure GP Command Center    As root:    Copy the latest greenplum­cc­web­x.x.x­build­32­RHEL5­x86_64.zip to  the Master and run the installer.    ./greenplum­cc­web­x.x.x­build­32­RHEL5­x86_64.bin    su ­ gpadmin    Add to the .bashrc file:  source /usr/local/greenplum­cc­web/gpcc_path.sh  export GPPERFMONHOME=/usr/local/greenplum­cc­web       Run the Collection Agent installer:    gpperfmon_install ­­enable ­­password  ­­port 5432    Restart the GPDB Instance:    gpstop ­r    Verify the Data Collection processes are running:    psql gpperfmon ­c 'SELECT * FROM system_now;'                      Set up Command Center Instance    gpcmdr ­­setup    gpcmdr ­­start    

http://gpdb­master:28080/      To Shut Down Command Center Instance    gpcmdr ­­stop  

Install and Configure Greenplum Database Note: The ... -

As root: Configure Networks. CentOS 6: Edit /etc/sysconfig/networkscripts/ifcfgethX. Edit /etc/sysconfig/network to change the hostname service network restart.

90KB Sizes 86 Downloads 235 Views

Recommend Documents

Download Oracle Database 12c Install, Configure ...
Download Oracle Database 12c Install, Configure. & Maintain Like a Professional (Oracle Press) Full ... Oracle Database 12c DBA Handbook (Oracle Press).

Install and configure Desktop App.pdf
Whoops! There was a problem previewing this document. Retrying... Download ... Install and configure Desktop App.pdf. Install and configure Desktop App.pdf.

Install and configure MyPhone and Call Center login for Windows ...
Install and configure MyPhone and Call Center login for Windows.pdf. Install and configure MyPhone and Call Center login for Windows.pdf. Open. Extract.

2.4 Install and Configure Oracle XE -
Windows 7: Make sure that you run the install as administrator (right-click "Run as Administrator"). Do not use ... Feel free to change the Application Express port (apex websever) and db listener but these values will .... [INFO] BUILD SUCCESS.

2.4 Install and Configure Oracle XE -
o For Oracle only, 11g you'll need to create a workspace. • 4. ... Feel free to change the Application Express port (apex websever) and db listener but these.

EDU_DATASHEET VMware AirWatch Configure and Manage.pdf ...
Course Delivery Options. • Classroom. • Live Online. • Onsite. Product Alignment. • VMware AirWatch Enterprise Mobility. Management. Page 1 of 2 ...

ARTISAN #2 Configure the Events.pdf
ARTISAN #2 Configure the Events.pdf. ARTISAN #2 Configure the Events.pdf. Open. Extract. Open with. Sign In. Main menu. Displaying ARTISAN #2 Configure ...

Greenplum Chorus 2.0 Installation Guide - GitHub
Dec 10, 2012 - Use, copying, and distribution of any EMC software described in this publication requires an applicable software .... management systems, database administration, and structured query language (SQL). ... questions about your account. .

NOTE: Most of the install steps are performed as root -
... apache-maven-3.0.5-bin.zip -d /usr/share/ sudo ln -s /usr/share/apache-maven-3.0.5/bin/mvn /usr/bin/mvn .... $ACCUMULO_HOME/lib/accumulo-server.jar,.

lic and install ansys.pdf
ANSYS, ANSYS Workbench, Ansoft, AUTODYN, EKM, Engineering Knowledge Manager, ... and/or Mechanical APDL Application . .... lic and install ansys.pdf.

Investigating Commercial Pay-Per-Install and the ... - Damon McCoy
unwanted software installs on desktop systems are just emerging: prior ..... works in each offer for accounting purposes, we calcu- late the ..... Online Video. 7.0%.

ARTISAN #4 Configure Tools Extras.pdf
PERATURAN DIRJEN DIKTI PEDOMAN OPERASIONAL. Desember 2014. Page 3 of 4. ARTISAN #4 Configure Tools Extras.pdf. ARTISAN #4 Configure Tools ...

Configure Initial Router Settings Instructions..,.-,.pdf
Sign in. Loading… Whoops! There was a problem loading more pages. Retrying... Whoops! There was a problem previewing this document. Retrying.

Investigating Commercial Pay-Per-Install and the ... - Damon McCoy
unwanted software installs on desktop systems are just emerging: prior studies suggest ... support unwanted software as first-class partners: down-. 1 ... to freeware, videos, or software cracks. For the long .... http://srv.desk-top-app.info/Install

Ethereum Install Party! - GitHub
Aug 20, 2014 - A distributed application platform. • A blockchain-based system (like Bitcoin) ... Connect to peer. • Enable mining (transactions cost Ether!)

Investigating Commercial Pay-Per-Install and the ... - Damon McCoy
tion campaigns include ad injectors, like Crossrider, and scareware .... and which PPI affiliate networks offer the best conver- sion rates ... from 1–10 advertiser binaries (potentially all as one ex- ...... opposed to social engineering or drive-

Chapter 5 Lab 5-1, Configure and Verify Path Control
Note: This lab uses Cisco 1841 routers with Cisco IOS Release 12.4(24)T1, ... Cisco IOS Software versions if they have comparable capabilities and features.

Note
our Savior endured His suffering with an eye to glory. Why did Paul's heart not waver? Because it beat in rhythm with the heart of Christ. As you close this study, sit beside Paul at the cross and draw strength from Christ. Ask the Lord to show you H

Note
But while Darius lies on his soft couch, free on the outside, his soul is vexed to ... Used company time for personal business. • Called in sick when you weren't.

Note
Put ALL your devices away and communicate nonverbally that you are listening. Picture one of the children in your ... Tools for Digging Deeper. Parenting: From ...