Fusioninsight LibrA v100r002c80spc300 Installation Guide

Source: Internet
Author: User

Fusioninsight Libra is an enterprise-class massively parallel processing relational database. The Fusioninsight Libra uses the MPP (Massive Parallel Processing) architecture to support row and column storage, providing the ability to handle petabytes (petabyte,2 of 50 bytes) of data at a level.
Fusioninsight Libra has a great advantage over the traditional database in the core technology, can solve the data processing performance problem of many industry users, can provide cost-effective universal computing platform for the ultra-large scale data management, and can be used to support various data warehouse systems, BI (business Intelligence) system and decision support system, unified for the upper-level application of decision-making analysis, etc. to provide services.
Fusioninsight solution is Huawei Enterprise-class Big data storage, query, analysis of the unified platform, can help enterprises quickly build massive data processing system, through the massive information data real-time and non-real-time analysis and mining, discover new value points and business opportunities.
Fusioninsight Libra is a sub-product of the Fusioninsight solution. Fusioninsight Libra location in the Fusioninsight solution:

The Fusioninsight solution is comprised of 2 sub-products Fusioninsight HD, Fusioninsight Libra, and an operational operations system Fusioninsight Manager.

  • Fusioninsight HD: Enterprise-Class large data processing environment, is a distributed data processing system, external to provide large-capacity data storage, analysis of queries and real-time flow data processing analysis capabilities.
  • Fusioninsight LibrA: Enterprise-class massively parallel-processing relational database. The Fusioninsight Libra uses the MPP (Massive Parallel Processing) architecture to support row and column storage, providing the processing power of petabytes (petabyte,2 of 50 bytes) level of data.
  • Fusioninsight Manager: Enterprise-class big data operation and maintenance system, to provide high reliability, security, fault-tolerant, easy to use cluster management capabilities, support the installation of large-scale cluster deployment, monitoring, alerting, user management, rights Management, audit, service management, health checks, problem positioning, Features such as upgrades and patches. First, pre-Installation Preparation 1.1 environment introduction

    The servers used in this article are based on the VMware virtualization platform, as shown in the following information:

    The cluster networking scenario looks like this:

    1.2 Software Downloads

    Download the HD Software installation package and Configuration tool (requires an account) from the official website of Huawei as follows:

    [[email protected] opt]# la /u02/software/hw/-rw-r--r-- 1 root root 898M Jul 30 15:07 FusionInsight_LibrA_V100R002C80SPC300_RHEL.tar.gz-rw-r--r-- 1 root root 301K Sep 14 11:40 FusionInsight_SetupTool_V100R002C80SPC200.tar.gz
    Second, installation process 2.1 installation package preparation

    The cluster mode is used in the installation process, so the installation package needs to be uploaded to 2 management nodes. It is also necessary to mount the image of the operating system to the media directory on one Management node, as it is used in the configuration planning tool. Here is an NFS share, as follows:

    [[email protected] ~]# mkdir /u02;mount onas:/u02 /u02;mount /u02/CentOS-7-x86_64-DVD-1708.iso /media[[email protected] ~]# mkdir /u02;mount onas:/u02 /u02
    2.2 Unpacking Packages

    Decompression is required on the 2 management nodes of the cluster.

    2.3 Build configuration file

    Build the configuration file by configuring the planning tool. This tool is a execl file, which is configured with a macro, and the final output is a file.

  • Basic Configuration

  • Select a service
  • IP Planning and process deployment
  • Node information
  • Floating IP
  • Disk Configuration
  • Cluster parameter settings
  • Instance parameter settings
  • Build configuration file

    The generated configuration file is stored under the D:\software folder and is prompted to enter the user name and password and upload to the specified node directory. 2.4 Pre-installation configuration
    [[email protected] FusionInsight_SetupTool]# ./setuptool.sh preinstall

    2.5 Installing the Cluster service

    Now the master node executes and executes on the standby node after it is finished, as follows:

    --备用节点hwd02[[email protected] ~]# /opt/FusionInsight/software/install.sh -f  


    After the installation is complete, the initial password of the admin account needs to be changed by the initial password: [email protected].

    Third, configure the Cluster service

    Through the Web interface access, choose to use template installation, import the generated template file, will pop up the root password to enter the host, and then click Find Host, after verification, will skip to the "confirm" step.




    When the configuration is complete, click Finish.

  • Real-time monitoring tags
  • Service Management tab
  • Host Management Tags
    Iv. client installation and use

    This is also a bulk deployment using the NFS service, which refers to the bulk deployment client that was previously installed and used by the Fusioninsight HD client.

