Change Files configuration property values
- Check out the Files configuration files:
./wsadmin.sh -lang jython
execfile("filesAdmin.py")
FilesConfigService.checkOutConfig("/tmp", "cell_name")To determine cellname: print AdminControl.getCell()
- View a list of current settings and values:
FilesConfigService.showConfig()
Sample output:
Files configuration properties:
security.logout.href = /files/ibm_security_logout
activeContentFilter.enabled = true
cache.user.timeout = 43200000
cache.http.publicContentMaxAgeInSecs = 604800
db.dialect = DB2Change a Files configuration setting using either...
- wsadmin.sh:
FilesConfigService.updateConfig("property", "value")
For example:
FilesConfigService.updateConfig("file.versioning.enabled", "false")
- Edit property in configuration file directly, from the temporary directory to which it was checked out.
- To display the list of properties and their updated values.
FilesConfigService.showConfig()
- Apply Files property changes
FilesConfigService.checkInConfig()
exitCheck in during the same wsadmin session changes occurred.
- Synchronize nodes
cd $PROFILE_HOME/bin
./syncNode.sh dmgr_host SOAP_port- Restart Files server.
See
Parent topic:
Administer Files