Accessing the config.ini File
Log in to the server as the user with the required permissions.
Navigate to the directory where you have downloaded the installation package.
For example,/opt/protegrity/databaseprotector/teradata/data/To view the contents within the directory, run the following command:
/opt/protegrity/databaseprotector/teradata/data # ls -ltrPress ENTER.
The list of available configurable files appears.total 4 -rw-r----- 1 tdatuser tdtrusted 1058 Oct 14 01:27 config.iniTo open the
config.inifile, run the following command:/opt/protegrity/databaseprotector/teradata/data # vim config.iniPress ENTER.
The vim utility starts and the contents of theconfig.inifile appears.############################################################################### # Log Provider Config ############################################################################### [log] # In case that connection to fluent-bit is lost, set how audits/logs are handled # # drop : (default) Protector throws logs away if connection to the fluentbit is lost # error : Protector returns error without protecting/unprotecting # data if connection to the fluentbit is lost mode = drop # Host/IP to fluent-bit where audits/logs will be forwarded from the protector # # Default localhost host = localhost ############################################################################### # Protector Config ############################################################################### [protector] # cadence is used to decide whether deployment is dynamic or immutable. # # '0' is used for immutable deployment. # Non-negative values other than '0' is used as policy sync interval for dynamic deployment. # default cadence value is '60'. cadence = 60For more information about parameters in the
config.inifile, refer to Parameters in the config.ini file.To close the
config.inifile, run the following command:# :qImportant: To reflect any changes made to the
config.inifile, you must restart the Teradata Database.To restart the Teradata Database, run the following command:
# tpareset -f <reason for restart>Press ENTER.
A prompt to continue with restarting the database appears.You are about to restart the database on the system 'localhost' Do you wish to continue (default: n) [y,n]To continue with restarting the database, type y.
The Teradata Database restarts successfully.
Feedback
Was this page helpful?