Running Rust executables manually
Hello, is there documentation anywhere on how to run the Rust executables (i.e. in /neon/target/release/[executable name] where "executable name" could be storage broker, safekeeper, pageserver, compute_ctl)? I wanted to do some testing to see if Neon is right for my team's needs. I can't seem to pass the correct params to get each node talking to each other. For example, "./storage_broker" runs fine but "./pageserver --id=1 --broker_endpoint=[local broker IP]:50051' throws a TCP error. I know I'm not passing the correct params (or I'm missing params), but I'm not sure which params and which values I need. I've looked in the Neon repo and I can't find any guidance, does anyone have tips?
Thank you in advance! 🙂
1 Reply
fair-rose•2y ago
@Eric typically when we are doing local development and debugging, we are using
neon_local which is a binary generated from the neon repo. It can be run from the cargo neon alias. You'll want to look at cargo neon init and cargo neon start to get an environment to play around with. From there, you would create a tenant and an endpoint!