Hi Mark, In the Apache Geode Docs at [link 1 <http://geode.apache.org/docs/guide/11/developing/eviction/configuring_data_eviction.html>] It is mentioned that "Note: You can also configure Regions using the gfsh command-line interface, however, you cannot configure eviction-attributes using gfsh."
I believe that you right that these eviction attributes can only be changed exclusively using xml. Regards Nabarun Nag [link 1] - http://geode.apache.org/docs/guide/11/developing/eviction/configuring_data_eviction.html On Tue, Apr 18, 2017 at 10:00 AM Mark Secrist <[email protected]> wrote: > I'm trying to sort out the current support in GemFire/Geode for > configuring eviction and overflow from the gfsh command and using Cluster > Configuration. As background, my objective is to use cluster config to > accomplish the following: > > <cache> > <disk-store name="Server1Persistence"> > <disk-dirs> > <disk-dir>persist</disk-dir> > </disk-dirs> > </disk-store> > <region name="BookMaster" > > <region-attributes refid="REPLICATE_PERSISTENT" > disk-store-name="Server1Persistence"> > <eviction-attributes> > <lru-entry-count maximum="2" action="overflow-to-disk"/> > </eviction-attributes> > </region-attributes> > </region> > </cache> > > While I can create disk stores and set up some of the properties, there > don't appear to be any options in 'create region' or 'alter region' for > defining eviction as shown above. I also notice looking at the > documentation that these capabilities are performed exclusively with xml > configuration. Am I missing something? > > Thanks, > > Mark > > > -- > > *Mark Secrist | Sr Manager, **Global Education Delivery* > > [email protected] > > 970.214.4567 Mobile > > *pivotal.io <http://www.pivotal.io/>* > > Follow Us: Twitter <http://www.twitter.com/pivotal> | LinkedIn > <http://www.linkedin.com/company/pivotalsoftware> | Facebook > <http://www.facebook.com/pivotalsoftware> | YouTube > <http://www.youtube.com/gopivotal> | Google+ > <https://plus.google.com/105320112436428794490> >
