table of Contents
1 Local Start cmdb
2 cmdb database table design
Introduction code module 3
4 Features
5 request call flow
6 New Interface
7 How cmdb operating mongo database
A local start cmdb
Server Startup Review
When deployed cmdb, enter ./start.sh you can start the 12 service, then analyzed for the 12 service it. First look at the contents of output starts:
Here configuration parameters, is generated according to the operating configuration scripts, such as:
Generate a configuration file location:
configcenter/src/bin/build/3.2.17/cmdb_adminserver/configures/*
Open cmdb two items, the last step cmdb_adminserver / configures / under cover all the generated configuration file to configcenter / Resources / Configures / directory (i.e., replacement profile).
Then modify configcenter / Resources / Configures / migrate.conf file
Third, the local project start
cmdb micro-services framework, the split became 12 service platform, this time we start hostServer service, similar to the other service starts.
Start main method (host.go file) hostServer of:
Startup configuration parameters: Program arguments
E.g:
--addrport=127.0.0.1:60001 --logtostderr=false --log-dir=./logs --v=3 --regdiscv=127.0.0.1:2181
Program arguments of different parameters for each service startup parameters may be displayed when the service starts to configure the reference
Two cmdb database table design
To be continued, finishing .....
If necessary contact qq: 869524835 AC acquisition