From 3ff9ab62a5aff491a9a1411b05e1f4e83f95b1d4 Mon Sep 17 00:00:00 2001 From: Fatman13 Date: Sat, 17 Feb 2024 00:15:14 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20filecoin?= =?UTF-8?q?-project/venus-docs@a0c4eadfce2633e881dc61fd1241e9f3f3200490=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 404.html | 6 +++--- _Footer.html | 4 ++-- about/index.html | 4 ++-- assets/js/{14.e52ce5c2.js => 14.1bc0fc37.js} | 2 +- assets/js/{15.be12770c.js => 15.2770a953.js} | 2 +- assets/js/{28.10867a0d.js => 28.ae02dd6f.js} | 2 +- assets/js/{29.66608a9c.js => 29.350338c7.js} | 2 +- assets/js/{37.5758b621.js => 37.776e0015.js} | 2 +- assets/js/{38.5b7fa05f.js => 38.b307a373.js} | 2 +- assets/js/{39.f948b1c5.js => 39.9417d32d.js} | 2 +- assets/js/{46.c66bbec7.js => 46.22b66e0c.js} | 2 +- assets/js/{47.26f9acac.js => 47.e4dd0b82.js} | 2 +- assets/js/{50.8950e677.js => 50.483c26ee.js} | 2 +- assets/js/{51.dd59470e.js => 51.0b8a7f70.js} | 2 +- assets/js/{52.ad74f043.js => 52.fead5f04.js} | 2 +- assets/js/{53.929b2f39.js => 53.936c519a.js} | 2 +- assets/js/{54.275f75dd.js => 54.92a0388d.js} | 2 +- assets/js/{app.43de4608.js => app.c0ace51e.js} | 4 ++-- index.html | 4 ++-- intro/_Footer.html | 4 ++-- intro/contribute-docs.html | 4 ++-- intro/damocles.html | 4 ++-- intro/droplet.html | 4 ++-- intro/index.html | 4 ++-- intro/one-pager.html | 4 ++-- intro/sophon.html | 4 ++-- operation/Efficiency_of_sealing.html | 4 ++-- operation/System_monitor_of_Zabbix.html | 4 ++-- operation/_Footer.html | 4 ++-- operation/example-single-box.html | 4 ++-- operation/index.html | 4 ++-- operation/lotus-vs-venus.html | 4 ++-- operation/nv15-upgrade.html | 4 ++-- operation/nv16-upgrade.html | 4 ++-- operation/nv17-upgrade.html | 4 ++-- operation/nv18-upgrade.html | 4 ++-- operation/nv19-upgrade.html | 4 ++-- operation/nv21-upgrade.html | 4 ++-- questions.html | 4 ++-- zh/TODO.html | 4 ++-- zh/about/index.html | 4 ++-- zh/index.html | 4 ++-- zh/intro/_Footer.html | 4 ++-- zh/intro/contribute-doc.html | 4 ++-- zh/intro/damocles.html | 4 ++-- zh/intro/droplet.html | 4 ++-- zh/intro/index.html | 4 ++-- zh/intro/one-pager.html | 4 ++-- zh/intro/sophon.html | 4 ++-- zh/operation/Efficiency_of_sealing.html | 4 ++-- zh/operation/Independent_com_access_analysis.html | 4 ++-- zh/operation/Sealing_deploy_plan_1.html | 4 ++-- zh/operation/Sealing_deploy_plan_2.html | 4 ++-- zh/operation/System_monitor_of_Zabbix.html | 4 ++-- zh/operation/_Footer.html | 4 ++-- zh/operation/example-single-box.html | 4 ++-- zh/operation/index.html | 4 ++-- zh/operation/lotus-vs-venus.html | 4 ++-- zh/operation/migrate_market_v1_to_v2.html | 4 ++-- zh/operation/nv15-upgrade.html | 4 ++-- zh/operation/nv16-upgrade.html | 4 ++-- zh/operation/nv17-upgrade.html | 4 ++-- zh/operation/nv18-upgrade.html | 4 ++-- zh/operation/nv19-upgrade.html | 4 ++-- zh/operation/nv21-upgrade.html | 4 ++-- zh/operation/prometheus-instruction.html | 4 ++-- zh/operation/troubleshoot-consensus-fault.html | 4 ++-- 67 files changed, 121 insertions(+), 121 deletions(-) rename assets/js/{14.e52ce5c2.js => 14.1bc0fc37.js} (92%) rename assets/js/{15.be12770c.js => 15.2770a953.js} (85%) rename assets/js/{28.10867a0d.js => 28.ae02dd6f.js} (97%) rename assets/js/{29.66608a9c.js => 29.350338c7.js} (95%) rename assets/js/{37.5758b621.js => 37.776e0015.js} (93%) rename assets/js/{38.5b7fa05f.js => 38.b307a373.js} (97%) rename assets/js/{39.f948b1c5.js => 39.9417d32d.js} (97%) rename assets/js/{46.c66bbec7.js => 46.22b66e0c.js} (99%) rename assets/js/{47.26f9acac.js => 47.e4dd0b82.js} (90%) rename assets/js/{50.8950e677.js => 50.483c26ee.js} (98%) rename assets/js/{51.dd59470e.js => 51.0b8a7f70.js} (98%) rename assets/js/{52.ad74f043.js => 52.fead5f04.js} (99%) rename assets/js/{53.929b2f39.js => 53.936c519a.js} (99%) rename assets/js/{54.275f75dd.js => 54.92a0388d.js} (99%) rename assets/js/{app.43de4608.js => app.c0ace51e.js} (89%) diff --git a/404.html b/404.html index ab8885de6..4faf621e1 100644 --- a/404.html +++ b/404.html @@ -13,13 +13,13 @@ gtag('config', 'G-SMSDTMGLTV'); - + -

404

There's nothing here.
+ - + diff --git a/_Footer.html b/_Footer.html index 902a0fc95..f43919395 100644 --- a/_Footer.html +++ b/_Footer.html @@ -13,7 +13,7 @@ gtag('config', 'G-SMSDTMGLTV'); - + @@ -38,6 +38,6 @@

See something missing? Have tips to share? File an issue (opens new window), and we'll follow up as soon as possible. (If you have write permission in this repo, feel free to edit directly.)

Last Updated: 12/11/2023, 8:37:54 AM
- + diff --git a/about/index.html b/about/index.html index 46a408238..c6f6b5087 100644 --- a/about/index.html +++ b/about/index.html @@ -13,7 +13,7 @@ gtag('config', 'G-SMSDTMGLTV'); - + @@ -38,6 +38,6 @@

# Mission, Vision, Value

  • ❗️Mission: push ecosystem forward by driving Filcoin infrastructure
  • 🌏 Vision: democratize Filecoin ecosystem participation
  • ☯️ Value: Open and trustless

# Contacts

# Resources

