Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
If you wish to continue using the legacy configuration, see Upgrading Tracker Software

Page Tree
expandCollapseAlltrue
root安全节点+超级节点搭建教程


Panel
borderColorgrey
bgColorwhite
titleColorblack
borderWidth1
titleBGColorwhite
borderStylesolid
titleLanguages
SpanishEspañol

Use this page for common commands used to upgrade the node tracker software running on Secure, or Super Nodes

  • Upgrading the node tracker
  • Check tracker status

NOTE: You must be using systemd to manage zend and nodetracker for this procedure. If you're using an older install using PM2 & Monit, please follow PM2 / Monit - Migration to systemd

将此页面用于升级安全节点或超级节点上运行的node tracker节点跟踪器软件的常用命令

  • 升级node tracker
  • 检查tracker状态

注意:您必须使用systemd来管理此过程的zend和nodetracker。 如果您使用的是使用PM2和Monit的旧版安装,请按照 PM2 / Monit - 迁移到systemd

如果您希望继续使用旧配置, 请参照 升级trakcer软件(Legacy - PM2/Monit)


NOTE: The nodetracker only permits a single setting to be changed at a time between reconnects (IP, FQDN, T-Address, Stake Address)

  • Enter/Return through all settings not needing to be updated
  • To update stake address, see Change Staking Address

    Description描述Command指令

    Upgrading the node 升级node tracker
    1Stop the running nodetracker process停止nodetracker进程


    Code Block
    sudo systemctl stop zentracker


    2Change directory to where the node tracker was cloned, this will be ~将目录更改为克隆节点跟踪器的位置,官方指南为〜/ nodetracker for the official guide


    Code Block
    cd ~/nodetracker


    3Update git with the new repository URL and retrieve the latest source code使用新的存储库URL更新git,并检索最新的源代码


    Code Block
    git checkout -- package.json
    git pull


    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”替换为错误消息中返回的文件)并重复上述命令

    Code Block
    git checkout -- filename


    4Install the Node 使用npm安装Node Tracker with npm


    Code Block
    NODE_ENV=production npm install



    Optional - Run nodetracker setup to update configuration settings5备用选项 - 运行nodetracker设置以更新配置
    5

    注意:nodetracker仅允许在重新连接时,更改单个设置(IP,FQDN,T地址,质押地址)

    • 输入/返回所有不需要更新的设置
    • 更改质押地址请参见: 更改质押地址


    Code Block
    node setup.js



    Start the nodetracker and check it's status启动nodetracker并检查其状态
    6Start the nodetracker启动nodetracker


    Code Block
    sudo systemctl start zentracker


    7

    Verify the status after restarting by following the logs and checking for valid output, exit by pressing CTRL + c参照日志,重新启动后验证状态,并检查有效输出,按CTRL + c退出



    Code Block
    sudo journalctl -fu zentracker



    Insert excerpt
    友情链接
    友情链接
    nopaneltrue