在 Azure Stack Hub 上部署 Ethereum 區塊鏈網路

资讯 2024-07-12 阅读:44 评论:0
發行項 06/19/20...
美化布局示例

欧易(OKX)最新版本

【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   全球官网 大陆官网

币安(Binance)最新版本

币安交易所app【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   官网地址

火币HTX最新版本

火币老牌交易所【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

APP下载   官网地址

以太坊解決方案範本的設計訴求是,讓您以最低限度的 Azure 和以太坊知識,更輕鬆且更快速地部署和設定多成員的聯盟以太坊區塊鏈網路。

The ETA solution model is designed to make it easier and faster for you to deploy and configure the multi-member ETA network with minimal Azure and Etheria knowledge.

透過少數使用者輸入及 Azure Stack Hub 租用戶入口網站中的一鍵部署,每個成員都可以佈建他們的網路應用。 每個成員的網路使用量都是由以下三個項目組成:

Through the input of a small number of users and the deployment of a key to the AzureStack Hub user portal, each member can set up their network applications. The Internet usage of each member is composed of three items:

  1. 一組負載平衡的交易節點,應用程式或使用者可與其互動以提交交易。
  2. 一組用來記錄交易的採礦節點。
  3. 網路虛擬設備 (NVA)。

稍後的連線步驟會與 NVA 連線,藉以建立已完整設定的多成員區塊鏈網路閘道。

Later, the connection will be linked to the NVA to create a fully configured multi-member network link.

若要設定:

To configure:

  • 選擇部署架構。
  • 部署獨立、聯盟領導者或聯盟成員網路。

從 Marketplace 下載最新項目:

:

  • Ubuntu Server 16.04 LTS
  • Windows Server 2016
  • Custom Script for Linux 2.0
  • Windows 的自訂指令碼延伸模組

此解決方案範本可以部署單一成員或多成員的 Ethereum 聯盟網路。 虛擬網路會使用網路虛擬設備和連線資源在鏈結拓撲中連線。

The solution would have been to deploy a single or more members of the Etheeum coalition network. Virtual networks would have been connected to the grid with virtual devices and online resources.

範本可以透過各種方式來部署 Ethereum 聯盟以供領導者和成員加入, 以下是已完成測試的部署方式:

