-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Execute only percona role in upgrade test
- Loading branch information
1 parent
af24dad
commit 4a958ae
Showing
4 changed files
with
175 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,72 +5,12 @@ | |
archivematica_src_am_version: "stable/1.17.x" | ||
archivematica_src_ss_version: "stable/0.23.x" | ||
|
||
archivematica_src_ss_db_name: "SS" | ||
archivematica_src_ss_db_user: "ss" | ||
archivematica_src_ss_db_password: "demo" | ||
archivematica_src_ss_db_host: "{{ archivematica_src_am_db_host }}" | ||
|
||
archivematica_src_configure_dashboard: "yes" | ||
archivematica_src_configure_ss: "yes" | ||
archivematica_src_configure_ss_user: "admin" | ||
archivematica_src_configure_ss_password: "archivematica" | ||
archivematica_src_configure_ss_api_key: "this_is_the_ss_api_key" | ||
archivematica_src_configure_ss_url: "http://192.168.168.198:8000" | ||
archivematica_src_configure_ss_email: "[email protected]" | ||
archivematica_src_configure_am_user: "admin" | ||
archivematica_src_configure_am_password: "archivematica" | ||
archivematica_src_configure_am_email: "[email protected]" | ||
archivematica_src_configure_am_api_key: "this_is_the_am_api_key" | ||
archivematica_src_configure_am_site_url: "http://192.168.168.198" | ||
|
||
nodejs_version: "22.x" | ||
|
||
# elasticsearch role | ||
|
||
elasticsearch_version: "6.5.4" | ||
elasticsearch_apt_java_package: "openjdk-8-jre-headless" | ||
elasticsearch_java_home: "/usr/lib/jvm/java-1.8.0-openjdk-amd64" | ||
elasticsearch_heap_size: "1g" | ||
elasticsearch_max_open_files: "65535" | ||
elasticsearch_timezone: "UTC" | ||
elasticsearch_node_max_local_storage_nodes: "1" | ||
elasticsearch_index_mapper_dynamic: "true" | ||
elasticsearch_memory_bootstrap_mlockall: "true" | ||
elasticsearch_install_java: "true" | ||
elasticsearch_thread_pools: | ||
- "thread_pool.write.size: 2" | ||
- "thread_pool.write.queue_size: 1000" | ||
elasticsearch_network_http_max_content_lengtht: 1024mb | ||
elasticsearch_discovery_zen_ping_multicast_enabled: "false" | ||
elasticsearch_max_locked_memory: "unlimited" | ||
elasticsearch_network_host: "127.0.0.1" | ||
|
||
# percona role | ||
|
||
mysql_version_major: "8" | ||
mysql_version_minor: "0" | ||
mysql_character_set_server: "utf8mb4" | ||
mysql_collation_server: "utf8mb4_0900_ai_ci" | ||
|
||
mysql_databases: | ||
- name: "{{ archivematica_src_am_db_name }}" | ||
collation: "{{ archivematica_src_am_db_collation }}" | ||
encoding: "{{ archivematica_src_am_db_encoding }}" | ||
- name: "{{ archivematica_src_ss_db_name }}" | ||
collation: "{{ archivematica_src_ss_db_collation }}" | ||
encoding: "{{ archivematica_src_ss_db_encoding }}" | ||
|
||
mysql_users: | ||
- name: "{{ archivematica_src_am_db_user }}" | ||
pass: "{{ archivematica_src_am_db_password }}" | ||
priv: "{{ archivematica_src_am_db_name }}.*:ALL,GRANT" | ||
host: "{{ archivematica_src_am_db_host }}" | ||
- name: "{{ archivematica_src_ss_db_user }}" | ||
pass: "{{ archivematica_src_ss_db_password }}" | ||
priv: "{{ archivematica_src_ss_db_name }}.*:ALL,GRANT" | ||
host: "{{ archivematica_src_ss_db_host }}" | ||
|
||
mysql_root_password: "MYSQLROOTPASSWORD" | ||
|
||
archivematica_src_ss_environment: | ||
SS_DB_URL: "mysql://{{ archivematica_src_ss_db_user }}:{{ archivematica_src_ss_db_password }}@{{ archivematica_src_ss_db_host }}:3306/{{ archivematica_src_ss_db_name }}" | ||
mysql_default_authentication_plugin: "mysql_native_password" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
# | ||
# The MySQL database server configuration file. | ||
# | ||
# For explanations see | ||
# http://dev.mysql.com/doc/mysql/en/server-system-variables.html | ||
|
||
[client] | ||
port = 3306 | ||
socket = /var/run/mysqld/mysqld.sock | ||
|
||
[mysqld_safe] | ||
socket = /var/run/mysqld/mysqld.sock | ||
nice = 0 | ||
open-files-limit = 16384 | ||
|
||
[mysqld] | ||
# * Basic Settings | ||
user = mysql | ||
pid-file = /var/run/mysqld/mysqld.pid | ||
socket = /var/run/mysqld/mysqld.sock | ||
port = 3306 | ||
basedir = /usr | ||
datadir = /var/lib/mysql | ||
tmpdir = /tmp | ||
disable_log_bin | ||
lc_messages_dir = /usr/share/mysql/ | ||
bind-address = 127.0.0.1 | ||
skip-external-locking | ||
default_authentication_plugin=mysql_native_password | ||
|
||
# * Fine Tuning | ||
key_buffer_size = 16M | ||
max_allowed_packet = 256M | ||
thread_stack = 192K | ||
thread_cache_size = 8 | ||
myisam-recover-options = BACKUP | ||
max_connections = 500 | ||
table_open_cache = 64 | ||
sort_buffer_size = 256K | ||
|
||
# ** Query Cache Configuration, removed in MySQL >= 8.0 | ||
|
||
# ** Logging and Replication | ||
log_error = /var/log/mysql/error.log | ||
log_error_verbosity = 1 | ||
#general_log_file = /var/log/mysql/mysql.log | ||
#general_log = 1 | ||
# | ||
#log_slow_queries = /var/log/mysql/mysql-slow.log | ||
#long_query_time = 2 | ||
#log-queries-not-using-indexes | ||
# | ||
# The following can be used as easy to replay backup logs or for replication. | ||
#server-id = 1 | ||
#log_bin = /var/log/mysql/mysql-bin.log | ||
expire_logs_days = 10 | ||
max_binlog_size = 100M | ||
#binlog_do_db = include_database_name | ||
#binlog_ignore_db = include_database_name | ||
|
||
# ** InnoDB | ||
# InnoDB is enabled by default with a 10MB datafile in /var/lib/mysql/. | ||
# Read the manual for more InnoDB related options. There are many! | ||
innodb_flush_log_at_trx_commit = 1 | ||
innodb_buffer_pool_size = 256M | ||
innodb_lock_wait_timeout = 50 | ||
innodb_log_buffer_size = 1M | ||
innodb_log_file_size = 64M | ||
innodb_file_per_table = 1 | ||
|
||
|
||
# ** Security Features | ||
# Read the manual, too, if you want chroot! | ||
# chroot = /var/lib/mysql/ | ||
|
||
character_set_server = utf8mb4 | ||
collation_server = utf8mb4_0900_ai_ci | ||
character-set-client-handshake = FALSE | ||
|
||
[mysqldump] | ||
quick | ||
quote-names | ||
max_allowed_packet = 128M | ||
|
||
[mysql] | ||
#no-auto-rehash # faster start of mysql but no tab completition | ||
|
||
[isamchk] | ||
key_buffer = 16M | ||
|
||
# | ||
# * IMPORTANT: Additional settings that can override those from this file! | ||
# The files must end with '.cnf', otherwise they'll be ignored. | ||
# | ||
!includedir /etc/mysql/conf.d/ |