腾讯蓝鲸平台部署

1. 环境准备

#1. 基础优化
ulimit -SHn 655360
yum remove mysql-devel -y && yum install mysql-devel -y #2. yum源优化
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.cloud.tencent.com/repo/centos7_base.repo
wget -O /etc/yum.repos.d/epel.repo http://mirrors.cloud.tencent.com/repo/epel-7.repo
yum clean all #3. 解析
cat /etc/hosts:
81.69.219.162 chuocong.com
81.69.219.162 paas.chucong.com
81.69.219.162 docs.chuocong.com
81.69.219.162 o.chuocong.com
81.69.219.162 t.chuocong.com
81.69.219.162 cmdb.chuocong.com job.chuocong.com

安装包下载

wget https://bkopen-1252002024.file.myqcloud.com/ce/38f7796/bkce_src-5.1.29.tar.gz
tar -xvf /data/bkce_src-5.1.29.tar.gz -C /data/

证书配置

1. 先获取mac地址
cat /sys/class/net/eth0/address
52:54:00:26:13:ce <---- mac地址 2. 去腾讯云粘贴mac地址 生成并下载证书
https://bk.tencent.com/download_ssl/ 3. 解压证书
把下载好的证书文件上传到 /data 目录
tar -xvf /data/ssl_certificates.tar.gz -C /data/src/cert/ 4. 避坑
yum remove mysql-devel -y && yum install mysql-devel -y

蓝鲸配置

修改蓝鲸配置参数:
vim /data/install/globals.env
修改 export BK_DOMAIN="bk.com"
改为 export BK_DOMAIN="bk.cloud.tencent.com" 修改 [PAAS_ADMIN_PASS]对应密码为 admin
export PAAS_ADMIN_PASS='admin'

蓝鲸安装:

[root@rbtnode1 install]# ./install_minibk -y

------------------------- agreements ---------------------------------
Dear users, welcome to use the Tencent BlueKing Software. Please
access http://bk.tencent.com/info/#laws to read the Tencent BlueKing
Software License and Service Agreement carefully. You have no right to
install or use the Software and related services unless you have read
and accepted all the terms of this Agreement. By downloading, install-
ing, using or logging in the Software, you shall be deemed to have
read and agreed to be bound by the Agreement above. If you have under-
stood the above content, please enter "yes" to continue installation,
otherwise, please enter "no" to abort. Thank you for your understan-
ding and support of the Tencent BlueKing Software.
----------------------------------------------------------------------
yes/no ? <-- 输入 yes

问题集合

[root@node1 install]#  ./install_minibk -y
[10.105.26.156]20201025-190133 8 install.config exists. backup it to install.config.20201025_190133
‘install.config’ -> ‘install.config.20201025_190133’
<<check_ssh_nopass>> has been checked successfully... SKIP
<<check_password>> has been checked successfully... SKIP
start <<check_cert_mac>> ... [FAILED]
cert not exists
[10.105.26.156]20201025-190133 34 bk_install precheck failed. #证书无法通过验证,重新解压证书到/data/src/cert/目录
tar -xvf /data/ssl_certificates.tar.gz -C /data/src/cert/ 解决办法:
yum remove mysql-devel -y && yum install mysql-devel -y #重启后发现页面都打不开?
./bkcec start all

环境验证

1. 登录到中控机,通过脚本自带的命令查询蓝鲸后台模块的运行状态
# 加载环境变量和蓝鲸安装维护的函数
source /data/install/utils.fc # 查看运行状态
./bkcec status all [全部是running为正确] 2. 检查 BKDATA 清洗数据的任务是否正常启动
检查是否有包含 databus_etl 的任务
crontab -l 3. 检查 BKDATA 运行状态
/data/bkce/bkdata/dataapi/bin/check_databus_status.sh 4. 检查 Agent 状态是否正常:
在中控机执行
./bkcec status gse_agent # 返回 “Running” 说明 Agent 状态正常
# 如果返回 "Exit" 则需要手动安装或者启动
# 手动安装
./bkcec install gse_agent
# 启动
./bkcec start gse_agent 5. 检查健康状态 API:
蓝鲸产品后台提供了健康检查的接口,用 HTTP GET 请求访问,接口地址和端口用变量表达:
cd /data/install && source utils.fc
# PaaS 注意 URL 末尾带上/
curl http://pass.chuocong.com/healthz/ # CMDB
curl http://cmdb.chuocong.com # JOB
http://job.chuocong.com # 开发者中心
http://paas.chuocong.com/app/list/

