Nacos 1.2.1 cluster construction (2) Nacos configuration

After a week, the IP address of the virtual machine has changed

1. MySQL configuration

 

 

 

 

First build a nacos_config database

 

 

 

 

Execute SQL (There are many ways, choose what you like)


 

2. Modify the application.properties configuration file (application.properties.example is an example)

Back up first

 

vi application.properties modify the configuration file

 

 

Remove # comment

 

 

 3.cluster.conf configuration

 

 

 

Application.properties and cluster.conf do the same configuration

Via WinSCP tool, they are transmitted to Nacos2 and Nacos3 respectively

 

Guess you like

Origin www.cnblogs.com/vipsoft/p/12732916.html