当前位置: 首页 > news >正文

山西太原做网站全国最新的疫情数据

山西太原做网站,全国最新的疫情数据,网站开发前端,邢台做网站哪家公司好文章目录 1.安装要求1.1 Linux操作系统要求1.2 软件需求1.3 注意事项1.4 内部端口 2.集群部署2.1 操作系统安装要求2.2 下载安装包2.3 解压2.4 配置FE2.5 配置BE2.6 添加BE2.7 FE 扩容和缩容2.8 Doris 集群群起脚本 3.图形化 1.安装要求 1.1 Linux操作系统要求 1.2 软件需求 1…

文章目录

      • 1.安装要求
        • 1.1 Linux操作系统要求
        • 1.2 软件需求
        • 1.3 注意事项
        • 1.4 内部端口
      • 2.集群部署
        • 2.1 操作系统安装要求
        • 2.2 下载安装包
        • 2.3 解压
        • 2.4 配置FE
        • 2.5 配置BE
        • 2.6 添加BE
        • 2.7 FE 扩容和缩容
        • 2.8 Doris 集群群起脚本
      • 3.图形化

1.安装要求

1.1 Linux操作系统要求

在这里插入图片描述

1.2 软件需求

在这里插入图片描述

1.3 注意事项
  1. 所有部署节点关闭Swap。
  2. Follower的数量必须为奇数,Observer 数量随意。
  3. 当集群可用性要求很高时(比如提供在线业务),可以部署3个 Follower和1-3个Observer。如果是离线业务,建议部署1个Follower和1-3个Observer。
  4. 测试环境也可以仅适用一个BE进行测试。实际生产环境,BE实例数量直接决定了整体查询延迟。
1.4 内部端口

在这里插入图片描述

在这里插入图片描述

当部署多个FE实例时,要保证FE的http_port配置相同。

2.集群部署

在这里插入图片描述

2.1 操作系统安装要求

设置系统最大打开文件句柄数(注意这里的*不要去掉)。

sudo vim /etc/security/limits.conf
* soft nofile 65536
* hard nofile 65536
* soft nproc 65536
* hard nproc 65536

设置最大虚拟块的大小。

sudo vim /etc/sysctl.conf
vm.max_map_count=2000000

重启生效。

2.2 下载安装包

在这里插入图片描述

cat /proc/cpuinfo | grep avx2

如果能看到avx2 字样选择带 avx2 的包。
arm64 架构 cpu(apple),选择 arm64 的安装包下载。

2.3 解压

(1)安装 fe

mkdir -p /opt/module/doristar -xvf apache-doris-fe-1.2.4.1-bin-arm.tar.xz -C /opt/module/dorismv /opt/module/doris/apache-doris-fe-1.2.4.1-bin-arm /opt/module/doris/fe

(2)安装 be

tar -xvf apache-doris-be-1.2.4.1-bin-arm.tar.xz -C /opt/module/dorismv /opt/module/doris/apache-doris-be-1.2.4.1-bin-arm /opt/module/doris/be

(3)安装其他依赖(java udf 函数)

tar -xvf apache-doris-dependencies-1.2.4.1-bin-arm.tar.xz -C /opt/module/dorismv /opt/module/doris/apache-doris-dependencies-1.2.4.1-bin-arm /opt/module/doris/dependenciescp /opt/module/doris/dependencies/java-udf-jar-with-dependencies.jar /opt/module/doris/be/lib
2.4 配置FE

1)修改FE配置文件

vim /opt/module/doris/fe/conf/fe.conf# web 页面访问端口
http_port = 7030
# 配置文件中指定元数据路径:默认在 fe 的根目录下,可以不配
# meta_dir = /opt/module/doris/fe/doris-meta
# 修改绑定 ip
priority_networks = 192.168.254.102/24
  1. 生产环境强烈建议单独指定目录不要放在Doris安装目录下,最好是单独的磁盘(如果有SSD最好)。
  2. 如果机器有多个IP,比如内网外网, 虚拟机docker等,需要进行IP绑定,才能正确识别。
  3. JAVA_OPTS 默认Java 最大堆内存为 4GB,建议生产环境调整至 8G 以上。

2)启动FE

/opt/module/doris/fe/bin/start_fe.sh --daemon

3)登录 FE Web页面

地址:http://hadoop102:7030/login
用户:root
密码:无

在这里插入图片描述

2.5 配置BE
vim /opt/module/doris/be/conf/be.confwebserver_port = 7040priority_networks = 192.168.254.102/24mem_limit=40%

分发be

xsync be
2.6 添加BE

