1. Create a delta file to be used to remove the required database configuration.
$ mergeprop -type database -action listall <db_resrouce_name> -recurse > <name_for_result_file>
If the conmgr.properties file is not in the default DLC\properties folder location, the -target argument needs to be used and point to the directory containing the conmgr.properties file to be modified.:
$ mergeprop -type database -action listall <db_resrouce_name> -recurse -target <path>\properties\conmgr.properties > <name_for_result_file>
The resource name <db_resrouce_name> must match the dbname as it is in the conmgr.properties with regards to [database.<dbname>].
Examples:
mergeprop -type database -action listall sports2000 -recurse > spdelta
mergeprop -type database -action listall sports2000 -recurse -target C:\db1\properties\conmgr.properties > spdelta
2. Delete the Database Resource
$ mergeprop -type database -action delete <db-name> -delta <name_for_result_file>
When the conmgr.properties used is not it the default directory:
$ mergeprop -type database -action delete <db-name> -delta <name_for_result_file> -target <path>\properties\conmgr.properties
Examples:
mergeprop -type database -action delete sports2000 -delta spdelta
mergeprop -type database -action delete sports2000 -delta spdelta -target C:\db1\properties\conmgr.properties
Example of conmgr.properties entry for example above.
[configuration.sports2000.defaultconfiguration]
afterimageprocess=false
asynchronouspagewriters=1
beforeimageprocess=true
database=sports2000
displayname=defaultConfiguration
monitored=true
otherargs=
servergroups=sports2000.defaultconfiguration.defaultservergroup
watchdogprocess=true
[database.sports2000]
autostart=false
configurations=sports2000.defaultconfiguration
databasename=C:\OpenEdge\WRK\sports2000
defaultconfiguration=sports2000.defaultconfiguration
displayname=sports2000
monitorlicensed=true
[servergroup.sports2000.defaultconfiguration.defaultservergroup]
configuration=sports2000.defaultconfiguration
displayname=defaultServerGroup
port=6666
type=both