用于EagleEye3.0 规则集漏报和误报测试的示例项目,项目收集于github和gitee
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

49 lines
1.3 KiB

# ==== Purpose ====
#
# Configure N servers to be members of a group.
#
# ==== Usage ====
#
# [--let $rpl_debug= 1]
# [--let $rpl_server_count= N]
# [--let $rpl_skip_group_replication_start= 1]
# [--let $rpl_group_replication_single_primary_mode= 1]
# --source include/group_replication.inc
#
# Parameters:
# $rpl_server_count
# See include/master-slave.inc
#
# $rpl_skip_group_replication_start
# See include/rpl_init.inc
#
# $rpl_group_replication_single_primary_mode
# Sets configuration for single primary mode
--let $include_filename= group_replication.inc
if ($rpl_server_count)
{
--let $include_filename= group_replication.inc [rpl_server_count=$rpl_server_count]
}
--source include/begin_include_file.inc
# Setup and start group.
--source include/master-slave.inc
# Reset group_replication_bootstrap_group option on all servers.
--source include/gr_clear_bootstrap_group.inc
# Set single primary mode if needed
if ($rpl_group_replication_single_primary_mode)
{
--let $reset_single_primary_mode= 0
--source include/gr_single_primary_mode.inc
}
--let $include_filename= group_replication.inc
--source include/end_include_file.inc
# Set the default connection to 'server1'. Do this after
# end_include_file.inc, so that it gets printed to the query log.
--let $rpl_connection_name= server1
--source include/rpl_connection.inc