Storage Miner
Section Brief:
Mining preparation
The OS requirement of the Storage server is as following:
Firewall configuration
By default, cess-bucket uses port 4001
to listen for incoming connections, if your platform blocks the port by default, you may need to enable the access to the port.
Disk mounting
Check the hard disk status using the df -h command:
The disk is not mounted If the hard drive for storage mining cannot be found. Use the command below to view unmounted hard disks:
The unmounted disk is /dev/vdb
in the demonstration above. We will be using /dev/vdb
to demonstrate the mounting operation.
Allocate the /dev/vdb
disk:
Format the newly divided disk into ext4 format:
Enter "y" to continue if the system asks to proceed:
Create /cess
directory to mount the disk. Using/cess
as an example:
replace
/dev/vdb
with your own disk name./cess
has to remain the same as created in the previous step. If you are not under root privileges, try :
echo "/dev/vdb /cess ext4 defaults 0 0" | sudo tee -a /etc/fstab
Mount /cess
:
Check the disk mounting status:
If the "/cess" appers, the disk has been successfully mounted.
Prepare CESS Account
Miners need to create two wallet accounts.
Please refer to the CESS Account section above for creating a CESS account. Please go to the CESS faucet to get TCESS. Join CESS telegram to get our assistance.
Install cess-nodeadm
If Install cess nodeadm success
shows up, the installation is successful .
Set up Configuration
Set up bucket configuration
Start bucket
The following should be seen:
Check Chain Sync Status
View chain node log
As shown in the figure below, if we see that the height of the block corresponding to "best" is about the latest height in CESS Explorer, it means the local chain node synchronization is completed.
Common Operations
View storage node log
As shown in the figure below, it is the log information when the storage node starts normally. It shows: the rpc address used by the storage node and the address of the boot node, the connection to the boot node, its own peer id, the chain network and the p2p network, the synchronization information of the currently used chain node, and the workspace.
View bucket status
An example of the returned results is shown below:
see specific explanation of the names above in Appendix
Increase the staking
Withdraw staking
Query reward information
Claim reward
Update all service images
Stop and remove all service
Update earnings account
Exit the CESS network
New version upgrade
Stop and remove all service
Remove all program data
Update the cess-nodeadm
Pull images
Appendix
Last updated