solana/net
Michael Vines db9219ccc8 Improve error monitoring 2018-09-05 09:02:02 -07:00
..
remote Improve error monitoring 2018-09-05 09:02:02 -07:00
.gitignore Morph gce_multinode-based scripts into net/ 2018-09-05 09:02:02 -07:00
README.md Morph gce_multinode-based scripts into net/ 2018-09-05 09:02:02 -07:00
common.sh net/ can now deploy Snaps 2018-09-05 09:02:02 -07:00
gce.sh s/_/-/g in filenames 2018-09-05 09:02:02 -07:00
init-metrics.sh net/ can now deploy Snaps 2018-09-05 09:02:02 -07:00
net.sh Improve error monitoring 2018-09-05 09:02:02 -07:00
ssh.sh Morph gce_multinode-based scripts into net/ 2018-09-05 09:02:02 -07:00

README.md

Network Management

This directory contains scripts useful for working with a test network. It's intended to be both dev and CD friendly.

User Account Prerequisites

Log in to GCP with:

$ gcloud auth login

Also ensure that $(whoami) is the name of an InfluxDB user account with enough access to create a new database.

You currently must be running on a Linux system (for now, TODO fix this)

Quick Start

$ cd net/

$ ./gce.sh create -n 5 -c 1  #<-- Create a GCE testnet with 5 validators, 1 client (billing starts here)
$ ./init-metrics $(whoami)   #<-- Configure a metrics database for the testnet
$ ./net.sh start             #<-- Deploy the network from the local workspace
$ ./ssh.sh                   #<-- Details on how to ssh into any testnet node
$ ./gce.sh delete            #<-- Dispose of the network (billing stops here)