[ https://issues.apache.org/jira/browse/GEODE-7123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kenneth Howe updated GEODE-7123: -------------------------------- Description: This enhancement provides support for configuring PDX persistence using non-DEFAULT disk-store. The recommendation is to use a user-specified disk-store for PDX persistence as per this excerpt from the Geode docs: {code: title=https://geode.apache.org/docs/guide/19/developing/data_serialization/persist_pdx_metadata_to_disk.html} If you are using PDX serialized objects as region entry keys and you are using persistent regions, then you must configure your PDX disk store to be a different one than the disk store used by the persistent regions. {code} PDX persistence can be configured using {{gfsh}}: {code} configure pdx --read-serialized=true --disk-store=<disk-store-name> {code} The previous should only be run on an otherwise non-configured cluster so that the PDX configuration will be adopted be servers as they join the cluster. However, to use a non default diskstore, the cluster currently must have at least one server member and the disk-store must already be created. *Proposed Enhancement* Add an option to the {{gfsh}} {{create disk-store}} command to only add the cluster-configuration record for the disk-store. Server members will then create the disk-store when they join. {code} gfsh>help create disk-store NAME create disk-store . . . stage-configuration Only create the cluster configuration element for the disk-store. The disk-store will be created on any future servers to join the cluster. Required: false Default (if the parameter is specified without value): true Default (if the parameter is not specified): false gfsh>create disk-store --name=PDXSTORE --dir=pdxstore --stage-configuration {code} was: This enhancement provides support for configuring PDX persistence using non-DEFAULT disk-store. The recommendation is to use a user-specified disk-store for PDX persistence as per this excerpt from the Geode docs: {code: title=https://geode.apache.org/docs/guide/19/developing/data_serialization/persist_pdx_metadata_to_disk.html} If you are using PDX serialized objects as region entry keys and you are using persistent regions, then you must configure your PDX disk store to be a different one than the disk store used by the persistent regions. {code} PDX persistence can be configured using {{gfsh}}: {code} configure pdx --read-serialized=true --disk-store=<disk-store-name> {code} The previous should only be run on an otherwise non-configured cluster so that the PDX configuration will be adopted be servers as they join the cluster. However, to use a non default diskstore, the cluster currently must have at least one server member and the disk-store must already be created. *Proposed Enhancement* Add an option to the {{gfsh}} {{create disk-store}} command to only add the cluster-configuration record for the disk-store. Server members will then create the disk-store when they join. {code} gfsh>help create disk-store NAME create disk-store . . . stage-configuration Only create the cluster configuration element for the disk-store. The disk-store will be created on any future servers to join the cluster. Required: false Default (if the parameter is specified without value): true Default (if the parameter is not specified): false gfsh>create disk-store --name=PDXSTORE --dir=pdxstore --stage-configuration {code} I will push a proof-of-concept branch to my geode fork > Allow the creation of a cluster-configuration disk-store record without > creating store directories and files > ------------------------------------------------------------------------------------------------------------ > > Key: GEODE-7123 > URL: https://issues.apache.org/jira/browse/GEODE-7123 > Project: Geode > Issue Type: Improvement > Components: management > Reporter: Kenneth Howe > Priority: Major > > This enhancement provides support for configuring PDX persistence using > non-DEFAULT disk-store. > The recommendation is to use a user-specified disk-store for PDX persistence > as per this excerpt from the Geode docs: > {code: > title=https://geode.apache.org/docs/guide/19/developing/data_serialization/persist_pdx_metadata_to_disk.html} > If you are using PDX serialized objects as region entry keys and you are > using persistent regions, then you must configure your PDX disk store to be a > different one than the disk store used by the persistent regions. > {code} > PDX persistence can be configured using {{gfsh}}: > {code} > configure pdx --read-serialized=true --disk-store=<disk-store-name> > {code} > The previous should only be run on an otherwise non-configured cluster so > that the PDX configuration will be adopted be servers as they join the > cluster. However, to use a non default diskstore, the cluster currently must > have at least one server member and the disk-store must already be created. > *Proposed Enhancement* > Add an option to the {{gfsh}} {{create disk-store}} command to only add the > cluster-configuration record for the disk-store. Server members will then > create the disk-store when they join. > {code} > gfsh>help create disk-store > NAME > create disk-store > . . . > stage-configuration > Only create the cluster configuration element for the disk-store. The > disk-store will be created on any future servers to join the cluster. > Required: false > Default (if the parameter is specified without value): true > Default (if the parameter is not specified): false > gfsh>create disk-store --name=PDXSTORE --dir=pdxstore --stage-configuration > {code} -- This message was sent by Atlassian Jira (v8.3.2#803003)