blob: f24f0533aed1c81b3ae772965468546bdad11385 [file] [log] [blame]
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Start locator for London (ln) cluster
start locator --name=locator-ln --port=10332 --locators=localhost[10332] --mcast-port=0 --log-level=config \
--J=-Dgemfire.remote-locators=localhost[10331] --J=-Dgemfire.distributed-system-id=2 \
--J=-Dgemfire.jmx-manager-start=true --J=-Dgemfire.jmx-manager-http-port=8082 \
--J=-Dgemfire.jmx-manager-port=1092
configure pdx --read-serialized=true
start server --name=server-ln-1 --locators=localhost[10332] --mcast-port=0 --log-level=config \
--enable-time-statistics=true --statistic-archive-file=cacheserver.gfs --server-port=0 \
--classpath=../build/classes/main --J=-Dgemfire.statistic-sampling-enabled=true \
--J=-Dgemfire.distributed-system-id=2 --J=-Dgemfire.conserve-sockets=false \
--J=-Dgemfire.log-file=cacheserver.log
start server --name=server-ln-2 --locators=localhost[10332] --mcast-port=0 --log-level=config \
--enable-time-statistics=true --statistic-archive-file=cacheserver.gfs --server-port=0 \
--classpath=../build/classes/main --J=-Dgemfire.statistic-sampling-enabled=true \
--J=-Dgemfire.distributed-system-id=2 --J=-Dgemfire.conserve-sockets=false \
--J=-Dgemfire.log-file=cacheserver.log
# Create gateway receivers for all servers in the London site
create gateway-receiver
# Create gateway senders to send updates to the New York site
create gateway-sender --id="ny" --parallel="true" --remote-distributed-system-id="1"
list members