Normally, there is a file called “opentext.ini” in the config directory of your Content Server instance. This file contains a lot of configuration values.
A content server reads this file at boot time.
But, if you use a cluster of Content Servers, its a problem changing all “opentext.ini” files for a configuration value. And rebooting them will use a lot of down-time.
In a cluster, there is another option to store configuation values, the “KIni Table” in the database. This values are read immediately from the content server(s) and do not require a reboot.
From OScript, use the database storage like this
Retrieve a value (from the “MySoftware” Section)- Default Value 50, if this is not existing)
result = CAPI.IniGet(dbConnect.fLogin, ‘MySoftware’,‘StartJob’, 50)
Set a value ( sets StartJob value of MySoftware to 50)
result = CAPI.IniPut(dbConnect.fLogin, ‘NySoftware’,‘StartJob’, 50)
List all configuration values registered under MySoftware
result = CAPI.IniList(dbConnect.fLogin, ‘MySoftware’)
Delete a configuration value (deletes StartJob value from MySoftware)
result = CAPI.IniDelete(dbConnect.fLogin, ‘MySoftware’, ‘StartJob’)
The dbConnect.fLogin is the CAPICONNECT(the login object) to the database.