qqwe 发表于 2018-9-30 08:24:32

使用amoeba配置mysql读写分离

# vim amoeba.xml  

  

  
               
  
               
  
                        
  
                        8066             //***端口号***//
  

  
                        
  
                        
  

  
                        
  
                              
  
                                        128
  
                                        64
  
                              
  
                        
  

  
                        
  
                              
  

  
                                        root
  

  
                                        123456
  
"amoeba.xml" 91L, 3099C                                                                                    30,6-41      8%
  

  

  

  

  

  
      
  

  
               
  
               
  
                        
  
                        8066//设置其他的端口
  

  
                        
  
                        
  

  
                        
  
                              
  
                                        128
  
                                        64
  
                              
  
                        
  

  
                        
  
                              
  

  
                                        lqb            //***远程访问代理的用户名和密码***//
  

  
                                        123456          //***用户名和密码***//
  

  
                                       
  
                                                
  
                                                      ${amoeba.home}/conf/access_list.conf
  
                                                
  
                                       
  
                              
  
                        
  

  
               
  

  
               
  

  
                        
  
                        128
  

  
                        
  
                        500
  

  
                        
  
                        utf8
  

  
                        
  
                        60
  
               
  

  
      
  

  
      
  
      
  
               
  
                        com.meidusa.toolkit.net.AuthingableConnectionManager
  
               
  
      
  

  
               
  
      
  
                ${amoeba.home}/conf/dbServers.xml
  
      
  

  
      
  
               
  
                        
  
                              ${amoeba.home}/conf/rule.xml
  
                              ${amoeba.home}/conf/ruleFunctionMap.xml
  
                        
  
               
  
                ${amoeba.home}/conf/functionMap.xml
  
                1500
  
                master
  

  

  
                master         //***写的资源池***//
  
                viplqb          //***写的资源池***//
  

  
                true
  
      
  



页: [1]
查看完整版本: 使用amoeba配置mysql读写分离