当前位置:网站首页>High availability of Nacos series
High availability of Nacos series
2022-06-13 05:39:00 【codain】
We have to install 2.0.0 Version as an example , The download link of the installation package is as follows :
1、 Download and unzip
2、 Configure clusters
stay conf In the directory cluster.conf.example file , Then copy and paste a copy cluster.conf file , In this file, fill in the cluster's ip+ port , as follows
192.168.80.100:8848 192.168.80.101:8848 192.168.80.102:8848
3、 Configuration persistence Mysql database
① stay conf There is a file named nacos-mysql.sql Script file for , You can create a database directly
② Then, you need to set up a server in each cluster nacos The configuration file application.properties, Modify these values
// explain nacos It uses mysql database spring.datasource.platform=mysql // A database db.num=1 db.url.0:jdbc:mysql://192.168.80.110:3306/nacos-mysql db.user.0=root db.password.0=root
4、 start-up Nacos service
Start in each node server nacos, But this startup cannot be a stand-alone version , Cluster version is required
linux command :sh startup.sh
windows command :startup.cmd -m cluster
If it appears in the log :Nacos started successfully in cluster mode
Indicating successful startup , Then go to nacos View the node list on the web page , The corresponding node list can be found
边栏推荐
- 12 error end event and terminateendevent of end event
- Pyqt5 controls qpixmap, qlineedit qsplitter, qcombobox
- MySQL installation in Linux Environment
- A fast week
- About Evaluation Metrics
- Byte buddy print execution time and method link tracking
- Initial redis experience
- MySQL built-in functions
- Shell instance
- First assessment
猜你喜欢

MySQL built-in functions

priority inversion problem

Byte buddy print execution time and method link tracking

ZABBIX proxy, sender (without agent monitoring), performance optimization

Automatic database backup (using Navicat)

Comment procéder à l'évaluation des algorithmes

Mysql database crud operation

Mongodb multi field aggregation group by

Web site learning and sorting

Case - simulated landlords (upgraded version)
随机推荐
12 error end event and terminateendevent of end event
Difference between deviation and variance in deep learning
Three paradigms of MySQL
Deleted the jupyter notebook in the jupyter interface by mistake
Jeffery0207 blog navigation
Quartz database storage
About Evaluation Metrics
Web site learning and sorting
Current limiting and fusing of gateway gateway in Spirng cloud
Validation set: ‘flowable-executable-process‘ | Problem: ‘flowable-servicetask-missing-implementatio
Mysql database crud operation
How to Algorithm Evaluation Methods
First assessment
Getclassloader() returns null, getclassloader() gets null
Bicolor case
Error: unmapped character encoding GBK
Calculate the number of days between two times (supports cross month and cross year)
Metaltc4.0 stable release
JS output uincode code
Case - simulated landlords (primary version)