Huawei GaussDB 200 early adopters cluster installation

table of Contents

  1, Before You Begin

    1.1, GaussDB 200 packages ready

    1.2, server hardware configuration

    1.3 Cluster Installation Mode

    1.4, configuration planning tools (focus)

  2, operating system configuration

    2.1 Upload GaussDB 200 package

    2.2 turn off the firewall, selinux

    2.3 omm user installs the cluster (all nodes)

    2.4 rpm packages required for installation

  3, pre-installed preinstall

  4, installation oms

  5, FusionInsight Manager to create a cluster

  6, check the status of the cluster

    6.1  FusionInsight Manager on inspection

    6.2 management node backstage view

 

1, Before You Begin

  1.1, GaussDB 200 packages ready   

    FusionInsight_Manager_6.5.1_RHEL.tar.gz

    FusionInsight_BASE_6.5.1_RHEL.tar.gz

    GaussDB_200_6.5.1_RHEL.tar.gz

    FusionInsight_SetupTool_6.5.1.tar.gz

    FusionInsight_MPPDBMonitor_6.5.1_RHEL.tar.gz (optional)

  download link

   https://support.huawei.com/enterprise/zh/cloud-computing/gaussdb-200-pid-21407429/software/24003868

 

   1.2, server hardware configuration

information

172.16.0.87

172.16.0.88

172.16.0.89

THE

Centos7.3

Centos7.3

Centos7.3

Node Role

Mn / cn / dn

Mn / cn / dn

Dn

cpu

8 -core

8 -core

8 -core

RAM

32G

32G

24G

hard disk

800 G

800 G

800 G

    Note: To install a relaxed recommend management nodes at least 32G, the data node at least 16G, divided according to the number of hard disk configuration planning tool.

      Here the master device management node station 5, a data node 3

 

   1.3 Cluster Installation Mode

    Configuration Planning Tool provides the following installation mode

    

   Here my selected package Embodiment 3, i.e. two MN / CN / DN (a main one), a DN. A total of three nodes

 

  1.4 Configuration Planning Tool

    download link:

    https://support.huawei.com/enterprise/zh/doc/EDOC1100097664?idPath=7919749|7941815|19942925|250430185|21407429

    Configuration tool is used to generate action plans to install GaussDB 200 related configuration files, you can rest time.

    Note: The configuration tool for planning hardware requirements, fill in the actual 32G, planning tools can not meet the minimum requirements, generate a configuration file fails.

    Here cpu, memory in accordance with the default settings, generating a configuration file, does not affect the installation

     

    Fill parameters, data server user passwords, configuration planning tool uploaded to fill in the appropriate directory. For example, here to fill are: 

         172.16.0.87:/opt/FusionInsight_Manager/software,/opt/FusionInsight_SetupTool  

    172.16.0.88:/opt/FusionInsight_Manager/software,/opt/FusionInsight_SetupTool

    

 

 

     

 

2, operating system configuration

  2.1 Upload GaussDB 200 package to the / opt directory, and unzip

    

        tar -zxvf FusionInsight_Manager_6.5.1_RHEL.tar.gz

tar -zxvf GaussDB_200_6.5.1_RHEL.tar.gz

tar -zxvf FusionInsight_SetupTool_6.5.1.tar.gz

    The manager package outside cp to / opt / FusionInsight_Manager / software / packs / lower

cp FusionInsight_BASE_6.5.1_RHEL.tar.gz FusionInsight_MPPDB_6.5.1_RHEL.tar.gz

FusionInsight_MPPDBMonitor_6.5.1_RHEL.tar.gz  FusionInsight_Manager/software/packs/

NOTE: Dual oms steps above in the standby node

 

   2.2 turn off the firewall, selinux

   2.3 omm user installs the cluster (all nodes)

    In / opt / FusionInsight_SetupTool / preset directory

Execution ./preset.sh

Standby node to grant permission

chown omm: /opt/FusionInsight_Manager/ -R

chown omm: /opt/FusionInsight_SetupTool/ -R

 

   2.4 rpm packages required for installation

    yum install acpid.x86_64 cvs.x86_64 dos2unix.x86_64 expect.x86_64 gamin.x86_64 hdparm.x86_64 iotop.noarch ipmitool.x86_64 iptables-services.x86_64 ipvsadm.x86_64 libitm.x86_64 m2crypto.x86_64 net-snmp.x86_64 net-snmp-agent-libs.x86_64 net-snmp-utils.x86_64 nscd.x86_64 nss_compat_ossl.x86_64 numactl.x86_64 OpenIPMI.x86_64 OpenIPMI-libs.x86_64 OpenIPMI-modalias.x86_64 openldap-clients.x86_64 openldap-servers.x86_64 pax.x86_64 perl-Compress-Raw-Bzip2.x86_64 perl-Compress-Raw-Zlib.x86_64 perl-DBI.x86_64 perl-IO-Compress.noarch perl-Net-Daemon.noarch perl-PlRPC.noarch perl-version.x86_64 portreserve.x86_64 procmail.x86_64 redhat-lsb-core.x86_64 redhat-lsb-submod-security.x86_64 samba-common-tools.x86_64 sdparm.x86_64 spax.x86_64 system-config-firewall-base.noarch tcl.x86_64

 

3、预安装preinstall

  前提:必须挂载iso镜像文件否则会报错

    执行./setuptool.sh preinstall 预安装,会将主机名,配置规划工具配置的相应目录根据你实际的硬盘自动挂载

  

omm用户查看挂载信息,需赋予相应权限chown omm:  /srv -R 

 

 4、安装oms

  双机模式,主备都要安装,主采用主的配置文件,备采用备的配置文件。

  如主机执行配置文件172.16.0.87.ini 备机执行配置文件172.16.0.88.ini 

  

 

5、FusionInsight Manager创建集群

  根据配置规划工具生成的模板,创建集群。模板在配置规划工具生成的配置文件install_cluster目录下。

  输入omm用户密码,自动安装

  

 

 6、检查集群状态是否正常

  6.1 FusionInsight Manager上检查

  

 

   6.2 管理节点后台查看

     source /opt/huawei/Bigdata/mppdb/.mppdbgs_profile

cm_ctl query -Cvi

  

Guess you like

Origin www.cnblogs.com/chhx/p/12531735.html