The template allows for the deployment of the Etherum coalition in a variety of ways for leaders and members to join, as follows:

  • 在具有Microsoft Entra識別碼或 AD FS 的多節點 Azure Stack Hub 上,使用相同的訂用帳戶或不同的訂用帳戶部署潛在客戶和成員。
  • 在具有Microsoft Entra識別碼) 的單一節點 Azure Stack Hub (上,使用相同的訂用帳戶部署潛在客戶和成員。

聯盟領導者範本會在網路中設定第一個成員的配置。

The Alliance's leader's template will set the profile of the first member on the Internet.

  1. 從 GitHub 下載領導者範本

    .

  2. 在 Azure Stack Hub 租用戶入口網站中,選取 [+ 建立資源]>[範本部署],以從自訂範本進行部署。

    Select [+ Create Resource] > [model deployment] from the AzureStack Hub tenant portal to deploy from the custom template.

  3. 選取 [在編輯器中建立自己的範本],以編輯新的自訂範本。

    Select [to create your own template in the editor] to edit the new custom template.

  4. 在右側的編輯窗格中,複製並貼上您先前下載的領導者範本 JSON。

    Copys and pastes the leader's template that you have previously downloaded in the right-hand editing window.

    已貼上領導者範本的編輯範本

    data-linktype=

    1. 從 GitHub 下載聯盟成員範本

      .

    2. 在 Azure Stack Hub 租用戶入口網站中,選取 [+ 建立資源]>[範本部署],以從自訂範本進行部署。

      Select [+ Create Resource] > [model deployment] from the AzureStack Hub tenant portal to deploy from the custom template.

    3. 選取 [在編輯器中建立自己的範本],以編輯新的自訂範本。

      Select [to create your own template in the editor] to edit the new custom template.

    4. 在右側的編輯窗格中,複製並貼上您先前下載的聯盟成員範本 JSON。

      On the right side of the edit pane, copy and paste the League member template that you have previously downloaded.

    5. 選取 [儲存]。

      Select [saved].

    6. 在 [基本] 索引標籤上完成下列設定。

      Completes the following settings on [basic] index labels.

      參數名稱 描述 範例值
      訂用帳戶 要對其部署聯盟網路的訂用帳戶。 取用訂用帳戶
      資源群組 要對其部署聯盟網路的資源群組。 EthereumResources
      區域 資源的 Azure 區域。 local
      名稱前置詞 用來作為所部署資源命名基底的字串。 最多使用六個英數字元。 eth
      驗證類型 用來向虛擬機器驗證的方法。 允許的值為密碼或 SSH 公開金鑰。 密碼
      系統管理員使用者名稱 每個已部署虛擬機器的管理使用者名稱。 使用 1 到 64 個字元。 gethadmin
      管理員密碼 (驗證類型=密碼) 每個所部署虛擬機器的管理員帳戶密碼。 密碼必須包含下列 3 個需求:1 個大寫字元、1 個小寫字元、1 個數字與 1 個特殊字元。
      所有 VM 一開始都有相同的密碼,但您可以在佈建之後變更密碼。 使用 12 到 72 個字元。
      管理員 SSH 金鑰 (驗證類型=sshPublicKey) 用於遠端登入的安全 shell RSA 公開金鑰字串。
      創世區塊 代表自訂創世區塊的 JSON 字串。 可選擇是否指定此參數的值。
      Ethereum 帳戶密碼 用來保護 Ethereum 帳戶的系統管理員密碼。
      Ethereum 複雜密碼 用來產生私密金鑰的複雜密碼,此金鑰會與以太坊帳戶相關聯。 請考慮具隨機性的密碼,以確保擁有強式私密金鑰。
      聯盟成員識別碼 與聯盟網路每個成員相關聯的識別碼。 這個識別碼在網路中應該是唯一的。 0
      採礦節點數目 每個聯盟成員的採礦節點數目。 使用介於 2 和 15 之間的值。 2
      採礦節點的 VM 大小 採礦節點的 VM 大小。 Standard_A1
      採礦儲存體帳戶類型 採礦節點的儲存體效能。 Standard_LRS
      TX 節點數目 負載平衡交易節點的數目。 使用介於 1 和 5 之間的值。 1
      TX 節點的 VM 大小 交易節點的 VM 大小。 Standard_A1
      TX 儲存體帳戶類型 交易節點的儲存體效能。 Standard_LRS
      聯盟資料 指向相關聯盟組態資料的 URL,而此組態資料是由另一個成員的部署所提供。 您可以在領導者的部署輸出上找到此值。
      遠端成員的 VNET 位址空間 領導者的 VNET 位址空間。 您可以在領導者的部署輸出上找到此值。
      遠端成員的 NVA 公用 IP 領導者的 NVA IP 位址。 您可以在領導者的部署輸出上找到此值。
      連線共用金鑰 針對建立閘道連線的聯盟網路成員,其所預先建立的秘密。
      基底 URL 用來從中取得部署範本的基底 URL。 除非您想要自訂部署範本,否則請使用預設值。
    7. 選取 [檢閱 + 建立]。 驗證成功之後,選取 [建立]。

      Select [review + build]. After validation has been successful, select [create].

    部署可能需要 20 分鐘或更久的時間才能完成。

    Deployment may take 20 minutes or more to complete.

    部署完成之後,可以在資源群組的 [部署] 區段中檢閱 Microsoft.Template 的部署摘要。 摘要中包含用來連線聯盟成員的輸出值。

    After deployment is complete, a summary of the deployment of Microsoft.Template can be viewed in the resource group's [deployment] section. The summary contains the output values used to connect members of the coalition.

    若要確認成員的部署,請瀏覽成員的管理網站。 您可以在 Microsoft.Template 部署的 [輸出] 區段中找到管理網站位址。

    To confirm a member’s deployment, view the member’s management site. You can find the manager’s address in the [output] section of the deployment at Microsoft.Template.

    成員部署摘要

    data-linktype=

    如上圖所示,成員的節點狀態是未執行。 會有此狀態是因為成員和領導者之間未建立連線。 成員和領導者之間的連線是雙向連線。 當您部署成員時,範本會自動建立從成員到領導者的連線。 若要建立從領導者到成員的連線,請移至下一個步驟。

    As shown in the figure above, the nodal status of the members is , which is due to the lack of connections between members and leaders. The link between members and leaders is a two-way connection. When you deploy a member, the template automatically creates a link between members and leaders. To create a link from leaders to members, move to the next step.

    此範本會建立從領導者到遠端成員的連線。

    This example will create links from leaders to remote members.

    1. 從 GitHub 下載讓成員和領導者連線的範本

      .

    2. 在 Azure Stack Hub 租用戶入口網站中,選取 [+ 建立資源]>[範本部署],以從自訂範本進行部署。

      Select [+ Create Resource] > [model deployment] from the AzureStack Hub tenant portal to deploy from the custom template.

    3. 選取 [在編輯器中建立自己的範本],以編輯新的自訂範本。

      Select [to create your own template in the editor] to edit the new custom template.

    4. 在右側的編輯窗格中,複製並貼上您先前下載的聯盟成員範本 JSON。

      On the right side of the edit pane, copy and paste the League member template that you have previously downloaded.

    5. 選取 [儲存]。

      Select [saved].

    6. 完成下列設定。

      Complete the following settings.

      參數名稱 描述 範例值
      訂用帳戶 要對其部署聯盟網路的訂用帳戶。 取用訂用帳戶
      資源群組 要對其部署聯盟網路的資源群組。 EthereumResources
      區域 資源的 Azure 區域。 local
      成員名稱前置詞 用來作為所部署資源命名基底的字串。 最多使用六個英數字元。 eth
      成員路由表名稱 領導者的路由表名稱。 您可以在領導者的部署輸出上找到此值。
      遠端成員的 VNET 位址空間 成員的位址空間。 您可以在成員的部署輸出上找到此值。
      遠端成員的 NVA 公用 IP 要連接的 NVA IP 位址。 您可以在成員的部署輸出上找到此值。
      連線共用金鑰 聯盟網路中建立連線的成員之間所預先建立的祕密。
      成員 NVA 私人 IP 成員的 NVA IP 位址。 您可以在成員的部署輸出上找到此值。
      基底 URL 用來從中取得部署範本的基底 URL。 除非您想要自訂部署範本,否則請使用預設值。
    7. 選取 [檢閱 + 建立]。 驗證成功之後,選取 [建立]。

      Select [review + build]. After validation has been successful, select [create].

    部署完成之後,領導者和成員需要幾分鐘的時間才會開始通訊。 若要確認部署,請重新整理成員的管理網站。 成員節點的狀態應該是執行中。

    It will take a few minutes for leaders and members to communicate after deployment is complete. To confirm deployment, please reconfigure the management website of the members. The status of the members’ nodes should be in progress.

    驗證部署

    data-linktype=

    若要深入了解以太坊和 Azure,請參閱區塊鏈技術與應用程式

    For more information about Etheria and Azure, see .

    美化布局示例

    欧易(OKX)最新版本

    【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

    APP下载   全球官网 大陆官网

    币安(Binance)最新版本

    币安交易所app【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

    APP下载   官网地址

    火币HTX最新版本

    火币老牌交易所【遇到注册下载问题请加文章最下面的客服微信】永久享受返佣20%手续费!

    APP下载   官网地址
文字格式和图片示例

注册有任何问题请添加 微信:MVIP619 拉你进入群

弹窗与图片大小一致 文章转载注明

分享:

扫一扫在手机阅读、分享本文

发表评论
平台列表
美化布局示例

欧易(OKX)

  全球官网 大陆官网

币安(Binance)

  官网

火币(HTX)

  官网

Gate.io

  官网

Bitget

  官网

deepcoin

  官网
热门文章
  • 区块链社区有哪些?区块链社区是什么?

    区块链社区有哪些?区块链社区是什么?
    展开全文...
  • 0.00006694个比特币等于多少人民币/美金

    0.00006694个比特币等于多少人民币/美金
    0.00006694比特币等于多少人民币?根据比特币对人民币的最新汇率,0.00006694比特币等于4.53424784美元/32.5436 16人民币。比特币(BTC)美元(USDT)人民币(CNY)0.000066944.53424784【比特币密码】32.82795436 16比特币对人民币的最新汇率为:490408.64 CNY(1比特币=490408.64人民币)(1美元=7.24人民币)(0.00006694USDT=0.0004846456 CNY)汇率更新时...
  • 0.00015693个比特币等于多少人民币/美金

    0.00015693个比特币等于多少人民币/美金
    0.000 15693比特币等于多少人民币?根据比特币对人民币的最新汇率,0.000 15693比特币等于10.6 1678529美元/76.86554996人民币。比特币(BTC)【比特币价格翻倍】美元(USDT)人民币(CNY)0.000/克洛克-0/5693【数字货币矿机】10.6 167852976.8655254996比特币对人民币的最新汇率为:489,807.72 CNY(1比特币= 489,807.72人民币)(1美元=7.24人民币)(0.00015693 U...
  • 0.00003374个比特币等于多少人民币/美金

    0.00003374个比特币等于多少人民币/美金
    0.00003374比特币等于多少人民币?根据比特币对人民币的最新汇率,0.00003374比特币等于2.2826 1222美元/16.5261124728人民币。比特币(BTC)美元(USDT)人民币(CNY)0.00003374克洛克-0/22216.5261124728比特币对人民币的最新汇率为:489807.72 CNY(1比特币=489807.72人民币)(1美元=7.24人民币)(0.00003374USDT=0.0002442776 CNY)。汇率更新于2024...
  • 2018-5-31币圈简报

    2018-5-31币圈简报
    一、要闻资讯类I. KEY INFORMATION CATEGORY1、央视:数字货币在京揭牌成立!中国或为此突变!1. View: Digital currency is established in Kyoto! China or mutated for it!中国数字货币来了˂a href="https://mp.weixin.qq.com/s/69fxKCf8GKSCscS4lT8WCA" Target="_blank"rel="noformlow"" Chinese...
标签列表