Last Updated: 12/11/2023, 8:37:54 AM
- + diff --git a/assets/js/14.e52ce5c2.js b/assets/js/14.1bc0fc37.js similarity index 92% rename from assets/js/14.e52ce5c2.js rename to assets/js/14.1bc0fc37.js index aa6b5790b..5403b7f9e 100644 --- a/assets/js/14.e52ce5c2.js +++ b/assets/js/14.1bc0fc37.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[14],{330:function(t,e,r){t.exports=r.p+"assets/img/droplet-banner.5da6d582.jpg"},430:function(t,e,r){"use strict";r.r(e);var n=r(17),s=Object(n.a)({},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[n("p",[n("img",{attrs:{src:r(330),alt:"droplet"}})]),t._v(" "),n("h3",{attrs:{id:"水滴"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#水滴"}},[t._v("#")]),t._v(" 水滴")]),t._v(" "),n("p",[t._v("水滴,原 Venus 订单服务,是一个"),n("code",[t._v("Filecoin")]),t._v("存储订单解决方案。请在"),n("a",{attrs:{href:"https://droplet.venus-fil.io/zh/",target:"_blank",rel:"noopener noreferrer"}},[t._v("此"),n("OutboundLink")],1),t._v("了解更多关于水滴的信息。")])])}),[],!1,null,null,null);e.default=s.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[14],{330:function(t,e,r){t.exports=r.p+"assets/img/droplet-banner.5da6d582.jpg"},429:function(t,e,r){"use strict";r.r(e);var n=r(17),s=Object(n.a)({},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[n("p",[n("img",{attrs:{src:r(330),alt:"droplet"}})]),t._v(" "),n("h3",{attrs:{id:"水滴"}},[n("a",{staticClass:"header-anchor",attrs:{href:"#水滴"}},[t._v("#")]),t._v(" 水滴")]),t._v(" "),n("p",[t._v("水滴,原 Venus 订单服务,是一个"),n("code",[t._v("Filecoin")]),t._v("存储订单解决方案。请在"),n("a",{attrs:{href:"https://droplet.venus-fil.io/zh/",target:"_blank",rel:"noopener noreferrer"}},[t._v("此"),n("OutboundLink")],1),t._v("了解更多关于水滴的信息。")])])}),[],!1,null,null,null);e.default=s.exports}}]); \ No newline at end of file diff --git a/assets/js/15.be12770c.js b/assets/js/15.2770a953.js similarity index 85% rename from assets/js/15.be12770c.js rename to assets/js/15.2770a953.js index 39d2982ab..64c2029e9 100644 --- a/assets/js/15.be12770c.js +++ b/assets/js/15.2770a953.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[15],{331:function(t,s,e){t.exports=e.p+"assets/img/one-pager-venus.ba147919.png"},429:function(t,s,e){"use strict";e.r(s);var n=e(17),r=Object(n.a)({},(function(){var t=this.$createElement,s=this._self._c||t;return s("ContentSlotsDistributor",{attrs:{"slot-key":this.$parent.slotKey}},[s("p",[s("img",{attrs:{src:e(331),alt:"venus-cluster"}})])])}),[],!1,null,null,null);s.default=r.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[15],{331:function(t,s,e){t.exports=e.p+"assets/img/one-pager-venus.ba147919.png"},430:function(t,s,e){"use strict";e.r(s);var n=e(17),r=Object(n.a)({},(function(){var t=this.$createElement,s=this._self._c||t;return s("ContentSlotsDistributor",{attrs:{"slot-key":this.$parent.slotKey}},[s("p",[s("img",{attrs:{src:e(331),alt:"venus-cluster"}})])])}),[],!1,null,null,null);s.default=r.exports}}]); \ No newline at end of file diff --git a/assets/js/28.10867a0d.js b/assets/js/28.ae02dd6f.js similarity index 97% rename from assets/js/28.10867a0d.js rename to assets/js/28.ae02dd6f.js index 589da13df..46549a94c 100644 --- a/assets/js/28.10867a0d.js +++ b/assets/js/28.ae02dd6f.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[28],{414:function(t,v,_){"use strict";_.r(v);var e=_(17),s=Object(e.a)({},(function(){var t=this,v=t.$createElement,_=t._self._c||v;return _("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[_("h2",{attrs:{id:"venus-single-box-setup"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#venus-single-box-setup"}},[t._v("#")]),t._v(" Venus Single box setup")]),t._v(" "),_("p",[t._v("This is an exmaple venus single box setup that is estimated to grow 1TiB power per day.")]),t._v(" "),_("h2",{attrs:{id:"specs"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#specs"}},[t._v("#")]),t._v(" Specs")]),t._v(" "),_("table",[_("thead",[_("tr",[_("th",[t._v("Parts")]),t._v(" "),_("th",[t._v("Recommendation")])])]),t._v(" "),_("tbody",[_("tr",[_("td",[t._v("CPU")]),t._v(" "),_("td",[t._v("3970X * 1 (32 core)")])]),t._v(" "),_("tr",[_("td",[t._v("RAM")]),t._v(" "),_("td",[t._v("512G")])]),t._v(" "),_("tr",[_("td",[t._v("NVMe (for sealing)")]),t._v(" "),_("td",[t._v("3T/SSD")])]),t._v(" "),_("tr",[_("td",[t._v("SSD (for OS)")]),t._v(" "),_("td",[t._v("500G")])]),t._v(" "),_("tr",[_("td",[t._v("GPU")]),t._v(" "),_("td",[t._v("RTX 3080 * 1")])])])]),t._v(" "),_("h2",{attrs:{id:"job-scheduling"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#job-scheduling"}},[t._v("#")]),t._v(" Job scheduling")]),t._v(" "),_("table",[_("thead",[_("tr",[_("th",[t._v("Task")]),t._v(" "),_("th",[t._v("Core limit")]),t._v(" "),_("th",[t._v("Minutes")]),t._v(" "),_("th",[t._v("RAM(G)")]),t._v(" "),_("th",[t._v("Hourly production rate")]),t._v(" "),_("th",[t._v("Daily growth(T)")])])]),t._v(" "),_("tbody",[_("tr",[_("td",[t._v("P1 * 5")]),t._v(" "),_("td",[t._v("20")]),t._v(" "),_("td",[t._v("220")]),t._v(" "),_("td",[t._v("376")]),t._v(" "),_("td",[t._v("1.3636")]),t._v(" "),_("td",[t._v("1.0227")])]),t._v(" "),_("tr",[_("td",[t._v("AP, P2, Commit")]),t._v(" "),_("td",[t._v("12")]),t._v(" "),_("td",[t._v("10")]),t._v(" "),_("td",[t._v("120")]),t._v(" "),_("td",[t._v("3")]),t._v(" "),_("td",[t._v("1.125")])])])]),t._v(" "),_("p",[t._v("For more information on core limit, please refer to the next tutorial.")])])}),[],!1,null,null,null);v.default=s.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[28],{413:function(t,v,_){"use strict";_.r(v);var e=_(17),s=Object(e.a)({},(function(){var t=this,v=t.$createElement,_=t._self._c||v;return _("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[_("h2",{attrs:{id:"venus-single-box-setup"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#venus-single-box-setup"}},[t._v("#")]),t._v(" Venus Single box setup")]),t._v(" "),_("p",[t._v("This is an exmaple venus single box setup that is estimated to grow 1TiB power per day.")]),t._v(" "),_("h2",{attrs:{id:"specs"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#specs"}},[t._v("#")]),t._v(" Specs")]),t._v(" "),_("table",[_("thead",[_("tr",[_("th",[t._v("Parts")]),t._v(" "),_("th",[t._v("Recommendation")])])]),t._v(" "),_("tbody",[_("tr",[_("td",[t._v("CPU")]),t._v(" "),_("td",[t._v("3970X * 1 (32 core)")])]),t._v(" "),_("tr",[_("td",[t._v("RAM")]),t._v(" "),_("td",[t._v("512G")])]),t._v(" "),_("tr",[_("td",[t._v("NVMe (for sealing)")]),t._v(" "),_("td",[t._v("3T/SSD")])]),t._v(" "),_("tr",[_("td",[t._v("SSD (for OS)")]),t._v(" "),_("td",[t._v("500G")])]),t._v(" "),_("tr",[_("td",[t._v("GPU")]),t._v(" "),_("td",[t._v("RTX 3080 * 1")])])])]),t._v(" "),_("h2",{attrs:{id:"job-scheduling"}},[_("a",{staticClass:"header-anchor",attrs:{href:"#job-scheduling"}},[t._v("#")]),t._v(" Job scheduling")]),t._v(" "),_("table",[_("thead",[_("tr",[_("th",[t._v("Task")]),t._v(" "),_("th",[t._v("Core limit")]),t._v(" "),_("th",[t._v("Minutes")]),t._v(" "),_("th",[t._v("RAM(G)")]),t._v(" "),_("th",[t._v("Hourly production rate")]),t._v(" "),_("th",[t._v("Daily growth(T)")])])]),t._v(" "),_("tbody",[_("tr",[_("td",[t._v("P1 * 5")]),t._v(" "),_("td",[t._v("20")]),t._v(" "),_("td",[t._v("220")]),t._v(" "),_("td",[t._v("376")]),t._v(" "),_("td",[t._v("1.3636")]),t._v(" "),_("td",[t._v("1.0227")])]),t._v(" "),_("tr",[_("td",[t._v("AP, P2, Commit")]),t._v(" "),_("td",[t._v("12")]),t._v(" "),_("td",[t._v("10")]),t._v(" "),_("td",[t._v("120")]),t._v(" "),_("td",[t._v("3")]),t._v(" "),_("td",[t._v("1.125")])])])]),t._v(" "),_("p",[t._v("For more information on core limit, please refer to the next tutorial.")])])}),[],!1,null,null,null);v.default=s.exports}}]); \ No newline at end of file diff --git a/assets/js/29.66608a9c.js b/assets/js/29.350338c7.js similarity index 95% rename from assets/js/29.66608a9c.js rename to assets/js/29.350338c7.js index 6869c7526..48e9cac2b 100644 --- a/assets/js/29.66608a9c.js +++ b/assets/js/29.350338c7.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[29],{413:function(t,e,o){"use strict";o.r(e);var r=o(17),n=Object(r.a)({},(function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[o("h2",{attrs:{id:"commands-from-lotus"}},[o("a",{staticClass:"header-anchor",attrs:{href:"#commands-from-lotus"}},[t._v("#")]),t._v(" Commands from Lotus")]),t._v(" "),o("p",[t._v("Many basic commands including but not limited to "),o("a",{attrs:{href:"https://lotus.filecoin.io/docs/storage-providers/addresses/",target:"_blank",rel:"noopener noreferrer"}},[t._v("creating worker/controler addresses"),o("OutboundLink")],1),t._v(", setting different types of "),o("a",{attrs:{href:"https://lotus.filecoin.io/docs/storage-providers/config/",target:"_blank",rel:"noopener noreferrer"}},[t._v("configurations"),o("OutboundLink")],1),t._v(", or "),o("a",{attrs:{href:"https://lotus.filecoin.io/docs/storage-providers/lifecycle/#changing-storage-locations",target:"_blank",rel:"noopener noreferrer"}},[t._v("changing storage locations"),o("OutboundLink")],1),t._v(" apply to both Lotus and Venus. Node operators are expected to follow the same process as what is instructed on the Lotus documentation. If you encounter any questions please do not hesitate to reach out to us on "),o("a",{attrs:{href:"https://filecoinproject.slack.com/archives/CEHHJNJS3",target:"_blank",rel:"noopener noreferrer"}},[t._v("#fil-venus"),o("OutboundLink")],1),t._v(".")])])}),[],!1,null,null,null);e.default=n.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[29],{414:function(t,e,o){"use strict";o.r(e);var r=o(17),n=Object(r.a)({},(function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[o("h2",{attrs:{id:"commands-from-lotus"}},[o("a",{staticClass:"header-anchor",attrs:{href:"#commands-from-lotus"}},[t._v("#")]),t._v(" Commands from Lotus")]),t._v(" "),o("p",[t._v("Many basic commands including but not limited to "),o("a",{attrs:{href:"https://lotus.filecoin.io/docs/storage-providers/addresses/",target:"_blank",rel:"noopener noreferrer"}},[t._v("creating worker/controler addresses"),o("OutboundLink")],1),t._v(", setting different types of "),o("a",{attrs:{href:"https://lotus.filecoin.io/docs/storage-providers/config/",target:"_blank",rel:"noopener noreferrer"}},[t._v("configurations"),o("OutboundLink")],1),t._v(", or "),o("a",{attrs:{href:"https://lotus.filecoin.io/docs/storage-providers/lifecycle/#changing-storage-locations",target:"_blank",rel:"noopener noreferrer"}},[t._v("changing storage locations"),o("OutboundLink")],1),t._v(" apply to both Lotus and Venus. Node operators are expected to follow the same process as what is instructed on the Lotus documentation. If you encounter any questions please do not hesitate to reach out to us on "),o("a",{attrs:{href:"https://filecoinproject.slack.com/archives/CEHHJNJS3",target:"_blank",rel:"noopener noreferrer"}},[t._v("#fil-venus"),o("OutboundLink")],1),t._v(".")])])}),[],!1,null,null,null);e.default=n.exports}}]); \ No newline at end of file diff --git a/assets/js/37.5758b621.js b/assets/js/37.776e0015.js similarity index 93% rename from assets/js/37.5758b621.js rename to assets/js/37.776e0015.js index 017e8d11a..ce26054bc 100644 --- a/assets/js/37.5758b621.js +++ b/assets/js/37.776e0015.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[37],{422:function(t,s,e){"use strict";e.r(s);var a=e(17),v=Object(a.a)({},(function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[e("div",{staticClass:"features"},[e("div",{staticClass:"feature"},[e("h2",[t._v("分布式架构")]),t._v(" "),e("p",[t._v("依照分布式系统的设计理念和原则,实现了一套快速扩展,高可用的分布式基础架构")])]),t._v(" "),e("div",{staticClass:"feature"},[e("h2",[t._v("优化订单体验")]),t._v(" "),e("p",[t._v("完善了一整套方便存储提供者接收真实存储订单,同时也方便存储客户发送存储订单的解决方案")])]),t._v(" "),e("div",{staticClass:"feature"},[e("h2",[t._v("全新的算力服务")]),t._v(" "),e("p",[t._v("安全,有韧性的算力维持服务;高效,灵活,可扩容的算力增长服务")])])])])}),[],!1,null,null,null);s.default=v.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[37],{424:function(t,s,e){"use strict";e.r(s);var a=e(17),v=Object(a.a)({},(function(){var t=this,s=t.$createElement,e=t._self._c||s;return e("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[e("div",{staticClass:"features"},[e("div",{staticClass:"feature"},[e("h2",[t._v("分布式架构")]),t._v(" "),e("p",[t._v("依照分布式系统的设计理念和原则,实现了一套快速扩展,高可用的分布式基础架构")])]),t._v(" "),e("div",{staticClass:"feature"},[e("h2",[t._v("优化订单体验")]),t._v(" "),e("p",[t._v("完善了一整套方便存储提供者接收真实存储订单,同时也方便存储客户发送存储订单的解决方案")])]),t._v(" "),e("div",{staticClass:"feature"},[e("h2",[t._v("全新的算力服务")]),t._v(" "),e("p",[t._v("安全,有韧性的算力维持服务;高效,灵活,可扩容的算力增长服务")])])])])}),[],!1,null,null,null);s.default=v.exports}}]); \ No newline at end of file diff --git a/assets/js/38.5b7fa05f.js b/assets/js/38.b307a373.js similarity index 97% rename from assets/js/38.5b7fa05f.js rename to assets/js/38.b307a373.js index ed770066a..64d9c9dcc 100644 --- a/assets/js/38.5b7fa05f.js +++ b/assets/js/38.b307a373.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[38],{423:function(v,_,l){"use strict";l.r(_);var i=l(17),s=Object(i.a)({},(function(){var v=this,_=v.$createElement,l=v._self._c||_;return l("ContentSlotsDistributor",{attrs:{"slot-key":v.$parent.slotKey}},[l("h2",{attrs:{id:"原则"}},[l("a",{staticClass:"header-anchor",attrs:{href:"#原则"}},[v._v("#")]),v._v(" 原则")]),v._v(" "),l("p",[v._v("  基于目前的需要,先从重构 guide 和 modules 模块,让两块联动,形成比较易读的 venus 集群部署介绍。")]),v._v(" "),l("ul",[l("li",[l("p",[v._v("modules 模块存储各组件的简介,将不相干的文档移到对应位置")])]),v._v(" "),l("li",[l("p",[v._v("guide 和 modules 对于组件介绍存在很多重复的,只保留一份")])]),v._v(" "),l("li",[l("p",[v._v("modules 模块组件介绍老旧,超链接到项目的介绍文档,避免项目内更新后 doc 中不及时及重复劳动")])]),v._v(" "),l("li",[l("p",[v._v("guide 将组件介绍,编译构建,部署文档独立")])]),v._v(" "),l("li",[l("p",[v._v("guide 模块增加 QA 模块,将 venus discussion 的问题以超链接方式统一到 QA 模块")])]),v._v(" "),l("li",[l("p",[v._v("部署模块尽量少一些设计的介绍,简明扼要,每个指定的操作尽量不涉及不相干的,以免造成误解")])])]),v._v(" "),l("h2",{attrs:{id:"todo-list"}},[l("a",{staticClass:"header-anchor",attrs:{href:"#todo-list"}},[v._v("#")]),v._v(" TODO list")]),v._v(" "),l("ul",[l("li",[l("p",[v._v("[ ] modules 模块")]),v._v(" "),l("ul",[l("li",[v._v("[ ] 引导页内容更新")]),v._v(" "),l("li",[v._v("[ ] 不相关文档移走")]),v._v(" "),l("li",[v._v("[ ] 文档命名一致")]),v._v(" "),l("li",[v._v("[ ] 组件介绍匹配项目进度")]),v._v(" "),l("li",[v._v("[x] 编译构建独立到一个文档")]),v._v(" "),l("li",[v._v("[ ] 组件文档移除从项目中搬过来的内容,用超链接")]),v._v(" "),l("li",[v._v("[ ] market 和 cluster 模块的技术文档移到 modules 模块,")])])]),v._v(" "),l("li",[l("p",[v._v("[ ] guide 模块")]),v._v(" "),l("ul",[l("li",[v._v("[ ] 将部署用到的基础知识单独形成文档")]),v._v(" "),l("li",[v._v("[x] 编译构建超链接到对应文档")]),v._v(" "),l("li",[v._v("[x] 增加部分组件的验证:怎么判断部署成功")]),v._v(" "),l("li",[v._v("[ ] 目录结构调整\n"),l("ul",[l("li",[v._v("[ ] market 和 cluster 归属到链服务部署和独立组件部署文档")]),v._v(" "),l("li",[v._v("[ ] .fil_withdraw_and_send.md.swp 文件删除")]),v._v(" "),l("li",[v._v("[ ] sealer 文档放到单独的目录")])])]),v._v(" "),l("li",[v._v("[ ] Troubleshooting-&-FAQ.md 用超链接方式管理 venus discussion")])])]),v._v(" "),l("li",[l("p",[v._v("[ ] 移除没有价值或过时的文档")])]),v._v(" "),l("li",[l("p",[v._v("[ ] 在很多模块中重复的内容整合")])]),v._v(" "),l("li",[l("p",[v._v("[ ] 每个项目搬过来的内容使用超链接")])])])])}),[],!1,null,null,null);_.default=s.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[38],{422:function(v,_,l){"use strict";l.r(_);var i=l(17),s=Object(i.a)({},(function(){var v=this,_=v.$createElement,l=v._self._c||_;return l("ContentSlotsDistributor",{attrs:{"slot-key":v.$parent.slotKey}},[l("h2",{attrs:{id:"原则"}},[l("a",{staticClass:"header-anchor",attrs:{href:"#原则"}},[v._v("#")]),v._v(" 原则")]),v._v(" "),l("p",[v._v("  基于目前的需要,先从重构 guide 和 modules 模块,让两块联动,形成比较易读的 venus 集群部署介绍。")]),v._v(" "),l("ul",[l("li",[l("p",[v._v("modules 模块存储各组件的简介,将不相干的文档移到对应位置")])]),v._v(" "),l("li",[l("p",[v._v("guide 和 modules 对于组件介绍存在很多重复的,只保留一份")])]),v._v(" "),l("li",[l("p",[v._v("modules 模块组件介绍老旧,超链接到项目的介绍文档,避免项目内更新后 doc 中不及时及重复劳动")])]),v._v(" "),l("li",[l("p",[v._v("guide 将组件介绍,编译构建,部署文档独立")])]),v._v(" "),l("li",[l("p",[v._v("guide 模块增加 QA 模块,将 venus discussion 的问题以超链接方式统一到 QA 模块")])]),v._v(" "),l("li",[l("p",[v._v("部署模块尽量少一些设计的介绍,简明扼要,每个指定的操作尽量不涉及不相干的,以免造成误解")])])]),v._v(" "),l("h2",{attrs:{id:"todo-list"}},[l("a",{staticClass:"header-anchor",attrs:{href:"#todo-list"}},[v._v("#")]),v._v(" TODO list")]),v._v(" "),l("ul",[l("li",[l("p",[v._v("[ ] modules 模块")]),v._v(" "),l("ul",[l("li",[v._v("[ ] 引导页内容更新")]),v._v(" "),l("li",[v._v("[ ] 不相关文档移走")]),v._v(" "),l("li",[v._v("[ ] 文档命名一致")]),v._v(" "),l("li",[v._v("[ ] 组件介绍匹配项目进度")]),v._v(" "),l("li",[v._v("[x] 编译构建独立到一个文档")]),v._v(" "),l("li",[v._v("[ ] 组件文档移除从项目中搬过来的内容,用超链接")]),v._v(" "),l("li",[v._v("[ ] market 和 cluster 模块的技术文档移到 modules 模块,")])])]),v._v(" "),l("li",[l("p",[v._v("[ ] guide 模块")]),v._v(" "),l("ul",[l("li",[v._v("[ ] 将部署用到的基础知识单独形成文档")]),v._v(" "),l("li",[v._v("[x] 编译构建超链接到对应文档")]),v._v(" "),l("li",[v._v("[x] 增加部分组件的验证:怎么判断部署成功")]),v._v(" "),l("li",[v._v("[ ] 目录结构调整\n"),l("ul",[l("li",[v._v("[ ] market 和 cluster 归属到链服务部署和独立组件部署文档")]),v._v(" "),l("li",[v._v("[ ] .fil_withdraw_and_send.md.swp 文件删除")]),v._v(" "),l("li",[v._v("[ ] sealer 文档放到单独的目录")])])]),v._v(" "),l("li",[v._v("[ ] Troubleshooting-&-FAQ.md 用超链接方式管理 venus discussion")])])]),v._v(" "),l("li",[l("p",[v._v("[ ] 移除没有价值或过时的文档")])]),v._v(" "),l("li",[l("p",[v._v("[ ] 在很多模块中重复的内容整合")])]),v._v(" "),l("li",[l("p",[v._v("[ ] 每个项目搬过来的内容使用超链接")])])])])}),[],!1,null,null,null);_.default=s.exports}}]); \ No newline at end of file diff --git a/assets/js/39.f948b1c5.js b/assets/js/39.9417d32d.js similarity index 97% rename from assets/js/39.f948b1c5.js rename to assets/js/39.9417d32d.js index e7ebf8223..48ee529a2 100644 --- a/assets/js/39.f948b1c5.js +++ b/assets/js/39.9417d32d.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[39],{424:function(e,t,r){"use strict";r.r(t);var n=r(17),a=Object(n.a)({},(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[r("h2",{attrs:{id:"使命-愿景-价值观"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#使命-愿景-价值观"}},[e._v("#")]),e._v(" 使命,愿景,价值观")]),e._v(" "),r("ul",[r("li",[e._v("❗️使命:建设 Filecoin 基础设施和工具,支持生态繁荣发展")]),e._v(" "),r("li",[e._v("🌏 愿景:人人都能参与 Filecoin 生态")]),e._v(" "),r("li",[e._v("☯️ 价值观:开放并且去信任")])]),e._v(" "),r("h2",{attrs:{id:"联系方式"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#联系方式"}},[e._v("#")]),e._v(" 联系方式")]),e._v(" "),r("ul",[r("li",[e._v("Slack:"),r("a",{attrs:{href:"https://filecoinproject.slack.com/archives/CEHHJNJS3",target:"_blank",rel:"noopener noreferrer"}},[e._v("#fil-venus"),r("OutboundLink")],1),e._v(", Slack:"),r("a",{attrs:{href:"https://filecoinproject.slack.com/archives/C028PCH8L31",target:"_blank",rel:"noopener noreferrer"}},[e._v("#fil-venus-cn"),r("OutboundLink")],1),e._v(", "),r("a",{attrs:{href:"mailto:venus@ipfsforce.com"}},[e._v("venus@ipfsforce.com")])])]),e._v(" "),r("h2",{attrs:{id:"其他资源"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#其他资源"}},[e._v("#")]),e._v(" 其他资源")]),e._v(" "),r("ul",[r("li",[e._v("venus-docs: "),r("a",{attrs:{href:"venus.filecoin.io"}},[e._v("venus.filecoin.io")])]),e._v(" "),r("li",[e._v("VenusHub: "),r("a",{attrs:{href:"venushub.io"}},[e._v("venushub.io")])]),e._v(" "),r("li",[e._v("Github: "),r("a",{attrs:{href:"https://github.com/filecoin-project/venus",target:"_blank",rel:"noopener noreferrer"}},[e._v("venus"),r("OutboundLink")],1)]),e._v(" "),r("li",[e._v("Social Media: "),r("a",{attrs:{href:"https://twitter.com/venus_filecoin",target:"_blank",rel:"noopener noreferrer"}},[e._v("Twitter"),r("OutboundLink")],1),e._v(", "),r("a",{attrs:{href:"https://mp.weixin.qq.com/s/p4_ch03QeMMXxPyakr_8XQ",target:"_blank",rel:"noopener noreferrer"}},[e._v("Wechat"),r("OutboundLink")],1)]),e._v(" "),r("li",[e._v("安全审计报告:"),r("a",{attrs:{href:"https://leastauthority.com/static/publications/LeastAuthority_Filecoin_Foundation_Venus_Final_Audit_Report.pdf",target:"_blank",rel:"noopener noreferrer"}},[e._v("link"),r("OutboundLink")],1)])])])}),[],!1,null,null,null);t.default=a.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[39],{423:function(e,t,r){"use strict";r.r(t);var n=r(17),a=Object(n.a)({},(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[r("h2",{attrs:{id:"使命-愿景-价值观"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#使命-愿景-价值观"}},[e._v("#")]),e._v(" 使命,愿景,价值观")]),e._v(" "),r("ul",[r("li",[e._v("❗️使命:建设 Filecoin 基础设施和工具,支持生态繁荣发展")]),e._v(" "),r("li",[e._v("🌏 愿景:人人都能参与 Filecoin 生态")]),e._v(" "),r("li",[e._v("☯️ 价值观:开放并且去信任")])]),e._v(" "),r("h2",{attrs:{id:"联系方式"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#联系方式"}},[e._v("#")]),e._v(" 联系方式")]),e._v(" "),r("ul",[r("li",[e._v("Slack:"),r("a",{attrs:{href:"https://filecoinproject.slack.com/archives/CEHHJNJS3",target:"_blank",rel:"noopener noreferrer"}},[e._v("#fil-venus"),r("OutboundLink")],1),e._v(", Slack:"),r("a",{attrs:{href:"https://filecoinproject.slack.com/archives/C028PCH8L31",target:"_blank",rel:"noopener noreferrer"}},[e._v("#fil-venus-cn"),r("OutboundLink")],1),e._v(", "),r("a",{attrs:{href:"mailto:venus@ipfsforce.com"}},[e._v("venus@ipfsforce.com")])])]),e._v(" "),r("h2",{attrs:{id:"其他资源"}},[r("a",{staticClass:"header-anchor",attrs:{href:"#其他资源"}},[e._v("#")]),e._v(" 其他资源")]),e._v(" "),r("ul",[r("li",[e._v("venus-docs: "),r("a",{attrs:{href:"venus.filecoin.io"}},[e._v("venus.filecoin.io")])]),e._v(" "),r("li",[e._v("VenusHub: "),r("a",{attrs:{href:"venushub.io"}},[e._v("venushub.io")])]),e._v(" "),r("li",[e._v("Github: "),r("a",{attrs:{href:"https://github.com/filecoin-project/venus",target:"_blank",rel:"noopener noreferrer"}},[e._v("venus"),r("OutboundLink")],1)]),e._v(" "),r("li",[e._v("Social Media: "),r("a",{attrs:{href:"https://twitter.com/venus_filecoin",target:"_blank",rel:"noopener noreferrer"}},[e._v("Twitter"),r("OutboundLink")],1),e._v(", "),r("a",{attrs:{href:"https://mp.weixin.qq.com/s/p4_ch03QeMMXxPyakr_8XQ",target:"_blank",rel:"noopener noreferrer"}},[e._v("Wechat"),r("OutboundLink")],1)]),e._v(" "),r("li",[e._v("安全审计报告:"),r("a",{attrs:{href:"https://leastauthority.com/static/publications/LeastAuthority_Filecoin_Foundation_Venus_Final_Audit_Report.pdf",target:"_blank",rel:"noopener noreferrer"}},[e._v("link"),r("OutboundLink")],1)])])])}),[],!1,null,null,null);t.default=a.exports}}]); \ No newline at end of file diff --git a/assets/js/46.c66bbec7.js b/assets/js/46.22b66e0c.js similarity index 99% rename from assets/js/46.c66bbec7.js rename to assets/js/46.22b66e0c.js index 650612d78..652f2dc4f 100644 --- a/assets/js/46.c66bbec7.js +++ b/assets/js/46.22b66e0c.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[46],{437:function(a,s,t){"use strict";t.r(s);var e=t(17),n=Object(e.a)({},(function(){var a=this,s=a.$createElement,t=a._self._c||s;return t("ContentSlotsDistributor",{attrs:{"slot-key":a.$parent.slotKey}},[t("h4",{attrs:{id:"一、服务器基础配置"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#一、服务器基础配置"}},[a._v("#")]),a._v(" 一、服务器基础配置:")]),a._v(" "),t("div",{staticClass:"language-bash extra-class"},[t("pre",{pre:!0,attrs:{class:"language-bash"}},[t("code",[a._v("systemctl stop firewalld \nsystemctl disbale firewalld\n"),t("span",{pre:!0,attrs:{class:"token function"}},[a._v("vim")]),a._v(" /etc/selinux/config\n\n"),t("span",{pre:!0,attrs:{class:"token assign-left variable"}},[a._v("SELINUX")]),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v("=")]),a._v("disabled //修改selinux为disabled\nsetenforce "),t("span",{pre:!0,attrs:{class:"token number"}},[a._v("0")]),a._v(" //临时修改selinux状态\ngetenforce //查看selinux状态\n")])])]),t("h4",{attrs:{id:"二、安装相关软件包"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#二、安装相关软件包"}},[a._v("#")]),a._v(" 二、安装相关软件包")]),a._v(" "),t("div",{staticClass:"language-bash extra-class"},[t("pre",{pre:!0,attrs:{class:"language-bash"}},[t("code",[t("span",{pre:!0,attrs:{class:"token comment"}},[a._v("# rpm -Uvh https://repo.zabbix.com/zabbix/5.0/rhel/7/x86_64/zabbix-release-5.0-1.el7.noarch.rpm")]),a._v("\n"),t("span",{pre:!0,attrs:{class:"token comment"}},[a._v("# yum clean all && yum makecache")]),a._v("\n\n// server端安装zabbix-server和zabbix-agent\n"),t("span",{pre:!0,attrs:{class:"token comment"}},[a._v("# yum install zabbix-server-mysql zabbix-agent -y")]),a._v("\n\n//安装zabbix默认的nginx\n"),t("span",{pre:!0,attrs:{class:"token comment"}},[a._v("# yum install centos-release-scl -y")]),a._v("\n"),t("span",{pre:!0,attrs:{class:"token comment"}},[a._v("# yum install rh-php72-php-mysqlnd zabbix-nginx-conf-scl -y")]),a._v("\n")])])]),t("p",[a._v("修改 zabbix 的安装源配置文件,启用前端的源")]),a._v(" "),t("div",{staticClass:"language-bash extra-class"},[t("pre",{pre:!0,attrs:{class:"language-bash"}},[t("code",[t("span",{pre:!0,attrs:{class:"token comment"}},[a._v("# vim /etc/yum.repos.d/zabbix.repo ")]),a._v("\n"),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v("[")]),a._v("zabbix-frontend"),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v("]")]),a._v("\n"),t("span",{pre:!0,attrs:{class:"token assign-left variable"}},[a._v("name")]),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v("=")]),a._v("Zabbix Official Repository frontend - "),t("span",{pre:!0,attrs:{class:"token variable"}},[a._v("$basearch")]),a._v("\n"),t("span",{pre:!0,attrs:{class:"token assign-left variable"}},[a._v("baseurl")]),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v("=")]),a._v("http://repo.zabbix.com/zabbix/5.0/rhel/7/"),t("span",{pre:!0,attrs:{class:"token variable"}},[a._v("$basearch")]),a._v("/frontend\n"),t("span",{pre:!0,attrs:{class:"token assign-left variable"}},[a._v("enabled")]),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v("=")]),t("span",{pre:!0,attrs:{class:"token number"}},[a._v("1")]),a._v(" //此处改为1\n"),t("span",{pre:!0,attrs:{class:"token assign-left variable"}},[a._v("gpgcheck")]),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v("=")]),t("span",{pre:!0,attrs:{class:"token number"}},[a._v("1")]),a._v("\n"),t("span",{pre:!0,attrs:{class:"token assign-left variable"}},[a._v("gpgkey")]),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v("=")]),a._v("file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX-A14FE591\n")])])]),t("h4",{attrs:{id:"三、安装-mysql"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#三、安装-mysql"}},[a._v("#")]),a._v(" 三、安装 MySQL")]),a._v(" "),t("div",{staticClass:"language-bash extra-class"},[t("pre",{pre:!0,attrs:{class:"language-bash"}},[t("code",[t("span",{pre:!0,attrs:{class:"token function"}},[a._v("mkdir")]),a._v(" mysql-dir\n"),t("span",{pre:!0,attrs:{class:"token builtin class-name"}},[a._v("cd")]),a._v(" mysql-dir\n"),t("span",{pre:!0,attrs:{class:"token function"}},[a._v("wget")]),a._v(" https://downloads.mysql.com/archives/get/p/23/file/mysql-5.7.30-1.el7.x86_64.rpm-bundle.tar\n"),t("span",{pre:!0,attrs:{class:"token function"}},[a._v("tar")]),a._v(" -zxvf mysql-5.7.32-1.el7.x86_64.rpm-bundle.tar\nyum "),t("span",{pre:!0,attrs:{class:"token function"}},[a._v("install")]),a._v(" *.rpm -y\n")])])]),t("div",{staticClass:"language-bash extra-class"},[t("pre",{pre:!0,attrs:{class:"language-bash"}},[t("code",[a._v("systemctl start mysqld\n")])])]),t("div",{staticClass:"language-bash extra-class"},[t("pre",{pre:!0,attrs:{class:"language-bash"}},[t("code",[t("span",{pre:!0,attrs:{class:"token function"}},[a._v("cat")]),a._v(" /var/log/mysqld.log "),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v("|")]),a._v(" "),t("span",{pre:!0,attrs:{class:"token function"}},[a._v("grep")]),a._v(" root\n")])])]),t("p",[a._v("2021-07-26T10:50:49.538494Z 1 [Note] A temporary password is generated for root@localhost: "),t("strong",[a._v("20yyk:Ar67S;")])]),a._v(" "),t("p",[a._v("登录数据库:")]),a._v(" "),t("div",{staticClass:"language-mysql extra-class"},[t("pre",{pre:!0,attrs:{class:"language-text"}},[t("code",[a._v("# mysql -uroot -p\nEnter password: 20yyk:Ar67S;\n")])])]),t("p",[a._v("配置数据库:")]),a._v(" "),t("div",{staticClass:"language-bash extra-class"},[t("pre",{pre:!0,attrs:{class:"language-bash"}},[t("code",[t("span",{pre:!0,attrs:{class:"token builtin class-name"}},[a._v("set")]),a._v(" global "),t("span",{pre:!0,attrs:{class:"token assign-left variable"}},[a._v("validate_password_policy")]),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v("=")]),t("span",{pre:!0,attrs:{class:"token number"}},[a._v("0")]),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v(";")]),a._v("\n"),t("span",{pre:!0,attrs:{class:"token builtin class-name"}},[a._v("set")]),a._v(" global "),t("span",{pre:!0,attrs:{class:"token assign-left variable"}},[a._v("validate_password_length")]),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v("=")]),t("span",{pre:!0,attrs:{class:"token number"}},[a._v("1")]),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v(";")]),a._v("\nalter user "),t("span",{pre:!0,attrs:{class:"token string"}},[a._v("'root'")]),a._v("@"),t("span",{pre:!0,attrs:{class:"token string"}},[a._v("'localhost'")]),a._v(" identified by "),t("span",{pre:!0,attrs:{class:"token string"}},[a._v("'venus'")]),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v(";")]),a._v(" "),t("span",{pre:!0,attrs:{class:"token comment"}},[a._v("#修改root登录密码为venus")]),a._v("\n\nuse mysql"),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v(";")]),a._v("\nupdate user "),t("span",{pre:!0,attrs:{class:"token builtin class-name"}},[a._v("set")]),a._v(" "),t("span",{pre:!0,attrs:{class:"token function"}},[a._v("host")]),a._v(" "),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v("=")]),a._v(" "),t("span",{pre:!0,attrs:{class:"token string"}},[a._v("'%'")]),a._v(" where user "),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v("=")]),a._v(" "),t("span",{pre:!0,attrs:{class:"token string"}},[a._v("'root'")]),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v(";")]),a._v("\ncreate user "),t("span",{pre:!0,attrs:{class:"token string"}},[a._v("'zabbix'")]),a._v("@"),t("span",{pre:!0,attrs:{class:"token string"}},[a._v("'%'")]),a._v(" identified by "),t("span",{pre:!0,attrs:{class:"token string"}},[a._v("'123456'")]),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v(";")]),a._v("\ngrant all privileges on zabbix.* to "),t("span",{pre:!0,attrs:{class:"token string"}},[a._v("'zabbix'")]),a._v("@"),t("span",{pre:!0,attrs:{class:"token string"}},[a._v("'%'")]),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v(";")]),a._v("\nflush privileges"),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v(";")]),a._v("\n\n"),t("span",{pre:!0,attrs:{class:"token comment"}},[a._v("# 创建zabbix所需的数据库")]),a._v("\ncreate database zabbix character "),t("span",{pre:!0,attrs:{class:"token builtin class-name"}},[a._v("set")]),a._v(" utf8 collate utf8_bin"),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v(";")]),a._v("\n")])])]),t("p",[a._v("导入 zabbix 模版文件:")]),a._v(" "),t("div",{staticClass:"language-bash extra-class"},[t("pre",{pre:!0,attrs:{class:"language-bash"}},[t("code",[a._v("zcat /usr/share/doc/zabbix-server-mysql-5.0.14/create.sql.gz "),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v("|")]),a._v(" mysql -uzabbix -p123456 zabbix\n")])])]),t("h4",{attrs:{id:"四、修改-zabbix-默认配置文件"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#四、修改-zabbix-默认配置文件"}},[a._v("#")]),a._v(" 四、修改 zabbix 默认配置文件")]),a._v(" "),t("p",[a._v("1、修改连接数据库的密码:")]),a._v(" "),t("div",{staticClass:"language-bash extra-class"},[t("pre",{pre:!0,attrs:{class:"language-bash"}},[t("code",[t("span",{pre:!0,attrs:{class:"token comment"}},[a._v("# vim /etc/zabbix/zabbix_server.conf")]),a._v("\n"),t("span",{pre:!0,attrs:{class:"token assign-left variable"}},[a._v("DBPassword")]),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v("=")]),t("span",{pre:!0,attrs:{class:"token number"}},[a._v("123456")]),a._v("\n")])])]),t("p",[a._v("2、修改 nginx 和所属地域")]),a._v(" "),t("div",{staticClass:"language-bash extra-class"},[t("pre",{pre:!0,attrs:{class:"language-bash"}},[t("code",[t("span",{pre:!0,attrs:{class:"token comment"}},[a._v("# vim /etc/opt/rh/rh-php72/php-fpm.d/zabbix.conf")]),a._v("\n"),t("span",{pre:!0,attrs:{class:"token comment"}},[a._v("# 在第6行后边加上一个nginx")]),a._v("\nlisten.acl_users "),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v("=")]),a._v(" apache,nginx\n\n"),t("span",{pre:!0,attrs:{class:"token comment"}},[a._v("# 在第24行修改zabbix所属的地域")]),a._v("\nphp_value"),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v("[")]),a._v("date.timezone"),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v("]")]),a._v(" "),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v("=")]),a._v(" Asia/shanghai\n")])])]),t("p",[a._v("3、配置监听端口和访问方式")]),a._v(" "),t("div",{staticClass:"language-bash extra-class"},[t("pre",{pre:!0,attrs:{class:"language-bash"}},[t("code",[t("span",{pre:!0,attrs:{class:"token function"}},[a._v("vim")]),a._v(" /etc/opt/rh/rh-nginx116/nginx/conf.d/zabbix.conf\nserver "),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v("{")]),a._v("\n listen "),t("span",{pre:!0,attrs:{class:"token number"}},[a._v("80")]),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v(";")]),a._v("//取消注释\n server_name test.zabbix.com"),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v(";")]),a._v("//取消注释修改成IP或自己的域名\n")])])]),t("p",[a._v("4、如果是伪装域名则修改本地的 hosts 文件")]),a._v(" "),t("div",{staticClass:"language-bash extra-class"},[t("pre",{pre:!0,attrs:{class:"language-bash"}},[t("code",[t("span",{pre:!0,attrs:{class:"token function"}},[a._v("vim")]),a._v(" /etc/hosts\n"),t("span",{pre:!0,attrs:{class:"token number"}},[a._v("192.168")]),a._v(".xx.xx test.zabbix.com\n\nwindow hosts文件也需要添加一下\nC:"),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v("\\")]),a._v("Windows"),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v("\\")]),a._v("System32"),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v("\\")]),a._v("drivers"),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v("\\")]),a._v("etc"),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v("\\")]),a._v("hosts\n"),t("span",{pre:!0,attrs:{class:"token number"}},[a._v("192.168")]),a._v(".xxx.xxx test.zabbix.com \n")])])]),t("p",[a._v("5、启动服务并设为开机自启")]),a._v(" "),t("div",{staticClass:"language-bash extra-class"},[t("pre",{pre:!0,attrs:{class:"language-bash"}},[t("code",[t("span",{pre:!0,attrs:{class:"token comment"}},[a._v("# 启动服务")]),a._v("\nsystemctl restart zabbix-server zabbix-agent rh-nginx116-nginx rh-php72-php-fpm\nsystemctl "),t("span",{pre:!0,attrs:{class:"token builtin class-name"}},[a._v("enable")]),a._v(" zabbix-server zabbix-agent rh-nginx116-nginx rh-php72-php-fpm\n")])])]),t("p",[a._v("6、修改 zabbix-agent 的配置文件")]),a._v(" "),t("div",{staticClass:"language-bash extra-class"},[t("pre",{pre:!0,attrs:{class:"language-bash"}},[t("code",[t("span",{pre:!0,attrs:{class:"token function"}},[a._v("cat")]),a._v(" /etc/zabbix/zabbix_agentd.conf "),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v("|")]),a._v(" "),t("span",{pre:!0,attrs:{class:"token function"}},[a._v("egrep")]),a._v(" -v "),t("span",{pre:!0,attrs:{class:"token string"}},[a._v('"^$|^#"')]),a._v("\n"),t("span",{pre:!0,attrs:{class:"token assign-left variable"}},[a._v("PidFile")]),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v("=")]),a._v("/var/run/zabbix/zabbix_agentd.pid\n"),t("span",{pre:!0,attrs:{class:"token assign-left variable"}},[a._v("LogFile")]),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v("=")]),a._v("/var/log/zabbix/zabbix_agentd.log\n"),t("span",{pre:!0,attrs:{class:"token assign-left variable"}},[a._v("LogFileSize")]),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v("=")]),t("span",{pre:!0,attrs:{class:"token number"}},[a._v("0")]),a._v("\n"),t("span",{pre:!0,attrs:{class:"token assign-left variable"}},[a._v("Server")]),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v("=")]),t("span",{pre:!0,attrs:{class:"token number"}},[a._v("192.168")]),a._v(".88.11 //指定zabbix-server的ip地址\n"),t("span",{pre:!0,attrs:{class:"token assign-left variable"}},[a._v("Hostname")]),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v("=")]),a._v("venus-sealer\n"),t("span",{pre:!0,attrs:{class:"token assign-left variable"}},[a._v("Include")]),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v("=")]),a._v("/etc/zabbix/zabbix_agentd.d/*.conf\n")])])]),t("h4",{attrs:{id:"四、配置-zabbix-监控主机"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#四、配置-zabbix-监控主机"}},[a._v("#")]),a._v(" 四、配置 zabbix 监控主机")]),a._v(" "),t("p",[a._v("1、在浏览器输入 zabbix-server 的 ip 地址或者主机名\n"),t("img",{attrs:{src:"/01-zabbix-install.jpg",alt:""}}),a._v(" "),t("img",{attrs:{src:"/02-zabbix-install.jpg",alt:""}})]),a._v(" "),t("p",[a._v("2、配置数据库连接地址信息\n"),t("img",{attrs:{src:"/03-zabbix-config.jpg",alt:""}}),a._v(" "),t("img",{attrs:{src:"/04-zabbix-hostname.jpg",alt:""}}),a._v(" "),t("img",{attrs:{src:"/05-zabbix-all.jpg",alt:""}}),a._v(" "),t("img",{attrs:{src:"/06-zabbix-finished.jpg",alt:""}})]),a._v(" "),t("p",[a._v("3、登录到 zabbix 系统,默认的用户为 Admin,密码为 zabbix;注意 Admin 的 A 是大写字母\n"),t("img",{attrs:{src:"/07-zabbix-login.jpg",alt:""}}),a._v(" "),t("img",{attrs:{src:"/08-zabbix-dashboard.jpg",alt:""}})]),a._v(" "),t("p",[a._v("4、添加 zabbix-agent 主机\n"),t("img",{attrs:{src:"/09-zabbix-agent.jpg",alt:""}}),a._v(" "),t("img",{attrs:{src:"/10-zabbix-agent-add.jpg",alt:""}})]),a._v(" "),t("p",[a._v("5、查看 zabbix 监控机器的内存图\n"),t("img",{attrs:{src:"/11-zabbix-graphs.jpg",alt:""}}),a._v(" "),t("img",{attrs:{src:"/12-zabbix-memory.jpg",alt:""}})]),a._v(" "),t("p",[a._v("6、异常报警,需要处理的机器\n"),t("img",{attrs:{src:"/13-Alarm-information.jpg",alt:""}})])])}),[],!1,null,null,null);s.default=n.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[46],{438:function(a,s,t){"use strict";t.r(s);var e=t(17),n=Object(e.a)({},(function(){var a=this,s=a.$createElement,t=a._self._c||s;return t("ContentSlotsDistributor",{attrs:{"slot-key":a.$parent.slotKey}},[t("h4",{attrs:{id:"一、服务器基础配置"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#一、服务器基础配置"}},[a._v("#")]),a._v(" 一、服务器基础配置:")]),a._v(" "),t("div",{staticClass:"language-bash extra-class"},[t("pre",{pre:!0,attrs:{class:"language-bash"}},[t("code",[a._v("systemctl stop firewalld \nsystemctl disbale firewalld\n"),t("span",{pre:!0,attrs:{class:"token function"}},[a._v("vim")]),a._v(" /etc/selinux/config\n\n"),t("span",{pre:!0,attrs:{class:"token assign-left variable"}},[a._v("SELINUX")]),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v("=")]),a._v("disabled //修改selinux为disabled\nsetenforce "),t("span",{pre:!0,attrs:{class:"token number"}},[a._v("0")]),a._v(" //临时修改selinux状态\ngetenforce //查看selinux状态\n")])])]),t("h4",{attrs:{id:"二、安装相关软件包"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#二、安装相关软件包"}},[a._v("#")]),a._v(" 二、安装相关软件包")]),a._v(" "),t("div",{staticClass:"language-bash extra-class"},[t("pre",{pre:!0,attrs:{class:"language-bash"}},[t("code",[t("span",{pre:!0,attrs:{class:"token comment"}},[a._v("# rpm -Uvh https://repo.zabbix.com/zabbix/5.0/rhel/7/x86_64/zabbix-release-5.0-1.el7.noarch.rpm")]),a._v("\n"),t("span",{pre:!0,attrs:{class:"token comment"}},[a._v("# yum clean all && yum makecache")]),a._v("\n\n// server端安装zabbix-server和zabbix-agent\n"),t("span",{pre:!0,attrs:{class:"token comment"}},[a._v("# yum install zabbix-server-mysql zabbix-agent -y")]),a._v("\n\n//安装zabbix默认的nginx\n"),t("span",{pre:!0,attrs:{class:"token comment"}},[a._v("# yum install centos-release-scl -y")]),a._v("\n"),t("span",{pre:!0,attrs:{class:"token comment"}},[a._v("# yum install rh-php72-php-mysqlnd zabbix-nginx-conf-scl -y")]),a._v("\n")])])]),t("p",[a._v("修改 zabbix 的安装源配置文件,启用前端的源")]),a._v(" "),t("div",{staticClass:"language-bash extra-class"},[t("pre",{pre:!0,attrs:{class:"language-bash"}},[t("code",[t("span",{pre:!0,attrs:{class:"token comment"}},[a._v("# vim /etc/yum.repos.d/zabbix.repo ")]),a._v("\n"),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v("[")]),a._v("zabbix-frontend"),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v("]")]),a._v("\n"),t("span",{pre:!0,attrs:{class:"token assign-left variable"}},[a._v("name")]),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v("=")]),a._v("Zabbix Official Repository frontend - "),t("span",{pre:!0,attrs:{class:"token variable"}},[a._v("$basearch")]),a._v("\n"),t("span",{pre:!0,attrs:{class:"token assign-left variable"}},[a._v("baseurl")]),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v("=")]),a._v("http://repo.zabbix.com/zabbix/5.0/rhel/7/"),t("span",{pre:!0,attrs:{class:"token variable"}},[a._v("$basearch")]),a._v("/frontend\n"),t("span",{pre:!0,attrs:{class:"token assign-left variable"}},[a._v("enabled")]),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v("=")]),t("span",{pre:!0,attrs:{class:"token number"}},[a._v("1")]),a._v(" //此处改为1\n"),t("span",{pre:!0,attrs:{class:"token assign-left variable"}},[a._v("gpgcheck")]),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v("=")]),t("span",{pre:!0,attrs:{class:"token number"}},[a._v("1")]),a._v("\n"),t("span",{pre:!0,attrs:{class:"token assign-left variable"}},[a._v("gpgkey")]),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v("=")]),a._v("file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX-A14FE591\n")])])]),t("h4",{attrs:{id:"三、安装-mysql"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#三、安装-mysql"}},[a._v("#")]),a._v(" 三、安装 MySQL")]),a._v(" "),t("div",{staticClass:"language-bash extra-class"},[t("pre",{pre:!0,attrs:{class:"language-bash"}},[t("code",[t("span",{pre:!0,attrs:{class:"token function"}},[a._v("mkdir")]),a._v(" mysql-dir\n"),t("span",{pre:!0,attrs:{class:"token builtin class-name"}},[a._v("cd")]),a._v(" mysql-dir\n"),t("span",{pre:!0,attrs:{class:"token function"}},[a._v("wget")]),a._v(" https://downloads.mysql.com/archives/get/p/23/file/mysql-5.7.30-1.el7.x86_64.rpm-bundle.tar\n"),t("span",{pre:!0,attrs:{class:"token function"}},[a._v("tar")]),a._v(" -zxvf mysql-5.7.32-1.el7.x86_64.rpm-bundle.tar\nyum "),t("span",{pre:!0,attrs:{class:"token function"}},[a._v("install")]),a._v(" *.rpm -y\n")])])]),t("div",{staticClass:"language-bash extra-class"},[t("pre",{pre:!0,attrs:{class:"language-bash"}},[t("code",[a._v("systemctl start mysqld\n")])])]),t("div",{staticClass:"language-bash extra-class"},[t("pre",{pre:!0,attrs:{class:"language-bash"}},[t("code",[t("span",{pre:!0,attrs:{class:"token function"}},[a._v("cat")]),a._v(" /var/log/mysqld.log "),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v("|")]),a._v(" "),t("span",{pre:!0,attrs:{class:"token function"}},[a._v("grep")]),a._v(" root\n")])])]),t("p",[a._v("2021-07-26T10:50:49.538494Z 1 [Note] A temporary password is generated for root@localhost: "),t("strong",[a._v("20yyk:Ar67S;")])]),a._v(" "),t("p",[a._v("登录数据库:")]),a._v(" "),t("div",{staticClass:"language-mysql extra-class"},[t("pre",{pre:!0,attrs:{class:"language-text"}},[t("code",[a._v("# mysql -uroot -p\nEnter password: 20yyk:Ar67S;\n")])])]),t("p",[a._v("配置数据库:")]),a._v(" "),t("div",{staticClass:"language-bash extra-class"},[t("pre",{pre:!0,attrs:{class:"language-bash"}},[t("code",[t("span",{pre:!0,attrs:{class:"token builtin class-name"}},[a._v("set")]),a._v(" global "),t("span",{pre:!0,attrs:{class:"token assign-left variable"}},[a._v("validate_password_policy")]),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v("=")]),t("span",{pre:!0,attrs:{class:"token number"}},[a._v("0")]),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v(";")]),a._v("\n"),t("span",{pre:!0,attrs:{class:"token builtin class-name"}},[a._v("set")]),a._v(" global "),t("span",{pre:!0,attrs:{class:"token assign-left variable"}},[a._v("validate_password_length")]),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v("=")]),t("span",{pre:!0,attrs:{class:"token number"}},[a._v("1")]),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v(";")]),a._v("\nalter user "),t("span",{pre:!0,attrs:{class:"token string"}},[a._v("'root'")]),a._v("@"),t("span",{pre:!0,attrs:{class:"token string"}},[a._v("'localhost'")]),a._v(" identified by "),t("span",{pre:!0,attrs:{class:"token string"}},[a._v("'venus'")]),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v(";")]),a._v(" "),t("span",{pre:!0,attrs:{class:"token comment"}},[a._v("#修改root登录密码为venus")]),a._v("\n\nuse mysql"),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v(";")]),a._v("\nupdate user "),t("span",{pre:!0,attrs:{class:"token builtin class-name"}},[a._v("set")]),a._v(" "),t("span",{pre:!0,attrs:{class:"token function"}},[a._v("host")]),a._v(" "),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v("=")]),a._v(" "),t("span",{pre:!0,attrs:{class:"token string"}},[a._v("'%'")]),a._v(" where user "),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v("=")]),a._v(" "),t("span",{pre:!0,attrs:{class:"token string"}},[a._v("'root'")]),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v(";")]),a._v("\ncreate user "),t("span",{pre:!0,attrs:{class:"token string"}},[a._v("'zabbix'")]),a._v("@"),t("span",{pre:!0,attrs:{class:"token string"}},[a._v("'%'")]),a._v(" identified by "),t("span",{pre:!0,attrs:{class:"token string"}},[a._v("'123456'")]),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v(";")]),a._v("\ngrant all privileges on zabbix.* to "),t("span",{pre:!0,attrs:{class:"token string"}},[a._v("'zabbix'")]),a._v("@"),t("span",{pre:!0,attrs:{class:"token string"}},[a._v("'%'")]),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v(";")]),a._v("\nflush privileges"),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v(";")]),a._v("\n\n"),t("span",{pre:!0,attrs:{class:"token comment"}},[a._v("# 创建zabbix所需的数据库")]),a._v("\ncreate database zabbix character "),t("span",{pre:!0,attrs:{class:"token builtin class-name"}},[a._v("set")]),a._v(" utf8 collate utf8_bin"),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v(";")]),a._v("\n")])])]),t("p",[a._v("导入 zabbix 模版文件:")]),a._v(" "),t("div",{staticClass:"language-bash extra-class"},[t("pre",{pre:!0,attrs:{class:"language-bash"}},[t("code",[a._v("zcat /usr/share/doc/zabbix-server-mysql-5.0.14/create.sql.gz "),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v("|")]),a._v(" mysql -uzabbix -p123456 zabbix\n")])])]),t("h4",{attrs:{id:"四、修改-zabbix-默认配置文件"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#四、修改-zabbix-默认配置文件"}},[a._v("#")]),a._v(" 四、修改 zabbix 默认配置文件")]),a._v(" "),t("p",[a._v("1、修改连接数据库的密码:")]),a._v(" "),t("div",{staticClass:"language-bash extra-class"},[t("pre",{pre:!0,attrs:{class:"language-bash"}},[t("code",[t("span",{pre:!0,attrs:{class:"token comment"}},[a._v("# vim /etc/zabbix/zabbix_server.conf")]),a._v("\n"),t("span",{pre:!0,attrs:{class:"token assign-left variable"}},[a._v("DBPassword")]),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v("=")]),t("span",{pre:!0,attrs:{class:"token number"}},[a._v("123456")]),a._v("\n")])])]),t("p",[a._v("2、修改 nginx 和所属地域")]),a._v(" "),t("div",{staticClass:"language-bash extra-class"},[t("pre",{pre:!0,attrs:{class:"language-bash"}},[t("code",[t("span",{pre:!0,attrs:{class:"token comment"}},[a._v("# vim /etc/opt/rh/rh-php72/php-fpm.d/zabbix.conf")]),a._v("\n"),t("span",{pre:!0,attrs:{class:"token comment"}},[a._v("# 在第6行后边加上一个nginx")]),a._v("\nlisten.acl_users "),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v("=")]),a._v(" apache,nginx\n\n"),t("span",{pre:!0,attrs:{class:"token comment"}},[a._v("# 在第24行修改zabbix所属的地域")]),a._v("\nphp_value"),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v("[")]),a._v("date.timezone"),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v("]")]),a._v(" "),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v("=")]),a._v(" Asia/shanghai\n")])])]),t("p",[a._v("3、配置监听端口和访问方式")]),a._v(" "),t("div",{staticClass:"language-bash extra-class"},[t("pre",{pre:!0,attrs:{class:"language-bash"}},[t("code",[t("span",{pre:!0,attrs:{class:"token function"}},[a._v("vim")]),a._v(" /etc/opt/rh/rh-nginx116/nginx/conf.d/zabbix.conf\nserver "),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v("{")]),a._v("\n listen "),t("span",{pre:!0,attrs:{class:"token number"}},[a._v("80")]),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v(";")]),a._v("//取消注释\n server_name test.zabbix.com"),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v(";")]),a._v("//取消注释修改成IP或自己的域名\n")])])]),t("p",[a._v("4、如果是伪装域名则修改本地的 hosts 文件")]),a._v(" "),t("div",{staticClass:"language-bash extra-class"},[t("pre",{pre:!0,attrs:{class:"language-bash"}},[t("code",[t("span",{pre:!0,attrs:{class:"token function"}},[a._v("vim")]),a._v(" /etc/hosts\n"),t("span",{pre:!0,attrs:{class:"token number"}},[a._v("192.168")]),a._v(".xx.xx test.zabbix.com\n\nwindow hosts文件也需要添加一下\nC:"),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v("\\")]),a._v("Windows"),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v("\\")]),a._v("System32"),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v("\\")]),a._v("drivers"),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v("\\")]),a._v("etc"),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v("\\")]),a._v("hosts\n"),t("span",{pre:!0,attrs:{class:"token number"}},[a._v("192.168")]),a._v(".xxx.xxx test.zabbix.com \n")])])]),t("p",[a._v("5、启动服务并设为开机自启")]),a._v(" "),t("div",{staticClass:"language-bash extra-class"},[t("pre",{pre:!0,attrs:{class:"language-bash"}},[t("code",[t("span",{pre:!0,attrs:{class:"token comment"}},[a._v("# 启动服务")]),a._v("\nsystemctl restart zabbix-server zabbix-agent rh-nginx116-nginx rh-php72-php-fpm\nsystemctl "),t("span",{pre:!0,attrs:{class:"token builtin class-name"}},[a._v("enable")]),a._v(" zabbix-server zabbix-agent rh-nginx116-nginx rh-php72-php-fpm\n")])])]),t("p",[a._v("6、修改 zabbix-agent 的配置文件")]),a._v(" "),t("div",{staticClass:"language-bash extra-class"},[t("pre",{pre:!0,attrs:{class:"language-bash"}},[t("code",[t("span",{pre:!0,attrs:{class:"token function"}},[a._v("cat")]),a._v(" /etc/zabbix/zabbix_agentd.conf "),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v("|")]),a._v(" "),t("span",{pre:!0,attrs:{class:"token function"}},[a._v("egrep")]),a._v(" -v "),t("span",{pre:!0,attrs:{class:"token string"}},[a._v('"^$|^#"')]),a._v("\n"),t("span",{pre:!0,attrs:{class:"token assign-left variable"}},[a._v("PidFile")]),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v("=")]),a._v("/var/run/zabbix/zabbix_agentd.pid\n"),t("span",{pre:!0,attrs:{class:"token assign-left variable"}},[a._v("LogFile")]),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v("=")]),a._v("/var/log/zabbix/zabbix_agentd.log\n"),t("span",{pre:!0,attrs:{class:"token assign-left variable"}},[a._v("LogFileSize")]),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v("=")]),t("span",{pre:!0,attrs:{class:"token number"}},[a._v("0")]),a._v("\n"),t("span",{pre:!0,attrs:{class:"token assign-left variable"}},[a._v("Server")]),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v("=")]),t("span",{pre:!0,attrs:{class:"token number"}},[a._v("192.168")]),a._v(".88.11 //指定zabbix-server的ip地址\n"),t("span",{pre:!0,attrs:{class:"token assign-left variable"}},[a._v("Hostname")]),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v("=")]),a._v("venus-sealer\n"),t("span",{pre:!0,attrs:{class:"token assign-left variable"}},[a._v("Include")]),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v("=")]),a._v("/etc/zabbix/zabbix_agentd.d/*.conf\n")])])]),t("h4",{attrs:{id:"四、配置-zabbix-监控主机"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#四、配置-zabbix-监控主机"}},[a._v("#")]),a._v(" 四、配置 zabbix 监控主机")]),a._v(" "),t("p",[a._v("1、在浏览器输入 zabbix-server 的 ip 地址或者主机名\n"),t("img",{attrs:{src:"/01-zabbix-install.jpg",alt:""}}),a._v(" "),t("img",{attrs:{src:"/02-zabbix-install.jpg",alt:""}})]),a._v(" "),t("p",[a._v("2、配置数据库连接地址信息\n"),t("img",{attrs:{src:"/03-zabbix-config.jpg",alt:""}}),a._v(" "),t("img",{attrs:{src:"/04-zabbix-hostname.jpg",alt:""}}),a._v(" "),t("img",{attrs:{src:"/05-zabbix-all.jpg",alt:""}}),a._v(" "),t("img",{attrs:{src:"/06-zabbix-finished.jpg",alt:""}})]),a._v(" "),t("p",[a._v("3、登录到 zabbix 系统,默认的用户为 Admin,密码为 zabbix;注意 Admin 的 A 是大写字母\n"),t("img",{attrs:{src:"/07-zabbix-login.jpg",alt:""}}),a._v(" "),t("img",{attrs:{src:"/08-zabbix-dashboard.jpg",alt:""}})]),a._v(" "),t("p",[a._v("4、添加 zabbix-agent 主机\n"),t("img",{attrs:{src:"/09-zabbix-agent.jpg",alt:""}}),a._v(" "),t("img",{attrs:{src:"/10-zabbix-agent-add.jpg",alt:""}})]),a._v(" "),t("p",[a._v("5、查看 zabbix 监控机器的内存图\n"),t("img",{attrs:{src:"/11-zabbix-graphs.jpg",alt:""}}),a._v(" "),t("img",{attrs:{src:"/12-zabbix-memory.jpg",alt:""}})]),a._v(" "),t("p",[a._v("6、异常报警,需要处理的机器\n"),t("img",{attrs:{src:"/13-Alarm-information.jpg",alt:""}})])])}),[],!1,null,null,null);s.default=n.exports}}]); \ No newline at end of file diff --git a/assets/js/47.26f9acac.js b/assets/js/47.e4dd0b82.js similarity index 90% rename from assets/js/47.26f9acac.js rename to assets/js/47.e4dd0b82.js index 89254d693..52797f556 100644 --- a/assets/js/47.26f9acac.js +++ b/assets/js/47.e4dd0b82.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[47],{438:function(e,t,s){"use strict";s.r(t);var i=s(17),n=Object(i.a)({},(function(){var e=this.$createElement,t=this._self._c||e;return t("ContentSlotsDistributor",{attrs:{"slot-key":this.$parent.slotKey}},[t("p",[t("em",[this._v("See something missing? Have tips to share? "),t("a",{attrs:{href:"https://github.com/filecoin-project/venus/issues/new",target:"_blank",rel:"noopener noreferrer"}},[this._v("File an issue"),t("OutboundLink")],1),this._v(", and we'll follow up as soon as possible. (If you have write permission in this repo, feel free to edit directly.)")])])])}),[],!1,null,null,null);t.default=n.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[47],{437:function(e,t,s){"use strict";s.r(t);var i=s(17),n=Object(i.a)({},(function(){var e=this.$createElement,t=this._self._c||e;return t("ContentSlotsDistributor",{attrs:{"slot-key":this.$parent.slotKey}},[t("p",[t("em",[this._v("See something missing? Have tips to share? "),t("a",{attrs:{href:"https://github.com/filecoin-project/venus/issues/new",target:"_blank",rel:"noopener noreferrer"}},[this._v("File an issue"),t("OutboundLink")],1),this._v(", and we'll follow up as soon as possible. (If you have write permission in this repo, feel free to edit directly.)")])])])}),[],!1,null,null,null);t.default=n.exports}}]); \ No newline at end of file diff --git a/assets/js/50.8950e677.js b/assets/js/50.483c26ee.js similarity index 98% rename from assets/js/50.8950e677.js rename to assets/js/50.483c26ee.js index fc2015689..08753bc8e 100644 --- a/assets/js/50.8950e677.js +++ b/assets/js/50.483c26ee.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[50],{442:function(t,a,e){"use strict";e.r(a);var s=e(17),r=Object(s.a)({},(function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[e("h1",{attrs:{id:"market-v1-v2-升级指南"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#market-v1-v2-升级指南"}},[t._v("#")]),t._v(" market v1-v2 升级指南")]),t._v(" "),e("p",[t._v("market v1 升级到 v2 的过程中数据结构发生了变化,如果需要现有的数据请按照现有的步骤进行升级数据")]),t._v(" "),e("h2",{attrs:{id:"编译升级工具"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#编译升级工具"}},[t._v("#")]),t._v(" 编译升级工具")]),t._v(" "),e("div",{staticClass:"language- extra-class"},[e("pre",{pre:!0,attrs:{class:"language-text"}},[e("code",[t._v("git clone https://github.com/filecoin-project/venus-market.git\ngit checkout feat/export_v1_data\n\nmake deps\ncd cli/market_export\ngo build\n")])])]),e("p",[t._v("执行上述步骤后会生成一个工具,这个工具用于导出 v1 版本的数据")]),t._v(" "),e("h2",{attrs:{id:"升级步骤"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#升级步骤"}},[t._v("#")]),t._v(" 升级步骤")]),t._v(" "),e("ol",[e("li",[e("p",[t._v("停止 venus-market 程序")])]),t._v(" "),e("li",[e("p",[t._v("备份 venus-market 数据目录,这个目录默认保存在 ~/.venusmarket.")])]),t._v(" "),e("li",[e("p",[t._v("导出 v1 版本的数据")]),t._v(" "),e("div",{staticClass:"language-sh extra-class"},[e("pre",{pre:!0,attrs:{class:"language-sh"}},[e("code",[t._v(" ./market_export --repo "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("<")]),t._v("venus-market repo"),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v(">")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token builtin class-name"}},[t._v("export")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("<")]),t._v("path of "),e("span",{pre:!0,attrs:{class:"token builtin class-name"}},[t._v("export")]),t._v(" data file"),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v(">")]),t._v(" \n")])])])]),t._v(" "),e("li",[e("p",[t._v("重新初始化 v2 版本的 venus-market(版本号必须高于 2.0.0 rc2)")])]),t._v(" "),e("li",[e("p",[t._v("执行 v2 版本的升级命令,这个命令用于导入步骤 3 中导出的数据。")]),t._v(" "),e("div",{staticClass:"language-sh extra-class"},[e("pre",{pre:!0,attrs:{class:"language-sh"}},[e("code",[t._v("./market_export --repo "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("<")]),t._v("venus-market repo"),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v(">")]),t._v(" migrate import_v1 "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("<")]),t._v("path of "),e("span",{pre:!0,attrs:{class:"token builtin class-name"}},[t._v("export")]),t._v(" data file"),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v(">")]),t._v("\n")])])])])]),t._v(" "),e("p",[e("em",[e("strong",[t._v("稳妥起见,做升级之前请确保没有处于 (Publish/Publishing/StorageDealAwaitingPreCommit) 状态的订单")])])])])}),[],!1,null,null,null);a.default=r.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[50],{441:function(t,a,e){"use strict";e.r(a);var s=e(17),r=Object(s.a)({},(function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[e("h1",{attrs:{id:"market-v1-v2-升级指南"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#market-v1-v2-升级指南"}},[t._v("#")]),t._v(" market v1-v2 升级指南")]),t._v(" "),e("p",[t._v("market v1 升级到 v2 的过程中数据结构发生了变化,如果需要现有的数据请按照现有的步骤进行升级数据")]),t._v(" "),e("h2",{attrs:{id:"编译升级工具"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#编译升级工具"}},[t._v("#")]),t._v(" 编译升级工具")]),t._v(" "),e("div",{staticClass:"language- extra-class"},[e("pre",{pre:!0,attrs:{class:"language-text"}},[e("code",[t._v("git clone https://github.com/filecoin-project/venus-market.git\ngit checkout feat/export_v1_data\n\nmake deps\ncd cli/market_export\ngo build\n")])])]),e("p",[t._v("执行上述步骤后会生成一个工具,这个工具用于导出 v1 版本的数据")]),t._v(" "),e("h2",{attrs:{id:"升级步骤"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#升级步骤"}},[t._v("#")]),t._v(" 升级步骤")]),t._v(" "),e("ol",[e("li",[e("p",[t._v("停止 venus-market 程序")])]),t._v(" "),e("li",[e("p",[t._v("备份 venus-market 数据目录,这个目录默认保存在 ~/.venusmarket.")])]),t._v(" "),e("li",[e("p",[t._v("导出 v1 版本的数据")]),t._v(" "),e("div",{staticClass:"language-sh extra-class"},[e("pre",{pre:!0,attrs:{class:"language-sh"}},[e("code",[t._v(" ./market_export --repo "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("<")]),t._v("venus-market repo"),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v(">")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token builtin class-name"}},[t._v("export")]),t._v(" "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("<")]),t._v("path of "),e("span",{pre:!0,attrs:{class:"token builtin class-name"}},[t._v("export")]),t._v(" data file"),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v(">")]),t._v(" \n")])])])]),t._v(" "),e("li",[e("p",[t._v("重新初始化 v2 版本的 venus-market(版本号必须高于 2.0.0 rc2)")])]),t._v(" "),e("li",[e("p",[t._v("执行 v2 版本的升级命令,这个命令用于导入步骤 3 中导出的数据。")]),t._v(" "),e("div",{staticClass:"language-sh extra-class"},[e("pre",{pre:!0,attrs:{class:"language-sh"}},[e("code",[t._v("./market_export --repo "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("<")]),t._v("venus-market repo"),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v(">")]),t._v(" migrate import_v1 "),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v("<")]),t._v("path of "),e("span",{pre:!0,attrs:{class:"token builtin class-name"}},[t._v("export")]),t._v(" data file"),e("span",{pre:!0,attrs:{class:"token operator"}},[t._v(">")]),t._v("\n")])])])])]),t._v(" "),e("p",[e("em",[e("strong",[t._v("稳妥起见,做升级之前请确保没有处于 (Publish/Publishing/StorageDealAwaitingPreCommit) 状态的订单")])])])])}),[],!1,null,null,null);a.default=r.exports}}]); \ No newline at end of file diff --git a/assets/js/51.dd59470e.js b/assets/js/51.0b8a7f70.js similarity index 98% rename from assets/js/51.dd59470e.js rename to assets/js/51.0b8a7f70.js index 7f40b6cb4..88cf2690d 100644 --- a/assets/js/51.dd59470e.js +++ b/assets/js/51.0b8a7f70.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[51],{441:function(v,e,a){"use strict";a.r(e);var n=a(17),s=Object(n.a)({},(function(){var v=this,e=v.$createElement,a=v._self._c||e;return a("ContentSlotsDistributor",{attrs:{"slot-key":v.$parent.slotKey}},[a("h1",{attrs:{id:"nv15-升级指南"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#nv15-升级指南"}},[v._v("#")]),v._v(" nv15 升级指南")]),v._v(" "),a("h2",{attrs:{id:"版本信息"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#版本信息"}},[v._v("#")]),v._v(" 版本信息")]),v._v(" "),a("ol",[a("li",[v._v("venus-wallet")]),v._v(" "),a("li",[v._v("venus")]),v._v(" "),a("li",[v._v("lotus 兼容版本")]),v._v(" "),a("li",[v._v("chain-co")]),v._v(" "),a("li",[v._v("messager")]),v._v(" "),a("li",[v._v("venus-gateway")]),v._v(" "),a("li",[v._v("venus-miner")]),v._v(" "),a("li",[v._v("venus-market")]),v._v(" "),a("li",[v._v("venus-sealer")])]),v._v(" "),a("h2",{attrs:{id:"升级细节"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#升级细节"}},[v._v("#")]),v._v(" 升级细节")]),v._v(" "),a("ol",[a("li",[a("p",[v._v("venus-auth: 可选择升级\n分支:v1.3.2\n影响功能:无")])]),v._v(" "),a("li",[a("p",[v._v("venus:升级\n分支:v1.2.1\n影响功能:支持新网络版本\n注意事项:")]),v._v(" "),a("ol",[a("li",[v._v("升级后检查 vk 文件是否完整")]),v._v(" "),a("li",[v._v("升级后检查配置文件,升级高度是否正常设置:")])]),v._v(" "),a("div",{staticClass:"language- extra-class"},[a("pre",{pre:!0,attrs:{class:"language-text"}},[a("code",[v._v('# cali\n"upgradeOhSnapHeight": 682006\n# mainnet\n"upgradeOhSnapHeight": 1594680\n')])])]),a("ol",{attrs:{start:"3"}},[a("li",[v._v("升级后检查 mpool 下 maxfee 配置是否由数字转换成 xxFil 形式")])]),v._v(" "),a("div",{staticClass:"language- extra-class"},[a("pre",{pre:!0,attrs:{class:"language-text"}},[a("code",[v._v('"mpool": {\n "maxNonceGap": 100,\n "maxFee": "10 FIL"\n},\n')])])]),a("ol",{attrs:{start:"4"}},[a("li",[v._v("升级后需检查是否正常同步区块")]),v._v(" "),a("li",[v._v("api 版本发生变化,影响 sealer 的连接,升级方式需要按照大升级的方式来处理")])])]),v._v(" "),a("li",[a("p",[v._v("lotus 兼容版本:升级\n分支:venus/v1.14.0\n影响功能:支持新网络版本\n注意事项:")]),v._v(" "),a("ol",[a("li",[v._v("检查是否正常同步")]),v._v(" "),a("li",[v._v("检查和 venus-auth 的连接是否完好(curl 命令验证)")])])]),v._v(" "),a("li",[a("p",[v._v("chain-co:升级\n分支:v0.1.0\n注意事项:\n影响功能:")]),v._v(" "),a("ol",[a("li",[v._v("暴露新的接口MpoolPending/MpoolGetNonce")]),v._v(" "),a("li",[v._v("升级后检查两个接口是否存在,且能正常工作")])])]),v._v(" "),a("li",[a("p",[v._v("venus-messager:升级\n分支:v1.4.0\n影响功能:仅支持新的网络版本\n注意事项:无")])]),v._v(" "),a("li",[a("p",[v._v("venus-miner:升级\nTag: v1.4.0\n影响功能:\n1. 计算证明的接口 (ComputeProof) 参数发生变化\n注意事项:无")])]),v._v(" "),a("li",[a("p",[v._v("venus-gateway:升级\n分支:v1.2.0\n影响功能:\n1. ComputeProof 接口参数发生变化,\n2. 需同时支持新老两组接口\n注意事项:\n1. 升级后需检查是否v0/v1两组接口都在正常工作")])]),v._v(" "),a("li",[a("p",[v._v("venus-wallet:可选择升级\nTag:v1.4.0\n影响功能:无")])]),v._v(" "),a("li",[a("p",[v._v("venus-market:可选择升级\n分支:v2.0.0\n影响功能 新版本")])])]),v._v(" "),a("h2",{attrs:{id:"升级顺序"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#升级顺序"}},[v._v("#")]),v._v(" 升级顺序")]),v._v(" "),a("ol",[a("li",[v._v("venus-wallet Tag:v1.4.0")]),v._v(" "),a("li",[v._v("venus v1.2.0")]),v._v(" "),a("li",[v._v("lotus for venuspool venus/v1.14.0")]),v._v(" "),a("li",[v._v("chain-co v0.1.0")]),v._v(" "),a("li",[v._v("venus-messager v1.4.0")]),v._v(" "),a("li",[v._v("venus-gateway v1.2.0")]),v._v(" "),a("li",[v._v("venus-miner Tag:v1.4.0")]),v._v(" "),a("li",[v._v("venus-market v2.0.0")]),v._v(" "),a("li",[v._v("venus-sealer v1.4.0")])]),v._v(" "),a("h2",{attrs:{id:"升级建议"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#升级建议"}},[v._v("#")]),v._v(" 升级建议")]),v._v(" "),a("ol",[a("li",[v._v("对于还有证明空窗期的用户,选择一个安全的时间来升级。")]),v._v(" "),a("li",[v._v("对于已经不具备空窗期的用户,最好的办法是在建立一个环境来进行过度。")]),v._v(" "),a("li",[v._v("建议运行一个备用的兼容版本 lotus 用于备份。")])]),v._v(" "),a("p",[v._v("有任何关于升级的问题可以到 disscusion 讨论:https://github.com/filecoin-project/venus/discussions/4688")])])}),[],!1,null,null,null);e.default=s.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[51],{442:function(v,e,a){"use strict";a.r(e);var n=a(17),s=Object(n.a)({},(function(){var v=this,e=v.$createElement,a=v._self._c||e;return a("ContentSlotsDistributor",{attrs:{"slot-key":v.$parent.slotKey}},[a("h1",{attrs:{id:"nv15-升级指南"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#nv15-升级指南"}},[v._v("#")]),v._v(" nv15 升级指南")]),v._v(" "),a("h2",{attrs:{id:"版本信息"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#版本信息"}},[v._v("#")]),v._v(" 版本信息")]),v._v(" "),a("ol",[a("li",[v._v("venus-wallet")]),v._v(" "),a("li",[v._v("venus")]),v._v(" "),a("li",[v._v("lotus 兼容版本")]),v._v(" "),a("li",[v._v("chain-co")]),v._v(" "),a("li",[v._v("messager")]),v._v(" "),a("li",[v._v("venus-gateway")]),v._v(" "),a("li",[v._v("venus-miner")]),v._v(" "),a("li",[v._v("venus-market")]),v._v(" "),a("li",[v._v("venus-sealer")])]),v._v(" "),a("h2",{attrs:{id:"升级细节"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#升级细节"}},[v._v("#")]),v._v(" 升级细节")]),v._v(" "),a("ol",[a("li",[a("p",[v._v("venus-auth: 可选择升级\n分支:v1.3.2\n影响功能:无")])]),v._v(" "),a("li",[a("p",[v._v("venus:升级\n分支:v1.2.1\n影响功能:支持新网络版本\n注意事项:")]),v._v(" "),a("ol",[a("li",[v._v("升级后检查 vk 文件是否完整")]),v._v(" "),a("li",[v._v("升级后检查配置文件,升级高度是否正常设置:")])]),v._v(" "),a("div",{staticClass:"language- extra-class"},[a("pre",{pre:!0,attrs:{class:"language-text"}},[a("code",[v._v('# cali\n"upgradeOhSnapHeight": 682006\n# mainnet\n"upgradeOhSnapHeight": 1594680\n')])])]),a("ol",{attrs:{start:"3"}},[a("li",[v._v("升级后检查 mpool 下 maxfee 配置是否由数字转换成 xxFil 形式")])]),v._v(" "),a("div",{staticClass:"language- extra-class"},[a("pre",{pre:!0,attrs:{class:"language-text"}},[a("code",[v._v('"mpool": {\n "maxNonceGap": 100,\n "maxFee": "10 FIL"\n},\n')])])]),a("ol",{attrs:{start:"4"}},[a("li",[v._v("升级后需检查是否正常同步区块")]),v._v(" "),a("li",[v._v("api 版本发生变化,影响 sealer 的连接,升级方式需要按照大升级的方式来处理")])])]),v._v(" "),a("li",[a("p",[v._v("lotus 兼容版本:升级\n分支:venus/v1.14.0\n影响功能:支持新网络版本\n注意事项:")]),v._v(" "),a("ol",[a("li",[v._v("检查是否正常同步")]),v._v(" "),a("li",[v._v("检查和 venus-auth 的连接是否完好(curl 命令验证)")])])]),v._v(" "),a("li",[a("p",[v._v("chain-co:升级\n分支:v0.1.0\n注意事项:\n影响功能:")]),v._v(" "),a("ol",[a("li",[v._v("暴露新的接口MpoolPending/MpoolGetNonce")]),v._v(" "),a("li",[v._v("升级后检查两个接口是否存在,且能正常工作")])])]),v._v(" "),a("li",[a("p",[v._v("venus-messager:升级\n分支:v1.4.0\n影响功能:仅支持新的网络版本\n注意事项:无")])]),v._v(" "),a("li",[a("p",[v._v("venus-miner:升级\nTag: v1.4.0\n影响功能:\n1. 计算证明的接口 (ComputeProof) 参数发生变化\n注意事项:无")])]),v._v(" "),a("li",[a("p",[v._v("venus-gateway:升级\n分支:v1.2.0\n影响功能:\n1. ComputeProof 接口参数发生变化,\n2. 需同时支持新老两组接口\n注意事项:\n1. 升级后需检查是否v0/v1两组接口都在正常工作")])]),v._v(" "),a("li",[a("p",[v._v("venus-wallet:可选择升级\nTag:v1.4.0\n影响功能:无")])]),v._v(" "),a("li",[a("p",[v._v("venus-market:可选择升级\n分支:v2.0.0\n影响功能 新版本")])])]),v._v(" "),a("h2",{attrs:{id:"升级顺序"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#升级顺序"}},[v._v("#")]),v._v(" 升级顺序")]),v._v(" "),a("ol",[a("li",[v._v("venus-wallet Tag:v1.4.0")]),v._v(" "),a("li",[v._v("venus v1.2.0")]),v._v(" "),a("li",[v._v("lotus for venuspool venus/v1.14.0")]),v._v(" "),a("li",[v._v("chain-co v0.1.0")]),v._v(" "),a("li",[v._v("venus-messager v1.4.0")]),v._v(" "),a("li",[v._v("venus-gateway v1.2.0")]),v._v(" "),a("li",[v._v("venus-miner Tag:v1.4.0")]),v._v(" "),a("li",[v._v("venus-market v2.0.0")]),v._v(" "),a("li",[v._v("venus-sealer v1.4.0")])]),v._v(" "),a("h2",{attrs:{id:"升级建议"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#升级建议"}},[v._v("#")]),v._v(" 升级建议")]),v._v(" "),a("ol",[a("li",[v._v("对于还有证明空窗期的用户,选择一个安全的时间来升级。")]),v._v(" "),a("li",[v._v("对于已经不具备空窗期的用户,最好的办法是在建立一个环境来进行过度。")]),v._v(" "),a("li",[v._v("建议运行一个备用的兼容版本 lotus 用于备份。")])]),v._v(" "),a("p",[v._v("有任何关于升级的问题可以到 disscusion 讨论:https://github.com/filecoin-project/venus/discussions/4688")])])}),[],!1,null,null,null);e.default=s.exports}}]); \ No newline at end of file diff --git a/assets/js/52.ad74f043.js b/assets/js/52.fead5f04.js similarity index 99% rename from assets/js/52.ad74f043.js rename to assets/js/52.fead5f04.js index f24373fa4..1512e1f69 100644 --- a/assets/js/52.ad74f043.js +++ b/assets/js/52.fead5f04.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[52],{445:function(e,v,a){"use strict";a.r(v);var t=a(17),s=Object(t.a)({},(function(){var e=this,v=e.$createElement,a=e._self._c||v;return a("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[a("h2",{attrs:{id:"nv16-各组件升级文档"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#nv16-各组件升级文档"}},[e._v("#")]),e._v(" nv16 各组件升级文档")]),e._v(" "),a("h3",{attrs:{id:"时间线"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#时间线"}},[e._v("#")]),e._v(" 时间线")]),e._v(" "),a("p",[e._v("升级时间:2022-07-06T14:00:00Z,北京时间是 2022-07-06 22:00:00(周三)")]),e._v(" "),a("h3",{attrs:{id:"venus-auth"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#venus-auth"}},[e._v("#")]),e._v(" venus-auth")]),e._v(" "),a("p",[e._v("tag: v1.6.0")]),e._v(" "),a("p",[e._v("影响功能:支持多个 miner 共享同一个 token 的功能")]),e._v(" "),a("p",[e._v("依赖升级组件:无")]),e._v(" "),a("p",[e._v("注意事项:")]),e._v(" "),a("ol",[a("li",[a("p",[e._v("新增加一张 "),a("code",[e._v("miners")]),e._v(" 表,用于保存 "),a("code",[e._v("user")]),e._v(" 和 "),a("code",[e._v("miner")]),e._v(" 的对应关系")])]),e._v(" "),a("li",[a("p",[e._v("会把 "),a("code",[e._v("users")]),e._v(" 表每行数据的 "),a("code",[e._v("name")]),e._v(" 和 "),a("code",[e._v("miner")]),e._v(" 字段的值写入到 "),a("code",[e._v("miners")]),e._v(" 表中的 "),a("code",[e._v("user")]),e._v(" 和 "),a("code",[e._v("miner")]),e._v("字段,检查写入是否有问题,成功日志:migrate from:0, to:1 success;失败日志:migrate from store version:0 failed")])]),e._v(" "),a("li",[a("p",[a("code",[e._v("./venus-auth user miner list ")]),e._v(" 可以查看每个用户绑定的 miner")])]),e._v(" "),a("li",[a("p",[e._v("使用命令 "),a("code",[e._v("./venus-auth user list")]),e._v("列出所有 user,"),a("strong",[e._v("确保被使用的 user 状态都为 enabled 状态")])])])]),e._v(" "),a("h3",{attrs:{id:"venus"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#venus"}},[e._v("#")]),e._v(" venus")]),e._v(" "),a("p",[e._v("tag: v1.6.0")]),e._v(" "),a("p",[e._v("影响功能:支持 nv16 网络")]),e._v(" "),a("p",[e._v("依赖升级组件:无")]),e._v(" "),a("p",[e._v("注意事项:")]),e._v(" "),a("ol",[a("li",[a("p",[e._v("升级后检查 vk 文件是否完整")])]),e._v(" "),a("li",[a("p",[e._v("升级后检查配置文件,升级高度是否正常设置,配置文件默认在 "),a("code",[e._v("~/.venus/config.json")]),e._v(" :")]),e._v(" "),a("div",{staticClass:"language- extra-class"},[a("pre",{pre:!0,attrs:{class:"language-text"}},[a("code",[e._v('# cali\n"upgradeSkyrHeight": 1044660\n# mainnet\n"upgradeSkyrHeight": 1960320\n')])])])]),e._v(" "),a("li",[a("p",[e._v("升级后需检查是否正常同步区块")])]),e._v(" "),a("li",[a("p",[e._v("api 版本发生变化,影响 miner 的连接")]),e._v(" "),a("div",{staticClass:"language- extra-class"},[a("pre",{pre:!0,attrs:{class:"language-text"}},[a("code",[e._v('# 用 curl 命令测试接口 StateGetBeaconEntry、BeaconGetEntry,下面三个 curl 命令返回结果应该一样\ncurl http://127.0.0.1:3453/rpc/v0 -X POST -H "Content-Type: application/json" -H "Authorization: Bearer token" -d \'{"method": "Filecoin.BeaconGetEntry","params":[1933610], "id": 0}\'\ncurl http://127.0.0.1:3453/rpc/v1 -X POST -H "Content-Type: application/json" -H "Authorization: Bearer token" -d \'{"method": "Filecoin.BeaconGetEntry","params":[1933610], "id": 0}\' \ncurl http://127.0.0.1:3453/rpc/v1 -X POST -H "Content-Type: application/json" -H "Authorization: Bearer token" -d \'{"method": "Filecoin.StateGetBeaconEntry","params":[1933610], "id": 0}\'\n')])])])]),e._v(" "),a("li",[a("p",[e._v("检查主网 v8 actors cid,确保与下面输出一样")]),e._v(" "),a("div",{staticClass:"language- extra-class"},[a("pre",{pre:!0,attrs:{class:"language-text"}},[a("code",[e._v("./venus state actor-cids\n\n# 顺序可能会不一样\n_manifest bafy2bzacebogjbpiemi7npzxchgcjjki3tfxon4ims55obfyfleqntteljsea \naccount bafk2bzacedudbf7fc5va57t3tmo63snmt3en4iaidv4vo3qlyacbxaa6hlx6y \nstoragemarket bafk2bzacediohrxkp2fbsl4yj4jlupjdkgsiwqb4zuezvinhdo2j5hrxco62q \nstorageminer bafk2bzacecgnynvd3tene3bvqoknuspit56canij5bpra6wl4mrq2mxxwriyu \nmultisig bafk2bzacebhldfjuy4o5v7amrhp5p2gzv2qo5275jut4adnbyp56fxkwy5fag \npaymentchannel bafk2bzacebalad3f72wyk7qyilvfjijcwubdspytnyzlrhvn73254gqis44rq \nreward bafk2bzacecwzzxlgjiavnc3545cqqil3cmq4hgpvfp2crguxy2pl5ybusfsbe \nsystem bafk2bzacedwq5uppsw7vp55zpj7jdieizirmldceehu6wvombw3ixq2tcq57w \ncron bafk2bzacecqb3eolfurehny6yp7tgmapib4ocazo5ilkopjce2c7wc2bcec62 \ninit bafk2bzaceaipvjhoxmtofsnv3aj6gj5ida4afdrxa4ewku2hfipdlxpaektlw \nstoragepower bafk2bzacebjvqva6ppvysn5xpmiqcdfelwbbcxmghx5ww6hr37cgred6dyrpm \nverifiedregistry bafk2bzaceb3zbkjz3auizmoln2unmxep7dyfcmsre64vnqfhdyh7rkqfoxlw4\n")])])])]),e._v(" "),a("li",[a("p",[e._v("主网可以通过设置环境变量 "),a("code",[e._v("export VENUS_USE_FVM_TO_SYNC_MAINNET_V15=1")]),e._v(" 在 nv15 网络使用 fvm")])]),e._v(" "),a("li",[a("p",[e._v("若不排查问题,rust 日志级别"),a("strong",[e._v("不建议")]),e._v("设置为 "),a("code",[e._v("trace")]),e._v(",因为会打印较多日志")])]),e._v(" "),a("li",[a("p",[e._v("升级后可以通过命令来 "),a("code",[e._v("./venus state get-actor t01000")]),e._v(" 来确认是否升级成功")])])]),e._v(" "),a("h3",{attrs:{id:"venus-messager"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#venus-messager"}},[e._v("#")]),e._v(" venus-messager")]),e._v(" "),a("p",[e._v("tag:v1.6.0")]),e._v(" "),a("p",[e._v("影响功能:支持新的网络版本,新增主目录,默认在 "),a("code",[e._v("~/.venus-messager")])]),e._v(" "),a("p",[e._v("依赖升级组件:")]),e._v(" "),a("p",[e._v("注意事项:")]),e._v(" "),a("ol",[a("li",[a("p",[e._v("升级后是否生成主目录 "),a("code",[e._v("~/.venus-messager")])])]),e._v(" "),a("li",[a("p",[e._v("升级后主目录应包含 "),a("code",[e._v("config.toml")]),e._v(" 和 "),a("code",[e._v("tipset.json")]),e._v(","),a("code",[e._v("config.toml")]),e._v(" 应与启动 "),a("code",[e._v("messager")]),e._v(" 使用的配置文件内容一致,"),a("code",[e._v("~/.venus-messager/tipset.json")]),e._v(" 是由当前目录中的 "),a("code",[e._v("tipset.json")]),e._v(" 拷贝而来")])]),e._v(" "),a("li",[a("p",[e._v("升级成功后再次重启是读取的配置是"),a("code",[e._v("~/.venus-messager/config.toml")])])]),e._v(" "),a("li",[a("p",[e._v("能否正常收到消息和推送消息到节点")])])]),e._v(" "),a("h3",{attrs:{id:"venus-miner"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#venus-miner"}},[e._v("#")]),e._v(" venus-miner")]),e._v(" "),a("p",[e._v("tag: v1.6.0")]),e._v(" "),a("p",[e._v("影响功能:")]),e._v(" "),a("ol",[a("li",[e._v("获取 beacon 的接口名字 由 "),a("code",[e._v("BeaconGetEntry")]),e._v(" 改为 "),a("code",[e._v("StateGetBeaconEntry")])])]),e._v(" "),a("p",[e._v("依赖升级组件:venus,venus-auth,venus-gateway")]),e._v(" "),a("p",[e._v("注意事项:")]),e._v(" "),a("ol",[a("li",[e._v("升级后常用命令 address state/list/update验证一遍.")]),e._v(" "),a("li",[e._v("如果用 mysql 数据库,检查下 miner_blocks 表中 parent_key 字段是 varchar(1000)")])]),e._v(" "),a("h3",{attrs:{id:"venus-gateway"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#venus-gateway"}},[e._v("#")]),e._v(" venus-gateway")]),e._v(" "),a("p",[e._v("tag: v1.6.0")]),e._v(" "),a("p",[e._v("影响功能:修复没有自动清理超时的请求")]),e._v(" "),a("p",[e._v("注意事项:")]),e._v(" "),a("ol",[a("li",[e._v("升级后 "),a("code",[e._v("wallet")]),e._v(" 是否重新注册上来")])]),e._v(" "),a("h3",{attrs:{id:"venus-market"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#venus-market"}},[e._v("#")]),e._v(" venus-market")]),e._v(" "),a("p",[e._v("tag: v2.2.0")]),e._v(" "),a("p",[e._v("影响功能:")]),e._v(" "),a("p",[e._v("注意事项:")]),e._v(" "),a("h3",{attrs:{id:"venus-wallet"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#venus-wallet"}},[e._v("#")]),e._v(" venus-wallet")]),e._v(" "),a("h4",{attrs:{id:"社区"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#社区"}},[e._v("#")]),e._v(" 社区")]),e._v(" "),a("p",[e._v("tag: v1.6.0")]),e._v(" "),a("p",[e._v("影响功能:")]),e._v(" "),a("p",[e._v("注意事项:")]),e._v(" "),a("ol",[a("li",[e._v("需要解锁钱包")]),e._v(" "),a("li",[e._v("是否注册到 gateway")])])])}),[],!1,null,null,null);v.default=s.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[52],{443:function(e,v,a){"use strict";a.r(v);var t=a(17),s=Object(t.a)({},(function(){var e=this,v=e.$createElement,a=e._self._c||v;return a("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[a("h2",{attrs:{id:"nv16-各组件升级文档"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#nv16-各组件升级文档"}},[e._v("#")]),e._v(" nv16 各组件升级文档")]),e._v(" "),a("h3",{attrs:{id:"时间线"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#时间线"}},[e._v("#")]),e._v(" 时间线")]),e._v(" "),a("p",[e._v("升级时间:2022-07-06T14:00:00Z,北京时间是 2022-07-06 22:00:00(周三)")]),e._v(" "),a("h3",{attrs:{id:"venus-auth"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#venus-auth"}},[e._v("#")]),e._v(" venus-auth")]),e._v(" "),a("p",[e._v("tag: v1.6.0")]),e._v(" "),a("p",[e._v("影响功能:支持多个 miner 共享同一个 token 的功能")]),e._v(" "),a("p",[e._v("依赖升级组件:无")]),e._v(" "),a("p",[e._v("注意事项:")]),e._v(" "),a("ol",[a("li",[a("p",[e._v("新增加一张 "),a("code",[e._v("miners")]),e._v(" 表,用于保存 "),a("code",[e._v("user")]),e._v(" 和 "),a("code",[e._v("miner")]),e._v(" 的对应关系")])]),e._v(" "),a("li",[a("p",[e._v("会把 "),a("code",[e._v("users")]),e._v(" 表每行数据的 "),a("code",[e._v("name")]),e._v(" 和 "),a("code",[e._v("miner")]),e._v(" 字段的值写入到 "),a("code",[e._v("miners")]),e._v(" 表中的 "),a("code",[e._v("user")]),e._v(" 和 "),a("code",[e._v("miner")]),e._v("字段,检查写入是否有问题,成功日志:migrate from:0, to:1 success;失败日志:migrate from store version:0 failed")])]),e._v(" "),a("li",[a("p",[a("code",[e._v("./venus-auth user miner list ")]),e._v(" 可以查看每个用户绑定的 miner")])]),e._v(" "),a("li",[a("p",[e._v("使用命令 "),a("code",[e._v("./venus-auth user list")]),e._v("列出所有 user,"),a("strong",[e._v("确保被使用的 user 状态都为 enabled 状态")])])])]),e._v(" "),a("h3",{attrs:{id:"venus"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#venus"}},[e._v("#")]),e._v(" venus")]),e._v(" "),a("p",[e._v("tag: v1.6.0")]),e._v(" "),a("p",[e._v("影响功能:支持 nv16 网络")]),e._v(" "),a("p",[e._v("依赖升级组件:无")]),e._v(" "),a("p",[e._v("注意事项:")]),e._v(" "),a("ol",[a("li",[a("p",[e._v("升级后检查 vk 文件是否完整")])]),e._v(" "),a("li",[a("p",[e._v("升级后检查配置文件,升级高度是否正常设置,配置文件默认在 "),a("code",[e._v("~/.venus/config.json")]),e._v(" :")]),e._v(" "),a("div",{staticClass:"language- extra-class"},[a("pre",{pre:!0,attrs:{class:"language-text"}},[a("code",[e._v('# cali\n"upgradeSkyrHeight": 1044660\n# mainnet\n"upgradeSkyrHeight": 1960320\n')])])])]),e._v(" "),a("li",[a("p",[e._v("升级后需检查是否正常同步区块")])]),e._v(" "),a("li",[a("p",[e._v("api 版本发生变化,影响 miner 的连接")]),e._v(" "),a("div",{staticClass:"language- extra-class"},[a("pre",{pre:!0,attrs:{class:"language-text"}},[a("code",[e._v('# 用 curl 命令测试接口 StateGetBeaconEntry、BeaconGetEntry,下面三个 curl 命令返回结果应该一样\ncurl http://127.0.0.1:3453/rpc/v0 -X POST -H "Content-Type: application/json" -H "Authorization: Bearer token" -d \'{"method": "Filecoin.BeaconGetEntry","params":[1933610], "id": 0}\'\ncurl http://127.0.0.1:3453/rpc/v1 -X POST -H "Content-Type: application/json" -H "Authorization: Bearer token" -d \'{"method": "Filecoin.BeaconGetEntry","params":[1933610], "id": 0}\' \ncurl http://127.0.0.1:3453/rpc/v1 -X POST -H "Content-Type: application/json" -H "Authorization: Bearer token" -d \'{"method": "Filecoin.StateGetBeaconEntry","params":[1933610], "id": 0}\'\n')])])])]),e._v(" "),a("li",[a("p",[e._v("检查主网 v8 actors cid,确保与下面输出一样")]),e._v(" "),a("div",{staticClass:"language- extra-class"},[a("pre",{pre:!0,attrs:{class:"language-text"}},[a("code",[e._v("./venus state actor-cids\n\n# 顺序可能会不一样\n_manifest bafy2bzacebogjbpiemi7npzxchgcjjki3tfxon4ims55obfyfleqntteljsea \naccount bafk2bzacedudbf7fc5va57t3tmo63snmt3en4iaidv4vo3qlyacbxaa6hlx6y \nstoragemarket bafk2bzacediohrxkp2fbsl4yj4jlupjdkgsiwqb4zuezvinhdo2j5hrxco62q \nstorageminer bafk2bzacecgnynvd3tene3bvqoknuspit56canij5bpra6wl4mrq2mxxwriyu \nmultisig bafk2bzacebhldfjuy4o5v7amrhp5p2gzv2qo5275jut4adnbyp56fxkwy5fag \npaymentchannel bafk2bzacebalad3f72wyk7qyilvfjijcwubdspytnyzlrhvn73254gqis44rq \nreward bafk2bzacecwzzxlgjiavnc3545cqqil3cmq4hgpvfp2crguxy2pl5ybusfsbe \nsystem bafk2bzacedwq5uppsw7vp55zpj7jdieizirmldceehu6wvombw3ixq2tcq57w \ncron bafk2bzacecqb3eolfurehny6yp7tgmapib4ocazo5ilkopjce2c7wc2bcec62 \ninit bafk2bzaceaipvjhoxmtofsnv3aj6gj5ida4afdrxa4ewku2hfipdlxpaektlw \nstoragepower bafk2bzacebjvqva6ppvysn5xpmiqcdfelwbbcxmghx5ww6hr37cgred6dyrpm \nverifiedregistry bafk2bzaceb3zbkjz3auizmoln2unmxep7dyfcmsre64vnqfhdyh7rkqfoxlw4\n")])])])]),e._v(" "),a("li",[a("p",[e._v("主网可以通过设置环境变量 "),a("code",[e._v("export VENUS_USE_FVM_TO_SYNC_MAINNET_V15=1")]),e._v(" 在 nv15 网络使用 fvm")])]),e._v(" "),a("li",[a("p",[e._v("若不排查问题,rust 日志级别"),a("strong",[e._v("不建议")]),e._v("设置为 "),a("code",[e._v("trace")]),e._v(",因为会打印较多日志")])]),e._v(" "),a("li",[a("p",[e._v("升级后可以通过命令来 "),a("code",[e._v("./venus state get-actor t01000")]),e._v(" 来确认是否升级成功")])])]),e._v(" "),a("h3",{attrs:{id:"venus-messager"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#venus-messager"}},[e._v("#")]),e._v(" venus-messager")]),e._v(" "),a("p",[e._v("tag:v1.6.0")]),e._v(" "),a("p",[e._v("影响功能:支持新的网络版本,新增主目录,默认在 "),a("code",[e._v("~/.venus-messager")])]),e._v(" "),a("p",[e._v("依赖升级组件:")]),e._v(" "),a("p",[e._v("注意事项:")]),e._v(" "),a("ol",[a("li",[a("p",[e._v("升级后是否生成主目录 "),a("code",[e._v("~/.venus-messager")])])]),e._v(" "),a("li",[a("p",[e._v("升级后主目录应包含 "),a("code",[e._v("config.toml")]),e._v(" 和 "),a("code",[e._v("tipset.json")]),e._v(","),a("code",[e._v("config.toml")]),e._v(" 应与启动 "),a("code",[e._v("messager")]),e._v(" 使用的配置文件内容一致,"),a("code",[e._v("~/.venus-messager/tipset.json")]),e._v(" 是由当前目录中的 "),a("code",[e._v("tipset.json")]),e._v(" 拷贝而来")])]),e._v(" "),a("li",[a("p",[e._v("升级成功后再次重启是读取的配置是"),a("code",[e._v("~/.venus-messager/config.toml")])])]),e._v(" "),a("li",[a("p",[e._v("能否正常收到消息和推送消息到节点")])])]),e._v(" "),a("h3",{attrs:{id:"venus-miner"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#venus-miner"}},[e._v("#")]),e._v(" venus-miner")]),e._v(" "),a("p",[e._v("tag: v1.6.0")]),e._v(" "),a("p",[e._v("影响功能:")]),e._v(" "),a("ol",[a("li",[e._v("获取 beacon 的接口名字 由 "),a("code",[e._v("BeaconGetEntry")]),e._v(" 改为 "),a("code",[e._v("StateGetBeaconEntry")])])]),e._v(" "),a("p",[e._v("依赖升级组件:venus,venus-auth,venus-gateway")]),e._v(" "),a("p",[e._v("注意事项:")]),e._v(" "),a("ol",[a("li",[e._v("升级后常用命令 address state/list/update验证一遍.")]),e._v(" "),a("li",[e._v("如果用 mysql 数据库,检查下 miner_blocks 表中 parent_key 字段是 varchar(1000)")])]),e._v(" "),a("h3",{attrs:{id:"venus-gateway"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#venus-gateway"}},[e._v("#")]),e._v(" venus-gateway")]),e._v(" "),a("p",[e._v("tag: v1.6.0")]),e._v(" "),a("p",[e._v("影响功能:修复没有自动清理超时的请求")]),e._v(" "),a("p",[e._v("注意事项:")]),e._v(" "),a("ol",[a("li",[e._v("升级后 "),a("code",[e._v("wallet")]),e._v(" 是否重新注册上来")])]),e._v(" "),a("h3",{attrs:{id:"venus-market"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#venus-market"}},[e._v("#")]),e._v(" venus-market")]),e._v(" "),a("p",[e._v("tag: v2.2.0")]),e._v(" "),a("p",[e._v("影响功能:")]),e._v(" "),a("p",[e._v("注意事项:")]),e._v(" "),a("h3",{attrs:{id:"venus-wallet"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#venus-wallet"}},[e._v("#")]),e._v(" venus-wallet")]),e._v(" "),a("h4",{attrs:{id:"社区"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#社区"}},[e._v("#")]),e._v(" 社区")]),e._v(" "),a("p",[e._v("tag: v1.6.0")]),e._v(" "),a("p",[e._v("影响功能:")]),e._v(" "),a("p",[e._v("注意事项:")]),e._v(" "),a("ol",[a("li",[e._v("需要解锁钱包")]),e._v(" "),a("li",[e._v("是否注册到 gateway")])])])}),[],!1,null,null,null);v.default=s.exports}}]); \ No newline at end of file diff --git a/assets/js/53.929b2f39.js b/assets/js/53.936c519a.js similarity index 99% rename from assets/js/53.929b2f39.js rename to assets/js/53.936c519a.js index 6499516bc..6e488611d 100644 --- a/assets/js/53.929b2f39.js +++ b/assets/js/53.936c519a.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[53],{443:function(e,a,v){"use strict";v.r(a);var t=v(17),s=Object(t.a)({},(function(){var e=this,a=e.$createElement,v=e._self._c||a;return v("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[v("h1",{attrs:{id:"nv17-各组件升级文档"}},[v("a",{staticClass:"header-anchor",attrs:{href:"#nv17-各组件升级文档"}},[e._v("#")]),e._v(" nv17 各组件升级文档")]),e._v(" "),v("p",[e._v("如果 "),v("code",[e._v("venus-wallet")]),e._v(" 或者 "),v("code",[e._v("venus-gateway")]),e._v(" 的版本从 "),v("code",[e._v("v1.6.x")]),e._v(" 升级到 "),v("code",[e._v("v1.8.0")]),e._v(",请先阅读 "),v("a",{attrs:{href:"https://github.com/filecoin-project/venus/discussions/5265",target:"_blank",rel:"noopener noreferrer"}},[e._v("Venus 组件 v1.7.0 使用注意事项 "),v("OutboundLink")],1),e._v(",注意 "),v("code",[e._v("venus-gateway")]),e._v(" 和 "),v("code",[e._v("venus-wallet")]),e._v("的升级顺序。")]),e._v(" "),v("h3",{attrs:{id:"时间线"}},[v("a",{staticClass:"header-anchor",attrs:{href:"#时间线"}},[e._v("#")]),e._v(" 时间线")]),e._v(" "),v("p",[e._v("升级时间:2022-11-30T14:00:00Z,北京时间是 2022-11-30 22:00:00")]),e._v(" "),v("h3",{attrs:{id:"各组件版本"}},[v("a",{staticClass:"header-anchor",attrs:{href:"#各组件版本"}},[e._v("#")]),e._v(" 各组件版本")]),e._v(" "),v("ul",[v("li",[v("a",{attrs:{href:"https://github.com/filecoin-project/venus/discussions/5386#discussioncomment-3893446",target:"_blank",rel:"noopener noreferrer"}},[e._v("calibrationnet"),v("OutboundLink")],1)]),e._v(" "),v("li",[v("a",{attrs:{href:"https://github.com/filecoin-project/venus/discussions/5386#discussioncomment-3893449",target:"_blank",rel:"noopener noreferrer"}},[e._v("mainnet"),v("OutboundLink")],1)])]),e._v(" "),v("h3",{attrs:{id:"venus-auth"}},[v("a",{staticClass:"header-anchor",attrs:{href:"#venus-auth"}},[e._v("#")]),e._v(" venus-auth")]),e._v(" "),v("p",[e._v("影响功能:")]),e._v(" "),v("p",[e._v("依赖升级组件:无")]),e._v(" "),v("p",[e._v("注意事项:")]),e._v(" "),v("ol",[v("li",[v("code",[e._v("miners")]),e._v(" 表增加字段 "),v("code",[e._v("open_mining")]),e._v(",0 表示不出块,1 表示出块,默认是 1")])]),e._v(" "),v("h3",{attrs:{id:"venus"}},[v("a",{staticClass:"header-anchor",attrs:{href:"#venus"}},[e._v("#")]),e._v(" venus")]),e._v(" "),v("p",[e._v("影响功能:支持 nv17 网络")]),e._v(" "),v("p",[e._v("依赖升级组件:无")]),e._v(" "),v("p",[e._v("注意事项:")]),e._v(" "),v("p",[e._v("编译:先 "),v("code",[e._v("make dist-clean")]),e._v(" 再 "),v("code",[e._v("make")]),e._v(",这样可以防止未能正常升级 "),v("code",[e._v("filecoin-ffi")]),e._v(" 而带来的问题")]),e._v(" "),v("ol",[v("li",[v("p",[e._v("升级后检查 vk 文件是否完整")])]),e._v(" "),v("li",[v("p",[e._v("升级后检查配置文件,升级高度是否正常设置,配置文件默认在 "),v("code",[e._v("~/.venus/config.json")]),e._v(" :")]),e._v(" "),v("div",{staticClass:"language- extra-class"},[v("pre",{pre:!0,attrs:{class:"language-text"}},[v("code",[e._v('# cali\n"upgradeSkyrHeight": 16800\n# mainnet\n"upgradeSkyrHeight": 2383680\n')])])])]),e._v(" "),v("li",[v("p",[e._v("升级后需检查是否正常同步区块")])]),e._v(" "),v("li",[v("p",[e._v("检查主网 v9 actors code,确保与下面输出一样")]),e._v(" "),v("div",{staticClass:"language- extra-class"},[v("pre",{pre:!0,attrs:{class:"language-text"}},[v("code",[e._v("./venus state actor-cids --network-version 17\n\n# 顺序可能会不一样\nNetwork Version: 17\nActor Version: 9\nActor CID\nreward bafk2bzacebezgbbmcm2gbcqwisus5fjvpj7hhmu5ubd37phuku3hmkfulxm2o\nsystem bafk2bzaceagvlo2jtahj7dloshrmwfulrd6e2izqev32qm46eumf754weec6c\n_manifest bafy2bzaceb6j6666h36xnhksu3ww4kxb6e25niayfgkdnifaqi6m6ooc66i6i\nstoragemarket bafk2bzacec3j7p6gklk64stax5px3xxd7hdtejaepnd4nw7s2adihde6emkcu\nmultisig bafk2bzacec4va3nmugyqjqrs3lqyr2ij67jhjia5frvx7omnh2isha6abxzya\npaymentchannel bafk2bzacebhdvjbjcgupklddfavzef4e4gnkt3xk3rbmgfmk7xhecszhfxeds\nstoragepower bafk2bzacedsetphfajgne4qy3vdrpyd6ekcmtfs2zkjut4r34cvnuoqemdrtw\nverifiedregistry bafk2bzacecf3yodlyudzukumehbuabgqljyhjt5ifiv4vetcfohnvsxzynwga\ndatacap bafk2bzacebb6uy2ys7tapekmtj7apnjg7oyj4ia5t7tlkvbmwtxwv74lb2pug\naccount bafk2bzacect2p7urje3pylrrrjy3tngn6yaih4gtzauuatf2jllk3ksgfiw2y\ncron bafk2bzacebcec3lffmos3nawm5cvwehssxeqwxixoyyfvejy7viszzsxzyu26\ninit bafk2bzacebtdq4zyuxk2fzbdkva6kc4mx75mkbfmldplfntayhbl5wkqou33i\nstorageminer bafk2bzacedyux5hlrildwutvvjdcsvjtwsoc5xnqdjl73ouiukgklekeuyfl4\n")])])])]),e._v(" "),v("li",[v("p",[e._v("若不排查问题,rust 日志级别"),v("strong",[e._v("不建议")]),e._v("设置为 "),v("code",[e._v("trace")]),e._v(",因为会打印较多日志")])]),e._v(" "),v("li",[v("p",[e._v("升级后可以通过命令来 "),v("code",[e._v("./venus state get-actor t01000")]),e._v(" 来确认是否升级成功")])])]),e._v(" "),v("h3",{attrs:{id:"venus-messager"}},[v("a",{staticClass:"header-anchor",attrs:{href:"#venus-messager"}},[e._v("#")]),e._v(" venus-messager")]),e._v(" "),v("p",[e._v("功能:")]),e._v(" "),v("ol",[v("li",[e._v("增加对 basefee 的控制,可以对某个地址单独设置 basefee,当链上 basefee 高于限制的 basefee,消息将不会被推送出去")])]),e._v(" "),v("p",[e._v("依赖升级组件:")]),e._v(" "),v("p",[e._v("注意事项:")]),e._v(" "),v("ol",[v("li",[e._v("升级后观察消息能否正常上链")])]),e._v(" "),v("h3",{attrs:{id:"venus-miner"}},[v("a",{staticClass:"header-anchor",attrs:{href:"#venus-miner"}},[e._v("#")]),e._v(" venus-miner")]),e._v(" "),v("p",[e._v("影响功能:")]),e._v(" "),v("p",[e._v("依赖升级组件:")]),e._v(" "),v("p",[e._v("注意事项:")]),e._v(" "),v("ol",[v("li",[e._v("从 "),v("code",[e._v("1.7.*")]),e._v("升级到"),v("code",[e._v("v1.8.0")]),e._v("会自动迁移配置文件,从 "),v("code",[e._v("1.6.*")]),e._v(" 升级到"),v("code",[e._v("v1.8.0")]),e._v("需重新初始化"),v("code",[e._v("repo")]),e._v("(init),"),v("a",{attrs:{href:"https://github.com/filecoin-project/venus-miner/blob/master/docs/zh/CHANGELOG.md#%E6%B3%A8%E6%84%8F%E4%BA%8B%E9%A1%B9-2",target:"_blank",rel:"noopener noreferrer"}},[e._v("参考"),v("OutboundLink")],1)]),e._v(" "),v("li",[e._v("升级后能否正常出块")])]),e._v(" "),v("h3",{attrs:{id:"venus-gateway"}},[v("a",{staticClass:"header-anchor",attrs:{href:"#venus-gateway"}},[e._v("#")]),e._v(" venus-gateway")]),e._v(" "),v("p",[e._v("影响功能:")]),e._v(" "),v("p",[e._v("注意事项:")]),e._v(" "),v("p",[e._v("编译:先 "),v("code",[e._v("make dist-clean")]),e._v(" 再 "),v("code",[e._v("make")])]),e._v(" "),v("ol",[v("li",[e._v("升级后检查钱包:"),v("code",[e._v("./venus-gateway wallet list")])]),e._v(" "),v("li",[e._v("升级后检查矿工:"),v("code",[e._v("./venus-gateway miner list")])])]),e._v(" "),v("h3",{attrs:{id:"venus-market"}},[v("a",{staticClass:"header-anchor",attrs:{href:"#venus-market"}},[e._v("#")]),e._v(" venus-market")]),e._v(" "),v("p",[e._v("影响功能:")]),e._v(" "),v("p",[e._v("注意事项:")]),e._v(" "),v("p",[e._v("编译:先 "),v("code",[e._v("make dist-clean")]),e._v(" 再 "),v("code",[e._v("make")])]),e._v(" "),v("h3",{attrs:{id:"venus-wallet"}},[v("a",{staticClass:"header-anchor",attrs:{href:"#venus-wallet"}},[e._v("#")]),e._v(" venus-wallet")]),e._v(" "),v("p",[e._v("影响功能:")]),e._v(" "),v("p",[e._v("注意事项:")]),e._v(" "),v("ol",[v("li",[e._v("启动后需要解锁钱包")]),e._v(" "),v("li",[e._v("是否注册到 gateway")])])])}),[],!1,null,null,null);a.default=s.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[53],{444:function(e,a,v){"use strict";v.r(a);var t=v(17),s=Object(t.a)({},(function(){var e=this,a=e.$createElement,v=e._self._c||a;return v("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[v("h1",{attrs:{id:"nv17-各组件升级文档"}},[v("a",{staticClass:"header-anchor",attrs:{href:"#nv17-各组件升级文档"}},[e._v("#")]),e._v(" nv17 各组件升级文档")]),e._v(" "),v("p",[e._v("如果 "),v("code",[e._v("venus-wallet")]),e._v(" 或者 "),v("code",[e._v("venus-gateway")]),e._v(" 的版本从 "),v("code",[e._v("v1.6.x")]),e._v(" 升级到 "),v("code",[e._v("v1.8.0")]),e._v(",请先阅读 "),v("a",{attrs:{href:"https://github.com/filecoin-project/venus/discussions/5265",target:"_blank",rel:"noopener noreferrer"}},[e._v("Venus 组件 v1.7.0 使用注意事项 "),v("OutboundLink")],1),e._v(",注意 "),v("code",[e._v("venus-gateway")]),e._v(" 和 "),v("code",[e._v("venus-wallet")]),e._v("的升级顺序。")]),e._v(" "),v("h3",{attrs:{id:"时间线"}},[v("a",{staticClass:"header-anchor",attrs:{href:"#时间线"}},[e._v("#")]),e._v(" 时间线")]),e._v(" "),v("p",[e._v("升级时间:2022-11-30T14:00:00Z,北京时间是 2022-11-30 22:00:00")]),e._v(" "),v("h3",{attrs:{id:"各组件版本"}},[v("a",{staticClass:"header-anchor",attrs:{href:"#各组件版本"}},[e._v("#")]),e._v(" 各组件版本")]),e._v(" "),v("ul",[v("li",[v("a",{attrs:{href:"https://github.com/filecoin-project/venus/discussions/5386#discussioncomment-3893446",target:"_blank",rel:"noopener noreferrer"}},[e._v("calibrationnet"),v("OutboundLink")],1)]),e._v(" "),v("li",[v("a",{attrs:{href:"https://github.com/filecoin-project/venus/discussions/5386#discussioncomment-3893449",target:"_blank",rel:"noopener noreferrer"}},[e._v("mainnet"),v("OutboundLink")],1)])]),e._v(" "),v("h3",{attrs:{id:"venus-auth"}},[v("a",{staticClass:"header-anchor",attrs:{href:"#venus-auth"}},[e._v("#")]),e._v(" venus-auth")]),e._v(" "),v("p",[e._v("影响功能:")]),e._v(" "),v("p",[e._v("依赖升级组件:无")]),e._v(" "),v("p",[e._v("注意事项:")]),e._v(" "),v("ol",[v("li",[v("code",[e._v("miners")]),e._v(" 表增加字段 "),v("code",[e._v("open_mining")]),e._v(",0 表示不出块,1 表示出块,默认是 1")])]),e._v(" "),v("h3",{attrs:{id:"venus"}},[v("a",{staticClass:"header-anchor",attrs:{href:"#venus"}},[e._v("#")]),e._v(" venus")]),e._v(" "),v("p",[e._v("影响功能:支持 nv17 网络")]),e._v(" "),v("p",[e._v("依赖升级组件:无")]),e._v(" "),v("p",[e._v("注意事项:")]),e._v(" "),v("p",[e._v("编译:先 "),v("code",[e._v("make dist-clean")]),e._v(" 再 "),v("code",[e._v("make")]),e._v(",这样可以防止未能正常升级 "),v("code",[e._v("filecoin-ffi")]),e._v(" 而带来的问题")]),e._v(" "),v("ol",[v("li",[v("p",[e._v("升级后检查 vk 文件是否完整")])]),e._v(" "),v("li",[v("p",[e._v("升级后检查配置文件,升级高度是否正常设置,配置文件默认在 "),v("code",[e._v("~/.venus/config.json")]),e._v(" :")]),e._v(" "),v("div",{staticClass:"language- extra-class"},[v("pre",{pre:!0,attrs:{class:"language-text"}},[v("code",[e._v('# cali\n"upgradeSkyrHeight": 16800\n# mainnet\n"upgradeSkyrHeight": 2383680\n')])])])]),e._v(" "),v("li",[v("p",[e._v("升级后需检查是否正常同步区块")])]),e._v(" "),v("li",[v("p",[e._v("检查主网 v9 actors code,确保与下面输出一样")]),e._v(" "),v("div",{staticClass:"language- extra-class"},[v("pre",{pre:!0,attrs:{class:"language-text"}},[v("code",[e._v("./venus state actor-cids --network-version 17\n\n# 顺序可能会不一样\nNetwork Version: 17\nActor Version: 9\nActor CID\nreward bafk2bzacebezgbbmcm2gbcqwisus5fjvpj7hhmu5ubd37phuku3hmkfulxm2o\nsystem bafk2bzaceagvlo2jtahj7dloshrmwfulrd6e2izqev32qm46eumf754weec6c\n_manifest bafy2bzaceb6j6666h36xnhksu3ww4kxb6e25niayfgkdnifaqi6m6ooc66i6i\nstoragemarket bafk2bzacec3j7p6gklk64stax5px3xxd7hdtejaepnd4nw7s2adihde6emkcu\nmultisig bafk2bzacec4va3nmugyqjqrs3lqyr2ij67jhjia5frvx7omnh2isha6abxzya\npaymentchannel bafk2bzacebhdvjbjcgupklddfavzef4e4gnkt3xk3rbmgfmk7xhecszhfxeds\nstoragepower bafk2bzacedsetphfajgne4qy3vdrpyd6ekcmtfs2zkjut4r34cvnuoqemdrtw\nverifiedregistry bafk2bzacecf3yodlyudzukumehbuabgqljyhjt5ifiv4vetcfohnvsxzynwga\ndatacap bafk2bzacebb6uy2ys7tapekmtj7apnjg7oyj4ia5t7tlkvbmwtxwv74lb2pug\naccount bafk2bzacect2p7urje3pylrrrjy3tngn6yaih4gtzauuatf2jllk3ksgfiw2y\ncron bafk2bzacebcec3lffmos3nawm5cvwehssxeqwxixoyyfvejy7viszzsxzyu26\ninit bafk2bzacebtdq4zyuxk2fzbdkva6kc4mx75mkbfmldplfntayhbl5wkqou33i\nstorageminer bafk2bzacedyux5hlrildwutvvjdcsvjtwsoc5xnqdjl73ouiukgklekeuyfl4\n")])])])]),e._v(" "),v("li",[v("p",[e._v("若不排查问题,rust 日志级别"),v("strong",[e._v("不建议")]),e._v("设置为 "),v("code",[e._v("trace")]),e._v(",因为会打印较多日志")])]),e._v(" "),v("li",[v("p",[e._v("升级后可以通过命令来 "),v("code",[e._v("./venus state get-actor t01000")]),e._v(" 来确认是否升级成功")])])]),e._v(" "),v("h3",{attrs:{id:"venus-messager"}},[v("a",{staticClass:"header-anchor",attrs:{href:"#venus-messager"}},[e._v("#")]),e._v(" venus-messager")]),e._v(" "),v("p",[e._v("功能:")]),e._v(" "),v("ol",[v("li",[e._v("增加对 basefee 的控制,可以对某个地址单独设置 basefee,当链上 basefee 高于限制的 basefee,消息将不会被推送出去")])]),e._v(" "),v("p",[e._v("依赖升级组件:")]),e._v(" "),v("p",[e._v("注意事项:")]),e._v(" "),v("ol",[v("li",[e._v("升级后观察消息能否正常上链")])]),e._v(" "),v("h3",{attrs:{id:"venus-miner"}},[v("a",{staticClass:"header-anchor",attrs:{href:"#venus-miner"}},[e._v("#")]),e._v(" venus-miner")]),e._v(" "),v("p",[e._v("影响功能:")]),e._v(" "),v("p",[e._v("依赖升级组件:")]),e._v(" "),v("p",[e._v("注意事项:")]),e._v(" "),v("ol",[v("li",[e._v("从 "),v("code",[e._v("1.7.*")]),e._v("升级到"),v("code",[e._v("v1.8.0")]),e._v("会自动迁移配置文件,从 "),v("code",[e._v("1.6.*")]),e._v(" 升级到"),v("code",[e._v("v1.8.0")]),e._v("需重新初始化"),v("code",[e._v("repo")]),e._v("(init),"),v("a",{attrs:{href:"https://github.com/filecoin-project/venus-miner/blob/master/docs/zh/CHANGELOG.md#%E6%B3%A8%E6%84%8F%E4%BA%8B%E9%A1%B9-2",target:"_blank",rel:"noopener noreferrer"}},[e._v("参考"),v("OutboundLink")],1)]),e._v(" "),v("li",[e._v("升级后能否正常出块")])]),e._v(" "),v("h3",{attrs:{id:"venus-gateway"}},[v("a",{staticClass:"header-anchor",attrs:{href:"#venus-gateway"}},[e._v("#")]),e._v(" venus-gateway")]),e._v(" "),v("p",[e._v("影响功能:")]),e._v(" "),v("p",[e._v("注意事项:")]),e._v(" "),v("p",[e._v("编译:先 "),v("code",[e._v("make dist-clean")]),e._v(" 再 "),v("code",[e._v("make")])]),e._v(" "),v("ol",[v("li",[e._v("升级后检查钱包:"),v("code",[e._v("./venus-gateway wallet list")])]),e._v(" "),v("li",[e._v("升级后检查矿工:"),v("code",[e._v("./venus-gateway miner list")])])]),e._v(" "),v("h3",{attrs:{id:"venus-market"}},[v("a",{staticClass:"header-anchor",attrs:{href:"#venus-market"}},[e._v("#")]),e._v(" venus-market")]),e._v(" "),v("p",[e._v("影响功能:")]),e._v(" "),v("p",[e._v("注意事项:")]),e._v(" "),v("p",[e._v("编译:先 "),v("code",[e._v("make dist-clean")]),e._v(" 再 "),v("code",[e._v("make")])]),e._v(" "),v("h3",{attrs:{id:"venus-wallet"}},[v("a",{staticClass:"header-anchor",attrs:{href:"#venus-wallet"}},[e._v("#")]),e._v(" venus-wallet")]),e._v(" "),v("p",[e._v("影响功能:")]),e._v(" "),v("p",[e._v("注意事项:")]),e._v(" "),v("ol",[v("li",[e._v("启动后需要解锁钱包")]),e._v(" "),v("li",[e._v("是否注册到 gateway")])])])}),[],!1,null,null,null);a.default=s.exports}}]); \ No newline at end of file diff --git a/assets/js/54.275f75dd.js b/assets/js/54.92a0388d.js similarity index 99% rename from assets/js/54.275f75dd.js rename to assets/js/54.92a0388d.js index 54779c656..a49a89409 100644 --- a/assets/js/54.275f75dd.js +++ b/assets/js/54.92a0388d.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[54],{444:function(a,e,t){"use strict";t.r(e);var s=t(17),r=Object(s.a)({},(function(){var a=this,e=a.$createElement,t=a._self._c||e;return t("ContentSlotsDistributor",{attrs:{"slot-key":a.$parent.slotKey}},[t("h2",{attrs:{id:"nv18-各组件升级文档"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#nv18-各组件升级文档"}},[a._v("#")]),a._v(" nv18 各组件升级文档")]),a._v(" "),t("p",[a._v("如果 venus 各组件的版本从 "),t("code",[a._v("v1.8.x")]),a._v(" 升级到 "),t("code",[a._v("v1.10.0")]),a._v(",请先阅读 "),t("a",{attrs:{href:"https://github.com/filecoin-project/venus/discussions/5531",target:"_blank",rel:"noopener noreferrer"}},[a._v("venus chain-service v1.9.* & venus-market v2.5.* upgrade list / 链服务 v1.9.*和订单服务 v2.5.*升级清单"),t("OutboundLink")],1),a._v(",尤其注意 "),t("code",[a._v("venus-auth")]),a._v(" 和 "),t("code",[a._v("venus-market")]),a._v(" 的升级,"),t("code",[a._v("venus-auth")]),a._v(" 升级前需要为每一个矿工都创建一个用户,"),t("code",[a._v("venus-market")]),a._v(" 的启动方式和配置有较大变动。")]),a._v(" "),t("h3",{attrs:{id:"时间线"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#时间线"}},[a._v("#")]),a._v(" 时间线")]),a._v(" "),t("p",[a._v("升级时间:2023-03-14T15:14:00Z,北京时间是 2023-03-14 23:14:00")]),a._v(" "),t("h3",{attrs:{id:"各组件版本"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#各组件版本"}},[a._v("#")]),a._v(" 各组件版本")]),a._v(" "),t("ul",[t("li",[t("a",{attrs:{href:"https://github.com/filecoin-project/venus/discussions/5649#discussioncomment-4652920",target:"_blank",rel:"noopener noreferrer"}},[a._v("calibrationnet"),t("OutboundLink")],1)]),a._v(" "),t("li",[t("a",{attrs:{href:"https://github.com/filecoin-project/venus/discussions/5649#discussioncomment-4652933",target:"_blank",rel:"noopener noreferrer"}},[a._v("mainnet"),t("OutboundLink")],1)])]),a._v(" "),t("h3",{attrs:{id:"venus"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#venus"}},[a._v("#")]),a._v(" venus")]),a._v(" "),t("p",[a._v("影响功能:支持 nv18 网络")]),a._v(" "),t("p",[a._v("依赖升级组件:无")]),a._v(" "),t("p",[a._v("注意事项:")]),a._v(" "),t("ol",[t("li",[t("p",[a._v("编译:先 "),t("code",[a._v("make dist-clean")]),a._v(" 再 "),t("code",[a._v("make")]),a._v(",这样可以防止未能正常升级 "),t("code",[a._v("filecoin-ffi")]),a._v(" 而带来的问题")])]),a._v(" "),t("li",[t("p",[a._v("升级后检查 vk 文件是否完整")])]),a._v(" "),t("li",[t("p",[a._v("升级后检查配置文件,通过日志检查 "),t("code",[a._v("AllowableClockDriftSecs")]),a._v(" "),t("code",[a._v("UpgradeHyggeHeight")]),a._v(" 和 "),t("code",[a._v("UpgradeHyggeHeight")]),a._v(" 是否正常 :")]),a._v(" "),t("div",{staticClass:"language- extra-class"},[t("pre",{pre:!0,attrs:{class:"language-text"}},[t("code",[a._v("# cali\nAllowableClockDriftSecs:1\nEip155ChainID:314159\nUpgradeHyggeHeight:322354\n# mainnet\nAllowableClockDriftSecs:1\nEip155ChainID:314\nUpgradeHyggeHeight:2683348\n")])])])]),a._v(" "),t("li",[t("p",[a._v("升级后需检查是否正常同步区块")])]),a._v(" "),t("li",[t("p",[a._v("检查主网 v10 actors code,确保与下面输出一样")]),a._v(" "),t("div",{staticClass:"language- extra-class"},[t("pre",{pre:!0,attrs:{class:"language-text"}},[t("code",[a._v("./venus state actor-cids --network-version 18\n\n# 顺序可能会不一样\nNetwork Version: 18\nActor Version: 10\nActor CID \ndatacap bafk2bzacealj5uk7wixhvk7l5tnredtelralwnceafqq34nb2lbylhtuyo64u \nevm bafk2bzaceahmzdxhqsm7cu2mexusjp6frm7r4kdesvti3etv5evfqboos2j4g \ninit bafk2bzaced2f5rhir3hbpqbz5ght7ohv2kgj42g5ykxrypuo2opxsup3ykwl6 \naccount bafk2bzaceampw4romta75hyz5p4cqriypmpbgnkxncgxgqn6zptv5lsp2w2bo \nethaccount bafk2bzaceaqoc5zakbhjxn3jljc4lxnthllzunhdor7sxhwgmskvc6drqc3fa \nmultisig bafk2bzaceduf3hayh63jnl4z2knxv7cnrdenoubni22fxersc4octlwpxpmy4 \npaymentchannel bafk2bzaceartlg4mrbwgzcwric6mtvyawpbgx2xclo2vj27nna57nxynf3pgc \nreward bafk2bzacebnhtaejfjtzymyfmbdrfmo7vgj3zsof6zlucbmkhrvcuotw5dxpq \nstoragemarket bafk2bzaceclejwjtpu2dhw3qbx6ow7b4pmhwa7ocrbbiqwp36sq5yeg6jz2bc \nstorageminer bafk2bzaced4h7noksockro7glnssz2jnmo2rpzd7dvnmfs4p24zx3h6gtx47s \nverifiedregistry bafk2bzacedfel6edzqpe5oujno7fog4i526go4dtcs6vwrdtbpy2xq6htvcg6 \neam bafk2bzacedrpm5gbleh4xkyo2jvs7p5g6f34soa6dpv7ashcdgy676snsum6g \nplaceholder bafk2bzacedfvut2myeleyq67fljcrw4kkmn5pb5dpyozovj7jpoez5irnc3ro \nstoragepower bafk2bzacec4ay4crzo73ypmh7o3fjendhbqrxake46bprabw67fvwjz5q6ixq \nsystem bafk2bzacedakk5nofebyup4m7nvx6djksfwhnxzrfuq4oyemhpl4lllaikr64 \ncron bafk2bzacedcbtsifegiu432m5tysjzkxkmoczxscb6hqpmrr6img7xzdbbs2g\n")])])])]),a._v(" "),t("li",[t("p",[a._v("若不排查问题,rust 日志级别"),t("strong",[a._v("不建议")]),a._v("设置为 "),t("code",[a._v("trace")]),a._v(",因为会打印较多日志")])]),a._v(" "),t("li",[t("p",[a._v("升级后可以通过命令来 "),t("code",[a._v("./venus state get-actor t01000")]),a._v(" 来确认是否升级成功")])]),a._v(" "),t("li",[t("p",[a._v("actor 迁移")]),a._v(" "),t("div",{staticClass:"language- extra-class"},[t("pre",{pre:!0,attrs:{class:"language-text"}},[t("code",[a._v("预迁移高度是升级高度前 60 个高度:2683288\npre-migration 开始:STARTING pre-migration 结束:COMPLETED pre-migration\nmigration 开始:STARTING migration 结束:COMPLETED migration\n")])])])]),a._v(" "),t("li",[t("p",[a._v("配置变更")]),a._v(" "),t("div",{staticClass:"language-json extra-class"},[t("pre",{pre:!0,attrs:{class:"language-json"}},[t("code",[a._v("# 增加 fevm 相关配置,其中 enableEthRPC 字段用来控制是否启用 ETH RPC,默认是 "),t("span",{pre:!0,attrs:{class:"token boolean"}},[a._v("false")]),a._v("\n"),t("span",{pre:!0,attrs:{class:"token property"}},[a._v('"fevm"')]),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v(":")]),a._v(" "),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v("{")]),a._v("\n "),t("span",{pre:!0,attrs:{class:"token property"}},[a._v('"enableEthRPC"')]),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v(":")]),a._v(" "),t("span",{pre:!0,attrs:{class:"token boolean"}},[a._v("false")]),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v(",")]),a._v("\n "),t("span",{pre:!0,attrs:{class:"token property"}},[a._v('"ethTxHashMappingLifetimeDays"')]),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v(":")]),a._v(" "),t("span",{pre:!0,attrs:{class:"token number"}},[a._v("0")]),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v(",")]),a._v("\n "),t("span",{pre:!0,attrs:{class:"token property"}},[a._v('"event"')]),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v(":")]),a._v(" "),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v("{")]),a._v("\n "),t("span",{pre:!0,attrs:{class:"token property"}},[a._v('"enableRealTimeFilterAPI"')]),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v(":")]),a._v(" "),t("span",{pre:!0,attrs:{class:"token boolean"}},[a._v("false")]),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v(",")]),a._v("\n "),t("span",{pre:!0,attrs:{class:"token property"}},[a._v('"enableHistoricFilterAPI"')]),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v(":")]),a._v(" "),t("span",{pre:!0,attrs:{class:"token boolean"}},[a._v("false")]),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v(",")]),a._v("\n "),t("span",{pre:!0,attrs:{class:"token property"}},[a._v('"filterTTL"')]),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v(":")]),a._v(" "),t("span",{pre:!0,attrs:{class:"token string"}},[a._v('"24h0m0s"')]),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v(",")]),a._v("\n "),t("span",{pre:!0,attrs:{class:"token property"}},[a._v('"maxFilters"')]),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v(":")]),a._v(" "),t("span",{pre:!0,attrs:{class:"token number"}},[a._v("100")]),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v(",")]),a._v("\n "),t("span",{pre:!0,attrs:{class:"token property"}},[a._v('"maxFilterResults"')]),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v(":")]),a._v(" "),t("span",{pre:!0,attrs:{class:"token number"}},[a._v("10000")]),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v(",")]),a._v("\n "),t("span",{pre:!0,attrs:{class:"token property"}},[a._v('"maxFilterHeightRange"')]),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v(":")]),a._v(" "),t("span",{pre:!0,attrs:{class:"token number"}},[a._v("2880")]),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v(",")]),a._v("\n "),t("span",{pre:!0,attrs:{class:"token property"}},[a._v('"databasePath"')]),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v(":")]),a._v(" "),t("span",{pre:!0,attrs:{class:"token string"}},[a._v('""')]),a._v("\n "),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v("}")]),a._v("\n"),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v("}")]),a._v("\n\n# 增加 allowableClockDriftSecs 字段,默认是 "),t("span",{pre:!0,attrs:{class:"token number"}},[a._v("1")]),a._v("\n"),t("span",{pre:!0,attrs:{class:"token property"}},[a._v('"parameters"')]),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v(":")]),a._v(" "),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v("{")]),a._v("\n "),t("span",{pre:!0,attrs:{class:"token property"}},[a._v('"allowableClockDriftSecs"')]),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v(":")]),a._v(" "),t("span",{pre:!0,attrs:{class:"token number"}},[a._v("1")]),a._v("\n"),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v("}")]),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v(",")]),a._v("\n")])])])])]),a._v(" "),t("h3",{attrs:{id:"venus-auth"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#venus-auth"}},[a._v("#")]),a._v(" venus-auth")]),a._v(" "),t("p",[a._v("影响功能:")]),a._v(" "),t("p",[a._v("依赖升级组件:无")]),a._v(" "),t("p",[a._v("注意事项:")]),a._v(" "),t("ol",[t("li",[a._v("命令行能否正常使用")])]),a._v(" "),t("h3",{attrs:{id:"venus-messager"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#venus-messager"}},[a._v("#")]),a._v(" venus-messager")]),a._v(" "),t("p",[a._v("功能:")]),a._v(" "),t("ol",[t("li",[a._v("补充对接口权限的验证")])]),a._v(" "),t("p",[a._v("依赖升级组件:")]),a._v(" "),t("p",[a._v("注意事项:")]),a._v(" "),t("ol",[t("li",[t("p",[a._v("升级后观察能够正常收消息")])]),a._v(" "),t("li",[t("p",[a._v("升级后观察消息能否正常上链")])]),a._v(" "),t("li",[t("p",[t("code",[a._v("ReplacedMsg")]),a._v(" 更名为 "),t("code",[a._v("NonceConflictMsg")])])])]),a._v(" "),t("h3",{attrs:{id:"venus-miner"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#venus-miner"}},[a._v("#")]),a._v(" venus-miner")]),a._v(" "),t("p",[a._v("影响功能:")]),a._v(" "),t("p",[a._v("依赖升级组件:")]),a._v(" "),t("p",[a._v("注意事项:")]),a._v(" "),t("ol",[t("li",[a._v("升级后能否正常出块")])]),a._v(" "),t("h3",{attrs:{id:"venus-gateway"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#venus-gateway"}},[a._v("#")]),a._v(" venus-gateway")]),a._v(" "),t("p",[a._v("影响功能:")]),a._v(" "),t("p",[a._v("注意事项:")]),a._v(" "),t("p",[a._v("编译:先 "),t("code",[a._v("make dist-clean")]),a._v(" 再 "),t("code",[a._v("make")])]),a._v(" "),t("ol",[t("li",[a._v("升级后检查钱包:"),t("code",[a._v("./venus-gateway wallet list")])]),a._v(" "),t("li",[a._v("升级后检查矿工:"),t("code",[a._v("./venus-gateway miner list")])])]),a._v(" "),t("h3",{attrs:{id:"venus-market"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#venus-market"}},[a._v("#")]),a._v(" venus-market")]),a._v(" "),t("p",[a._v("影响功能:")]),a._v(" "),t("p",[a._v("注意事项:")]),a._v(" "),t("p",[a._v("编译:先 "),t("code",[a._v("make dist-clean")]),a._v(" 再 "),t("code",[a._v("make")])]),a._v(" "),t("h3",{attrs:{id:"venus-wallet"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#venus-wallet"}},[a._v("#")]),a._v(" venus-wallet")]),a._v(" "),t("p",[a._v("影响功能:")]),a._v(" "),t("p",[a._v("注意事项:")]),a._v(" "),t("ol",[t("li",[a._v("启动后需要解锁钱包")]),a._v(" "),t("li",[a._v("是否注册到 gateway")])]),a._v(" "),t("h3",{attrs:{id:"venus-sector-manager"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#venus-sector-manager"}},[a._v("#")]),a._v(" venus-sector-manager")]),a._v(" "),t("p",[a._v("编译:先 "),t("code",[a._v("make dist-clean")]),a._v(" 再 "),t("code",[a._v("make")])])])}),[],!1,null,null,null);e.default=r.exports}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[54],{445:function(a,e,t){"use strict";t.r(e);var s=t(17),r=Object(s.a)({},(function(){var a=this,e=a.$createElement,t=a._self._c||e;return t("ContentSlotsDistributor",{attrs:{"slot-key":a.$parent.slotKey}},[t("h2",{attrs:{id:"nv18-各组件升级文档"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#nv18-各组件升级文档"}},[a._v("#")]),a._v(" nv18 各组件升级文档")]),a._v(" "),t("p",[a._v("如果 venus 各组件的版本从 "),t("code",[a._v("v1.8.x")]),a._v(" 升级到 "),t("code",[a._v("v1.10.0")]),a._v(",请先阅读 "),t("a",{attrs:{href:"https://github.com/filecoin-project/venus/discussions/5531",target:"_blank",rel:"noopener noreferrer"}},[a._v("venus chain-service v1.9.* & venus-market v2.5.* upgrade list / 链服务 v1.9.*和订单服务 v2.5.*升级清单"),t("OutboundLink")],1),a._v(",尤其注意 "),t("code",[a._v("venus-auth")]),a._v(" 和 "),t("code",[a._v("venus-market")]),a._v(" 的升级,"),t("code",[a._v("venus-auth")]),a._v(" 升级前需要为每一个矿工都创建一个用户,"),t("code",[a._v("venus-market")]),a._v(" 的启动方式和配置有较大变动。")]),a._v(" "),t("h3",{attrs:{id:"时间线"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#时间线"}},[a._v("#")]),a._v(" 时间线")]),a._v(" "),t("p",[a._v("升级时间:2023-03-14T15:14:00Z,北京时间是 2023-03-14 23:14:00")]),a._v(" "),t("h3",{attrs:{id:"各组件版本"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#各组件版本"}},[a._v("#")]),a._v(" 各组件版本")]),a._v(" "),t("ul",[t("li",[t("a",{attrs:{href:"https://github.com/filecoin-project/venus/discussions/5649#discussioncomment-4652920",target:"_blank",rel:"noopener noreferrer"}},[a._v("calibrationnet"),t("OutboundLink")],1)]),a._v(" "),t("li",[t("a",{attrs:{href:"https://github.com/filecoin-project/venus/discussions/5649#discussioncomment-4652933",target:"_blank",rel:"noopener noreferrer"}},[a._v("mainnet"),t("OutboundLink")],1)])]),a._v(" "),t("h3",{attrs:{id:"venus"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#venus"}},[a._v("#")]),a._v(" venus")]),a._v(" "),t("p",[a._v("影响功能:支持 nv18 网络")]),a._v(" "),t("p",[a._v("依赖升级组件:无")]),a._v(" "),t("p",[a._v("注意事项:")]),a._v(" "),t("ol",[t("li",[t("p",[a._v("编译:先 "),t("code",[a._v("make dist-clean")]),a._v(" 再 "),t("code",[a._v("make")]),a._v(",这样可以防止未能正常升级 "),t("code",[a._v("filecoin-ffi")]),a._v(" 而带来的问题")])]),a._v(" "),t("li",[t("p",[a._v("升级后检查 vk 文件是否完整")])]),a._v(" "),t("li",[t("p",[a._v("升级后检查配置文件,通过日志检查 "),t("code",[a._v("AllowableClockDriftSecs")]),a._v(" "),t("code",[a._v("UpgradeHyggeHeight")]),a._v(" 和 "),t("code",[a._v("UpgradeHyggeHeight")]),a._v(" 是否正常 :")]),a._v(" "),t("div",{staticClass:"language- extra-class"},[t("pre",{pre:!0,attrs:{class:"language-text"}},[t("code",[a._v("# cali\nAllowableClockDriftSecs:1\nEip155ChainID:314159\nUpgradeHyggeHeight:322354\n# mainnet\nAllowableClockDriftSecs:1\nEip155ChainID:314\nUpgradeHyggeHeight:2683348\n")])])])]),a._v(" "),t("li",[t("p",[a._v("升级后需检查是否正常同步区块")])]),a._v(" "),t("li",[t("p",[a._v("检查主网 v10 actors code,确保与下面输出一样")]),a._v(" "),t("div",{staticClass:"language- extra-class"},[t("pre",{pre:!0,attrs:{class:"language-text"}},[t("code",[a._v("./venus state actor-cids --network-version 18\n\n# 顺序可能会不一样\nNetwork Version: 18\nActor Version: 10\nActor CID \ndatacap bafk2bzacealj5uk7wixhvk7l5tnredtelralwnceafqq34nb2lbylhtuyo64u \nevm bafk2bzaceahmzdxhqsm7cu2mexusjp6frm7r4kdesvti3etv5evfqboos2j4g \ninit bafk2bzaced2f5rhir3hbpqbz5ght7ohv2kgj42g5ykxrypuo2opxsup3ykwl6 \naccount bafk2bzaceampw4romta75hyz5p4cqriypmpbgnkxncgxgqn6zptv5lsp2w2bo \nethaccount bafk2bzaceaqoc5zakbhjxn3jljc4lxnthllzunhdor7sxhwgmskvc6drqc3fa \nmultisig bafk2bzaceduf3hayh63jnl4z2knxv7cnrdenoubni22fxersc4octlwpxpmy4 \npaymentchannel bafk2bzaceartlg4mrbwgzcwric6mtvyawpbgx2xclo2vj27nna57nxynf3pgc \nreward bafk2bzacebnhtaejfjtzymyfmbdrfmo7vgj3zsof6zlucbmkhrvcuotw5dxpq \nstoragemarket bafk2bzaceclejwjtpu2dhw3qbx6ow7b4pmhwa7ocrbbiqwp36sq5yeg6jz2bc \nstorageminer bafk2bzaced4h7noksockro7glnssz2jnmo2rpzd7dvnmfs4p24zx3h6gtx47s \nverifiedregistry bafk2bzacedfel6edzqpe5oujno7fog4i526go4dtcs6vwrdtbpy2xq6htvcg6 \neam bafk2bzacedrpm5gbleh4xkyo2jvs7p5g6f34soa6dpv7ashcdgy676snsum6g \nplaceholder bafk2bzacedfvut2myeleyq67fljcrw4kkmn5pb5dpyozovj7jpoez5irnc3ro \nstoragepower bafk2bzacec4ay4crzo73ypmh7o3fjendhbqrxake46bprabw67fvwjz5q6ixq \nsystem bafk2bzacedakk5nofebyup4m7nvx6djksfwhnxzrfuq4oyemhpl4lllaikr64 \ncron bafk2bzacedcbtsifegiu432m5tysjzkxkmoczxscb6hqpmrr6img7xzdbbs2g\n")])])])]),a._v(" "),t("li",[t("p",[a._v("若不排查问题,rust 日志级别"),t("strong",[a._v("不建议")]),a._v("设置为 "),t("code",[a._v("trace")]),a._v(",因为会打印较多日志")])]),a._v(" "),t("li",[t("p",[a._v("升级后可以通过命令来 "),t("code",[a._v("./venus state get-actor t01000")]),a._v(" 来确认是否升级成功")])]),a._v(" "),t("li",[t("p",[a._v("actor 迁移")]),a._v(" "),t("div",{staticClass:"language- extra-class"},[t("pre",{pre:!0,attrs:{class:"language-text"}},[t("code",[a._v("预迁移高度是升级高度前 60 个高度:2683288\npre-migration 开始:STARTING pre-migration 结束:COMPLETED pre-migration\nmigration 开始:STARTING migration 结束:COMPLETED migration\n")])])])]),a._v(" "),t("li",[t("p",[a._v("配置变更")]),a._v(" "),t("div",{staticClass:"language-json extra-class"},[t("pre",{pre:!0,attrs:{class:"language-json"}},[t("code",[a._v("# 增加 fevm 相关配置,其中 enableEthRPC 字段用来控制是否启用 ETH RPC,默认是 "),t("span",{pre:!0,attrs:{class:"token boolean"}},[a._v("false")]),a._v("\n"),t("span",{pre:!0,attrs:{class:"token property"}},[a._v('"fevm"')]),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v(":")]),a._v(" "),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v("{")]),a._v("\n "),t("span",{pre:!0,attrs:{class:"token property"}},[a._v('"enableEthRPC"')]),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v(":")]),a._v(" "),t("span",{pre:!0,attrs:{class:"token boolean"}},[a._v("false")]),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v(",")]),a._v("\n "),t("span",{pre:!0,attrs:{class:"token property"}},[a._v('"ethTxHashMappingLifetimeDays"')]),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v(":")]),a._v(" "),t("span",{pre:!0,attrs:{class:"token number"}},[a._v("0")]),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v(",")]),a._v("\n "),t("span",{pre:!0,attrs:{class:"token property"}},[a._v('"event"')]),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v(":")]),a._v(" "),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v("{")]),a._v("\n "),t("span",{pre:!0,attrs:{class:"token property"}},[a._v('"enableRealTimeFilterAPI"')]),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v(":")]),a._v(" "),t("span",{pre:!0,attrs:{class:"token boolean"}},[a._v("false")]),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v(",")]),a._v("\n "),t("span",{pre:!0,attrs:{class:"token property"}},[a._v('"enableHistoricFilterAPI"')]),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v(":")]),a._v(" "),t("span",{pre:!0,attrs:{class:"token boolean"}},[a._v("false")]),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v(",")]),a._v("\n "),t("span",{pre:!0,attrs:{class:"token property"}},[a._v('"filterTTL"')]),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v(":")]),a._v(" "),t("span",{pre:!0,attrs:{class:"token string"}},[a._v('"24h0m0s"')]),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v(",")]),a._v("\n "),t("span",{pre:!0,attrs:{class:"token property"}},[a._v('"maxFilters"')]),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v(":")]),a._v(" "),t("span",{pre:!0,attrs:{class:"token number"}},[a._v("100")]),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v(",")]),a._v("\n "),t("span",{pre:!0,attrs:{class:"token property"}},[a._v('"maxFilterResults"')]),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v(":")]),a._v(" "),t("span",{pre:!0,attrs:{class:"token number"}},[a._v("10000")]),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v(",")]),a._v("\n "),t("span",{pre:!0,attrs:{class:"token property"}},[a._v('"maxFilterHeightRange"')]),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v(":")]),a._v(" "),t("span",{pre:!0,attrs:{class:"token number"}},[a._v("2880")]),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v(",")]),a._v("\n "),t("span",{pre:!0,attrs:{class:"token property"}},[a._v('"databasePath"')]),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v(":")]),a._v(" "),t("span",{pre:!0,attrs:{class:"token string"}},[a._v('""')]),a._v("\n "),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v("}")]),a._v("\n"),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v("}")]),a._v("\n\n# 增加 allowableClockDriftSecs 字段,默认是 "),t("span",{pre:!0,attrs:{class:"token number"}},[a._v("1")]),a._v("\n"),t("span",{pre:!0,attrs:{class:"token property"}},[a._v('"parameters"')]),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v(":")]),a._v(" "),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v("{")]),a._v("\n "),t("span",{pre:!0,attrs:{class:"token property"}},[a._v('"allowableClockDriftSecs"')]),t("span",{pre:!0,attrs:{class:"token operator"}},[a._v(":")]),a._v(" "),t("span",{pre:!0,attrs:{class:"token number"}},[a._v("1")]),a._v("\n"),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v("}")]),t("span",{pre:!0,attrs:{class:"token punctuation"}},[a._v(",")]),a._v("\n")])])])])]),a._v(" "),t("h3",{attrs:{id:"venus-auth"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#venus-auth"}},[a._v("#")]),a._v(" venus-auth")]),a._v(" "),t("p",[a._v("影响功能:")]),a._v(" "),t("p",[a._v("依赖升级组件:无")]),a._v(" "),t("p",[a._v("注意事项:")]),a._v(" "),t("ol",[t("li",[a._v("命令行能否正常使用")])]),a._v(" "),t("h3",{attrs:{id:"venus-messager"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#venus-messager"}},[a._v("#")]),a._v(" venus-messager")]),a._v(" "),t("p",[a._v("功能:")]),a._v(" "),t("ol",[t("li",[a._v("补充对接口权限的验证")])]),a._v(" "),t("p",[a._v("依赖升级组件:")]),a._v(" "),t("p",[a._v("注意事项:")]),a._v(" "),t("ol",[t("li",[t("p",[a._v("升级后观察能够正常收消息")])]),a._v(" "),t("li",[t("p",[a._v("升级后观察消息能否正常上链")])]),a._v(" "),t("li",[t("p",[t("code",[a._v("ReplacedMsg")]),a._v(" 更名为 "),t("code",[a._v("NonceConflictMsg")])])])]),a._v(" "),t("h3",{attrs:{id:"venus-miner"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#venus-miner"}},[a._v("#")]),a._v(" venus-miner")]),a._v(" "),t("p",[a._v("影响功能:")]),a._v(" "),t("p",[a._v("依赖升级组件:")]),a._v(" "),t("p",[a._v("注意事项:")]),a._v(" "),t("ol",[t("li",[a._v("升级后能否正常出块")])]),a._v(" "),t("h3",{attrs:{id:"venus-gateway"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#venus-gateway"}},[a._v("#")]),a._v(" venus-gateway")]),a._v(" "),t("p",[a._v("影响功能:")]),a._v(" "),t("p",[a._v("注意事项:")]),a._v(" "),t("p",[a._v("编译:先 "),t("code",[a._v("make dist-clean")]),a._v(" 再 "),t("code",[a._v("make")])]),a._v(" "),t("ol",[t("li",[a._v("升级后检查钱包:"),t("code",[a._v("./venus-gateway wallet list")])]),a._v(" "),t("li",[a._v("升级后检查矿工:"),t("code",[a._v("./venus-gateway miner list")])])]),a._v(" "),t("h3",{attrs:{id:"venus-market"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#venus-market"}},[a._v("#")]),a._v(" venus-market")]),a._v(" "),t("p",[a._v("影响功能:")]),a._v(" "),t("p",[a._v("注意事项:")]),a._v(" "),t("p",[a._v("编译:先 "),t("code",[a._v("make dist-clean")]),a._v(" 再 "),t("code",[a._v("make")])]),a._v(" "),t("h3",{attrs:{id:"venus-wallet"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#venus-wallet"}},[a._v("#")]),a._v(" venus-wallet")]),a._v(" "),t("p",[a._v("影响功能:")]),a._v(" "),t("p",[a._v("注意事项:")]),a._v(" "),t("ol",[t("li",[a._v("启动后需要解锁钱包")]),a._v(" "),t("li",[a._v("是否注册到 gateway")])]),a._v(" "),t("h3",{attrs:{id:"venus-sector-manager"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#venus-sector-manager"}},[a._v("#")]),a._v(" venus-sector-manager")]),a._v(" "),t("p",[a._v("编译:先 "),t("code",[a._v("make dist-clean")]),a._v(" 再 "),t("code",[a._v("make")])])])}),[],!1,null,null,null);e.default=r.exports}}]); \ No newline at end of file diff --git a/assets/js/app.43de4608.js b/assets/js/app.c0ace51e.js similarity index 89% rename from assets/js/app.43de4608.js rename to assets/js/app.c0ace51e.js index 5f0b04b18..1390df04a 100644 --- a/assets/js/app.43de4608.js +++ b/assets/js/app.c0ace51e.js @@ -1,8 +1,8 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[0],[]]);!function(e){function n(n){for(var r,i,s=n[0],c=n[1],l=n[2],p=0,d=[];p0?o(r(e),9007199254740991):0}},function(e,n){var t=Array.isArray;e.exports=t},function(e,n,t){var r=t(152),o="object"==typeof self&&self&&self.Object===Object&&self,a=r||o||Function("return this")();e.exports=a},function(e,n,t){"use strict";function r(e,n,t,r,o,a,i,s){var c,l="function"==typeof e?e.options:e;if(n&&(l.render=n,l.staticRenderFns=t,l._compiled=!0),r&&(l.functional=!0),a&&(l._scopeId="data-v-"+a),i?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},l._ssrRegister=c):o&&(c=s?function(){o.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(e,n){return c.call(n),u(e,n)}}else{var p=l.beforeCreate;l.beforeCreate=p?[].concat(p,c):[c]}return{exports:e,options:l}}t.d(n,"a",(function(){return r}))},function(e,n,t){var r=t(5),o=t(1),a=t(7),i=Object.defineProperty,s={},c=function(e){throw e};e.exports=function(e,n){if(a(s,e))return s[e];n||(n={});var t=[][e],l=!!a(n,"ACCESSORS")&&n.ACCESSORS,u=a(n,0)?n[0]:c,p=a(n,1)?n[1]:void 0;return s[e]=!!t&&!o((function(){if(l&&!r)return!0;var e={length:-1};l?i(e,1,{enumerable:!0,get:c}):e[1]=1,t.call(e,u,p)}))}},function(e,n,t){var r=t(126),o=t(2),a=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,n){return arguments.length<2?a(r[e])||a(o[e]):r[e]&&r[e][n]||o[e]&&o[e][n]}},function(e,n,t){var r=t(5),o=t(84),a=t(35),i=t(11),s=t(39),c=t(7),l=t(121),u=Object.getOwnPropertyDescriptor;n.f=r?u:function(e,n){if(e=i(e),n=s(n,!0),l)try{return u(e,n)}catch(e){}if(c(e,n))return a(!o.f.call(e,n),e[n])}},function(e,n){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,n,t){"use strict";var r=t(0),o=t(32).filter,a=t(59),i=t(18),s=a("filter"),c=i("filter");r({target:"Array",proto:!0,forced:!s||!c},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,n){e.exports=!1},function(e,n){var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},function(e,n){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},function(e,n,t){var r=t(235),o=t(238);e.exports=function(e,n){var t=o(e,n);return r(t)?t:void 0}},function(e,n,t){"use strict";var r=t(114).charAt,o=t(31),a=t(127),i=o.set,s=o.getterFor("String Iterator");a(String,"String",(function(e){i(this,{type:"String Iterator",string:String(e),index:0})}),(function(){var e,n=s(this),t=n.string,o=n.index;return o>=t.length?{value:void 0,done:!0}:(e=r(t,o),n.index+=e.length,{value:e,done:!1})}))},function(e,n,t){var r,o=t(6),a=t(110),i=t(82),s=t(40),c=t(125),l=t(79),u=t(55),p=u("IE_PROTO"),d=function(){},f=function(e){return" - + @@ -46,6 +46,6 @@

Distributed Infrastructure

Adhering to design principles of distributed systems, Venus chain service enables you to scale and guarantees availability to your storage providing systems

Optimized Storage Deal

Solution for both storage client and storage provider enables seamless storage deal process

Reimagined Storage Power

Completely revamped sealer submodule to help you to grow and maintain your storage power with more efficiency and stability

- + diff --git a/intro/_Footer.html b/intro/_Footer.html index 720cadd15..e10eeea27 100644 --- a/intro/_Footer.html +++ b/intro/_Footer.html @@ -13,7 +13,7 @@ gtag('config', 'G-SMSDTMGLTV'); - + @@ -38,6 +38,6 @@

See something missing? Have tips to share? File an issue (opens new window), and we'll follow up as soon as possible. (If you have write permission in this repo, feel free to edit directly.)

Last Updated: 12/11/2023, 8:37:54 AM
- + diff --git a/intro/contribute-docs.html b/intro/contribute-docs.html index 9a7c184d2..b5d60cb30 100644 --- a/intro/contribute-docs.html +++ b/intro/contribute-docs.html @@ -13,7 +13,7 @@ gtag('config', 'G-SMSDTMGLTV'); - + @@ -72,6 +72,6 @@ Droplet (opens new window)

- + diff --git a/intro/damocles.html b/intro/damocles.html index 9aba00e8e..af02ae027 100644 --- a/intro/damocles.html +++ b/intro/damocles.html @@ -13,7 +13,7 @@ gtag('config', 'G-SMSDTMGLTV'); - + @@ -38,6 +38,6 @@

damocles

# Damocles

Damocles, formerly known as Venus Power Service, is THE Filecoin storage power solution. Learn more about Damocles here (opens new window).

Last Updated: 12/11/2023, 8:37:54 AM
- + diff --git a/intro/droplet.html b/intro/droplet.html index 01c9d0068..ca9aba9f2 100644 --- a/intro/droplet.html +++ b/intro/droplet.html @@ -13,7 +13,7 @@ gtag('config', 'G-SMSDTMGLTV'); - + @@ -38,6 +38,6 @@

droplet

# Droplet

Droplet, formerly known as Venus Deal Service, is THE Filecoin storage deal solution. Learn more about Droplet here (opens new window).

Last Updated: 12/11/2023, 8:37:54 AM
- + diff --git a/intro/index.html b/intro/index.html index adf71c0b6..fe781a95b 100644 --- a/intro/index.html +++ b/intro/index.html @@ -13,7 +13,7 @@ gtag('config', 'G-SMSDTMGLTV'); - + @@ -42,6 +42,6 @@ →

- + diff --git a/intro/one-pager.html b/intro/one-pager.html index 402b5ba6a..71b57d402 100644 --- a/intro/one-pager.html +++ b/intro/one-pager.html @@ -13,7 +13,7 @@ gtag('config', 'G-SMSDTMGLTV'); - + @@ -47,6 +47,6 @@ (opens new window)

- + diff --git a/intro/sophon.html b/intro/sophon.html index bd1a034e5..d1d6bbca8 100644 --- a/intro/sophon.html +++ b/intro/sophon.html @@ -13,7 +13,7 @@ gtag('config', 'G-SMSDTMGLTV'); - + @@ -38,6 +38,6 @@

sophon

# Sophon

Sophon, formerly known as Venus chain service, is THE Filecoin super node solution. Learn more about Sophon here (opens new window).

Last Updated: 12/11/2023, 8:37:54 AM
- + diff --git a/operation/Efficiency_of_sealing.html b/operation/Efficiency_of_sealing.html index 1c8e0bd92..c17c94fb5 100644 --- a/operation/Efficiency_of_sealing.html +++ b/operation/Efficiency_of_sealing.html @@ -13,7 +13,7 @@ gtag('config', 'G-SMSDTMGLTV'); - + @@ -140,6 +140,6 @@ MaxSealingSectors = 7

# Stop-loss

If one of tasks fails too many times, manual intervention is needed to get sealing pipeline back to its normal output.

Remove sectors when you have the following issues.

  1. Expired ticket
  2. Expired Commit
  3. Corrupted proof params

To remove incomplete sectors.

venus-sealer sectors remove --really-do-it <sectorNum>
 
Last Updated: 12/11/2023, 8:37:54 AM
- + diff --git a/operation/System_monitor_of_Zabbix.html b/operation/System_monitor_of_Zabbix.html index de4b04dcd..19d7658c7 100644 --- a/operation/System_monitor_of_Zabbix.html +++ b/operation/System_monitor_of_Zabbix.html @@ -13,7 +13,7 @@ gtag('config', 'G-SMSDTMGLTV'); - + @@ -113,6 +113,6 @@

Check zabbix RAM usage.

Check problems in dashboard.

Last Updated: 12/11/2023, 8:37:54 AM
- + diff --git a/operation/_Footer.html b/operation/_Footer.html index 5990a68d7..9a1955090 100644 --- a/operation/_Footer.html +++ b/operation/_Footer.html @@ -13,7 +13,7 @@ gtag('config', 'G-SMSDTMGLTV'); - + @@ -38,6 +38,6 @@

See something missing? Have tips to share? File an issue (opens new window), and we'll follow up as soon as possible. (If you have write permission in this repo, feel free to edit directly.)

Last Updated: 12/11/2023, 8:37:54 AM
- + diff --git a/operation/example-single-box.html b/operation/example-single-box.html index 36e65c391..4bdef0214 100644 --- a/operation/example-single-box.html +++ b/operation/example-single-box.html @@ -13,7 +13,7 @@ gtag('config', 'G-SMSDTMGLTV'); - + @@ -38,6 +38,6 @@

# Venus Single box setup

This is an exmaple venus single box setup that is estimated to grow 1TiB power per day.

# Specs

Parts Recommendation
CPU 3970X * 1 (32 core)
RAM 512G
NVMe (for sealing) 3T/SSD
SSD (for OS) 500G
GPU RTX 3080 * 1

# Job scheduling

Task Core limit Minutes RAM(G) Hourly production rate Daily growth(T)
P1 * 5 20 220 376 1.3636 1.0227
AP, P2, Commit 12 10 120 3 1.125

For more information on core limit, please refer to the next tutorial.

Last Updated: 12/11/2023, 8:37:54 AM
- + diff --git a/operation/index.html b/operation/index.html index f457e57b2..1e1ecb7ed 100644 --- a/operation/index.html +++ b/operation/index.html @@ -13,7 +13,7 @@ gtag('config', 'G-SMSDTMGLTV'); - + @@ -42,6 +42,6 @@ →

- + diff --git a/operation/lotus-vs-venus.html b/operation/lotus-vs-venus.html index 3519bdabb..75a24157a 100644 --- a/operation/lotus-vs-venus.html +++ b/operation/lotus-vs-venus.html @@ -13,7 +13,7 @@ gtag('config', 'G-SMSDTMGLTV'); - + @@ -38,6 +38,6 @@

# Commands from Lotus

Many basic commands including but not limited to creating worker/controler addresses (opens new window), setting different types of configurations (opens new window), or changing storage locations (opens new window) apply to both Lotus and Venus. Node operators are expected to follow the same process as what is instructed on the Lotus documentation. If you encounter any questions please do not hesitate to reach out to us on #fil-venus (opens new window).

Last Updated: 12/11/2023, 8:37:54 AM
- + diff --git a/operation/nv15-upgrade.html b/operation/nv15-upgrade.html index 3b156b8d4..54c905fd4 100644 --- a/operation/nv15-upgrade.html +++ b/operation/nv15-upgrade.html @@ -13,7 +13,7 @@ gtag('config', 'G-SMSDTMGLTV'); - + @@ -51,6 +51,6 @@

- + diff --git a/operation/nv16-upgrade.html b/operation/nv16-upgrade.html index 9d361d9da..cdb26d41e 100644 --- a/operation/nv16-upgrade.html +++ b/operation/nv16-upgrade.html @@ -13,7 +13,7 @@ gtag('config', 'G-SMSDTMGLTV'); - + @@ -69,6 +69,6 @@ →

- + diff --git a/operation/nv17-upgrade.html b/operation/nv17-upgrade.html index 3969abba3..b1639ff39 100644 --- a/operation/nv17-upgrade.html +++ b/operation/nv17-upgrade.html @@ -13,7 +13,7 @@ gtag('config', 'G-SMSDTMGLTV'); - + @@ -70,6 +70,6 @@ →

- + diff --git a/operation/nv18-upgrade.html b/operation/nv18-upgrade.html index 2fe23c970..6b108a647 100644 --- a/operation/nv18-upgrade.html +++ b/operation/nv18-upgrade.html @@ -13,7 +13,7 @@ gtag('config', 'G-SMSDTMGLTV'); - + @@ -98,6 +98,6 @@ →

- + diff --git a/operation/nv19-upgrade.html b/operation/nv19-upgrade.html index db87989ae..07c07f8c8 100644 --- a/operation/nv19-upgrade.html +++ b/operation/nv19-upgrade.html @@ -13,7 +13,7 @@ gtag('config', 'G-SMSDTMGLTV'); - + @@ -79,6 +79,6 @@ →

- + diff --git a/operation/nv21-upgrade.html b/operation/nv21-upgrade.html index 5bd3bc20c..23f729839 100644 --- a/operation/nv21-upgrade.html +++ b/operation/nv21-upgrade.html @@ -13,7 +13,7 @@ gtag('config', 'G-SMSDTMGLTV'); - + @@ -87,6 +87,6 @@ →

- + diff --git a/questions.html b/questions.html index 9f0450a60..52bb69a61 100644 --- a/questions.html +++ b/questions.html @@ -13,7 +13,7 @@ gtag('config', 'G-SMSDTMGLTV'); - + @@ -38,6 +38,6 @@

# Have a question?

Filecoin.io (opens new window) - general information about the Filecoin network

Community Channels (opens new window) - links to Filecoin community chat and forum

Last Updated: 12/11/2023, 8:37:54 AM
- + diff --git a/zh/TODO.html b/zh/TODO.html index a27ea1c46..e79820705 100644 --- a/zh/TODO.html +++ b/zh/TODO.html @@ -13,7 +13,7 @@ gtag('config', 'G-SMSDTMGLTV'); - + @@ -39,6 +39,6 @@ 简体中文

# 原则

  基于目前的需要,先从重构 guide 和 modules 模块,让两块联动,形成比较易读的 venus 集群部署介绍。

  • modules 模块存储各组件的简介,将不相干的文档移到对应位置

  • guide 和 modules 对于组件介绍存在很多重复的,只保留一份

  • modules 模块组件介绍老旧,超链接到项目的介绍文档,避免项目内更新后 doc 中不及时及重复劳动

  • guide 将组件介绍,编译构建,部署文档独立

  • guide 模块增加 QA 模块,将 venus discussion 的问题以超链接方式统一到 QA 模块

  • 部署模块尽量少一些设计的介绍,简明扼要,每个指定的操作尽量不涉及不相干的,以免造成误解

# TODO list

  • [ ] modules 模块

    • [ ] 引导页内容更新
    • [ ] 不相关文档移走
    • [ ] 文档命名一致
    • [ ] 组件介绍匹配项目进度
    • [x] 编译构建独立到一个文档
    • [ ] 组件文档移除从项目中搬过来的内容,用超链接
    • [ ] market 和 cluster 模块的技术文档移到 modules 模块,
  • [ ] guide 模块

    • [ ] 将部署用到的基础知识单独形成文档
    • [x] 编译构建超链接到对应文档
    • [x] 增加部分组件的验证:怎么判断部署成功
    • [ ] 目录结构调整
      • [ ] market 和 cluster 归属到链服务部署和独立组件部署文档
      • [ ] .fil_withdraw_and_send.md.swp 文件删除
      • [ ] sealer 文档放到单独的目录
    • [ ] Troubleshooting-&-FAQ.md 用超链接方式管理 venus discussion
  • [ ] 移除没有价值或过时的文档

  • [ ] 在很多模块中重复的内容整合

  • [ ] 每个项目搬过来的内容使用超链接

- + diff --git a/zh/about/index.html b/zh/about/index.html index c0ac9eaf4..0aee46deb 100644 --- a/zh/about/index.html +++ b/zh/about/index.html @@ -13,7 +13,7 @@ gtag('config', 'G-SMSDTMGLTV'); - + @@ -38,6 +38,6 @@

# 使命,愿景,价值观

  • ❗️使命:建设 Filecoin 基础设施和工具,支持生态繁荣发展
  • 🌏 愿景:人人都能参与 Filecoin 生态
  • ☯️ 价值观:开放并且去信任

# 联系方式

# 其他资源

- + diff --git a/zh/index.html b/zh/index.html index 751d06ad8..55e22037c 100644 --- a/zh/index.html +++ b/zh/index.html @@ -13,7 +13,7 @@ gtag('config', 'G-SMSDTMGLTV'); - + @@ -46,6 +46,6 @@

分布式架构

依照分布式系统的设计理念和原则,实现了一套快速扩展,高可用的分布式基础架构

优化订单体验

完善了一整套方便存储提供者接收真实存储订单,同时也方便存储客户发送存储订单的解决方案

全新的算力服务

安全,有韧性的算力维持服务;高效,灵活,可扩容的算力增长服务

- + diff --git a/zh/intro/_Footer.html b/zh/intro/_Footer.html index 3eb5057ac..1c079649f 100644 --- a/zh/intro/_Footer.html +++ b/zh/intro/_Footer.html @@ -13,7 +13,7 @@ gtag('config', 'G-SMSDTMGLTV'); - + @@ -38,6 +38,6 @@

See something missing? Have tips to share? File an issue (opens new window), and we'll follow up as soon as possible. (If you have write permission in this repo, feel free to edit directly.)

- + diff --git a/zh/intro/contribute-doc.html b/zh/intro/contribute-doc.html index de17ae080..ba3c84fcf 100644 --- a/zh/intro/contribute-doc.html +++ b/zh/intro/contribute-doc.html @@ -13,7 +13,7 @@ gtag('config', 'G-SMSDTMGLTV'); - + @@ -50,6 +50,6 @@ 水滴 (opens new window)

- + diff --git a/zh/intro/damocles.html b/zh/intro/damocles.html index 1423f3e64..b5130e575 100644 --- a/zh/intro/damocles.html +++ b/zh/intro/damocles.html @@ -13,7 +13,7 @@ gtag('config', 'G-SMSDTMGLTV'); - + @@ -38,6 +38,6 @@

damocles

# 执剑人

执剑人,原 Venus 算力服务,是一个Filecoin存储算力解决方案。请在 (opens new window)了解更多关于执剑人的信息。

- + diff --git a/zh/intro/droplet.html b/zh/intro/droplet.html index 0d2a9d644..87c497ab6 100644 --- a/zh/intro/droplet.html +++ b/zh/intro/droplet.html @@ -13,7 +13,7 @@ gtag('config', 'G-SMSDTMGLTV'); - + @@ -38,6 +38,6 @@

droplet

# 水滴

水滴,原 Venus 订单服务,是一个Filecoin存储订单解决方案。请在 (opens new window)了解更多关于水滴的信息。

- + diff --git a/zh/intro/index.html b/zh/intro/index.html index 079367827..320082e94 100644 --- a/zh/intro/index.html +++ b/zh/intro/index.html @@ -13,7 +13,7 @@ gtag('config', 'G-SMSDTMGLTV'); - + @@ -42,6 +42,6 @@ →

- + diff --git a/zh/intro/one-pager.html b/zh/intro/one-pager.html index 2f64b82db..219a28c77 100644 --- a/zh/intro/one-pager.html +++ b/zh/intro/one-pager.html @@ -13,7 +13,7 @@ gtag('config', 'G-SMSDTMGLTV'); - + @@ -47,6 +47,6 @@ (opens new window)

- + diff --git a/zh/intro/sophon.html b/zh/intro/sophon.html index 269de3b84..2d7571d1d 100644 --- a/zh/intro/sophon.html +++ b/zh/intro/sophon.html @@ -13,7 +13,7 @@ gtag('config', 'G-SMSDTMGLTV'); - + @@ -38,6 +38,6 @@

sophon

# 智子

智子,原 Venus 链服务,是一个 Filecoin 超级节点解决方案。请在 (opens new window)了解更多关于智子的信息。

- + diff --git a/zh/operation/Efficiency_of_sealing.html b/zh/operation/Efficiency_of_sealing.html index 555e52f55..a432a1317 100644 --- a/zh/operation/Efficiency_of_sealing.html +++ b/zh/operation/Efficiency_of_sealing.html @@ -13,7 +13,7 @@ gtag('config', 'G-SMSDTMGLTV'); - + @@ -201,6 +201,6 @@ MaxSealingSectorsForDeals = 0

此时我们可以通过一个简单的定时脚本就可以做到,始终维持最佳的任务量了

# 损失和止损

  如果一个任务执行错误之后又被反复的重试,这就像我们有 7 个通道进行算力的封装,但是此时有一通道阻塞或者损坏,这就会降低我们 1 / 7 的产量,所以及时的处理错误也是非常重要的

  • 何种情况下应该立刻抛弃任务

    1. ticket 过期
    2. Commit 过期
    3. 依赖文件损坏重试多次都未成功时;
  • 移除无法完成的 sector

venus-sealer sectors remove --really-do-it <sectorNum>
 

如遇到无法彻底删除请查询:顽固扇区如何删除 (opens new window)

- + diff --git a/zh/operation/Independent_com_access_analysis.html b/zh/operation/Independent_com_access_analysis.html index 94a193b17..9d229aa51 100644 --- a/zh/operation/Independent_com_access_analysis.html +++ b/zh/operation/Independent_com_access_analysis.html @@ -13,7 +13,7 @@ gtag('config', 'G-SMSDTMGLTV'); - + @@ -64,6 +64,6 @@ INFO filecoin_proofs::caches > no params in memory cache for STACKED[34359738368] INFO storage_proofs_core::parameter_cache > parameter set identifier for cache: layered_drgporep::PublicParams{ graph: stacked_graph::StackedGraph{expansion_degree: 8 base_graph
- + diff --git a/zh/operation/Sealing_deploy_plan_1.html b/zh/operation/Sealing_deploy_plan_1.html index 2b2a5c6ae..73724b446 100644 --- a/zh/operation/Sealing_deploy_plan_1.html +++ b/zh/operation/Sealing_deploy_plan_1.html @@ -13,7 +13,7 @@ gtag('config', 'G-SMSDTMGLTV'); - + @@ -101,6 +101,6 @@ ./venus-worker storage attach --seal <ABSOLUTE_LOCAL_PATH>

TRUST_PARAMS=1 环境变量可以跳过校验证明参数文件,如果你确定参数文件都在且是正确的可以用此环境变量用加快 venus-sealer 或 venus-worker 的启动的速度;

seal 要求较高的磁盘吞吐量,建议 ssd 盘。

  • 磁盘空间及并发数计算:

    • 32G 内存消耗:56G cache + 64G * 运行数量

    • 32G 磁盘消耗:520G 左右 * 运行数量

    • 64G 内存消耗:112G cache + 128G

    • 64G 磁盘消耗:1T 左右 * 运行数量

    • 故这两台机器 1t 的内存大约能做 64G sector 的数量为:

   (1024G-112G)/128G=7.125,保险起见我们可以先并发 6 个观察一段时间资源使用率。

   确定了并发密封扇区个数后,就可以确定 seal 需要的磁盘空间= 6*1t=6t.

做策略的思路:先考虑内存,确定并发数,在补充其他资源,如临时磁盘空间,至于 cpu,如果不足,可以限额,这样做的好处是系统可以持续运行,而不被 oom。

可以利用 gpu 加速的任务时 P2,C2 和 windowPoSt,分配 gpu 的顺序是:wdPoSt>C2>P2

  • 并发数控制    ./venus-sealer sectors pledge 发送一个密封任务,通常写一个定时脚本或系统事务,每隔一段时间发送一个 sector 任务;配置文件 MaxSealingSectors 控制同时进行的 sector 上限数。
- + diff --git a/zh/operation/Sealing_deploy_plan_2.html b/zh/operation/Sealing_deploy_plan_2.html index 288383df4..68a79682d 100644 --- a/zh/operation/Sealing_deploy_plan_2.html +++ b/zh/operation/Sealing_deploy_plan_2.html @@ -13,7 +13,7 @@ gtag('config', 'G-SMSDTMGLTV'); - + @@ -91,6 +91,6 @@ sudo echo <PID> > /sys/fs/cgroup/cpuset/worker/cgroup.procs

PID: 进程 ID 号;

每次 worker 重启后 PID 会变化,需要更新文件。

/sys/fs/cgroup/cpuset是系统目录,worker是自己创建的.

- + diff --git a/zh/operation/System_monitor_of_Zabbix.html b/zh/operation/System_monitor_of_Zabbix.html index 05d38475e..f864d7c53 100644 --- a/zh/operation/System_monitor_of_Zabbix.html +++ b/zh/operation/System_monitor_of_Zabbix.html @@ -13,7 +13,7 @@ gtag('config', 'G-SMSDTMGLTV'); - + @@ -117,6 +117,6 @@

5、查看 zabbix 监控机器的内存图

6、异常报警,需要处理的机器

- + diff --git a/zh/operation/_Footer.html b/zh/operation/_Footer.html index 8ad28aebd..e4078c76e 100644 --- a/zh/operation/_Footer.html +++ b/zh/operation/_Footer.html @@ -13,7 +13,7 @@ gtag('config', 'G-SMSDTMGLTV'); - + @@ -38,6 +38,6 @@

See something missing? Have tips to share? File an issue (opens new window), and we'll follow up as soon as possible. (If you have write permission in this repo, feel free to edit directly.)

- + diff --git a/zh/operation/example-single-box.html b/zh/operation/example-single-box.html index af8722187..87f05c7e6 100644 --- a/zh/operation/example-single-box.html +++ b/zh/operation/example-single-box.html @@ -13,7 +13,7 @@ gtag('config', 'G-SMSDTMGLTV'); - + @@ -38,6 +38,6 @@

# venus 集群日增算力 1T 机器选型方案

# 机器配置

资源 配置
CPU 3970X * 1 (32c)
内存 512G
硬盘 3T/SSD
网卡 千兆
系统盘 500G
显卡 3080 * 1

台数:1 台

# 任务配比

任务分为 AP,P1,P2,Commit 阶段

运行方式 核数限制 耗时 (分钟) 内存消耗 (G) 效率 (个/小时) 日产量 (T)
P1 * 5 20 220 376 1.3636 1.0227
P2,AP,Commit 12 10 120 3 1.125

关于限核,配置执行任务类型,并发任务数等请参考 venus-docs 项目中相关文档。

- + diff --git a/zh/operation/index.html b/zh/operation/index.html index 82646a1a3..b5794a67d 100644 --- a/zh/operation/index.html +++ b/zh/operation/index.html @@ -13,7 +13,7 @@ gtag('config', 'G-SMSDTMGLTV'); - + @@ -42,6 +42,6 @@ →

- + diff --git a/zh/operation/lotus-vs-venus.html b/zh/operation/lotus-vs-venus.html index 3d359849b..4b024fe8f 100644 --- a/zh/operation/lotus-vs-venus.html +++ b/zh/operation/lotus-vs-venus.html @@ -13,7 +13,7 @@ gtag('config', 'G-SMSDTMGLTV'); - + @@ -38,6 +38,6 @@

# 从 Lotus 来的命令

很多日常的命令包括但不限于创建worker/controler地址 (opens new window),设置不同的配置 (opens new window),或者修改存储路径 (opens new window)等等,都同时适用于LotusVenus。节点运维工程师可以按照 Lotus 文档中的步骤来操作。如果遇到任何问题,欢迎到#fil-venus-cn (opens new window)来提出问题。

- + diff --git a/zh/operation/migrate_market_v1_to_v2.html b/zh/operation/migrate_market_v1_to_v2.html index a2e85666c..ebe0360ca 100644 --- a/zh/operation/migrate_market_v1_to_v2.html +++ b/zh/operation/migrate_market_v1_to_v2.html @@ -13,7 +13,7 @@ gtag('config', 'G-SMSDTMGLTV'); - + @@ -50,6 +50,6 @@

- + diff --git a/zh/operation/nv15-upgrade.html b/zh/operation/nv15-upgrade.html index e5a658f00..4656cb6f1 100644 --- a/zh/operation/nv15-upgrade.html +++ b/zh/operation/nv15-upgrade.html @@ -13,7 +13,7 @@ gtag('config', 'G-SMSDTMGLTV'); - + @@ -82,6 +82,6 @@ →

- + diff --git a/zh/operation/nv16-upgrade.html b/zh/operation/nv16-upgrade.html index 3cd69cfa3..2c70e4ad0 100644 --- a/zh/operation/nv16-upgrade.html +++ b/zh/operation/nv16-upgrade.html @@ -13,7 +13,7 @@ gtag('config', 'G-SMSDTMGLTV'); - + @@ -69,6 +69,6 @@ →

- + diff --git a/zh/operation/nv17-upgrade.html b/zh/operation/nv17-upgrade.html index 7b8c19b86..7a036b027 100644 --- a/zh/operation/nv17-upgrade.html +++ b/zh/operation/nv17-upgrade.html @@ -13,7 +13,7 @@ gtag('config', 'G-SMSDTMGLTV'); - + @@ -69,6 +69,6 @@ →

- + diff --git a/zh/operation/nv18-upgrade.html b/zh/operation/nv18-upgrade.html index a708f890d..9f7cee000 100644 --- a/zh/operation/nv18-upgrade.html +++ b/zh/operation/nv18-upgrade.html @@ -13,7 +13,7 @@ gtag('config', 'G-SMSDTMGLTV'); - + @@ -98,6 +98,6 @@ →

- + diff --git a/zh/operation/nv19-upgrade.html b/zh/operation/nv19-upgrade.html index 34820105e..1cbded511 100644 --- a/zh/operation/nv19-upgrade.html +++ b/zh/operation/nv19-upgrade.html @@ -13,7 +13,7 @@ gtag('config', 'G-SMSDTMGLTV'); - + @@ -79,6 +79,6 @@ →

- + diff --git a/zh/operation/nv21-upgrade.html b/zh/operation/nv21-upgrade.html index 0ba7608c3..93ed6bbd0 100644 --- a/zh/operation/nv21-upgrade.html +++ b/zh/operation/nv21-upgrade.html @@ -13,7 +13,7 @@ gtag('config', 'G-SMSDTMGLTV'); - + @@ -83,6 +83,6 @@ →

- + diff --git a/zh/operation/prometheus-instruction.html b/zh/operation/prometheus-instruction.html index ea4b32eb4..29e1103bf 100644 --- a/zh/operation/prometheus-instruction.html +++ b/zh/operation/prometheus-instruction.html @@ -13,7 +13,7 @@ gtag('config', 'G-SMSDTMGLTV'); - + @@ -110,6 +110,6 @@ instance: "messager"

# 启动

$ ./prometheus --config.file=prometheus.yml
 

使用http://localhost:9090/targets, 可查询组件的指标。

- + diff --git a/zh/operation/troubleshoot-consensus-fault.html b/zh/operation/troubleshoot-consensus-fault.html index d66fe3a50..352e5065f 100644 --- a/zh/operation/troubleshoot-consensus-fault.html +++ b/zh/operation/troubleshoot-consensus-fault.html @@ -13,7 +13,7 @@ gtag('config', 'G-SMSDTMGLTV'); - + @@ -190,6 +190,6 @@ implicit message(f00 -> f03, method : 2, nonce:1288233) idx:480, Compare msg({'/': 'bafy2bzacebka5xwpzelt4cl5pa452k3oi45mbcy7pyrlc3om7sfnul4cz7dcu'}) stateAfterApply: bafy2bzacebhpihnow4fwuebtxenpl27kvl4k7aeozlsruwcdj3berrposkfgs execution-traces: failed

程序会打印出不同的 execution-trace 的消息,以及不匹配的调用堆栈,可以方便快速定位问题。

- +