You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Barbara Pruijn (JIRA)" <ji...@apache.org> on 2018/05/24 16:29:00 UTC

[jira] [Comment Edited] (GEODE-5204) Add 'get/set cluster-config' gfsh command

    [ https://issues.apache.org/jira/browse/GEODE-5204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16489235#comment-16489235 ] 

Barbara Pruijn edited comment on GEODE-5204 at 5/24/18 4:28 PM:
----------------------------------------------------------------

After more consideration, we have decided to add the set functionality to the existing import cluster-configuration command.

The following options will be added:
{code:java}
import cluster-configuration --xml  --group --action{code}
The options --xml and --group will work combined.
 Default value for --action is apply. This will apply the given configuration to the cluster and will store the configuration in the cluster configuration. If the cluster is running and has configuration and data, this will fail.
 The other value for --action is stage. This will put the configuration in the cluster configuration but will not apply it to the running servers.
 The --action will also work with the --zip option.

 

The get functionality will be added to the existing export cluster-configuration command:
{code:java}
export cluster-configuration --file{code}
 will export the cluster configuration xml in one file and not a zipped directory structure. It will also not include the jar files.


was (Author: bpruijn):
After more consideration, we have decided to add this functionality to the existing import cluster-configuration command.

The following options will be added:
{code:java}
import cluster-configuration --xml  --group --action{code}

The options --xml and --group will work combined.
Default value for --action is apply. This will apply the given configuration to the cluster and will store the configuration in the cluster configuration. If the cluster is running and has configuration and data, this will fail.
The other value for --action is stage. This will put the configuration in the cluster configuration but will not apply it to the running servers.
The --action will also work with the --zip option.

> Add 'get/set cluster-config' gfsh command
> -----------------------------------------
>
>                 Key: GEODE-5204
>                 URL: https://issues.apache.org/jira/browse/GEODE-5204
>             Project: Geode
>          Issue Type: Improvement
>          Components: docs, gfsh
>            Reporter: Jens Deppe
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> Add a new gfsh command to update an existing cluster config xml.
> The command should only update the cluster configuration and not affect the config of running servers (this will be added later).
> The set command should take options {{\-\-group}}, {{\-\-xml}} and {{\-\-properties}}. The default group should be {{"cluster"}}.
> The command should only need to be run on a single locator and have changes propagated to all other locators.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)