Mssql.conf
/var/opt/mssql/mssql.conf
! dit is een pseudo tekst bestand , het de output een bash script die python script aanroept
je kan dus niet met een editor aanpassen
! diepgaande uitleg :
https://www.sqlshack.com/configure-sql-server-2017-linux-mssql-conf-available-tools/
sudo /opt/mssql/bin/mssql-conf validate
sudo /opt/mssql/bin/mssql-conf set filelocation.masterdatafile
sudo /opt/mssql/bin/mssql-conf get filelocation.masterdatafile
sudo /opt/mssql/bin/mssql-conf unset filelocation.masterdatafile
cat /opt/mssql/bin/mssql-conf
– indien er iets fout loopt , toont het de inhoud van het bash script
```
#!/bin/bash
# Don't generate .pyc files
export PYTHONDONTWRITEBYTECODE=1
CMD="exec $(dirname $0)/../lib/mssql-conf/mssql-conf.py $@"
# Handle all permissions checks and file creations internally
# This allows for all error messages to be localized
/bin/bash -c "$CMD"
```
– anders, de pseudo text in een ini file formatering
enabled = false
[EULA]
accepteula = Y
[language]
lcid = 1033
[filelocation]
masterdatafile = /mnt/backup/SQLSYSDB/master.mdf
masterlogfile = /mnt/backup/SQLSYSDB/mastlog.ldf
defaultdatadir = /mnt/backup/SQLDATA
defaultdumpdir = /mnt/backup/SQLLOGGING
sudo /opt/mssql/bin/mssql-conf list
```
Locale en_DK not supported. Using en_US.
control.alternatewritethrough Enable optimized write through flush for O_DSYNC requests
control.hestacksize Host extension stack size in KB
control.stoponguestprocessfault Stops the process if any guest process reports unhandled exception
control.writethrough Use O_DSYNC for file flag write through requests
coredump.captureminiandfull Capture both mini and full core dumps
coredump.coredumptype Core dump type to capture: mini, miniplus, filtered, full
distributedtransaction.allowonlysecurerpccalls Configure secure only rpc calls for distributed transactions
distributedtransaction.fallbacktounsecurerpcifnecessary Configure security only rpc calls for distributed transactions
distributedtransaction.maxlogsize DTC log file size in MB. Default is 64MB
distributedtransaction.memorybuffersize Circular buffer size in which traces are stored. This size is in MB and default is 10MB
distributedtransaction.servertcpport MSDTC rpc server port
distributedtransaction.trace_cm Traces in the connection manager
distributedtransaction.trace_contact Traces the contact pool and contacts
distributedtransaction.trace_gateway Traces Gateway source
distributedtransaction.trace_log Log tracing
distributedtransaction.trace_misc Traces that cannot be categorized into the other categories
distributedtransaction.trace_proxy Traces that are generated in the MSDTC proxy
distributedtransaction.trace_svc Traces service and .exe file startup
distributedtransaction.trace_trace The trace infrastructure itself
distributedtransaction.trace_util Traces utility routines that are called from multiple locations
distributedtransaction.trace_xa XA Transaction Manager (XATM) tracing source
distributedtransaction.tracefilepath Folder in which trace files should be stored
distributedtransaction.turnoffrpcsecurity Enable or disable RPC security for distributed transactions
errorlog.numerrorlogs Number of error log maintained before cycling the log.
extensibility.datadirectories Colon separated directory paths available to sp_execute_external_script
extensibility.outboundnetworkaccess Enable outbound network access for sp_execute_external_script
filelocation.defaultbackupdir Default directory for backup files
filelocation.defaultdatadir Default directory for data files
filelocation.defaultdumpdir Default directory for crash dump files
filelocation.defaultlogdir Default directory for log files
filelocation.errorlogfile Error log file location
filelocation.machinekeyfile Location of machine key file
filelocation.masterdatafile Master database data file location
filelocation.masterlogfile Master database log file location
hadr.hadrenabled Allow SQL Server to use availability groups for high availability and disaster recovery
language.lcid Locale identifier for SQL Server to use (e.g. 1033 for US - English)
memory.disablememorypressure SQL Server disable memory pressure
memory.enablecontainersharedmemory Enable or disable use of shared memory when SQL runs inside a container
memory.memory_optimized Enable or disable SQL Server memory optimized features - persistent memory file enlightenment, memory protection
memory.memorylimitmb SQL Server memory limit (megabytes)
network.disablesssd Disable querying SSSD for AD account information and default to LDAP calls
network.enablekdcfromkrb5conf Enable looking up KDC information from krb5.conf
network.forceencryption Force encryption of incoming client connections
network.forcesecureldap Force using LDAPS to contact domain controller
network.ipaddress IP address for incoming connections
network.kerberoscredupdatefrequency Time in seconds between checks for kerberos credentials that need to be updated
network.kerberoskeytabfile Kerberos keytab file location
network.ldaphostcanon Canonicalize hostnames with LDAP
network.privilegedadaccount Privileged AD user to use for AD authentication
network.rpcport TCP port for Rpc endpoint mapper
network.tcpport TCP port for incoming connections
network.tlscert Path to certificate file for encrypting incoming client connections
network.tlsciphers TLS ciphers allowed for encrypted incoming client connections
network.tlskey Path to private key file for encrypting incoming client connections
network.tlsprotocols TLS protocol versions allowed for encrypted incoming client connections
network.trustedexternaldomains Trusted domains outside the AD forest SQL is joined to
sqlagent.databasemailprofile SQL Agent Database Mail profile name
sqlagent.enabled Enable or disable SQLAgent
sqlagent.errorlogfile SQL Agent log file path
sqlagent.errorlogginglevel SQL Agent logging level bitmask - 1=Errors, 2=Warnings, 4=Info
sqlagent.startupwaitforalldb Set to 1 (default) if SqlAgent should wait for all databases on startup; set to 0 to wait for MSDB only
telemetry.customerfeedback Telemetry status
telemetry.userrequestedlocalauditdirectory Directory for telemetry local audit cache
uncmapping. Maps UNC path to a local path. (e.g. ./mssql-conf set uncmapping //servername/sharename /tmp/folder)