儲存節點 (SDS) 安裝指南
什麼是儲存節點(SDS)
儲存節點(SDS)的功能在於將固態硬碟(SSD)與硬碟(HDD)堆疊整合至 CubeCOS 超融合基礎架構的儲存池中。
資訊
在開始安裝儲存節點 (SDS) 之前,您需要準備一個管理融合節點或控制節點。 請務必仔細閱讀這些要求,因為儲存節點(SDS)安裝的成功部署取決於此。
需求
- 管理融合節點或控制節點
硬體建議
詳細的硬體需求與建議,請參閱硬體需求
安裝
選擇設定選項 - 安裝精靈
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 密碼相符。
- 請輸入舊密碼。
- 預設密碼是
admin
- 預設密碼是
- 請輸入新密碼,該密碼必須與目標叢集的 root 密碼相符。
- 請確認新密碼。
- 請確認密碼變更的成功訊息為「密碼已成功變更。」
變更節點密碼的範例
-- 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: storage01
-- Host Name Configuration --
Host name: storage01
1: Change the host name
x: Exit
p: Previous screen
n: Next screen
Select option: n
[選擇性] 建立網路介面聚合
網路綁定屬可選功能,僅適用於需要網路冗餘的部署情境。 欲深入瞭解網路配置選項與部署情境,請參閱網路配置章節。
若無需設定綁定與 VLAN,請跳至 設定 IP 位址 - IF.1。
資訊
若已連接網路纜線,[速度]欄位將顯示連線狀態(例如:1000Mb/s、10Gb/s)。 若未偵測到連接線,則顯示 N/A。
警告
請勿使用 bond0、bond1、bondx 或 bd0 作為綁定介面名稱。 這些名稱已被保留或可能與系統預設值衝突。
-- Network Bonding Settings --
--------------------------------------------------
Label BusID 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 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 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.251
Enter the IPv4 subnet mask: 255.255.0.0
Enter the IPv4 default gateway: 10.32.0.254
-- Networking Settings --
--------------------------------------------------
Label BusID 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: 01:14:19
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:14:21
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: 3
Specify controller hostname: cc1
Specify controller IP: 10.32.2.240
Specify management interface: IF.1
Specify storage interface [frontend(,backend)]: IF.1
Specify region ("RegionOne"):
Specify cluster secret seed: bigstack
-- Cube Role --
Current role: storage
Current Controller: cc1(10.32.2.240)
Current Management: 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
總結
Summary
Password has not been modified.
Host name: storage01
IF.1
Default interface.
IPv4 Mode: Manual
IPv4 Address: 10.32.2.251
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:14:47
Role: storage
Controller: cc1(10.32.2.240)
Management: 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
應用此策略所需的時間可能因您的硬體效能而異。
監控控制台輸出。 政策套用完成後,系統將顯示成功訊息,此時節點已準備就緒,可進行下一步操作。
:::tip[Verify 在控制台中的政策成功
政策變更已成功套用。
:::
錯誤訊息
Policy changes could not be applied. System must be rebooted.
Press enter to continue: