sap hybris cache config

Edit your properties file for Hybris to change your cache for better performance

 


# Size of a region that stores all other, non-typesystem and non-query objects. Default value is 100000.
regioncache.typesystemregion.size=500000
# Size of a region that stores all other, non-typesystem and non-query objects. Default value is 100000.
regioncache.entityregion.size=500000
# Size of a region that stores query results. Default value is 20000.
regioncache.querycacheregion.size=500000
# Change eviction policy used by entity region. Possible vales are FIFO (default), LFU and LRU.
# LRU and LFU can be used for EhCacheRegion only. For other region types this setting is ignored.
regioncache.entityregion.evictionpolicy=LRU
regioncache.typesystemregion.evictionpolicy=LRU
regioncache.querycacheregion.evictionpolicy=LFU
# specifies root cache folder for all cached files
media.default.local.cache.rootCacheFolder=cache
# specifies max size of media cache in MB
media.default.local.cache.maxSize=1024

Export and Import AD Groups

Get Group from AD
Get-QADGroupMember oldMoep\WRF-universal | select ntaccountname > C:\ad\WRF-universal.txt

Remove spaces
get-Content .\WRF-universal.txt | Foreach {$_.TrimEnd()} | Set-Content .\WRF-universal1.txt
Import TXT into AD Groups
Get-Content .\WRF-universal1.txt | Add-QADGroupMember -identity Moep\WRF-universal