Última actividad 1729299972

Revisión 964b4820bf5c455690d08fb8317ff464cf706e4b

Neon-readme-11.sh Sin formato
1# Create repository in .neon with proper paths to binaries and data
2# Later that would be responsibility of a package install script
3> cargo neon init
4Initializing pageserver node 1 at '127.0.0.1:64000' in ".neon"
5
6# start pageserver, safekeeper, and broker for their intercommunication
7> cargo neon start
8Starting neon broker at 127.0.0.1:50051.
9storage_broker started, pid: 2918372
10Starting pageserver node 1 at '127.0.0.1:64000' in ".neon".
11pageserver started, pid: 2918386
12Starting safekeeper at '127.0.0.1:5454' in '.neon/safekeepers/sk1'.
13safekeeper 1 started, pid: 2918437
14
15# create initial tenant and use it as a default for every future neon_local invocation
16> cargo neon tenant create --set-default
17tenant 9ef87a5bf0d92544f6fafeeb3239695c successfully created on the pageserver
18Created an initial timeline 'de200bd42b49cc1814412c7e592dd6e9' at Lsn 0/16B5A50 for tenant: 9ef87a5bf0d92544f6fafeeb3239695c
19Setting tenant 9ef87a5bf0d92544f6fafeeb3239695c as a default one
20
21# create postgres compute node
22> cargo neon endpoint create main
23
24# start postgres compute node
25> cargo neon endpoint start main
26Starting new endpoint main (PostgreSQL v14) on timeline de200bd42b49cc1814412c7e592dd6e9 ...
27Starting postgres at 'postgresql://cloud_admin@127.0.0.1:55432/postgres'
28
29# check list of running postgres instances
30> cargo neon endpoint list
31 ENDPOINT ADDRESS TIMELINE BRANCH NAME LSN STATUS
32 main 127.0.0.1:55432 de200bd42b49cc1814412c7e592dd6e9 main 0/16B5BA8 running