Thanks Jens and John, I'm able to create the disk-store and PARTITION_OVERFLOW region using your suggestion. So far it's running good now.
On Tue, Jun 19, 2018 at 1:19 PM, Jens Deppe <[email protected]> wrote: > Hi Trung, > > If you wish to create per-member disk stores then, currently, the way to > achieve this is using 'groups'. In this scenario you would assign a unique > group to each server and then create your disk-store using the '--group' > option > > For example, you could start your cluster with: > > gfsh> start server --name=server-1 --group=server-1 ... > gfsh> start server --name=server-2 --group=server-2 ... > > Then, create the disk-stores using the '--group' option: > > gfsh> create disk-store --name=ExampleDiskStore --group=server-1 > --dir=/folder/specific/to/server-1 > gfsh> create disk-store --name=ExampleDiskStore --group=server-2 > --dir=/folder/specific/to/server-2 > > Having said that, I would *highly* (I would add blinking if gmail had > that formatting option :) ) encourage you to have consistent directory > naming so that you avoid specific configuration such as this. > > --Jens > > > > On Tue, Jun 19, 2018 at 10:11 AM, John Blum <[email protected]> wrote: > >> You must first create a DiskStore using... >> >> gfsh> create disk-store --name=ExampleDiskStore >> --dir=/file/system/pathname/to/directory/in/which/to/write/disk/store/files >> --dir=/another/file/system/pathname ... >> >> See here [1] for more details. >> >> Then you can define your Region... >> >> gfsh> create region --name=DiskStoreBasedRegion --type=PARTITION_OVERFLOW >> --disk-store=ExampleDiskStore ... >> >> See here [2] for more details. >> >> >> If you do not explicitly create a "named" DiskStore, then Apache Geode >> will use the (same) "DEFAULT" DiskStore for all PERSISTENT and/or OVERFLOW >> Regions. >> >> >> Hope this helps! >> >> -John >> >> >> [1] http://geode.apache.org/docs/guide/16/tools_modules/gfsh >> /command-pages/create.html#topic_bkn_zty_ck >> [2] http://geode.apache.org/docs/guide/16/tools_modules/gfsh >> /command-pages/create.html#topic_54B0985FEC5241CA9D26B0CE0A5EA863 >> >> >> On Tue, Jun 19, 2018 at 9:48 AM, trung kien <[email protected]> wrote: >> >>> For more context, i am trying to creat a PARTITION_Overflow region that >>> could push old data to disk when memory is high. >>> >>> From document, i have to creat disk-store region and setup my >>> partition_overflow region to overflow data there. >>> >>> Anyone please help? >>> >>> On Tue, Jun 19, 2018 at 11:41 AM trung kien <[email protected]> wrote: >>> >>>> Hi all, >>>> >>>> I’m trying to figure the correct way to setup disk store region in >>>> geode. >>>> >>>> I have setup geode cluster with 1 locator and 3 servers on single >>>> machine using gfsh. >>>> >>>> How can i create a disk-store region with diffirent dir for each server? >>>> -- >>>> Thanks >>>> Kien >>>> >>> -- >>> Thanks >>> Kien >>> >> >> >> >> -- >> -John >> john.blum10101 (skype) >> > > -- Thanks Kien