腾讯蓝鲸平台部署v5.1版本[去坑]的更多相关文章

  1. 腾讯蓝鲸cmdb部署

    蓝鲸配置平台 (CMDB)http://172.16.6.10:8088 环境(单机测试): Centos6 16G 200G 依赖环境: Java 1.8.0_92 python 2.7 ZooKe ...

  2. php 腾讯云 对象存储V5版本 获取返回的上传文件的链接方法

    腾讯云 对象存储V5版本 文档地址:https://github.com/tencentyun/cos-php-sdk-v5 调用简单文件上传方法: 返回数据如下 Array ( [data:prot ...

  3. 腾讯蓝鲸cmdb源码编译

    腾讯蓝鲸 cmdb 源码编译环境依赖 环境包参考: golang >= 1.8 python >= nodejs >= (编译过程中需要可以连公网下载依赖包) Python 环境 w ...

  4. RDIFramework.NET平台代码生成器V3.0版本全新发布-更新于20160518(提供下载)

    最新版本请转到:RDIFramework.NET平台代码生成器V3.1版本全新发布-更新于2016-10-08(提供下载) RDIFramework.NET代码生成器V3.0版本修改了针对3.0版本的 ...

  5. Mesos+Zookeeper+Marathon的Docker管理平台部署记录(1)

    随着"互联网+"时代的业务增长.变化速度及大规模计算的需求,廉价的.高可扩展的分布式x86集群已成为标准解决方案,如Google已经在几千万台服务器上部署分布式系统.Docker及 ...

  6. elk实时日志分析平台部署搭建详细实现过程

    原文:http://blog.csdn.net/mchdba/article/details/52132663 1.ELK平台介绍 在搜索ELK资料的时候,发现这篇文章比较好,于是摘抄一小段:以下内容 ...

  7. .NET Core开发的iNeuOS物联网平台部署树霉派,从网关到云端整体解决方案。助力2019中国.NET峰会。

    2019 中国.NET 开发者峰会正式启动 目       录 1.      概述... 2 2.      树莓派硬件配置... 2 3.      软件信息... 3 4.      Raspb ...

  8. Ubunut18 安装docker环境&&AWD攻防平台部署

    docker:有两个版本:docker-ce(社区版)和docker-ee(企业版). 参考官网地址:https://docs.docker.com/engine/installation/linux ...

  9. .NET Core开发的iNeuOS物联网平台部署树霉派(raspbian),从网关到云端整体解决方案。助力2019中国.NET峰会。

    2019 中国.NET 开发者峰会正式启动 目       录 1.      概述... 2 2.      树莓派硬件配置... 2 3.      软件信息... 3 4.      Raspb ...

  10. Windows平台部署 Asp.Net Core 3.1.0,将 ASP.NET Core 应用发布到 IIS ,使用 IIS 在 Windows 上托管 ASP.NET Core

    第一部分:本教程介绍如何在 IIS 服务器上托管 ASP.NET Core 应用. 官方文档地址:https://docs.microsoft.com/zh-cn/aspnet/core/tutori ...

随机推荐

  1. CentOS下修改 MySQL 的密码

    做服务器运维,修改 MySQL 的密码是经常的需要,定期修改 MySQL 密码是网站安全的一个保证.这里记录一下修改 MySQL 密码的一些命令,方便以后查看. 修改root密码 CentOS 下 M ...

  2. 重新点亮shell————语法[四]

    前言 简单介绍一下语法. 正文 数组: 定义数组: IPTS =(10.0.0.1 10.0.0.2 10.0.0.3) 显示所以数组元素: echo ${IPTS[@]} 显示数组元素的个数 ech ...

  3. c# unsafe

    前言 c# unsafe可以让我们做一些测试的危险操作. 正文 打开unsafe 功能 在 Visual Studio 开发环境中设置此编译器选项 打开项目的"属性"页. 单击&q ...

  4. 一文读懂IoU,GIoU, DIoU, CIoU, Alpha-IoU (代码非常优雅)

    IoU就是就是我们说的交并比 Intersection over Union ,具体就是两个box的交集除以并集. 当我们计算我们的anchors 或者 proposals 与 ground trut ...

  5. PIL.Image, numpy, tensor, cv2 之间的互转,以及在cv2在图片上画各种形状的线

    ''' PIL.Image, numpy, tensor, cv2 之间的互转 ''' import cv2 import torch from PIL import Image import num ...

  6. 使用python获取知乎**话题下的所有回答,并统计后发布。

    第一步:获取话题需要的url需要,并向上取整 for idx in range(0,math.ceil(totals/5)): url = f"https://www.zhihu.com/a ...

  7. Llama3-8B到底能不能打?实测对比

    前几天Meta开源发布了新的Llama大语言模型:Llama-3系列,本次一共发布了两个版本:Llama-3-8B和Llama-3-70B,根据Meta发布的测评报告,Llama-3-8B的性能吊打之 ...

  8. 几种常见的MySQL/PolarDB-MySQL回收表空间方法对比

    简介: 当我们频繁的删除表中的数据后,碎片就会变多,有经验的DBA就会回收表空间,回收表空间有好几种方式,我们要选择哪一种呢? 背景 为什么需要回收表空间?任何一个存储或您购买的实例规格都有容量限制, ...

  9. 3种方式自动化控制APP

    自动化控制APP不管是在工作还是生活方面,都可以帮助我们高效地完成任务,节省时间和精力.本文主要介绍自动化控制APP的3种常用方式. 1.Python + adb 这种方式需要对Android有一些基 ...

  10. 万字长文总结与剖析C语言关键字 -- <<C语言深度解剖>>

    C总结与剖析:关键字篇 -- <<C语言深度解剖>> 目录 C总结与剖析:关键字篇 -- <<C语言深度解剖>> 程序的本质:二进制文件 变量 1.变量 ...