Fix password documentation
The old parameter was used in some examples and no note about its removal was in the parameter.
This commit is contained in:
@ -44,7 +44,7 @@ server_id=4000
|
||||
master_id=3000
|
||||
filestem=binlog
|
||||
user=maxuser
|
||||
passwd=maxpwd
|
||||
password=maxpwd
|
||||
|
||||
# The Avro conversion service
|
||||
[avro-service]
|
||||
|
||||
@ -51,7 +51,7 @@ type=service
|
||||
router=readwritesplit
|
||||
servers=dbserver1,dbserver2,dbserver3,dbserver4
|
||||
user=massi
|
||||
passwd=6628C50E07CCE1F0392EDEEB9D1203F3
|
||||
password=6628C50E07CCE1F0392EDEEB9D1203F3
|
||||
filters=hints | top10
|
||||
```
|
||||
The names used in the filters= parameter are the names of the filter definition sections in the ini file. The same filter definition can be used in multiple services and the same filter module can have multiple instances, each with its own section in the ini file.
|
||||
@ -128,7 +128,7 @@ type=service
|
||||
router=readwritesplit
|
||||
servers=dbbubble1,dbbubble2,dbbubble3,dbbubble4,dbbubble5
|
||||
user=maxscale
|
||||
passwd=6628C50E07CCE1F0392EDEEB9D1203F3
|
||||
password=6628C50E07CCE1F0392EDEEB9D1203F3
|
||||
```
|
||||
The table you wish to store in Cassandra in called HighScore and will contain the same columns in both the MariaDB table and the Cassandra table. The first step is to install a MariaDB instance with the Cassandra storage engine to act as a bridge server between the relational database and Cassandra. In this bridge server add a table definition for the HighScore table with the engine type set to Cassandra.
|
||||
See [Cassandra Storage Engine Overview]( https://mariadb.com/kb/en/mariadb/cassandra-storage-engine-overview/) for details.
|
||||
@ -146,7 +146,7 @@ router=readconnrouter
|
||||
router_options=running
|
||||
servers=CassandraDB
|
||||
user=maxscale
|
||||
passwd=6628C50E07CCE1F0392EDEEB9D1203F3
|
||||
password=6628C50E07CCE1F0392EDEEB9D1203F3
|
||||
```
|
||||
Next add a filter definition for the tee filter that will duplication insert statements that are destined for the HighScore table to this new service.
|
||||
```
|
||||
@ -165,6 +165,6 @@ type=service
|
||||
router=readwritesplit
|
||||
servers=dbbubble1,dbbubble2,dbbubble3,dbbubble4,dbbubble5
|
||||
user=maxscale
|
||||
passwd=6628C50E07CCE1F0392EDEEB9D1203F3
|
||||
password=6628C50E07CCE1F0392EDEEB9D1203F3
|
||||
filters=HighScores
|
||||
```
|
||||
|
||||
@ -31,7 +31,7 @@ to localhost as well.
|
||||
type=service
|
||||
router=maxinfo
|
||||
user=monitor
|
||||
passwd=my_secret
|
||||
password=my_secret
|
||||
```
|
||||
|
||||
The listener section defines the protocol, port and other information needed
|
||||
|
||||
@ -223,7 +223,7 @@ router=readconnroute
|
||||
router_options=ndb
|
||||
servers=server1,server2
|
||||
user=test
|
||||
passwd=test
|
||||
password=test
|
||||
version_string=5.5.37-CLUSTER
|
||||
|
||||
[Cluster Listener]
|
||||
@ -237,7 +237,7 @@ type=monitor
|
||||
module=ndbclustermon
|
||||
servers=server1,server2
|
||||
user=monitor
|
||||
passwd=monitor
|
||||
password=monitor
|
||||
monitor_interval=8000
|
||||
|
||||
[server1]
|
||||
|
||||
@ -99,7 +99,7 @@ type=monitor
|
||||
module=mariadbmon
|
||||
servers=production-1, archive-1
|
||||
user=maxuser
|
||||
passwd=maxpwd
|
||||
password=maxpwd
|
||||
monitor_interval=5000
|
||||
```
|
||||
|
||||
@ -120,7 +120,7 @@ type=service
|
||||
router=readconnroute
|
||||
servers=production-1
|
||||
user=maxuser
|
||||
passwd=maxpwd
|
||||
password=maxpwd
|
||||
filters=Tee
|
||||
|
||||
[Archive]
|
||||
@ -128,7 +128,7 @@ type=service
|
||||
router=readconnroute
|
||||
servers=archive-1
|
||||
user=maxuser
|
||||
passwd=maxpwd
|
||||
password=maxpwd
|
||||
filters=MQ Filter
|
||||
```
|
||||
|
||||
@ -238,7 +238,7 @@ type=monitor
|
||||
module=mariadbmon
|
||||
servers=production-1, archive-1
|
||||
user=maxuser
|
||||
passwd=maxpwd
|
||||
password=maxpwd
|
||||
monitor_interval=5000
|
||||
|
||||
# Production service
|
||||
@ -247,7 +247,7 @@ type=service
|
||||
router=readconnroute
|
||||
servers=production-1
|
||||
user=maxuser
|
||||
passwd=maxpwd
|
||||
password=maxpwd
|
||||
filters=Tee
|
||||
|
||||
# Archive service
|
||||
@ -256,7 +256,7 @@ type=service
|
||||
router=readconnroute
|
||||
servers=archive-1
|
||||
user=maxuser
|
||||
passwd=maxpwd
|
||||
password=maxpwd
|
||||
filters=MQ Filter
|
||||
|
||||
# Listeners for the services
|
||||
|
||||
@ -183,7 +183,7 @@ router=readconnroute
|
||||
router_options=slave
|
||||
servers=server1,server2,server3,server5,server4
|
||||
user=massi
|
||||
passwd=massi
|
||||
password=massi
|
||||
filters=MQ
|
||||
|
||||
[MQ]
|
||||
|
||||
@ -141,7 +141,7 @@ with MariaDB 10 would be as follows.
|
||||
type=service
|
||||
router=binlogrouter
|
||||
user=maxscale
|
||||
passwd=maxpwd
|
||||
password=maxpwd
|
||||
server_id=1
|
||||
mariadb10-compatibility=1
|
||||
binlogdir=/var/lib/maxscale/
|
||||
|
||||
@ -49,7 +49,7 @@ type=service
|
||||
router=schemarouter
|
||||
servers=accounts_west,accounts_east
|
||||
user=sharduser
|
||||
passwd=YqztlYGDvZ8tVMe3GUm9XCwQi
|
||||
password=YqztlYGDvZ8tVMe3GUm9XCwQi
|
||||
```
|
||||
|
||||
After this we configure a listener for the service. The listener is the actual port the user connects to. We will use the port 4000.
|
||||
@ -70,7 +70,7 @@ type=monitor
|
||||
module=mariadbmon
|
||||
servers=accounts_west,accounts_east
|
||||
user=monitoruser
|
||||
passwd=7SP1Zcsow8TG+9EkEBVEbaKa
|
||||
password=7SP1Zcsow8TG+9EkEBVEbaKa
|
||||
monitor_interval=1000
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user