蓝鲸智云社区版4.0软件部署手册-20180403
合集下载
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
cmdb
./bkcec install mongodb ./bkcec install gse ./bkcec install cmdb ./bkcec install zk ./bkcec start zk ./bkcec initdata gse ./bkcec start gse ./bkcec initdata mongodb ./bkcec start mongodb ./bkcec start cmdb ./bkcec initdata cmdb
)
:
paas
./bkcec sync all ./bkcec install consul ./bkcec start consul ./bkcec install license ./bkcec install mysql ./bkcec install redis ./bkcec start mysql ./bkcec initdata mysql ./bkcec install nginx ./bkcec start license ./bkcec start redis ./bkcec start nginx ./bkcec install paas ./bkcec initdata paas ./bkcec start paas
(
,
)
4.0 .
(install
)
ip
,
,
agent_setup/download#agent_setup_pro.sh functions scripts/gse/proxy/gsectl scripts/gse/plugins/stop.sh scripts/gse/plugins/start.sh scripts/gse/agent/gsectl scripts/gse/agentaix/gsectl.ksh agent_setup/download#agent_setup_aix.ksh
paas
$ ./bk_install cmdb # cmdb # , cmdb, $ ./bk_install job # # , # $ ./bk_install app_mgr # # # saas ( $ ./bk_install bkdata # # , saas , , gse_agent
( 1. DNS: ip 2. hosts : job,paas,cmdb DNS
) DNS , hosts , nginx IP A nginx
$ cd /data/install $ bash configure_ssh_without_pass #
root
/
$ cd /data/install $ ./bk_install paas # # , paas
src,install src install
install
install.config
: install.config , globals.env , ports.env . install.config.3IP.sample install.config IP
install.config.3IP.sample
$ ./bkcec stop cmdb $ ./bkcec stop nginx $ ./bkcec render cmdb 1 $ ./bkcec render nginx 1 $ ./bkcec start cmdb $ ./bkcec start nginx
ports.env
10.0.0.1 nginx,appt,rabbitmq,kafka,zk,es,bkdata,consul,fta 10.0.1.2 license,appo,kafka,zk,es,mysql,beanstalk,consul 10.0.1.3 paas,cmdb,job,gse,kafka,zk,es,redis,consul,mongodb
install.config
gse , license
IP
MAC
1.
,
/data/
,
/ data/src/cert
(
, ) 2. tar xf ssl_certificate.tar -C /data/src/cert/
pip
$ vi src/.pip/pip.conf
pip pip.conf
DATABUS_API_PORT
open_paas
esb
,
paas
cmdb api
$ ./bkcec stop cmdb $ ./bkcec stop paas $./bkcec stop job $ ./bkcec stop nginx $ ./bkcec render cmdb 1 $ ./bkcec render job 1 $ ./bkcec render nginx 1 $ ./bkcec start cmdb $ ./bkcec start job $ ./bkcec start paas $ ./bkcec start nginx``` - cmdb api
bkdata
./bkcec install es ./bkcec install kafka ./bkcec install beanstalk ./bkcec start es ./bkcec start kafka ./bkcec start beanstalk ./bkcec install bkdata ./bkcec initdata bkdata ./bkcec start bkdata
:
globale.env
$ ./bkcec stop paas $ ./bkcec stop bkdata $ ./bkcec stop fta $ ./bkcec stop job $ ./bkcec stop cmdb $ ./bkcec stop nginx $ ./bkcec render nginx 1 $ ./bkcec render paas 1 $ ./bkcec render job 1 $ ./bkcec render cmdb 1 $ ./bkcec render fta 1 $ ./bkcec render bkdata 1 $ ./bkcec start nginx $ ./bkcec start paas $ ./bkcec start job $ ./bkcec start cmdb $ ./bkcec start bkdata $ ./bkcec start fta
'DEFAULT_HTTP_PORT'
cmdb,paas,job,bkdata.nginx,plugin,gse
$ ./bkcec stop cmdb $ ./bkcec stop paas $ ./bkcec stop job $ ./bkcec stop bkdata $ ./bkcec stop nginx $ ./bkcec stop plugin $ ./bkcec stop gse $ ./bkcec sync all $ ./bkcec render nginx $ ./bkcec render gse $ ./bkcec render bkdata $ ./bkcec render paas $ ./bkcec render job $ ./bkcec render cmdb plugin `PAAS_DOMAIN` $ ./bkcec start nginx $ ./bkcec start gse $ ./bkcec start cmdb $ ./bkcec start job $ ./bkcec start paas $ ./bkcec start bkdata $ ./bkcec start plugin ``` `paas_plugins/log_alert/conf/settings_production.py`
Note:
ip /sbin/ifconfig zk nginx gse gse 3 mysql # /, $, \, `, <, > zk gse zookeeper cmdb redis ip, es ip elasticsearch
, ip
ip
install
config
zk IP : kafka es zk
pip url curl http://xxxxxxx
globals.env
HTTP
: . (
, IDC, , gse
proxy, ): IP
BK_PROXY
GSE GSE_WAN_IP
: export GSE_WAN_IP=(1.2.3.4)
GSE
ports.env
,
export AUTO_GET_WANIP=1
cmdb
$ vi install.config # $ ./bkcec stop consul $ ./bkcec stop cmdb $ ./bkcec install consul 1 $ ./bkcec install cmdb 1 $ ./bkcec render job 1 , cmdb
24 24 ...
64G 64G
8G * 12
12
32G
Centos7.0 ;
SELinux, ; yum NGINX yum “/etc/yum.conf/Base.repo” yum Centos /PIP yum
/data
$ cd /data $ tar xf bkce_src-4.0.0.tar.gz $ tar xf install_ce-x.x.x.tar.gz $ cd install #
saas
./bkcec install rabbitmq ./bkcec start rabbitmq ./bkcec initdata rabbitmq ./bkcec install appo ./bkcec initdata appo ./bkcec start appo ./bkcec activate appo ./bkcec install appt ./bkcec initdata appt ./bkcec start appt ./bkcec activate appt
$ souce /data/install/utils.fc $ ssh $BKDATA_IP0 # bkdata
,
bkdata
install.config
+
+IP
bkdata ports.env bkdata bkdata
$ ./bkcec stop bkdata $ ./bkcec render bkdata 1 $ ./bkcec start bkdata $ ./bkcec stop paas $ ./bkcec render paasec install rabbitmq ./bkcec install job ./bkcec start rabbitmq ./bkcec initdata rabbitmq ./bkcec initdata job ./bkcec start job ./bkcec install gse_agent
4.0
4.0
paas cmdb job saas bkdata
Cygwin mysql
paas
cmdb
Job
paas_agent(appo, appt)
bkdata
Server
3-19
3 4 ... 19
4 4 ... 4
8G * 2, 4 10G * 3, 4
12G * 1 12G * 1