跳到主內容
版本:3.0

運算節點(HCI)安裝指南

運算節點(HCI)概覽

  • 運算節點(HCI)透過堆疊CPU與RAM,為CubeCOS超融合基礎架構提供運算資源與記憶體。
  • 配備額外 SSD 與 HDD 硬碟的運算節點將被整合至儲存池中,作為運算儲存節點使用。
資訊

在開始安裝運算節點(HCI)之前,您需要先準備一個管理融合節點或控制節點。 請務必仔細閱讀這些要求,因為成功部署運算節點(超融合基礎架構)的安裝取決於此。

需求

  • 管理融合節點或控制節點
  • [可選] 儲存節點

硬體建議

詳細的硬體需求與建議,請參閱硬體需求

安裝

選擇設定選項 - 安裝精靈

First Time Setup Options:
1: Wizard
2: Advanced
Enter index: 1

接受最終用戶授權協議

-- Welcome --
Welcome to the Cube Appliance setup wizard.
Using this setup wizard, you can:
* View and accept the Software License Agreement
* Set the appliance password
* View and configure networking

Press Enter to continue.

-- Software License Agreement --
Currently selected language: English
1: Select language for license display
2: Read Bigstack terms
3: Read non-Bigstack terms
4: Proceed to acceptance

Select option: 4

By choosing 'I agree,' you agree that (1) you have had the opportunity to
review the terms of licenses presented above and (2) such terms govern this
transaction. If you do not agree, choose 'I do not agree'.
1: I agree
2: I do not agree

Select option: 1

變更節點密碼

若要將節點加入現有的 CubeCOS 叢集,該節點的 root 密碼必須與目標叢集的 root 密碼相符。

Prerequisite

在加入新節點之前,必須先變更目標叢集的叢集密碼。 若您尚未執行此操作,請參閱有關變更叢集密碼的文件。

將節點密碼變更為與目標叢集密碼一致

在節點設定過程中,系統會提示您變更節點密碼。 請依照螢幕上的指示,將密碼更新為與目標叢集的 root 密碼相符。

  1. 請輸入舊密碼。
    1. 預設密碼是 admin
  2. 請輸入新密碼,該密碼必須與目標叢集的 root 密碼相符。
  3. 請確認新密碼。
  4. 請確認密碼變更的成功訊息為「密碼已成功變更。」

變更節點密碼的範例

-- Appliance Password --
Password changes are applied immediately.
Password has not been modified.
1: Change password
x: Exit
p: Previous screen
n: Next screen

Select option: 1

- Change Password -
Enter old password: admin
Enter new password:
Confirm new password:
Password successfully changed.

設定主機名稱

警告

