From 20a303614492fa4bdbf7c55b24e4aa33b07e7719 Mon Sep 17 00:00:00 2001 From: zotov Date: Thu, 3 Nov 2022 11:08:21 +0300 Subject: [PATCH] Added prototypes for firebird.conf files of each testing major version + servermode. --- configs/fb25_all.conf | 32 ++++++++++++++++++ configs/fb25_cs.conf | 11 +++++++ configs/fb25_sc.conf | 12 +++++++ configs/fb25_ss.conf | 13 ++++++++ configs/fb30_all.conf | 41 +++++++++++++++++++++++ configs/fb30_cs.conf | 12 +++++++ configs/fb30_sc.conf | 14 ++++++++ configs/fb30_ss.conf | 20 ++++++++++++ configs/fb40_all.conf | 75 +++++++++++++++++++++++++++++++++++++++++++ configs/fb40_cs.conf | 12 +++++++ configs/fb40_sc.conf | 14 ++++++++ configs/fb40_ss.conf | 19 +++++++++++ configs/fb50_all.conf | 75 +++++++++++++++++++++++++++++++++++++++++++ configs/fb50_cs.conf | 11 +++++++ configs/fb50_sc.conf | 14 ++++++++ configs/fb50_ss.conf | 19 +++++++++++ configs/hq30_all.conf | 66 +++++++++++++++++++++++++++++++++++++ configs/hq30_cs.conf | 12 +++++++ configs/hq30_sc.conf | 14 ++++++++ configs/hq30_ss.conf | 14 ++++++++ 20 files changed, 500 insertions(+) create mode 100644 configs/fb25_all.conf create mode 100644 configs/fb25_cs.conf create mode 100644 configs/fb25_sc.conf create mode 100644 configs/fb25_ss.conf create mode 100644 configs/fb30_all.conf create mode 100644 configs/fb30_cs.conf create mode 100644 configs/fb30_sc.conf create mode 100644 configs/fb30_ss.conf create mode 100644 configs/fb40_all.conf create mode 100644 configs/fb40_cs.conf create mode 100644 configs/fb40_sc.conf create mode 100644 configs/fb40_ss.conf create mode 100644 configs/fb50_all.conf create mode 100644 configs/fb50_cs.conf create mode 100644 configs/fb50_sc.conf create mode 100644 configs/fb50_ss.conf create mode 100644 configs/hq30_all.conf create mode 100644 configs/hq30_cs.conf create mode 100644 configs/hq30_sc.conf create mode 100644 configs/hq30_ss.conf diff --git a/configs/fb25_all.conf b/configs/fb25_all.conf new file mode 100644 index 00000000..862c958f --- /dev/null +++ b/configs/fb25_all.conf @@ -0,0 +1,32 @@ +# +# Common parameters for all 2.5.x architectures. +# +################################################ + +# Parameter BugCheckAbort must be 1 to allow dumps be saved when FB crashes. +# Crashes will be intercepted by WER if registry has following key and parameters: +# HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps\fb_inet_server.exe\ +# Parameter 'DumpType', type: DWORD, value: 2 +# Parameter 'DumpFolder', type: EXPAND_SZ, value: directory for storing dumps +# Parameter 'DumpCount', type: DWORD, value: at least 3. +# +# Also, following must present in the registry to disable any pop-up window when program crashes: +# key: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Windows Error Reporting\ +# parameter: 'DontShowUI', type: DWORD, value: 2 +# +BugCheckAbort = 1 + +FileSystemCacheThreshold = 10000000 + +# See parameter 'PORT_FOR_LISTENING' in QA_rundaily.conf +# +RemoteServicePort = !PORT_FOR_LISTENING! + +# See parameter 'TEMP_DIR' in QA_rundaily.conf +# +TempDirectories=!TEMP_DIR! + +ExternalFileAccess = Full + +MaxUnflushedWrites = -1 +MaxUnflushedWriteTime = -1 diff --git a/configs/fb25_cs.conf b/configs/fb25_cs.conf new file mode 100644 index 00000000..428c76a9 --- /dev/null +++ b/configs/fb25_cs.conf @@ -0,0 +1,11 @@ +# Parameters specific to 2.5.x Classsic: +######################################## + +DefaultDBCachePages = 2048 +TempCacheLimit = 67108864 + +# Parameters for tests which must use XNET/WNET +# connection protocols (rather than INET one): +IpcName = xnet_fb25x_cs +RemotePipeName = wnet_fb25x_cs + diff --git a/configs/fb25_sc.conf b/configs/fb25_sc.conf new file mode 100644 index 00000000..15589a69 --- /dev/null +++ b/configs/fb25_sc.conf @@ -0,0 +1,12 @@ +# Parameters specific to 2.5.x SuperClassic +########################################### +DefaultDBCachePages = 2048 + +# Common for all connections in SC: +# +TempCacheLimit = 536870912 + +# Parameters for tests which must use XNET/WNET +# connection protocols (rather than INET one): +IpcName = xnet_fb25x_sc +RemotePipeName = wnet_fb25x_sc diff --git a/configs/fb25_ss.conf b/configs/fb25_ss.conf new file mode 100644 index 00000000..c1710e74 --- /dev/null +++ b/configs/fb25_ss.conf @@ -0,0 +1,13 @@ +# Parameters specific to 2.5.x SuperServer +########################################## +DefaultDBCachePages = 50000 + +# Common for all connections in SS: +# +TempCacheLimit = 536870912 + +# Parameters for tests which must use XNET/WNET +# connection protocols (rather than INET one): +IpcName = xnet_fb25x_ss +RemotePipeName = wnet_fb25x_ss + diff --git a/configs/fb30_all.conf b/configs/fb30_all.conf new file mode 100644 index 00000000..f9bf6a35 --- /dev/null +++ b/configs/fb30_all.conf @@ -0,0 +1,41 @@ +# Common parameters for all 3.x ServerMode values. +# +################################################## + +# Parameter BugCheckAbort must be 1 to allow dumps be saved when FB crashes. +# Crashes will be intercepted by WER if registry has following key and parameters: +# HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps\firebird.exe\ +# Parameter 'DumpType', type: DWORD, value: 2 +# Parameter 'DumpFolder', type: EXPAND_SZ, value: directory for storing dumps +# Parameter 'DumpCount', type: DWORD, value: at least 3. +# +# Also, following must present in the registry to disable any pop-up window when program crashes: +# key: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Windows Error Reporting\ +# parameter: 'DontShowUI', type: DWORD, value: 2 +# +BugCheckAbort = 1 + +# See parameter 'PORT_FOR_LISTENING' in QA_rundaily.conf: +# +RemoteServicePort = !PORT_FOR_LISTENING! + +FileSystemCacheThreshold = 99999K + +WireCrypt = Enabled +KeyHolderPlugin = fbSampleKeyHolder + +MaxUnflushedWrites = -1 +MaxUnflushedWriteTime = -1 + +ExternalFileAccess = Full + +# See parameter 'TEMP_DIR' in QA_rundaily.conf: +# +TempDirectories=!TEMP_DIR! + +AuthServer = Srp, Win_Sspi, Legacy_Auth +UserManager = Srp, Legacy_UserManager + + + + diff --git a/configs/fb30_cs.conf b/configs/fb30_cs.conf new file mode 100644 index 00000000..3e8325c2 --- /dev/null +++ b/configs/fb30_cs.conf @@ -0,0 +1,12 @@ +# Parameters specific to 3.x Classic +#################################### + +ServerMode = Classic +DefaultDBCachePages = 2048 +TempCacheLimit = 128K + +# Parameters for tests which must use XNET/WNET +# connection protocols (rather than INET one): +IpcName = xnet_fb3x_cs +RemotePipeName = wnet_fb3x_cs + diff --git a/configs/fb30_sc.conf b/configs/fb30_sc.conf new file mode 100644 index 00000000..c2820837 --- /dev/null +++ b/configs/fb30_sc.conf @@ -0,0 +1,14 @@ +# Parameters specific to 3.x SuperClassic +######################################### + +ServerMode = SuperClassic +DefaultDBCachePages = 2048 + +# Common for all connections in SC: +# +TempCacheLimit = 512K + +# Parameters for tests which must use XNET/WNET +# connection protocols (rather than INET one): +IpcName = xnet_fb3x_sc +RemotePipeName = wnet_fb3x_sc diff --git a/configs/fb30_ss.conf b/configs/fb30_ss.conf new file mode 100644 index 00000000..15a72de7 --- /dev/null +++ b/configs/fb30_ss.conf @@ -0,0 +1,20 @@ +# Parameters specific to 3.x SuperServer +######################################## + +ServerMode = Super + +# Common for all connections in SS: +# +# Increased 11.04.2021 after discuss with dimitr +# See e-mail pz@ibase.ru, 11-apr-2021. +DefaultDBCachePages = 100K + +# Increased 11.04.2021 after discuss with dimitr +# See e-mail pz@ibase.ru, 11-apr-2021. +TempCacheLimit = 1G + +# Parameters for tests which must use XNET/WNET +# connection protocols (rather than INET one): +IpcName = xnet_fb3x_ss +RemotePipeName = wnet_fb3x_ss + diff --git a/configs/fb40_all.conf b/configs/fb40_all.conf new file mode 100644 index 00000000..11199883 --- /dev/null +++ b/configs/fb40_all.conf @@ -0,0 +1,75 @@ +# Common parameters for all 4.x ServerMode values. +# +################################################## + +# Parameter BugCheckAbort must be 1 to allow dumps be saved when FB crashes. +# Crashes will be intercepted by WER if registry has following key and parameters: +# HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps\firebird.exe\ +# Parameter 'DumpType', type: DWORD, value: 2 +# Parameter 'DumpFolder', type: EXPAND_SZ, value: directory for storing dumps +# Parameter 'DumpCount', type: DWORD, value: at least 3. +# +# Also, following must present in the registry to disable any pop-up window when program crashes: +# key: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Windows Error Reporting\ +# parameter: 'DontShowUI', type: DWORD, value: 2 +# +BugCheckAbort = 1 + +# See parameter 'PORT_FOR_LISTENING' in QA_rundaily.conf: +# +RemoteServicePort = !PORT_FOR_LISTENING! + +UseFileSystemCache = true + +InlineSortThreshold = 1000 + +# Valid values: [0...1000]. If set to zero, pool is disabled. Default: 0. +# Actual value was taken from %~dpn0.conf: +# +ExtConnPoolSize = 10 + +# Set the time before destroyng inactive external connection, seconds. Valid values: [1...86400]. Default: 7200 seconds. +# Actual value was taken from %~dpn0.conf: +# +ExtConnPoolLifeTime = 10 + +# 05-sep-2019, FB 4.x+: intentionally change ReadConsistency with NON-DEFAULT value in order to have ability +# to use BOTH isolation levels for transactions that are to be started in READ COMMITTED mode: +# 1. READ COMMITTED READ CONSISTENCY +# 2. READ COMMITTED [NO] RECORD_VERSION +# See test for CORE-5953, "Statement level read consistency in read-committed transactions": +# we test there result for BOTH modes of RC isolation level. +# +ReadConsistency = 0 + + +# Added 13.04.2019: start implementing tests for verifying DB encryption tasks +# Encryption demo plugin was supplied by IBSurgeon, see !ENCRYPTION_PLUGIN_FOLDER! +# +WireCrypt = Enabled +KeyHolderPlugin = fbSampleKeyHolder + +MaxUnflushedWrites = -1 +MaxUnflushedWriteTime = -1 + +ExternalFileAccess = Full + +# See parameter 'TEMP_DIR' in QA_rundaily.conf: +# +TempDirectories=!TEMP_DIR! + +AuthServer = Srp, Win_Sspi, Legacy_Auth +UserManager = Srp, Legacy_UserManager + + +MaxIdentifierByteLength = 252 +MaxIdentifierCharLength = 63 +WireCryptPlugin = ChaCha, Arc4 + +StatementTimeout = 7200 + +ConnectionIdleTimeout = 0 +ClearGTTAtRetaining = 0 +ClientBatchBuffer = 131072 +SnapshotsMemSize = 64K +TipCacheBlockSize = 4M diff --git a/configs/fb40_cs.conf b/configs/fb40_cs.conf new file mode 100644 index 00000000..b694bb63 --- /dev/null +++ b/configs/fb40_cs.conf @@ -0,0 +1,12 @@ +# Parameters specific to 4.x Classic +#################################### + +ServerMode = Classic +DefaultDBCachePages = 2048 +TempCacheLimit = 128K + +# Parameters for tests which must use XNET/WNET +# connection protocols (rather than INET one): +IpcName = xnet_fb4x_cs +RemotePipeName = wnet_fb4x_cs + diff --git a/configs/fb40_sc.conf b/configs/fb40_sc.conf new file mode 100644 index 00000000..3cb373f1 --- /dev/null +++ b/configs/fb40_sc.conf @@ -0,0 +1,14 @@ +# Parameters specific to 4.x SuperClassic +######################################### + +ServerMode = SuperClassic +DefaultDBCachePages = 2048 + +# Common for all connections in SC: +# +TempCacheLimit = 512K + +# Parameters for tests which must use XNET/WNET +# connection protocols (rather than INET one): +IpcName = xnet_fb4x_sc +RemotePipeName = wnet_fb4x_sc diff --git a/configs/fb40_ss.conf b/configs/fb40_ss.conf new file mode 100644 index 00000000..880d1cf4 --- /dev/null +++ b/configs/fb40_ss.conf @@ -0,0 +1,19 @@ +# Parameters specific to 4.x SuperServer +######################################## + +ServerMode = Super + +# Common for all connections in SS: +# +# Increased 11.04.2021 after discuss with dimitr +# See e-mail pz@ibase.ru, 11-apr-2021. +DefaultDBCachePages = 100K + +# Increased 11.04.2021 after discuss with dimitr +# See e-mail pz@ibase.ru, 11-apr-2021. +TempCacheLimit = 1G + +# Parameters for tests which must use XNET/WNET +# connection protocols (rather than INET one): +IpcName = xnet_fb4x_ss +RemotePipeName = wnet_fb4x_ss diff --git a/configs/fb50_all.conf b/configs/fb50_all.conf new file mode 100644 index 00000000..0c2fea02 --- /dev/null +++ b/configs/fb50_all.conf @@ -0,0 +1,75 @@ +# Common parameters for all 5.x ServerMode values. +# +################################################## + +# Parameter BugCheckAbort must be 1 to allow dumps be saved when FB crashes. +# Crashes will be intercepted by WER if registry has following key and parameters: +# HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps\firebird.exe\ +# Parameter 'DumpType', type: DWORD, value: 2 +# Parameter 'DumpFolder', type: EXPAND_SZ, value: directory for storing dumps +# Parameter 'DumpCount', type: DWORD, value: at least 3. +# +# Also, following must present in the registry to disable any pop-up window when program crashes: +# key: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Windows Error Reporting\ +# parameter: 'DontShowUI', type: DWORD, value: 2 +# +BugCheckAbort = 1 + +# See parameter 'PORT_FOR_LISTENING' in QA_rundaily.conf: +# +RemoteServicePort = !PORT_FOR_LISTENING! + +UseFileSystemCache = true + +InlineSortThreshold = 1000 + +# Valid values: [0...1000]. If set to zero, pool is disabled. Default: 0. +# Actual value was taken from %~dpn0.conf: +# +ExtConnPoolSize = 10 + +# Set the time before destroyng inactive external connection, seconds. Valid values: [1...86400]. Default: 7200 seconds. +# Actual value was taken from %~dpn0.conf: +# +ExtConnPoolLifeTime = 10 + +# 05-sep-2019, FB 4.x+: intentionally change ReadConsistency with NON-DEFAULT value in order to have ability +# to use BOTH isolation levels for transactions that are to be started in READ COMMITTED mode: +# 1. READ COMMITTED READ CONSISTENCY +# 2. READ COMMITTED [NO] RECORD_VERSION +# See test for CORE-5953, "Statement level read consistency in read-committed transactions": +# we test there result for BOTH modes of RC isolation level. +# +ReadConsistency = 0 + + +# Added 13.04.2019: start implementing tests for verifying DB encryption tasks +# Encryption demo plugin was supplied by IBSurgeon, see !ENCRYPTION_PLUGIN_FOLDER! +# +WireCrypt = Enabled +KeyHolderPlugin = fbSampleKeyHolder + +MaxUnflushedWrites = -1 +MaxUnflushedWriteTime = -1 + +ExternalFileAccess = Full + +# See parameter 'TEMP_DIR' in QA_rundaily.conf: +# +TempDirectories=!TEMP_DIR! + +AuthServer = Srp, Win_Sspi, Legacy_Auth +UserManager = Srp, Legacy_UserManager + + +MaxIdentifierByteLength = 252 +MaxIdentifierCharLength = 63 +WireCryptPlugin = ChaCha, Arc4 + +StatementTimeout = 7200 + +ConnectionIdleTimeout = 0 +ClearGTTAtRetaining = 0 +ClientBatchBuffer = 131072 +SnapshotsMemSize = 64K +TipCacheBlockSize = 4M diff --git a/configs/fb50_cs.conf b/configs/fb50_cs.conf new file mode 100644 index 00000000..f155b91a --- /dev/null +++ b/configs/fb50_cs.conf @@ -0,0 +1,11 @@ +# Parameters specific to 5.x Classic +#################################### + +ServerMode = Classic +DefaultDBCachePages = 2048 +TempCacheLimit = 128K + +# Parameters for tests which must use XNET/WNET +# connection protocols (rather than INET one): +IpcName = xnet_fb5x_cs + diff --git a/configs/fb50_sc.conf b/configs/fb50_sc.conf new file mode 100644 index 00000000..3c166a91 --- /dev/null +++ b/configs/fb50_sc.conf @@ -0,0 +1,14 @@ +# Parameters specific to 5.x SuperClassic +######################################### + +ServerMode = SuperClassic +DefaultDBCachePages = 2048 + +# Common for all connections in SC: +# +TempCacheLimit = 512K + +# Parameters for tests which must use XNET/WNET +# connection protocols (rather than INET one): +IpcName = xnet_fb4x_sc + diff --git a/configs/fb50_ss.conf b/configs/fb50_ss.conf new file mode 100644 index 00000000..374beaf1 --- /dev/null +++ b/configs/fb50_ss.conf @@ -0,0 +1,19 @@ +# Parameters specific to 5.x SuperServer +######################################## + +ServerMode = Super + +# Common for all connections in SS: +# +# Increased 11.04.2021 after discuss with dimitr +# See e-mail pz@ibase.ru, 11-apr-2021. +DefaultDBCachePages = 100K + +# Increased 11.04.2021 after discuss with dimitr +# See e-mail pz@ibase.ru, 11-apr-2021. +TempCacheLimit = 1G + +# Parameters for tests which must use XNET/WNET +# connection protocols (rather than INET one): +IpcName = xnet_fb5x_ss + diff --git a/configs/hq30_all.conf b/configs/hq30_all.conf new file mode 100644 index 00000000..384dc6a0 --- /dev/null +++ b/configs/hq30_all.conf @@ -0,0 +1,66 @@ +# Common parameters for all HQbird 3.x ServerMode. +# +################################################## + +# Parameter BugCheckAbort must be 1 to allow dumps be saved when FB crashes. +# Crashes will be intercepted by WER if registry has following key and parameters: +# HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps\firebird.exe\ +# Parameter 'DumpType', type: DWORD, value: 2 +# Parameter 'DumpFolder', type: EXPAND_SZ, value: directory for storing dumps +# Parameter 'DumpCount', type: DWORD, value: at least 3. +# +# Also, following must present in the registry to disable any pop-up window when program crashes: +# key: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Windows Error Reporting\ +# parameter: 'DontShowUI', type: DWORD, value: 2 +# +BugCheckAbort = 1 + +# See parameter 'PORT_FOR_LISTENING' in QA_rundaily.conf: +# +RemoteServicePort = !PORT_FOR_LISTENING! + +FileSystemCacheThreshold = 99999K + +# Added 13.04.2019: start implementing tests for verifying DB encryption tasks +# Encryption demo plugin was supplied by IBSurgeon, see !ENCRYPTION_PLUGIN_FOLDER! +# +WireCrypt = Enabled +KeyHolderPlugin = KeyHolder + +MaxUnflushedWrites = -1 +MaxUnflushedWriteTime = -1 + +ExternalFileAccess = Full + +# See parameter 'TEMP_DIR' in QA_rundaily.conf: +# +TempDirectories=!TEMP_DIR! + +# 16.01.2020 temply restored previous settings: +# Reason: strong performance degradation. +# Sent reports to dimitr et al // mailbox: pz@ibase.ru +# AuthServer = Legacy_Auth, Srp, Srp256, Win_Sspi +# UserManager = Legacy_UserManager, Srp +# AuthClient = Legacy_Auth, Srp, Srp256, Win_Sspi + +# 05-jan-2020. Its preferred AuthClient to start with 'Srp' rather than 'LegacyAuth' otherwise +# strange delay required at least for 10-11 seconds, see comments in core_6208.fbt +# Parameter AuthClient must start with 'Srp', NOT 'Srp256' - see also core_6208.fbt +# 03-feb-2020 RESTORED because CORE-6237 was fixed. + +AuthClient = Srp, Srp256, Win_Sspi, Legacy_Auth +AuthServer = Srp, Srp256, Win_Sspi, Legacy_Auth +UserManager = Srp, Legacy_UserManager + +SortDataStorageThreshold = -1 +TempSpaceLogThreshold = 0 + +ExtConnPoolLifeTime = 10 +ExtConnPoolSize = 10 + +HQbirdVersionString = 1 +DSQLCacheSize = 0 +LegacyDatabaseFileId = true +ParallelWorkers = 1 +MaxParallelWorkers = 1 +ClearGTTAtRetaining = 1 diff --git a/configs/hq30_cs.conf b/configs/hq30_cs.conf new file mode 100644 index 00000000..693ee244 --- /dev/null +++ b/configs/hq30_cs.conf @@ -0,0 +1,12 @@ +# Parameters specific to HQbird 3.x Classic +########################################### + +ServerMode = Classic +DefaultDBCachePages = 2048 +TempCacheLimit = 128K + +# Parameters for tests which must use XNET/WNET +# connection protocols (rather than INET one): +IpcName = xnet_hq3x_cs +RemotePipeName = wnet_hq3x_cs + diff --git a/configs/hq30_sc.conf b/configs/hq30_sc.conf new file mode 100644 index 00000000..f20f6e8e --- /dev/null +++ b/configs/hq30_sc.conf @@ -0,0 +1,14 @@ +# Parameters specific to HQbird 3.x SuperClassic: +################################################# + +ServerMode = SuperClassic +DefaultDBCachePages = 2048 + +# Common for all connections in SC: +# +TempCacheLimit = 512K + +# Parameters for tests which must use XNET/WNET +# connection protocols (rather than INET one): +IpcName = xnet_hq3x_sc +RemotePipeName = wnet_hq3x_sc diff --git a/configs/hq30_ss.conf b/configs/hq30_ss.conf new file mode 100644 index 00000000..90d4986b --- /dev/null +++ b/configs/hq30_ss.conf @@ -0,0 +1,14 @@ +# Parameters specific to HQbird 3.x SuperServer: +################################################ + +ServerMode = Super +DefaultDBCachePages = 50000 + +# Common for all connections in SS: +# +TempCacheLimit = 512K + +# Parameters for tests which must use XNET/WNET +# connection protocols (rather than INET one): +IpcName = xnet_hq3x_ss +RemotePipeName = wnet_hq3x_ss