APPENDIX A
Procedure for checking the connection of node to CyberWay Mainnet
As soon as the start_light.sh
script finishes, you have to make sure that docker-composer and services are working properly on your server. Docker-compose logs process information into its internal file. To get and analyze the logged information you can use the following commands:
or (to get a partial information)
The options:
--tail
— takes the last lines of text;
-f
— means that it is necessary to monitor the update log file.
No error messages should be in the logged information.
A1 Monitoring the successful installation
Make sure that the nodeosd
and mongo
containers are successfully installed. It is recommended to run the following command:
Containers are considered to be successfully installed if the following conditions are met:
no error messages in the log file;
the messages about installing containers with the names
nodeosd
andmongo
;the containers are in running state.
A2 Monitoring the start of node synchronization
Make sure that the node has initiated block synchronization. The node is considered to have started this process if the log information contains a piece of text like this one:
The start_block
field in the text indicates that the node has started processing blocks.
A3 Monitoring the node working state
Node synchronization process can take a long time. Therefore, you should monitor this process from time to time.
Make sure that the node does not hang. To get node status information, you can use the following command:
The node is considered to be in working state if the received text contains information about processing head_block_num
, like this one:
The head_block_num
field indicates a current block being processed by the node.
A4 Monitoring the completion of node synchronization
The node is considered to be successfully synchronized if it began to receive blocks. The log file should contain a piece of text like this one:
The on_incoming_block
field indicates an incoming block being received by the node. Also, make sure that the log file contains information about the latency
parameter with time less than 3000 ms.
Conclusion
The node is considered to be successfully synchronized, if the log file contains information similar to the one in this appendix.
Last updated