有效的主機名稱必須使用小寫英文字母,且不得包含特殊字元(!@#$%^&*())、底線(_)或空格。

有效的主機名稱必須:

  • 僅包含小寫字母(a-z)、數字(0-9)及連字號(-)
  • 不得超過64個字元
  • 在同個環境內不可重複
  • 開頭必須為英文字母
  • 不可全為數字
-- Host Name Configuration --
Host name: unconfigured
1: Change the host name
x: Exit
p: Previous screen
n: Next screen

Select option: 1

- Change the Host Name -
Enter the new host name: compute01

-- Host Name Configuration --
Host name: compute01
1: Change the host name
x: Exit
p: Previous screen
n: Next screen

Select option: n

[選擇性] 建立網路介面聚合

網路綁定屬可選功能,僅適用於需要網路冗餘的部署情境。 欲深入瞭解網路配置選項與部署情境,請參閱網路配置章節。

如果不需要設定網路介面聚合,可直接前往 Configure IP address - IF.1

資訊

若已連接網路纜線,[速度]欄位將顯示連線狀態(例如:1000Mb/s、10Gb/s)。 若未偵測到連接線,則顯示 N/A

警告

請勿使用 bond0bond1bondxbd0 作為綁定介面名稱。 這些名稱已被保留或可能與系統預設值衝突。

-- Network Bonding Settings --
---------------------------------------------------
Label BusID/Slaves Driver State Speed
---------------------------------------------------
IF.1 0000:04:00.0 r8169 UP 1000F
---------------------------------------------------
1: Display policy
2: Configure network bonding
x: Exit
p: Previous screen
n: Next screen

Select option: n

[可選] 建立 VLAN

-- VLAN Settings --
---------------------------------------------------
Label BusID/Slaves Driver State Speed
---------------------------------------------------
IF.1 0000:04:00.0 r8169 UP 1000F
---------------------------------------------------
1: Display policy
2: Configure vlan network
x: Exit
p: Previous screen
n: Next screen

Select option: n

設定 IP 位置

-- Networking Settings --
---------------------------------------------------
Label BusID/Slaves Driver State Speed
---------------------------------------------------
IF.1 0000:04:00.0 r8169 UP 1000F
---------------------------------------------------
1: Display device status
2: Display policy
3: Configure IF.1
x: Exit
p: Previous screen
n: Next screen

Select option: 3




- Configure IF.1 -
Enter the IPv4 address: 10.32.2.241
Enter the IPv4 subnet mask: 255.255.0.0
Enter the IPv4 default gateway: 10.32.0.254




-- Networking Settings --
---------------------------------------------------
Label BusID/Slaves Driver State Speed
---------------------------------------------------
IF.1 0000:04:00.0 r8169 UP 1000F
---------------------------------------------------
1: Display device status
2: Display policy
3: Configure IF.1
x: Exit
p: Previous screen
n: Next screen

Select option: n

設定網域名稱系統(DNS)

-- DNS Configuration --
No DNS servers configured.
1: Set DNS server 1
2: Set DNS server 2
3: Set DNS server 3
x: Exit
p: Previous screen
n: Next screen

Select option: 1

- Set DNS Server 1 -
Enter the DNS server IP address: 1.1.1.1

-- DNS Configuration --
DNS server 1: 1.1.1.1
1: Set DNS server 1
2: Set DNS server 2
3: Set DNS server 3
x: Exit
p: Previous screen
n: Next screen

Select option: n

設定時區

資訊

在叢集內的所有節點上設定相同的時區,以確保時間記錄的一致性。 這對於在叢集範圍內妥善協調服務與日誌同步至關重要。

-- Time Configuration --
Time configuration changes are applied immediately.
Time Zone: America/New_York
Date: 01/02/2023
Time: 14:00:37
1: Change the time zone
2: Change the date
3: Change the time
x: Exit
p: Previous screen
n: Next screen

Select option: 1

- Change the Time Zone -
Select a continent or ocean:
1: Africa
2: Americas
3: Asia
4: Atlantic Ocean
5: Australia
6: Europe
7: Pacific Ocean
8: Etc
Enter index: 3
Select a timezone:
1: (UTC+02:00) Asia/Jerusalem
2: (UTC+03:00) Asia/Kuwait
3: (UTC+03:00) Asia/Riyadh
~~~~~~
30: (UTC+08:00) Asia/Taipei
~~~~~~
39: (UTC+12:00) Asia/Kamchatka
Enter index: 30

-- Time Configuration --
Time configuration changes are applied immediately.
Time Zone: Asia/Taipei
Date: 01/02/2023
Time: 14:00:37
1: Change the time zone
2: Change the date
3: Change the time
x: Exit
p: Previous screen
n: Next screen

Select option: n

設定運算角色

-- Cube Role --
Current role: undef
Current Management: IF.1
Current Domain/Region: default/RegionOne
Current Cube Secret Seed: N/A
1: Change role
x: Exit
p: Previous screen
n: Next screen

Select option: 1

- Change Role -
Select a role:
1: control
2: compute
3: storage
4: control-converged
5: edge-core
6: moderator
Enter index: 2
Specify controller hostname: control
Specify controller IP: 10.32.2.240
Specify external IP/domain [optional]:
Specify management interface: IF.1
Specify provider interface: IF.1
Specify overlay interface: IF.1
Specify storage interface [frontend(,backend)]: IF.1
Specify region ("RegionOne"):
Specify cluster secret seed: bigstack

-- Cube Role --
Current role: compute
Current Controller: control(10.32.2.240)
Current External IP/Domain: N/A
Current Management: IF.1
Current Provider: IF.1
Current Overlay: IF.1
Current Storage: IF.1
Current Domain/Region: default/RegionOne
Current Cube Secret Seed: bigstack
1: Change role
x: Exit
p: Previous screen
n: Next screen

Select option: n

設定高可用性

-- Cube High Availability --
Current HA setting: disabled
1: Change HA
x: Exit
p: Previous screen
n: Next screen

Select option: 1

- Change HA -
High Available Cube:
1: Yes
2: No
Enter index: 1
Specify control group hostname [HOST,HOST,...]: cc1,cc2,cc3
Specify control group address [IP,IP,...]: 10.32.2.241,10.32.2.242,10.32.2.243

-- Cube High Availability --
Current HA setting: enabled
Current Control Group:
cc1(10.32.2.241),cc2(10.32.2.242),cc3(10.32.2.243)
1: Change HA
x: Exit
p: Previous screen
n: Next screen

Select option: n

開始政策設定與加入叢集

資訊

在任何運算節點上啟動配置接受程序之前,請確保所有控制節點或control-converged節點已成功接受並套用策略。

Summary
Password has not been modified.
Host name: compute01
IF.1
Default interface.
IPv4 Mode: Manual
IPv4 Address: 10.32.2.241
IPv4 Netmask: 255.255.0.0
IPv4 Gateway: 10.32.0.254
IPv6 Mode: Automatic
DNS server 1: 1.1.1.1
Time Zone: Asia/Taipei
Date: 01/02/2023
Time: 14:07:29
Role: compute
Controller: control(10.32.2.240)
External IP/Domain: N/A
Management: IF.1
Provider: IF.1
Overlay: IF.1
Storage: IF.1
Domain/Region: default/RegionOne
Cube Secret Seed: bigstack
High Availability: disabled
1: Accept the configuration
2: Cancel the configuration
3: Modify the configuration

Select option: 1
Applying policy changes.

應用此策略所需的時間可能因您的硬體效能而異。

監控控制台輸出。 政策套用完成後,系統將顯示成功訊息,此時節點已準備就緒,可進行下一步操作。

:::tip[Verify 在控制台中的政策成功

政策變更已成功套用。

:::