A 5 million PSL stake is required to operate a SuperNode. In order to avoid anything happening to that 5 million PSL, the recommended strategy is to keep that cold node turned off and in a more secure location than on a publicly accessible server. Thus, we use two SuperNode installations:
- One cold node where the 5 million PSL stays, that is only on for a brief activation window and then disconnected
- One hot node that actually operates on the network, but doesn't have 5 million PSL in its wallet
In order for this to occur, the cold node must vouch for the hot node, indicating that the owner of the hot node has properly staked 5 million PSL.
chmod 755 pastelup-linux-amd64
./pastelup-linux-amd64 install supernode
This method will also work if you already had node installed as in the quick start guide. A prompt will ask if you'd like to continue installation to the same directory, select yes and wait for installation to complete.
Make sure that the cold node can ssh properly into the hot node. Take note of the user id, password, and path to the ssh key.
On the cold node, start the process to receive the 5 million PSL, and then create and start the hot node as a SuperNode:
./pastel-up-linux-amd64 init supernode coldhot \
--ssh-ip <ip address of hot node> \
--ssh-user <ssh user of hot node> \
--ssh-key <path of ssh key>
--name <new name for config of hot node>
For help configuring the supernode-coldhot options, including specifying already created pastelid's, addresses, and remote options, use:
./pastelup-linux-amd64 start supernode-coldhot help
The next time it is necessary to start supernode, do not use the --create option on the cold node.
It is also possible to start the hot node again (from hot node itself) with:
./pastel-up-linux-amd64 start supernode