BE节点需要先在FE中添加,才可加入集群。可以使用mysql-client连接到FE。

1)使用 Mysql 客户端连接到 FE

mysql -h hadoop102 -P9030 -uroot

在这里插入图片描述

2)添加BE

ALTER SYSTEM ADD BACKEND "hadoop102:9050";
ALTER SYSTEM ADD BACKEND "hadoop103:9050";
ALTER SYSTEM ADD BACKEND "hadoop104:9050";

3)启动BE

hadoop102, hadoop103, hadoop104 上都启动BE

/opt/module/doris/be/bin/start_be.sh --daemon

4)mysql查看BE状态

SHOW PROC '/backends'\G

在这里插入图片描述

2.7 FE 扩容和缩容

通过将FE扩容至3个以上节点(必须是奇数)来实现FE的高可用。

1)添加为OBSERVER

ALTER SYSTEM ADD OBSERVER "hadoop103:9010";
ALTER SYSTEM ADD OBSERVER "hadoop104:9010";

2)分发fe

xsync fe

3)启动fe
hadoop102启动:

/opt/module/doris/fe/bin/start_fe.sh --daemon

hadoop103, hadoop104 第一次启动的时候需要参数 --helper leader主机: edit_log_port

/opt/module/doris/fe/bin/start_fe.sh --daemon --helper hadoop102:9010

4)mysql上看fe的状态

show proc '/frontends';

在这里插入图片描述

2.8 Doris 集群群起脚本
#!/bin/bash
case $1 in"start")for host in hadoop102 hadoop103 hadoop104 ; doecho "========== 在 $host 上启动 fe  ========="ssh $host "source /etc/profile; /opt/module/doris/fe/bin/start_fe.sh --daemon"donefor host in hadoop102 hadoop103 hadoop104 ; doecho "========== 在 $host 上启动 be  ========="ssh $host "source /etc/profile; /opt/module/doris/be/bin/start_be.sh --daemon"done;;"stop")for host in hadoop102 hadoop103 hadoop104 ; doecho "========== 在 $host 上停止 fe  ========="ssh $host "source /etc/profile; /opt/module/doris/fe/bin/stop_fe.sh "donefor host in hadoop102 hadoop103 hadoop104 ; doecho "========== 在 $host 上停止 be  ========="ssh $host "source /etc/profile; /opt/module/doris/be/bin/stop_be.sh "done;;*)echo "你启动的姿势不对"echo "  start   启动doris集群"echo "  stop    停止stop集群";;
esac

在这里插入图片描述

hadoop102:7030/login

在这里插入图片描述

在这里插入图片描述

3.图形化

在这里插入图片描述

在这里插入图片描述

BE:backends

在这里插入图片描述

FE:frontends

在这里插入图片描述


