Greenplum4.3.12 installation of CentOS6.8 in VMware

Source: Internet
Author: User

After viewing the network video, find online information. Installation succeeded GP4.3. The following is the directory of the installation process

1. Experimental Environment 4

1.1. Hardware Environment 4

1.2. Virtual machine configuration 4

2. system settings (all master nodes and data nodes)4

2.1. Basic Environment Settings 4

2.1.1. close iptables4

2.1.2. Turn off selinux5

2.1.3. modifying hostname5

2.1.4. Modifying the hosts5

2.2. greenplum environment settings 6

2.2.1. Modifying shared memory and network,vim/etc/sysctl.conf6

2.2.2. User restrictions,vim/etc/security/limits.conf7

2.2.3. Setting the disk access IO scheduling policy 7

2.2.4. Set the value of the read-ahead block to 163848

3. Installing the greenplum software on the Master node 9

3.1. preparing the media 9

3.2. Decompression 9

3.3. installation

4. Initialize the configuration on all hosts greenplum

4.1. Obtaining environmental parameters

4.2. Creating a host file all_hosts

4.3. gpssh connection (Centos6.8 must be verified)

4.4. Run the Gpseginstall tool to simplify the data transfer and installation of the master node

4.5. Verifying installation

4.5.1. Switch to gpadmin user and get environment variables

4.5.2. Use the Gpssh tool to test for all hosts without password login

4.5.3. Adding "source/usr/local/greenplum-db/greenplum_path.sh" to the . BASHRC file Last

4.6. Creating a storage area

4.6.1. Creating a master data storage area

4.6.2. Changing the ownership of a directory

4.6.3. Create a file that contains all segment hosts seg_hosts

4.6.4. Creating master and mirror data directories on all segment hosts using the Gpssh tool +

4.7. Synchronizing system time

4.7.1. Editing the /etc/ntp.conf on the master host to set up the NTP service -

4.7.2. edit /etc/ntp.conf setup time on segment host same as Master -

4.7.3. on the Master host, Synchronize the system clock with the NTP daemon

5. Verify operating system settings

5.1. gpcheck Check that the operating system settings are correct

6. initializing the Greenplum database system

6.1. Creating a greenplum database configuration file

6.1.1. Copy a gpinitsystem_config file from the template

6.1.2. Set all required parameters

6.1.3. Setting Optional parameters

6.2. Initializing a database of

6.2.1. Run Initialization tool

6.2.2. Setting environment variables

6.3. starting and stopping databases

6.3.1. Close Database

6.3.2. Starting the database

6.3.3. Accessing the database


For details, see the attached section.

This article from the "Technical essay" blog, reproduced please contact the author!

Greenplum4.3.12 installation of CentOS6.8 in VMware

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.