<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ??碼云GVP開源項目 12k star Uniapp+ElementUI 功能強大 支持多語言、二開方便! 廣告
                # Geo nodes Admin Area > 原文:[https://docs.gitlab.com/ee/user/admin_area/geo_nodes.html](https://docs.gitlab.com/ee/user/admin_area/geo_nodes.html) * [Common settings](#common-settings) * [**Secondary** node settings](#secondary-node-settings) * [Geo backfill](#geo-backfill) * [Using a different URL for synchronization](#using-a-different-url-for-synchronization) * [Multiple secondary nodes behind a load balancer](#multiple-secondary-nodes-behind-a-load-balancer) # Geo nodes Admin Area[](#geo-nodes-admin-area-premium-only "Permalink") 您可以為 GitLab Geo 節點配置各種設置. 有關更多信息,請參閱[地理文檔](../../administration/geo/replication/index.html) . 在主節點上,轉到" **管理區域">"地理位置"** . 在輔助節點上,轉到" **管理區域">"地理位置">"節點"** . ## Common settings[](#common-settings "Permalink") 所有地理節點均具有以下設置: | Setting | Description | | --- | --- | | Primary | 這會將地理節點標記為**主要**節點. 只能有一個**主**節點. 確保首先添加**主**節點,然后再添加所有其他節點. | | Name | 地理節點的唯一標識符. 必須與`gitlab_rails['geo_node_name']`中的設置`gitlab_rails['geo_node_name']`相`/etc/gitlab/gitlab.rb` . 該設置默認為`external_url`并帶有斜杠. | | URL | 實例的面向用戶的 URL. | 您正在讀取的節點帶有綠色的`Current node`標簽, **主**節點被賦予藍色的`Primary`標簽. 請記住,您只能在**主**節點上進行更改! ## **Secondary** node settings[](#secondary-node-settings "Permalink") **輔助**節點具有許多可用的其他設置: | Setting | Description | | --- | --- | | 選擇性同步 | 為此**輔助**節點啟用地理位置[選擇性同步](../../administration/geo/replication/configuration.html#selective-synchronization) . | | 儲存庫同步容量 | 回填存儲庫時,此**輔助**節點將向**主**節點發出的并發請求數. | | File sync capacity | 回填文件時,此**輔助**節點將向**主**節點發出的并發請求數. | ## Geo backfill[](#geo-backfill "Permalink") **二級**節點通知由**主**節點更改存儲庫和文件,并總是試圖對這些變化盡快同步. 回填是使用**輔助**節點添加到數據庫*之前*存在的存儲庫和文件填充**輔助**節點的操作. 由于可能存在大量的存儲庫和文件,因此一次嘗試全部下載它們是不可行的,因此,GitLab 對這些操作的并發性設置了上限. 回填所需的時間是最大并發的函數,但是值越高, **主**節點上的負擔就越大. 從[GitLab 10.2 開始](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/3107) ,限制是可配置的. 如果**主**節點有很多剩余容量,則可以增加值以在更短的時間內完成回填. 如果它的負載很重,回填會降低其正常請求的可用性,則可以減少這些請求. ## Using a different URL for synchronization[](#using-a-different-url-for-synchronization "Permalink") **次要**節點使用**主**節點的內部 URL 與之聯系(例如,同步存儲庫). 內部 URL 名稱將其與用戶使用的[外部](https://docs.gitlab.com/omnibus/settings/configuration.html) URL 區別開來. 內部 URL 不必是私有地址. 內部 URL 默認為外部 URL,但是您可以在**管理區域>地理位置>節點**下對其進行自定義. **警告:**我們建議在配置 Geo 節點時使用 HTTPS 連接. 為了避免在使用 HTTPS 時中斷**主**節點和**輔助**節點之間的通信,請自定義內部 URL 以指向負載均衡器,且 TLS 終止于負載均衡器. ## Multiple secondary nodes behind a load balancer[](#multiple-secondary-nodes-behind-a-load-balancer "Permalink") 在 GitLab 11.11 中,只要為每個地理節點設置了唯一的`name` , **輔助**節點就可以使用相同的外部 URL. `gitlab.rb`設置`gitlab_rails['geo_node_name']`必須: * 為每個運行`unicorn` , `sidekiq`或`geo_logcursor` GitLab 實例設置. * 匹配地理節點名稱. 負載平衡器必須使用粘性會話,以避免身份驗證失敗和跨站點請求錯誤.
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看