Where to look for the STCMS properties?
By narayanaa on Nov 29, 2008
It would be helpful for the deploying fraternity if they know where the STCMS related properties and the data files are stored. Often it would be helpful in clearing the logs and also for debugging purposes.
STCMS by default will be installed in the Java CAPS installation in the directory glassfish/domains/domain1/addons/stcms/. This defalut installation folder will have the following subdirectories:
- stcms1 (STCMS instance)
- /stcms1/config (Where the configuration data is stored)
- /stcms1/data (where data files are stored)
- /stcms1/data/backup (where the backup data is stored)
The config folder in the above directory structure would contain the configuration files.
The stcms.default.properties file contains the details of the stcms installtion. This contains the property where the stcms db files are store. For example in the above case : STCMS.DB.Path=D:/EAITools/JCAPS6/appserver/domains/domain1/addons/stcms/stcms1/data. If we can have this on SAN drive we can probably achieve the Active/Passive clustering in case of STCMS too. This configuration need to be tested though.
What I mean by Active/Passive clustering here is: The standby instance of the STCms server must be started in a fail-over situation. The STCms service should be available but the client will need to reconnect.
It also contains few other propterties which could be of use for stcms tuning like segment size cache size etc.. The default values are STCMS.DB.BlockSize=0 and STCMS.DB.CacheSize=1024. We can modify these properties to suite to our need.
The data by default is stored as .dbs files (STCMS.DB.Suffix=dbs) and the same can be changed by changing the extension in the properties file.