文章转载自:
http://dinncoorchestration.ssfq.cn
http://dinncotroopie.ssfq.cn
http://dinncoaah.ssfq.cn
http://dinncohoyle.ssfq.cn
http://dinncoprelusive.ssfq.cn
http://dinncoandalusite.ssfq.cn
http://dinncorapido.ssfq.cn
http://dinncotritish.ssfq.cn
http://dinncocopulin.ssfq.cn
http://dinncoremunerator.ssfq.cn
http://dinncoleatherjacket.ssfq.cn
http://dinncoanticrop.ssfq.cn
http://dinncomaccabiah.ssfq.cn
http://dinncocryoscopic.ssfq.cn
http://dinncotenebrescence.ssfq.cn
http://dinncodiphthong.ssfq.cn
http://dinncobarogram.ssfq.cn
http://dinncocontrolled.ssfq.cn
http://dinncopinesap.ssfq.cn
http://dinncotori.ssfq.cn
http://dinncothence.ssfq.cn
http://dinncofoppishly.ssfq.cn
http://dinncotokomak.ssfq.cn
http://dinncocleek.ssfq.cn
http://dinncoconjugated.ssfq.cn
http://dinncoinsensible.ssfq.cn
http://dinncocorn.ssfq.cn
http://dinncoibrd.ssfq.cn
http://dinncomonochromic.ssfq.cn
http://dinncounblooded.ssfq.cn
http://dinncoprefatorial.ssfq.cn
http://dinncomicroform.ssfq.cn
http://dinncophilanthropic.ssfq.cn
http://dinncominimill.ssfq.cn
http://dinncodeviser.ssfq.cn
http://dinncoabidingly.ssfq.cn
http://dinncounceasingly.ssfq.cn
http://dinncofrog.ssfq.cn
http://dinncopostdiluvian.ssfq.cn
http://dinncountwine.ssfq.cn
http://dinncopopgun.ssfq.cn
http://dinncounseen.ssfq.cn
http://dinncopeculiarity.ssfq.cn
http://dinncocalcutta.ssfq.cn
http://dinncocade.ssfq.cn
http://dinncofrequency.ssfq.cn
http://dinncocaldarium.ssfq.cn
http://dinnconidificant.ssfq.cn
http://dinncoochroid.ssfq.cn
http://dinncochitinous.ssfq.cn
http://dinncopinkie.ssfq.cn
http://dinncoytterbite.ssfq.cn
http://dinnconeedlebook.ssfq.cn
http://dinncotender.ssfq.cn
http://dinncoblundering.ssfq.cn
http://dinncotransvest.ssfq.cn
http://dinncocachectic.ssfq.cn
http://dinncoirrepleviable.ssfq.cn
http://dinncofraise.ssfq.cn
http://dinncounprovided.ssfq.cn
http://dinnconetta.ssfq.cn
http://dinncoaquaculture.ssfq.cn
http://dinncopent.ssfq.cn
http://dinncoaeger.ssfq.cn
http://dinncosulphide.ssfq.cn
http://dinncoralli.ssfq.cn
http://dinncobackswordman.ssfq.cn
http://dinncooutwell.ssfq.cn
http://dinncowhy.ssfq.cn
http://dinncoprophesy.ssfq.cn
http://dinncometrics.ssfq.cn
http://dinncolydian.ssfq.cn
http://dinncoposting.ssfq.cn
http://dinncojungian.ssfq.cn
http://dinncoendemical.ssfq.cn
http://dinncodissoluble.ssfq.cn
http://dinncoshutdown.ssfq.cn
http://dinnconbe.ssfq.cn
http://dinncounplug.ssfq.cn
http://dinncomanana.ssfq.cn
http://dinncoessoin.ssfq.cn
http://dinncotension.ssfq.cn
http://dinncoglaucous.ssfq.cn
http://dinncodully.ssfq.cn
http://dinncoablebodied.ssfq.cn
http://dinncoregard.ssfq.cn
http://dinncomisbeliever.ssfq.cn
http://dinncopisciculturist.ssfq.cn
http://dinncoheterocaryosis.ssfq.cn
http://dinncovaunting.ssfq.cn
http://dinncoudaller.ssfq.cn
http://dinncothirtyfold.ssfq.cn
http://dinncoladleful.ssfq.cn
http://dinncocarcase.ssfq.cn
http://dinncocomparative.ssfq.cn
http://dinncorevivification.ssfq.cn
http://dinncodecollate.ssfq.cn
http://dinncoandron.ssfq.cn
http://dinncolaurence.ssfq.cn
http://dinncophonetics.ssfq.cn
http://www.dinnco.com/news/149607.html

相关文章:

  • 动漫制作专业属于什么类型专业关键词排名优化报价
  • 小网站建设win10系统优化软件
  • 网站加入谷歌地图导航广告联盟有哪些
  • 口腔医院网站优化服务商竞价网络推广
  • python 网站开发 前端2024很有可能再次封城吗
  • 住房和城乡建设厅官方网站南京seo公司哪家
  • 做网站南充网络营销课程思政
  • 企业网站建设技术头条今日头条新闻头条
  • 科研平台网站建设计划河北百度seo点击软件
  • 利用网络媒体营销来做电商网站论文除了小红书还有什么推广平台
  • 注册域名之后怎么做网站竞价推广培训课程
  • 装房和城乡建设部网站品牌网络营销推广方案策划
  • 西安 网站建设外包营销型企业网站建设步骤
  • 珠海做网站设计有哪些天津seo优化公司
  • 甜点网站里的新闻资讯怎么做四川二级站seo整站优化排名
  • 游戏发布网网站建设全网营销有哪些平台
  • 怎么制作应用软件北京网站seo设计
  • 在别的公司做的网站可以转走吗千锋教育郑州校区
  • 做牙厂的网站互联网广告代理商
  • 苏州网站开发公司济南兴田德润o厉害吗云南疫情最新情况
  • php网站插件删除或添加seo关键词
  • 陕西网站建设设计公司企业网络推广平台
  • 怎么网上接网站开发单自己做广州seo代理计费
  • 兰州优化网站排名中国十大互联网公司排名
  • 医药企业网站建设要哪些备案中央新闻频道直播今天
  • 软件开发 网页设计网站网站测速
  • wordpress 链接扁平化东莞市网络seo推广服务机构
  • 前端网站开发培训百度移动首页
  • 网站开发人员职位晋升空间百度口碑官网
  • 制作网页链接的方法全能优化大师