Use this page for instructions regarding migrating your Secure Node to a Super Node.
Upgrading the node tracker
- Move the secnodetracker folder, renaming in the process
- Update the git repository remote URL
- Update the tracker software
- Test the new tracker software for your Secure Node
Zen.conf Configuration
- Add IPv4 external IP
- Add IPv6 external IP
- Add port 9033
Change from Secure Node to Super Node
- Add an additional DNS record for your fully-qualified domain name (FQDN) - either an A record, if your Secure Node was IPv6, or an AAAA record if your Secure Node was IPv4. Both IPv4 and IPv6 addresses for your Super Node must resolve via DNS.
- Prepare a new transparent (T) address with a staking balance of 500 ZEN (you must not re-use the T address used for the Secure Node stake)
- Configure the tracker for a Super Node
有关将安全节点迁移到超级节点的说明,请参照此页面。
升级节点跟踪器
- 移动secnodetracker文件夹,在此过程中重命名
- 更新git存储库远程URL
- 更新跟踪软件
- 测试安全节点的新跟踪软件
配置Zen.conf
- 添加IPv4外部IP
- 添加 IPv6外部IP
- 添加 9033端品
从安全节点更改为超级节点
- 为您的完全限定域名(FQDN)添加其他DNS记录 - 如果您的安全节点是IPv6,则为A记录;如果您的安全节点为IPv4,则为AAAA记录。 超级节点的IPv4和IPv6地址都必须通过DNS解析。
- 准备一个新的透明(T)地址,余额要大于500 ZEN(您不得重复使用用于安全节点质押T地址)
- 配置超级节点的跟踪器
描述 | 指令 | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
升级节点跟踪器 | ||||||||||||
1 | 停止正在运行的跟踪器进程 | 对于用systemd安装(假设单元文件名为'zentracker.service')
For installations using pm2 (assumes the tracker is running as the only or first process, numbered 0)对于用pm2安装(假设跟踪器作为唯一或第一个进程运行,编号为0)
| ||||||||||
2 | Move (mv) the securenodetracker folder, renaming it in the process, generally this will be ~移动(mv)securenodetracker文件夹,在进程中重命名,通常这将是〜/ zencash / secnodetracker and change directory (cd) to the new foldersecnodetracker并将目录(cd)更改为新文件夹 |
| ||||||||||
3 | Update git with the new repository URL and retrieve the latest source code使用新的存储库URL更新git,并检索最新的源代码 |
NOTE: If git returns an error regarding any files run the following command (replacing 'filename with the file returned in the error message) and repeat the commands above注意:如果git返回有关任何文件的错误,请运行以下命令(将'filename替换为错误消息中返回的文件)并重复上述命令
| ||||||||||
4 | Install the latest set of node modules required for the tracker安装跟踪器所需的最新节点模块集 |
| ||||||||||
zen配置zen.conf configuration - skip steps 5 and 6 if this has already been done for your node- 如果您的节点已经完成,请跳过步骤5和6 | ||||||||||||
5 | Locate your node's public IPv4 and/or IPv6 address(es) and append them to the zen.conf file as external IP address(es) connected over port 9033 (default) NOTE: Replace <IPv4> with the public IPv4 of your node, remove <brackets> NOTE: Replace <IPv6> with the public IPv6 of your node in compressed notation without leading zeros, remove <brackets> Use the following link to ensure your IPv6 address is in compressed notation:找到节点IPv4和/或IPv6的公共地址,并将它们作为通过端口9033连接的外部IP地址附加到zen.conf文件(默认) 注意:将<IPv4>替换为节点的公共IPv4,删除<bracket> 注意:使用压缩表示法中的节点的公共IPv6替换<IPv6>,而不使用前导零,删除<bracket> 使用以下链接确保您的IPv6地址采用压缩符号: | Create environmental variables for IPv4为IPv4创建环境变量
Append external IPv4 into zen.conf将外部IPv4附加到zen.conf中
Create environmental variables for IPv6为IPv6创建环境变量
Append external IPv6 into zen.conf将外部IPv6附加到zen.conf中
Append port into zen.conf将port端口附加到zen.conf中
| ||||||||||
6 | Restart zend and check the address configuration NOTE: The output of the 2nd command should display the address(es) entered in the previous step | For installations using systemd (assumes the unit file is named 重启zend并检查地址配置 注意:第二个命令的输出应显示在上一步中输入的地址 | 对于用systemd安装(假设单元文件名为'zend.service'))
For installations using 对于用monit安装
| |||||||||
7 | Run node setup again to refresh the list of tracker servers and initialise the new tracker, press enter through each of the values to retain the current set Enter 'secure' for the 'node category' prompt再次运行节点设置以刷新跟踪器服务器列表并初始化新跟踪器,按Enter键以通过每个值保留当前设置
|
| ||||||||||
8 | Update the relevant monitoring process based on your installation
| For installations using systemd (assumes the unit file is named 使用systemd安装(假设单元文件名为'zentracker.service'))
For installations using pm2 (assumes the tracker is running as the only or first process, numbered 0)使用pm2的安装(假设跟踪器作为唯一或第一个进程运行,编号为0)
| ||||||||||
9 | Reload the node tracker process and start it
| For installations using systemd (assumes the unit file is named 重新加载节点跟踪器进程并启动它
| 使用systemd安装(假设单元文件名为'zentracker.service'))
For installations using pm2 (assumes the tracker is running as the only or first process, numbered 0)使用pm2的安装(假设跟踪器作为唯一或第一个进程运行,编号为0)
| |||||||||
10 | Verify that the tracker is running successfully following the update | For installations using systemd (assumes the unit file is named 在更新后验证跟踪器是否成功运行 | 使用systemd安装(假设单元文件名为'zentracker.service'))
For installations using pm2 (assumes the tracker is running as the only or first process, numbered 0)使用pm2的安装(假设跟踪器作为唯一或第一个进程运行,编号为0)
| |||||||||
Change from Secure Node to Super Node将安全节点更改为超级节点 | ||||||||||||
11 | Stop the running tracker process | For installations using systemd (assumes the unit file is named 停止正在运行的跟踪器进程 | 使用systemd安装(假设单元文件名为'zentracker.service'))
For installations using pm2 (assumes the tracker is running as the only or first process, numbered 0)使用pm2的安装(假设跟踪器作为唯一或第一个进程运行,编号为0)
| |||||||||
12 | Run the node setup again; 再次运行节点设置;
|
| ||||||||||
13 | Start the node tracker | For installations using systemd (assumes the unit file is named 启动node tracker | 使用systemd安装(假设单元文件名为'zentracker.service'))
For installations using pm2 (assumes the tracker is running as the only or first process, numbered 0)使用pm2的安装(假设跟踪器作为唯一或第一个进程运行,编号为0)
| |||||||||
14 | Verify your Super Node is displayed on the tracking website验证您的超级节点是否显示在节点官网上 |
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|