Skip to content

MortDeath/witnet-operator-tools

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

witnet-operator-tools

Upgrading Docker-compose operated node(s)

Go inside the operator directory you have used to start

  • for only one node :
cd witnet-operator-tools/docker/compose/bertux-operator-stable
  • for 5 nodes :
cd witnet-operator-tools/docker/compose/bertux-operator-5

Shutdown the node(s)

  • by running :
docker-compose down
  • you should see :
Stopping bertuxoperatorstable_node_1 ... done
Removing bertuxoperatorstable_node_1 ... done

Upgrade the node image

  • by running :
docker-compose pull
  • you should see :
Pulling node ... done

Start the node(s)

  • by running :
docker-compose up -d
  • you should see at least :
Creating bertux-operator-stable_node_1 ... done

Check the current version running

  • by running :
./getVersion.sh
  • you should see the latest version number :
witnet-node 0.8.1

Check the peers of your node(s)

  • by running :
./getPeers.sh
  • you should see at least this table and you should have nearly 8 outbound lines and many inbound lines :
Loading config from: /witnet.toml
Setting log level to: DEBUG, source: Config
 Address               | Type 
-----------------------+----------
[2020-05-21T13:33:51Z DEBUG witnet_data_structures] Set environment to testnet
[2020-05-21T13:33:51Z INFO  witnet::cli::node::json_rpc_client] Connecting to JSON-RPC server at 127.0.0.1:21338

Check the stats of your node(s)

  • by running :
./nodeStats.sh
  • you should see :
Loading config from: /witnet.toml
Setting log level to: DEBUG, source: Config
Block mining stats:
- Proposed blocks: 144
- Blocks included in the block chain: 17
Data Request mining stats:
- Times with eligibility to mine a data request: 0
- Proposed commits: 0
- Accepted commits: 0
- Slashed commits: 0
[2020-05-21T13:37:20Z DEBUG witnet_data_structures] Set environment to testnet
[2020-05-21T13:37:20Z INFO  witnet::cli::node::json_rpc_client] Connecting to JSON-RPC server at 127.0.0.1:21338

About

Tools for node operators

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%