add debian files
This commit is contained in:
parent
de5d4fda8b
commit
c2b20eab84
@ -0,0 +1,63 @@
|
||||
maxadmin.o: maxadmin.c /usr/include/stdc-predef.h /usr/include/stdio.h \
|
||||
/usr/include/features.h /usr/include/x86_64-linux-gnu/sys/cdefs.h \
|
||||
/usr/include/x86_64-linux-gnu/bits/wordsize.h \
|
||||
/usr/include/x86_64-linux-gnu/gnu/stubs.h \
|
||||
/usr/include/x86_64-linux-gnu/gnu/stubs-64.h \
|
||||
/usr/lib/gcc/x86_64-linux-gnu/4.8/include/stddef.h \
|
||||
/usr/include/x86_64-linux-gnu/bits/types.h \
|
||||
/usr/include/x86_64-linux-gnu/bits/typesizes.h /usr/include/libio.h \
|
||||
/usr/include/_G_config.h /usr/include/wchar.h \
|
||||
/usr/lib/gcc/x86_64-linux-gnu/4.8/include/stdarg.h \
|
||||
/usr/include/x86_64-linux-gnu/bits/stdio_lim.h \
|
||||
/usr/include/x86_64-linux-gnu/bits/sys_errlist.h /usr/include/string.h \
|
||||
/usr/include/xlocale.h /usr/include/signal.h \
|
||||
/usr/include/x86_64-linux-gnu/bits/sigset.h \
|
||||
/usr/include/x86_64-linux-gnu/bits/signum.h /usr/include/time.h \
|
||||
/usr/include/x86_64-linux-gnu/bits/siginfo.h \
|
||||
/usr/include/x86_64-linux-gnu/bits/sigaction.h \
|
||||
/usr/include/x86_64-linux-gnu/bits/sigcontext.h \
|
||||
/usr/include/x86_64-linux-gnu/bits/sigstack.h \
|
||||
/usr/include/x86_64-linux-gnu/sys/ucontext.h \
|
||||
/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h \
|
||||
/usr/include/x86_64-linux-gnu/bits/sigthread.h \
|
||||
/usr/include/x86_64-linux-gnu/sys/wait.h \
|
||||
/usr/include/x86_64-linux-gnu/bits/waitflags.h \
|
||||
/usr/include/x86_64-linux-gnu/bits/waitstatus.h /usr/include/endian.h \
|
||||
/usr/include/x86_64-linux-gnu/bits/endian.h \
|
||||
/usr/include/x86_64-linux-gnu/bits/byteswap.h \
|
||||
/usr/include/x86_64-linux-gnu/bits/byteswap-16.h \
|
||||
/usr/include/x86_64-linux-gnu/sys/types.h \
|
||||
/usr/include/x86_64-linux-gnu/sys/select.h \
|
||||
/usr/include/x86_64-linux-gnu/bits/select.h \
|
||||
/usr/include/x86_64-linux-gnu/bits/time.h \
|
||||
/usr/include/x86_64-linux-gnu/sys/sysmacros.h \
|
||||
/usr/include/x86_64-linux-gnu/sys/socket.h \
|
||||
/usr/include/x86_64-linux-gnu/sys/uio.h \
|
||||
/usr/include/x86_64-linux-gnu/bits/uio.h \
|
||||
/usr/include/x86_64-linux-gnu/bits/socket.h \
|
||||
/usr/include/x86_64-linux-gnu/bits/socket_type.h \
|
||||
/usr/include/x86_64-linux-gnu/bits/sockaddr.h \
|
||||
/usr/include/x86_64-linux-gnu/asm/socket.h \
|
||||
/usr/include/asm-generic/socket.h \
|
||||
/usr/include/x86_64-linux-gnu/asm/sockios.h \
|
||||
/usr/include/asm-generic/sockios.h /usr/include/netinet/in.h \
|
||||
/usr/lib/gcc/x86_64-linux-gnu/4.8/include/stdint.h /usr/include/stdint.h \
|
||||
/usr/include/x86_64-linux-gnu/bits/wchar.h \
|
||||
/usr/include/x86_64-linux-gnu/bits/in.h /usr/include/arpa/inet.h \
|
||||
/usr/include/netdb.h /usr/include/rpc/netdb.h \
|
||||
/usr/include/x86_64-linux-gnu/bits/netdb.h /usr/include/ctype.h \
|
||||
/usr/include/stdlib.h /usr/include/alloca.h \
|
||||
/usr/include/x86_64-linux-gnu/bits/stdlib-float.h /usr/include/termios.h \
|
||||
/usr/include/x86_64-linux-gnu/bits/termios.h \
|
||||
/usr/include/x86_64-linux-gnu/sys/ttydefaults.h /usr/include/unistd.h \
|
||||
/usr/include/x86_64-linux-gnu/bits/posix_opt.h \
|
||||
/usr/include/x86_64-linux-gnu/bits/environments.h \
|
||||
/usr/include/x86_64-linux-gnu/bits/confname.h /usr/include/getopt.h \
|
||||
/usr/include/dirent.h /usr/include/x86_64-linux-gnu/bits/dirent.h \
|
||||
/usr/include/x86_64-linux-gnu/bits/posix1_lim.h \
|
||||
/usr/include/x86_64-linux-gnu/bits/local_lim.h \
|
||||
/usr/include/linux/limits.h /usr/include/locale.h \
|
||||
/usr/include/x86_64-linux-gnu/bits/locale.h /usr/include/errno.h \
|
||||
/usr/include/x86_64-linux-gnu/bits/errno.h /usr/include/linux/errno.h \
|
||||
/usr/include/x86_64-linux-gnu/asm/errno.h \
|
||||
/usr/include/asm-generic/errno.h /usr/include/asm-generic/errno-base.h
|
5
debian/changelog
vendored
Normal file
5
debian/changelog
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
maxscale (0.7-1) UNRELEASED; urgency=low
|
||||
|
||||
* Initial release. (Closes: #XXXXXX)
|
||||
|
||||
-- Timofey Turenko <timofey.turenko@skysql.com> Tue, 11 Mar 2014 22:59:35 +0200
|
1
debian/compat
vendored
Normal file
1
debian/compat
vendored
Normal file
@ -0,0 +1 @@
|
||||
8
|
15
debian/control
vendored
Normal file
15
debian/control
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
Source: maxscale
|
||||
Maintainer: Timofey Turenko
|
||||
Section: misc
|
||||
Priority: optional
|
||||
Standards-Version: 3.9.2
|
||||
Build-Depends: debhelper (>= 8), gcc, g++, ncurses-dev, bison, build-essential, libssl-dev, libaio-dev, libmariadbclient-dev, libmariadbd-dev, mariadb-server, cmake, perl, make, libtool,
|
||||
|
||||
Package: maxscale
|
||||
Architecture: any
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}
|
||||
Description: MaxScale
|
||||
The SkySQL MaxScale is an intelligent proxy that allows forwarding of
|
||||
database statements to one or more database servers using complex rules,
|
||||
a semantic understanding of the database statements and the roles of
|
||||
the various servers within the backend cluster of databases.
|
1
debian/files
vendored
Normal file
1
debian/files
vendored
Normal file
@ -0,0 +1 @@
|
||||
maxscale_0.7-1_amd64.deb misc optional
|
3
debian/install
vendored
Normal file
3
debian/install
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
maxscale.conf etc/ld.so.conf.d/
|
||||
etc/init.d/maxscale etc/init.d/
|
||||
binaries/* usr/local/sbin/
|
19
debian/maxscale.debhelper.log
vendored
Normal file
19
debian/maxscale.debhelper.log
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
dh_auto_configure
|
||||
dh_auto_test
|
||||
dh_prep
|
||||
dh_install
|
||||
dh_installdocs
|
||||
dh_installchangelogs
|
||||
dh_pysupport
|
||||
dh_perl
|
||||
dh_link
|
||||
dh_compress
|
||||
dh_fixperms
|
||||
dh_strip
|
||||
dh_makeshlibs
|
||||
dh_shlibdeps
|
||||
dh_installdeb
|
||||
dh_gencontrol
|
||||
dh_md5sums
|
||||
dh_builddeb
|
||||
dh_builddeb
|
2
debian/maxscale.substvars
vendored
Normal file
2
debian/maxscale.substvars
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
shlibs:Depends=libc6 (>= 2.14), libgcc1 (>= 1:4.1.1), libmariadbd-dev, libssl1.0.0 (>= 1.0.0), libstdc++6 (>= 4.1.1)
|
||||
misc:Depends=
|
2
debian/maxscale/DEBIAN/conffiles
vendored
Normal file
2
debian/maxscale/DEBIAN/conffiles
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
/etc/ld.so.conf.d/maxscale.conf
|
||||
/etc/init.d/maxscale
|
13
debian/maxscale/DEBIAN/control
vendored
Normal file
13
debian/maxscale/DEBIAN/control
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
Package: maxscale
|
||||
Version: 0.7-1
|
||||
Architecture: amd64
|
||||
Maintainer: Timofey Turenko
|
||||
Installed-Size: 26408
|
||||
Depends: libc6 (>= 2.14), libgcc1 (>= 1:4.1.1), libmariadbd-dev, libssl1.0.0 (>= 1.0.0), libstdc++6 (>= 4.1.1)
|
||||
Section: misc
|
||||
Priority: optional
|
||||
Description: MaxScale
|
||||
The SkySQL MaxScale is an intelligent proxy that allows forwarding of
|
||||
database statements to one or more database servers using complex rules,
|
||||
a semantic understanding of the database statements and the roles of
|
||||
the various servers within the backend cluster of databases.
|
34
debian/maxscale/DEBIAN/md5sums
vendored
Normal file
34
debian/maxscale/DEBIAN/md5sums
vendored
Normal file
@ -0,0 +1,34 @@
|
||||
1f01338110a0f9f3846395d278a5211a usr/local/sbin/Documentation/Debug And Diagnostic Support.pdf
|
||||
18d84c6013d35eea910cc323c9e52d80 usr/local/sbin/Documentation/MaxAdmin The MaxScale Administration And Monitoring Client.pdf
|
||||
5463404e55209d25b85bd3a6cb92a459 usr/local/sbin/Documentation/MaxScale 0.7 Release Notes.pdf
|
||||
fcd140ec4c2fba49fbe8e80c6efaeffb usr/local/sbin/Documentation/MaxScale Configuration And Usage Scenarios.pdf
|
||||
5b9708b078a9fe527d7e760e26e8b855 usr/local/sbin/MaxScale/etc/MaxScale_template.cnf
|
||||
5b9708b078a9fe527d7e760e26e8b855 usr/local/sbin/MaxScale/etc/MaxScale_template.cnf~
|
||||
5c5cfddd45789b82e392a09b2ff88bb4 usr/local/sbin/MaxScale/modules/libHTTPD.so
|
||||
d456d28ab16aafb42496576fa1f403fa usr/local/sbin/MaxScale/modules/libMySQLBackend.so
|
||||
dc71122941d689ab8988cda263b51299 usr/local/sbin/MaxScale/modules/libMySQLClient.so
|
||||
3640c3552257a1ec20a285091cd15671 usr/local/sbin/MaxScale/modules/libcli.so
|
||||
a064a252079ea249e7238152ad40a7e7 usr/local/sbin/MaxScale/modules/libdebugcli.so
|
||||
8527e2d42264fc5110188ad0686be99d usr/local/sbin/MaxScale/modules/libgaleramon.so
|
||||
f1738d6030cc319af3991134d6df503d usr/local/sbin/MaxScale/modules/libmaxscaled.so
|
||||
0218f79a40efae6d5852de9ab7836cd4 usr/local/sbin/MaxScale/modules/libmysqlmon.so
|
||||
e6cfbaac85d8a528aae2a1ca55b2664c usr/local/sbin/MaxScale/modules/libqlafilter.so
|
||||
44e36127c69d1636da781c88e90e7b6e usr/local/sbin/MaxScale/modules/libreadconnroute.so
|
||||
0b3bc490179bdb9368220954cd6fce70 usr/local/sbin/MaxScale/modules/libreadwritesplit.so
|
||||
c73ed5078109539f5dc6b85bb518ccec usr/local/sbin/MaxScale/modules/libregexfilter.so
|
||||
c8c35118a7e9f7881b25021001e1ee4c usr/local/sbin/MaxScale/modules/libtee.so
|
||||
731d5b616c75a185f2099b7937bd27d3 usr/local/sbin/MaxScale/modules/libtelnetd.so
|
||||
19161aea20cb3caf65c3597afe0fca4d usr/local/sbin/MaxScale/modules/libtestfilter.so
|
||||
5564eefc483d0c4e6d37cf1853999b9b usr/local/sbin/MaxScale/modules/libtestroute.so
|
||||
c6bcb88437840bd1a6af01a670ea1075 usr/local/sbin/MaxScale/modules/libtopfilter.so
|
||||
be0f3825c74cb0443f78b48eeb9d895c usr/local/sbin/MaxScale/mysql/errmsg.sys
|
||||
9460fb1e10d39f7e0d8a97272711694a usr/local/sbin/bin/maxadmin
|
||||
31529b17c1721ec1ad7adf49553b383f usr/local/sbin/bin/maxkeys
|
||||
59415f73b159f7a9ab17fc62407ea1f0 usr/local/sbin/bin/maxpasswd
|
||||
1facd8007efeae21a3ff801ace5a5caf usr/local/sbin/bin/maxscale
|
||||
48dfd805588178aa34d1573bbc97e630 usr/local/sbin/lib/liblog_manager.so
|
||||
48dfd805588178aa34d1573bbc97e630 usr/local/sbin/lib/liblog_manager.so.1.0.1
|
||||
0a06731d5ab7c2c551857da3c02a6e67 usr/local/sbin/lib/libmysqld.a
|
||||
74b17479d8567d6e62ae18a8c890ae8f usr/local/sbin/lib/libquery_classifier.so
|
||||
74b17479d8567d6e62ae18a8c890ae8f usr/local/sbin/lib/libquery_classifier.so.1.0.1
|
||||
e8d70f26784d12ea008f4b01703efab9 usr/share/doc/maxscale/changelog.Debian.gz
|
4
debian/maxscale/DEBIAN/postinst
vendored
Executable file
4
debian/maxscale/DEBIAN/postinst
vendored
Executable file
@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
ln -s /lib64/libaio.so.1 /lib64/libaio.so
|
||||
/sbin/ldconfig
|
95
debian/maxscale/etc/init.d/maxscale
vendored
Executable file
95
debian/maxscale/etc/init.d/maxscale
vendored
Executable file
@ -0,0 +1,95 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# maxscale: The SkySQL MaxScale database proxy
|
||||
#
|
||||
# description: MaxScale provides database specific proxy functionality
|
||||
#
|
||||
# processname: maxscale
|
||||
#
|
||||
### BEGIN INIT INFO
|
||||
# Provides: maxscale
|
||||
# Required-Start: $syslog $local_fs
|
||||
# Required-Stop: $syslog $local_fs
|
||||
# Default-Start: 2 3 4 5
|
||||
# Default-Stop: 0 1 6
|
||||
# Short-Description: The maxscale database proxy
|
||||
# Description: MaxScale is a database proxy server that can be used to front end
|
||||
# database clusters offering different routing, filtering and protocol choices
|
||||
### END INIT INFO
|
||||
|
||||
MAXSCALE_HOME=/usr/local/skysql/maxscale
|
||||
|
||||
# Sanity checks.
|
||||
[ -x $MAXSCALE_HOME/bin/maxscale ] || exit 0
|
||||
|
||||
# Source function library.
|
||||
. /etc/rc.d/init.d/functions
|
||||
|
||||
# so we can rearrange this easily
|
||||
processname=maxscale
|
||||
servicename=maxscale
|
||||
|
||||
RETVAL=0
|
||||
|
||||
start() {
|
||||
echo -n $"Starting MaxScale: "
|
||||
if [ -x $MAXSCALE_HOME/bin/maxscale ] ; then
|
||||
$MAXSCALE_HOME/bin/maxscale
|
||||
fi
|
||||
|
||||
daemon --check $servicename $processname --system
|
||||
RETVAL=$?
|
||||
echo
|
||||
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/$servicename
|
||||
}
|
||||
|
||||
stop() {
|
||||
echo -n $"Stopping MaxScale: "
|
||||
|
||||
killproc $servicename -TERM
|
||||
RETVAL=$?
|
||||
echo
|
||||
if [ $RETVAL -eq 0 ]; then
|
||||
rm -f /var/lock/subsys/$servicename
|
||||
fi
|
||||
}
|
||||
|
||||
reload() {
|
||||
echo -n $"Reloading MaxScale: "
|
||||
|
||||
killproc $servicename -HUP
|
||||
RETVAL=$?
|
||||
echo
|
||||
}
|
||||
|
||||
# See how we were called.
|
||||
case "$1" in
|
||||
start)
|
||||
start
|
||||
;;
|
||||
stop)
|
||||
stop
|
||||
;;
|
||||
status)
|
||||
status $servicename
|
||||
RETVAL=$?
|
||||
;;
|
||||
restart)
|
||||
stop
|
||||
start
|
||||
;;
|
||||
condrestart)
|
||||
if [ -f /var/lock/subsys/$servicename ]; then
|
||||
stop
|
||||
start
|
||||
fi
|
||||
;;
|
||||
reload)
|
||||
reload
|
||||
RETVAL=$?
|
||||
;;
|
||||
*)
|
||||
echo $"Usage: $0 {start|stop|status|restart|condrestart|reload}"
|
||||
;;
|
||||
esac
|
||||
exit $RETVAL
|
2
debian/maxscale/etc/ld.so.conf.d/maxscale.conf
vendored
Normal file
2
debian/maxscale/etc/ld.so.conf.d/maxscale.conf
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
/usr/local/sbin/MaxScale/modules
|
||||
/usr/local/sbin/lib
|
BIN
debian/maxscale/usr/local/sbin/Documentation/Debug And Diagnostic Support.pdf
vendored
Executable file
BIN
debian/maxscale/usr/local/sbin/Documentation/Debug And Diagnostic Support.pdf
vendored
Executable file
Binary file not shown.
BIN
debian/maxscale/usr/local/sbin/Documentation/MaxAdmin The MaxScale Administration And Monitoring Client.pdf
vendored
Executable file
BIN
debian/maxscale/usr/local/sbin/Documentation/MaxAdmin The MaxScale Administration And Monitoring Client.pdf
vendored
Executable file
Binary file not shown.
BIN
debian/maxscale/usr/local/sbin/Documentation/MaxScale 0.7 Release Notes.pdf
vendored
Executable file
BIN
debian/maxscale/usr/local/sbin/Documentation/MaxScale 0.7 Release Notes.pdf
vendored
Executable file
Binary file not shown.
BIN
debian/maxscale/usr/local/sbin/Documentation/MaxScale Configuration And Usage Scenarios.pdf
vendored
Executable file
BIN
debian/maxscale/usr/local/sbin/Documentation/MaxScale Configuration And Usage Scenarios.pdf
vendored
Executable file
Binary file not shown.
127
debian/maxscale/usr/local/sbin/MaxScale/etc/MaxScale_template.cnf
vendored
Executable file
127
debian/maxscale/usr/local/sbin/MaxScale/etc/MaxScale_template.cnf
vendored
Executable file
@ -0,0 +1,127 @@
|
||||
#
|
||||
# Example MaxScale.cnf configuration file
|
||||
#
|
||||
#
|
||||
#
|
||||
# Number of server threads
|
||||
# Valid options are:
|
||||
# threads=<number of threads>
|
||||
|
||||
[maxscale]
|
||||
threads=1
|
||||
|
||||
# Define a monitor that can be used to determine the state and role of
|
||||
# the servers.
|
||||
#
|
||||
# Valid options are:
|
||||
#
|
||||
# module=<name of module to load>
|
||||
# servers=<server name>,<server name>,...
|
||||
# user =<user name - must have slave replication and
|
||||
# slave client privileges>
|
||||
# passwd=<password of the above user, plain text currently>
|
||||
# monitor_interval=<sampling interval in milliseconds,
|
||||
# default value is 10000>
|
||||
|
||||
[MySQL Monitor]
|
||||
type=monitor
|
||||
module=mysqlmon
|
||||
servers=server1,server2,server3
|
||||
user=maxuser
|
||||
passwd=maxpwd
|
||||
|
||||
# A series of service definition
|
||||
#
|
||||
# Valid options are:
|
||||
#
|
||||
# router=<name of router module>
|
||||
# servers=<server name>,<server name>,...
|
||||
# user=<User to fetch password inforamtion with>
|
||||
# passwd=<Password of the user, plain text currently>
|
||||
# enable_root_user=<0 or 1, default is 0>
|
||||
# version_string=<specific string for server handshake,
|
||||
# default is the MariaDB embedded library version>
|
||||
#
|
||||
# Valid router modules currently are:
|
||||
# readwritesplit, readconnroute and debugcli
|
||||
|
||||
[RW Split Router]
|
||||
type=service
|
||||
router=readwritesplit
|
||||
servers=server1,server2,server3
|
||||
user=maxuser
|
||||
passwd=maxpwd
|
||||
|
||||
[Read Connection Router]
|
||||
type=service
|
||||
router=readconnroute
|
||||
router_options=slave
|
||||
servers=server1,server2,server3
|
||||
user=maxuser
|
||||
passwd=maxpwd
|
||||
|
||||
[HTTPD Router]
|
||||
type=service
|
||||
router=testroute
|
||||
servers=server1,server2,server3
|
||||
|
||||
[Debug Interface]
|
||||
type=service
|
||||
router=debugcli
|
||||
|
||||
# Listener definitions for the services
|
||||
#
|
||||
# Valid options are:
|
||||
#
|
||||
# service=<name of service defined elsewhere>
|
||||
# protocol=<name of protocol module with which to listen>
|
||||
# port=<Listening port>
|
||||
# address=<Address to bind to>
|
||||
# socket=<Listening socket>
|
||||
|
||||
[RW Split Listener]
|
||||
type=listener
|
||||
service=RW Split Router
|
||||
protocol=MySQLClient
|
||||
port=4006
|
||||
#socket=/tmp/rwsplit.sock
|
||||
|
||||
[Read Connection Listener]
|
||||
type=listener
|
||||
service=Read Connection Router
|
||||
protocol=MySQLClient
|
||||
port=4008
|
||||
#socket=/tmp/readconn.sock
|
||||
|
||||
[Debug Listener]
|
||||
type=listener
|
||||
service=Debug Interface
|
||||
protocol=telnetd
|
||||
port=4442
|
||||
#address=127.0.0.1
|
||||
|
||||
[HTTPD Listener]
|
||||
type=listener
|
||||
service=HTTPD Router
|
||||
protocol=HTTPD
|
||||
port=6444
|
||||
|
||||
# Definition of the servers
|
||||
|
||||
[server1]
|
||||
type=server
|
||||
address=127.0.0.1
|
||||
port=3000
|
||||
protocol=MySQLBackend
|
||||
|
||||
[server2]
|
||||
type=server
|
||||
address=127.0.0.1
|
||||
port=3001
|
||||
protocol=MySQLBackend
|
||||
|
||||
[server3]
|
||||
type=server
|
||||
address=127.0.0.1
|
||||
port=3002
|
||||
protocol=MySQLBackend
|
127
debian/maxscale/usr/local/sbin/MaxScale/etc/MaxScale_template.cnf~
vendored
Executable file
127
debian/maxscale/usr/local/sbin/MaxScale/etc/MaxScale_template.cnf~
vendored
Executable file
@ -0,0 +1,127 @@
|
||||
#
|
||||
# Example MaxScale.cnf configuration file
|
||||
#
|
||||
#
|
||||
#
|
||||
# Number of server threads
|
||||
# Valid options are:
|
||||
# threads=<number of threads>
|
||||
|
||||
[maxscale]
|
||||
threads=1
|
||||
|
||||
# Define a monitor that can be used to determine the state and role of
|
||||
# the servers.
|
||||
#
|
||||
# Valid options are:
|
||||
#
|
||||
# module=<name of module to load>
|
||||
# servers=<server name>,<server name>,...
|
||||
# user =<user name - must have slave replication and
|
||||
# slave client privileges>
|
||||
# passwd=<password of the above user, plain text currently>
|
||||
# monitor_interval=<sampling interval in milliseconds,
|
||||
# default value is 10000>
|
||||
|
||||
[MySQL Monitor]
|
||||
type=monitor
|
||||
module=mysqlmon
|
||||
servers=server1,server2,server3
|
||||
user=maxuser
|
||||
passwd=maxpwd
|
||||
|
||||
# A series of service definition
|
||||
#
|
||||
# Valid options are:
|
||||
#
|
||||
# router=<name of router module>
|
||||
# servers=<server name>,<server name>,...
|
||||
# user=<User to fetch password inforamtion with>
|
||||
# passwd=<Password of the user, plain text currently>
|
||||
# enable_root_user=<0 or 1, default is 0>
|
||||
# version_string=<specific string for server handshake,
|
||||
# default is the MariaDB embedded library version>
|
||||
#
|
||||
# Valid router modules currently are:
|
||||
# readwritesplit, readconnroute and debugcli
|
||||
|
||||
[RW Split Router]
|
||||
type=service
|
||||
router=readwritesplit
|
||||
servers=server1,server2,server3
|
||||
user=maxuser
|
||||
passwd=maxpwd
|
||||
|
||||
[Read Connection Router]
|
||||
type=service
|
||||
router=readconnroute
|
||||
router_options=slave
|
||||
servers=server1,server2,server3
|
||||
user=maxuser
|
||||
passwd=maxpwd
|
||||
|
||||
[HTTPD Router]
|
||||
type=service
|
||||
router=testroute
|
||||
servers=server1,server2,server3
|
||||
|
||||
[Debug Interface]
|
||||
type=service
|
||||
router=debugcli
|
||||
|
||||
# Listener definitions for the services
|
||||
#
|
||||
# Valid options are:
|
||||
#
|
||||
# service=<name of service defined elsewhere>
|
||||
# protocol=<name of protocol module with which to listen>
|
||||
# port=<Listening port>
|
||||
# address=<Address to bind to>
|
||||
# socket=<Listening socket>
|
||||
|
||||
[RW Split Listener]
|
||||
type=listener
|
||||
service=RW Split Router
|
||||
protocol=MySQLClient
|
||||
port=4006
|
||||
#socket=/tmp/rwsplit.sock
|
||||
|
||||
[Read Connection Listener]
|
||||
type=listener
|
||||
service=Read Connection Router
|
||||
protocol=MySQLClient
|
||||
port=4008
|
||||
#socket=/tmp/readconn.sock
|
||||
|
||||
[Debug Listener]
|
||||
type=listener
|
||||
service=Debug Interface
|
||||
protocol=telnetd
|
||||
port=4442
|
||||
#address=127.0.0.1
|
||||
|
||||
[HTTPD Listener]
|
||||
type=listener
|
||||
service=HTTPD Router
|
||||
protocol=HTTPD
|
||||
port=6444
|
||||
|
||||
# Definition of the servers
|
||||
|
||||
[server1]
|
||||
type=server
|
||||
address=127.0.0.1
|
||||
port=3000
|
||||
protocol=MySQLBackend
|
||||
|
||||
[server2]
|
||||
type=server
|
||||
address=127.0.0.1
|
||||
port=3001
|
||||
protocol=MySQLBackend
|
||||
|
||||
[server3]
|
||||
type=server
|
||||
address=127.0.0.1
|
||||
port=3002
|
||||
protocol=MySQLBackend
|
BIN
debian/maxscale/usr/local/sbin/MaxScale/modules/libHTTPD.so
vendored
Normal file
BIN
debian/maxscale/usr/local/sbin/MaxScale/modules/libHTTPD.so
vendored
Normal file
Binary file not shown.
BIN
debian/maxscale/usr/local/sbin/MaxScale/modules/libMySQLBackend.so
vendored
Normal file
BIN
debian/maxscale/usr/local/sbin/MaxScale/modules/libMySQLBackend.so
vendored
Normal file
Binary file not shown.
BIN
debian/maxscale/usr/local/sbin/MaxScale/modules/libMySQLClient.so
vendored
Normal file
BIN
debian/maxscale/usr/local/sbin/MaxScale/modules/libMySQLClient.so
vendored
Normal file
Binary file not shown.
BIN
debian/maxscale/usr/local/sbin/MaxScale/modules/libcli.so
vendored
Normal file
BIN
debian/maxscale/usr/local/sbin/MaxScale/modules/libcli.so
vendored
Normal file
Binary file not shown.
BIN
debian/maxscale/usr/local/sbin/MaxScale/modules/libdebugcli.so
vendored
Normal file
BIN
debian/maxscale/usr/local/sbin/MaxScale/modules/libdebugcli.so
vendored
Normal file
Binary file not shown.
BIN
debian/maxscale/usr/local/sbin/MaxScale/modules/libgaleramon.so
vendored
Normal file
BIN
debian/maxscale/usr/local/sbin/MaxScale/modules/libgaleramon.so
vendored
Normal file
Binary file not shown.
BIN
debian/maxscale/usr/local/sbin/MaxScale/modules/libmaxscaled.so
vendored
Normal file
BIN
debian/maxscale/usr/local/sbin/MaxScale/modules/libmaxscaled.so
vendored
Normal file
Binary file not shown.
BIN
debian/maxscale/usr/local/sbin/MaxScale/modules/libmysqlmon.so
vendored
Normal file
BIN
debian/maxscale/usr/local/sbin/MaxScale/modules/libmysqlmon.so
vendored
Normal file
Binary file not shown.
BIN
debian/maxscale/usr/local/sbin/MaxScale/modules/libqlafilter.so
vendored
Normal file
BIN
debian/maxscale/usr/local/sbin/MaxScale/modules/libqlafilter.so
vendored
Normal file
Binary file not shown.
BIN
debian/maxscale/usr/local/sbin/MaxScale/modules/libreadconnroute.so
vendored
Normal file
BIN
debian/maxscale/usr/local/sbin/MaxScale/modules/libreadconnroute.so
vendored
Normal file
Binary file not shown.
BIN
debian/maxscale/usr/local/sbin/MaxScale/modules/libreadwritesplit.so
vendored
Normal file
BIN
debian/maxscale/usr/local/sbin/MaxScale/modules/libreadwritesplit.so
vendored
Normal file
Binary file not shown.
BIN
debian/maxscale/usr/local/sbin/MaxScale/modules/libregexfilter.so
vendored
Normal file
BIN
debian/maxscale/usr/local/sbin/MaxScale/modules/libregexfilter.so
vendored
Normal file
Binary file not shown.
BIN
debian/maxscale/usr/local/sbin/MaxScale/modules/libtee.so
vendored
Normal file
BIN
debian/maxscale/usr/local/sbin/MaxScale/modules/libtee.so
vendored
Normal file
Binary file not shown.
BIN
debian/maxscale/usr/local/sbin/MaxScale/modules/libtelnetd.so
vendored
Normal file
BIN
debian/maxscale/usr/local/sbin/MaxScale/modules/libtelnetd.so
vendored
Normal file
Binary file not shown.
BIN
debian/maxscale/usr/local/sbin/MaxScale/modules/libtestfilter.so
vendored
Normal file
BIN
debian/maxscale/usr/local/sbin/MaxScale/modules/libtestfilter.so
vendored
Normal file
Binary file not shown.
BIN
debian/maxscale/usr/local/sbin/MaxScale/modules/libtestroute.so
vendored
Normal file
BIN
debian/maxscale/usr/local/sbin/MaxScale/modules/libtestroute.so
vendored
Normal file
Binary file not shown.
BIN
debian/maxscale/usr/local/sbin/MaxScale/modules/libtopfilter.so
vendored
Normal file
BIN
debian/maxscale/usr/local/sbin/MaxScale/modules/libtopfilter.so
vendored
Normal file
Binary file not shown.
BIN
debian/maxscale/usr/local/sbin/MaxScale/mysql/errmsg.sys
vendored
Executable file
BIN
debian/maxscale/usr/local/sbin/MaxScale/mysql/errmsg.sys
vendored
Executable file
Binary file not shown.
BIN
debian/maxscale/usr/local/sbin/bin/maxadmin
vendored
Executable file
BIN
debian/maxscale/usr/local/sbin/bin/maxadmin
vendored
Executable file
Binary file not shown.
BIN
debian/maxscale/usr/local/sbin/bin/maxkeys
vendored
Executable file
BIN
debian/maxscale/usr/local/sbin/bin/maxkeys
vendored
Executable file
Binary file not shown.
BIN
debian/maxscale/usr/local/sbin/bin/maxpasswd
vendored
Executable file
BIN
debian/maxscale/usr/local/sbin/bin/maxpasswd
vendored
Executable file
Binary file not shown.
BIN
debian/maxscale/usr/local/sbin/bin/maxscale
vendored
Executable file
BIN
debian/maxscale/usr/local/sbin/bin/maxscale
vendored
Executable file
Binary file not shown.
BIN
debian/maxscale/usr/local/sbin/lib/liblog_manager.so
vendored
Normal file
BIN
debian/maxscale/usr/local/sbin/lib/liblog_manager.so
vendored
Normal file
Binary file not shown.
BIN
debian/maxscale/usr/local/sbin/lib/liblog_manager.so.1.0.1
vendored
Normal file
BIN
debian/maxscale/usr/local/sbin/lib/liblog_manager.so.1.0.1
vendored
Normal file
Binary file not shown.
BIN
debian/maxscale/usr/local/sbin/lib/libmysqld.a
vendored
Normal file
BIN
debian/maxscale/usr/local/sbin/lib/libmysqld.a
vendored
Normal file
Binary file not shown.
BIN
debian/maxscale/usr/local/sbin/lib/libquery_classifier.so
vendored
Normal file
BIN
debian/maxscale/usr/local/sbin/lib/libquery_classifier.so
vendored
Normal file
Binary file not shown.
BIN
debian/maxscale/usr/local/sbin/lib/libquery_classifier.so.1.0.1
vendored
Normal file
BIN
debian/maxscale/usr/local/sbin/lib/libquery_classifier.so.1.0.1
vendored
Normal file
Binary file not shown.
BIN
debian/maxscale/usr/share/doc/maxscale/changelog.Debian.gz
vendored
Normal file
BIN
debian/maxscale/usr/share/doc/maxscale/changelog.Debian.gz
vendored
Normal file
Binary file not shown.
4
debian/postinst
vendored
Normal file
4
debian/postinst
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
ln -s /lib64/libaio.so.1 /lib64/libaio.so
|
||||
/sbin/ldconfig
|
11
debian/rules
vendored
Executable file
11
debian/rules
vendored
Executable file
@ -0,0 +1,11 @@
|
||||
#!/usr/bin/make -f
|
||||
%:
|
||||
$(MAKE) ROOT_PATH=$(shell pwd) HOME="" clean
|
||||
$(MAKE) ROOT_PATH=$(shell pwd) HOME="" depend
|
||||
$(MAKE) ROOT_PATH=$(shell pwd) HOME=""
|
||||
$(MAKE) DEST="$(shell pwd)/binaries" ROOT_PATH=$(shell pwd) HOME="" ERRMSG="/usr/share/mysql/english" EMBEDDED_LIB="/usr/lib/x86_64-linux-gnu/" install
|
||||
dh $@
|
||||
override_dh_usrlocal:
|
||||
override_dh_auto_clean:
|
||||
override_dh_auto_build:
|
||||
override_dh_auto_install:
|
Loading…
x
Reference in New Issue
Block a user