Master configuration:
datadir = /data/mysql
tmpdir = /dev/shm
#bind-address = 127.0.0.1
max_connections = 100
table_cache = 64
thread_concurrency = 10
server-id = 187
log_bin = /data/log/mysql/mysql-bin.log
log_slow_queries = /var/log/mysql/mysql-slow.log
long_query_time = 2
Slave configuration
# auto increments
auto_increment_increment = 10
auto_increment_offset = 8