GitHub user paulm17 deleted a comment on the discussion: Deploy cluster on 
docker, with 2 clusters

My standup instructions:

```
# run on broker west:
bin/pulsar-admin clusters create --broker-url pulsar://broker-east:6652 --url 
http://broker-east:8082 east
bin/pulsar-admin clusters create --broker-url pulsar://broker-cent:6651 --url 
http://broker-cent:8081 cent

# run on broker cent:
bin/pulsar-admin clusters create --broker-url pulsar://broker-west:6650 --url 
http://broker-west:8080 west
bin/pulsar-admin clusters create --broker-url pulsar://broker-east:6652 --url 
http://broker-east:8082 east

# run on broker east:
bin/pulsar-admin clusters create --broker-url pulsar://broker-cent:6651 --url 
http://broker-cent:8081 cent
bin/pulsar-admin clusters create --broker-url pulsar://broker-west:6650 --url 
http://broker-west:8080 west

----

# do on both all brokers
bin/pulsar-admin tenants create my-tenant --allowed-clusters west,east,cent
```

On the last command on West...

```
2024-03-12 18:37:22 2024-03-12T18:37:22,139+0000 
[broker-client-shared-timer-8-1] INFO  
org.apache.pulsar.client.impl.ConnectionHandler - 
[persistent://my-tenant/my-namespace/__change_events] [pulsar.repl.west-->cent] 
Reconnecting after connection was closed
2024-03-12 18:37:22 2024-03-12T18:37:22,143+0000 [pulsar-io-3-15] WARN  
org.apache.pulsar.client.impl.ConnectionPool - Failed to open connection to 
127.0.0.1/<unresolved>:6651 : 
io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: 
/127.0.0.1:6651
2024-03-12 18:37:22 2024-03-12T18:37:22,143+0000 [pulsar-io-3-15] WARN  
org.apache.pulsar.client.impl.ConnectionHandler - 
[persistent://my-tenant/my-namespace/__change_events] [pulsar.repl.west-->cent] 
Error connecting to broker: org.apache.pulsar.client.api.PulsarClientException: 
java.util.concurrent.CompletionException: 
io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: 
/127.0.0.1:6651
2024-03-12 18:37:22 2024-03-12T18:37:22,143+0000 [pulsar-io-3-15] WARN  
org.apache.pulsar.client.impl.ConnectionHandler - 
[persistent://my-tenant/my-namespace/__change_events] [pulsar.repl.west-->cent] 
Could not get connection to broker: 
org.apache.pulsar.client.api.PulsarClientException: 
java.util.concurrent.CompletionException: 
io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: 
/127.0.0.1:6651 -- Will try again in 3.108 s
2024-03-12 18:37:22 2024-03-12T18:37:22,336+0000 
[broker-client-shared-timer-8-1] INFO  
org.apache.pulsar.client.impl.ConnectionHandler - 
[persistent://my-tenant/my-namespace/__change_events] [pulsar.repl.west-->east] 
Reconnecting after connection was closed
2024-03-12 18:37:22 2024-03-12T18:37:22,341+0000 [pulsar-io-3-17] WARN  
org.apache.pulsar.client.impl.ConnectionPool - Failed to open connection to 
127.0.0.1/<unresolved>:6652 : 
io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: 
/127.0.0.1:6652
2024-03-12 18:37:22 2024-03-12T18:37:22,341+0000 [pulsar-io-3-17] WARN  
org.apache.pulsar.client.impl.ConnectionHandler - 
[persistent://my-tenant/my-namespace/__change_events] [pulsar.repl.west-->east] 
Error connecting to broker: org.apache.pulsar.client.api.PulsarClientException: 
java.util.concurrent.CompletionException: 
io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: 
/127.0.0.1:6652
```

Not quite sure where the localhost is coming from... 🤔 

GitHub link: 
https://github.com/apache/pulsar/discussions/22228#discussioncomment-8763816

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to