[
https://issues.apache.org/jira/browse/GEODE-4383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Barbara Pruijn resolved GEODE-4383.
-----------------------------------
Resolution: Won't Do
Too many intricacies on how to alter it without restart (transaction in
progress, etc).
> gfsh command to alter jndi binding
> ----------------------------------
>
> Key: GEODE-4383
> URL: https://issues.apache.org/jira/browse/GEODE-4383
> Project: Geode
> Issue Type: Sub-task
> Components: docs, gfsh
> Reporter: Barbara Pruijn
> Priority: Major
>
> In cache.xml user can specify jndi binding like so:
> {code:java}
> <jndi-bindings>
> <jndi-binding jndi-name="DemoDatasource" type="SimpleDataSource"
> jdbc-driver-class="org.postgresql.Driver" user-name="gpadmin"
> password="changeme"
> connection-url="jdbc:postgresql://localhost:5432/gemfire_db">
> </jndi-binding>
> </jndi-bindings>
> {code}
> A user should be able to alter a datasource using the gfsh command {{ alter
> jndi-binding --name=jndi-binding-name <options>}}
> Then the datasource will be altered in the cluster with the supplied options
> and the binding will be updated without the user having to restart the
> existing server(s).
> Please look at Geode's schema for a list of attributes that can be set:
> [https://github.com/apache/geode-site/blob/master/website/content/schema/cache/cache-1.0.xsd#L1331]
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)