[[email protected] fusioninsight_services_clientconfig]#./install.sh/u02/huawei/client[18-10-08 14:30:28]: Pre-install Check begin ... [18-10-08 14:30:28]: Checking necessary files and directory. [18-10-08 14:30:28]: Checking NTP service status. [18-10-08 14:30:28]: Checking "/etc/hosts" config. [18-10-08 14:30:28]: pre-install check is complete. [18-10-08 14:30:28]: PreCheck on the components begin ... [18-10-08 14:30:28]: PreCheck on are complete. [18-10-08 14:30:28]: Deploy "dest_hosts" Begin ... [18-10-08 14:30:28]: Warning: "HWD02" already exists in "/etc/hosts", it'll be overwritten. [18-10-08 14:30:28]: Warning: "HWD01" already exists in "/etc/hosts", it'll be overwritten. [18-10-08 14:30:28]: Warning: "HWD05" already exists in "/etc/hosts", it'll be overwritten. [18-10-08 14:30:28]: Warning: "Hwd04" already exists in "/etc/hosts", it'll be overwritten. [18-10-08 14:30:28]: Warning: "HWD03" already exists in "/etc/hosts", it'll be overwritten. [18-10-08 14:30:28]: Deploy "Dest_hosts" is complete. [18-10-08 14:30:28]: Install Public Library begin ... [18-10-08 14:30:28]: Install components client begin ... [18-10-08 14:30:28]: Install JDK begin ... [18-10-08 14:30:28]: Decompress jdk.tar.gz to/u02/huawei/client/jdk./u02/tmp/fusioninsight_services_clientconfig/ jdk[18-10-08 14:30:34]: Create JRE env file "/u02/huawei/client/jdk/component_env". [18-10-08 14:30:34]: JDK installation is complete. [18-10-08 14:30:34]: Warning:/u02/tmp/fusioninsight_services_clientconfig/jdk/version not exist. [18-10-08 14:30:34]: Install krbclient begin ... [18-10-08 14:30:34]: copy/u02/tmp/fusioninsight_services_clientconfig/krbclient/ Fusioninsight-kerberos-1.15.2.tar.gz To/u02/huawei/client/krbclient./u02/tmp/fusioninsight_services_ clientconfig/krbclient[18-10-08 14:30:34]: Copy KRB config files to "/u02/huawei/client/krbclient/kerberos/conf" [ 18-10-08 14:30:34]: Copy Security script files to "/u02/huawei/client/krbclient/kerberos/bin" [18-10-08 14:30:34]: Create KRB env File "/U02/huawei/client/krbclient/component_env ". [18-10-08 14:30:34]: Krbclient installation is complete. [18-10-08 14:30:34]: Install mppdb begin ... [18-10-08 14:30:34]: Decompress gauss200-olap-v100r007c10-redhat-64bit-clienttools.tar.gz to/u02/huawei/client/ Mppdb. [18-10-08 14:30:35]: Copy config files to '/u02/huawei/client/mppdb/' [18-10-08 14:30:35]: Begin to update the client SSL C Ertificates. [18-10-08 14:30:35]: Success to update the client SSL certificates. [18-10-08 14:30:35]: Create MPP env file "/u02/huawei/client/mppdb/component_env". [18-10-08 14:30:35]: mppdb installation is complete. [18-10-08 14:30:35]: Components client installation are complete. [[email protected] ~]# source/u02/huawei/client/bigdata_env [[email protected] ~]# kinit CandonPassword for  [email protected]: Password expired. You must change it now. Enter New Password:enter it again: [[email protected] ~]# kinit candonpassword for [email protected]: [[EMAIL&N] Bsp;protected] ~]# klist Ticket CAche:file:/tmp/krb5cc_0default Principal: [Email protected]valid starting Expires Service Princip al10/08/2018 14:53:16 10/09/2018 14:53:12 krbtgt/[email protected]
V. Database use 5.1 Confirm connection information

With the operating system User OMM login Libra cluster Any set of hosts, execute the source ${bigdata_home}/mppdb/.mppdbgs_profule command to start the environment variable.

Then use the Gs_om command to query the cluster instances, confirm the CN server's IP address and data path (port number query standby). As follows:

[[email protected] ~]$ gs_om -t status --detail



The default port number is 25308, or you can confirm the port number by viewing the/srv/bigdata/mppdb/data1/coordinator/postgresql.conf configuration file.

5.2 Configuring remote connections

Because the server is only listening to localhost by default, while the remote connection needs to listen to the management plane IP, so you need to configure listen_addresses, increase the external service network card IP or hostname (comma delimited), where nodename is the current node name. The listen_addresses is configured directly here, this configuration will listen to all network cards, but there is a security risk, not recommended, the official recommendation to configure the IP or hostname as needed to turn on monitoring.

[[email protected] ~]$ gs_guc set -N all -I all -Z coordinator -c "listen_addresses = ‘*‘"Total instances: 5. Failed instances: 0.Success to perform gs_guc!

Parameter description:

    • -Z coordinator indicates that the instance type is coordinator.
    • -N all represents all hosts of the cluster.
    • -I all represents all instances in the host.
    • An asterisk (*) indicates the IP address of all local network cards.
      Finally, execute the following command to restart the cluster:
      [[email protected] ~]$ gs_om -t stop && gs_om -t start


      5.3 Connecting the database
      [[email protected] ~]$ gsql -d postgres -p 25308gsql ((Gauss200 OLAP V100R007C10 build e542e841) compiled at 2018-07-29 09:09:48 commit 1880 last mr 2754 )Non-SSL connection (SSL connection is recommended when requiring high-security)Type "help" for help.postgres=# \l

Fusioninsight LibrA v100r002c80spc300 Installation Guide

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.