[ https://issues.apache.org/jira/browse/GEODE-4959?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16420918#comment-16420918 ]
Sai Boorlagadda edited comment on GEODE-4959 at 3/30/18 8:50 PM: ----------------------------------------------------------------- {quote}To persist a GWR on a single server in the cluster configuration (Geode 1.4.0 and later): {quote} {quote}1. Start the server with group where there is only one member in the group.Create the 2. GWR with the {{--group}} option and specify the group used in step 1. {quote} This should work for 1.3.0. So rather using *-- member* in 1.3.0 user can use *-- group* to store gwr per member by creating a single group for each member. was (Author: sboorlagadda): {quote}To persist a GWR on a single server in the cluster configuration (Geode 1.4.0 and later): {quote} {quote}1. Start the server with group where there is only one member in the group.Create the 2. GWR with the {{--group}} option and specify the group used in step 1. {quote} This should work for 1.3.0. So rather using *--member* in 1.3.0 user can use *--group* to store gwr per member by creating a single group for each member. > Attempt to create multiple gw receivers results an error on gfsh console. > ------------------------------------------------------------------------- > > Key: GEODE-4959 > URL: https://issues.apache.org/jira/browse/GEODE-4959 > Project: Geode > Issue Type: Bug > Components: gfsh > Reporter: Sai Boorlagadda > Priority: Major > > {{There are several issues with create gateway-receiver command.}} > 1) Starting 1.4.0, with GEODE-3987 there is an enforcement of one gwr per > node in the xsd. So when user attempts to create multiple gwr show a better > error message then showing "*ERROR: java.lang.IllegalStateException*". > {noformat} > gfsh>start server --locators=localhost[10334] > Starting a Geode Server in > /Users/sboorlagadda/workspace/debug/geode/apache-geode-1.4.0/bin/walk-proud-feet... > ... > Server in > /Users/sboorlagadda/workspace/debug/geode/apache-geode-1.4.0/bin/walk-proud-feet > on sais-mbp-2.netgear.com[40404] as walk-proud-feet is currently online. > Process ID: 35197 > Uptime: 4 seconds > Geode Version: 1.4.0 > Java Version: 1.8.0_151 > Log File: > /Users/sboorlagadda/workspace/debug/geode/apache-geode-1.4.0/bin/walk-proud-feet/walk-proud-feet.log > JVM Arguments: -Dgemfire.locators=localhost[10334] > -Dgemfire.start-dev-rest-api=false -Dgemfire.use-cluster-configuration=true > -XX:OnOutOfMemoryError=kill -KILL %p > -Dgemfire.launcher.registerSignalHandlers=true -Djava.awt.headless=true > -Dsun.rmi.dgc.server.gcInterval=9223372036854775806 > Class-Path: > /Users/sboorlagadda/workspace/debug/geode/apache-geode-1.4.0/lib/geode-core-1.4.0.jar:/Users/sboorlagadda/workspace/debug/geode/apache-geode-1.4.0/lib/geode-dependencies.jar > gfsh>create gateway-receiver > Member | Status > --------------- | > --------------------------------------------------------------------------------------- > walk-proud-feet | GatewayReceiver created on member "walk-proud-feet" and > will listen on the port "5,221" > gfsh>create gateway-receiver > Member | Status > --------------- | > ----------------------------------------------------------------------------------------- > walk-proud-feet | ERROR: java.lang.IllegalStateException: A Gateway Receiver > already exists on this member.{noformat} > 2) create gwr command should enforce only one gwr can be created as with > GEODE-3987, xsd supports only one. > 3) create gwr command is storing the gwr in cluster config when created with > --member option. > As there is no enforcement until 1.3 and with above stated issues with gfsh, > it could happen that some one could end up a cluster with multiple gwr > created in cluster configuration and could prevent them to upgrade to 1.4. -- This message was sent by Atlassian JIRA (v7.6.3#76005)