github.com/bartle-stripe/trillian@v1.2.1/storage/mysql/kubernetes/image/cluster.cnf (about)

     1  [mysqld]
     2  
     3  # Path to Galera library
     4  wsrep_provider=/usr/lib/galera3/libgalera_smm.so
     5  
     6  # Cluster connection URL contains IPs of nodes
     7  #If no IP is found, this implies that a new cluster needs to be created,
     8  #in order to do that you need to bootstrap this node
     9  wsrep_cluster_address=gcomm://
    10  
    11  # In order for Galera to work correctly binlog format should be ROW
    12  binlog_format=ROW
    13  
    14  # MyISAM storage engine has only experimental support
    15  default_storage_engine=InnoDB
    16  
    17  # Slave thread to use
    18  wsrep_slave_threads= 8
    19  
    20  wsrep_log_conflicts
    21  
    22  # This changes how InnoDB autoincrement locks are managed and is a requirement for Galera
    23  innodb_autoinc_lock_mode=2
    24  
    25  # Node IP address
    26  wsrep_node_address=127.0.0.1
    27  # Cluster name
    28  wsrep_cluster_name=galera_kubernetes
    29  
    30  #pxc_strict_mode allowed values: DISABLED,PERMISSIVE,ENFORCING,MASTER
    31  pxc_strict_mode=ENFORCING
    32  
    33  # SST method
    34  wsrep_sst_method=xtrabackup-v2
    35  
    36  #Authentication for SST method
    37  wsrep_sst_auth="sstuser:changethis"
    38