PowerEdge:安裝和使用 MVCLI MVSETUP BOSS-S1 公用程式
摘要: 本文說明如何安裝和使用 MVCLI MVSETUP BOSS-S1 公用程式。
說明
Marvell 命令列介面 MVCLI 和 MVSETUP BOSS-S1 公用程式提供取得資訊和操作 BOSS 控制器的方法。這包括管理虛擬磁碟、從硬碟取得 SMART 狀態等。本知識文章涵蓋安裝和一般使用。
最低 ESXi 需求:
- ESXi 6.0 U3 P06
- ESXi 6.5 U1
支援的 Linux 版本:
- Red Hat Enterprise Linux 6 (RHEL)
- RHEL 7.3
- SUSE Linux ES (SLES) 12
- Ubuntu 16.04
支援的 Windows 版本:
- Windows Server 2012 R2
- Windows Server 2016
安裝
ESXi:
1) 從 https://dell.com/support
下載最新的 MVCLI 2) 使用您偏好的 ZIP 傳輸郵遞區號 SCP 應用程式如 WinSCP 到 /tmp ESXi 主機上的目錄。
3) SSH 進入 ESXi 主機,並使用下列命令加以安裝:
esxcli software vib install -d /tmp/[FILE-NAME-OF-DOWNLOAD.zip]
安裝命令與輸出範例:
[root@localhost:~] esxcli software vib install -d /tmp/SAS-RAID_BOSS-S1_CLI_A00.zip
Installation Result
Message: Operation finished successfully.
Reboot Required: false
VIBs Installed: DellEMC_bootbank_SAS-RAID_BOSS-S1_CLI_A00_6-x
VIBs Removed:
VIBs Skipped:
Linux:
1) 從 https://dell.com/support
下載最新的 MVCLI 2) 使用您偏好的 SCP 應用程式 (例如 WinSCP) 將 ZIP 傳輸至 /tmp 目錄 linuxhost。
3) SSH 進入 Linux 主機
4) 導覽至 /tmp
[root@localhost ~]# cd /tmp
4) Unzip the archive (file name may be different based on version)
[root@localhost tmp]# unzip mvcli\ 4.1.13.31_A01.zip
5) Navigate to installation directory (directory name may be different vased on version) :
[root@localhost tmp]# cd /tmp/mvcli\ 4.1.13.31_A01/i386/cli
6) Apply executable permission (must be done using root or sudo) :
[root@localhost cli]# chmod +x install.sh mvcli
Windows:
1) 從 https://dell.com/support
下載並安裝最新的 BOSS 管理驅動程式 DUP。 2) 下載最新版本。 MVSetup 從 https://dell.com/support
3) 右鍵按下 ZIP 檔並將其解壓縮。
使用
ESXi:
- 將目錄變更為安裝目錄:
cd /opt/boss-s1
- mccli 的用法:
./mvcli ?
範例與輸出:
[root@localhost:/opt/boss-s1] ./mvcli ?
Legend:
[options] - the options within [] are optional.
<x|y|z> - choose one of the x, y or z.
[<x|y|z>] - choose none or one of the x, y or z.
Abbreviation:
VD - Virtual Disk, Array - Disk Array
PD - Physical Disk, BGA - BackGround Activity
Type '-output [filename]' to output to a file.
Type 'help' to display this page.
Type 'help command' to display the help page of 'command'.
Type 'command -h' to display help for 'command'.
Command name is not case sensitive and may be abbreviated if the
abbreviation is unique. Most commands support both short (-) and
long (--) options.Long option names may be abbreviated if the abbreviation
is unique. A long option may take a parameter of the form '--arg=param'
or '--arg param'. Option name is case sensitive, option parameter is not.
COMMAND BRIEF DESCRIPTION
-----------------------------------------------------------------
? :Get brief help for all commands.
help :Get brief help for all commands or detail help for one command.
assign :Assign a disk as spare drive.
cc :Start, stop, pause or resume VD Consistency Check.
rebuild :Start, stop, pause, resume rebuilding VD.
mp :Start, stop, pause or resume media patrol for a physical disk.
smart :Display the smart info of physical disk.
sat :Send SCSI command.
enc :Get enclosure, enclosure element or enclosure config information.
adapter :Default adapter the following CLI commands refers to.
rescan :Rescan the adapters
create :Create virtual disk.
delete :Delete virtual disk or spare drive.
event :Get the current events.
get :Get configuration information of VD, PD, Array, HBA or Driver.
info :Display adapter(hba), virtual disk(vd), disk array,
physical disk(pd), Port multiplexer(pm), expander(exp),
block disk(blk) or spare drive information.
set :Set configuration parameters of VD, PD or HBA.
import :Import a virtual disk.
locate :Locate the specified PD.
report :report a conflicted virtual disk to OS.
devmap :Map device ID to device magic number in the OS.
- 取得特定交換器的協助 在此案例中,請使用:
[root@localhost:/opt/boss-s1] ./mvcli help enc
Description:Get enclosure, enclosure element or enclosure config information.
enc -o <enc|ele|elecfg> -i <enclosure ID> -e <element ID>
-t <dev|arydev|pow|fan|tpr|dor|alm|dpl|vlt>
Options:
-o, --object <enc|ele|elecfg>
enc - enclosure info
ele - element info
elecfg - element config
-i, --id
enclosure ID
-t, --elementtype <dev|arydev|pow|fan|tpr|dor|alm|dpl|vlt>
dev- device
arydev- array device
pow- power
fan- cooling
tpr- temperature
dor- door
alm- alarm
dpl- display
vlt- voltage sensor
-e, --elementid
used only when -t is specified
- 範例:顯示硬碟 0 的智慧資訊:
[root@localhost:/opt/boss-s1] ./mvcli smart -p 0
SMART STATUS RETURN: OK.
Smart Info
ID Attribute Name Current Worst Threshhold RawValue
01 Read Error Rate 130 130 39 00000065D444
05 Reallocated Sectors 100 100 1 000000000000
09 Power-On Hours Count 100 100 0 000000000587
0C Power Cycle Count 100 100 0 000000000024
0D Soft read error rate 130 130 0 00000065D444
AA Grown Bad Blocks 100 100 10 000000000000
AE Unexpected Power Loss Count 100 100 0 00000000001C
B3 Used Reserved Blocks(Total) 100 100 10 000000000000
B4 Unused Reserved Block 100 100 0 000000001C67
B5 Program Fail Count (Total) 100 100 0 000000000000
B6 Erase Fail Count (Total) 100 100 0 000000000000
B8 End-to-End Data Errors Correcte 100 100 0 000000000000
C2 SSD Temperature 100 100 0 000000000018
C3 ECC Error Rate 100 100 0 000000000000
C5 Current Pending Sector Count 100 100 0 000000000000
C6 Uncorrectable Sector Count 100 100 0 000000000000
C7 CRC Error Count 100 100 0 000000000000
C9 Soft read error rate 100 100 10 003405C14984
CA Address Mark errors 100 100 0 000000000000
E1 Load/Unload cycle 100 100 0 00000000009B
E2 Load-in time 100 100 0 000000019000
E3 Torque amplification 100 100 0 000000000000
E4 Power-off retract 100 100 0 000015827BA3
E8 Available Reserved Space 100 100 10 000000000000
E9 NAND GB written 100 100 0 00000000009B
EA Vendor Specific 100 100 0 000000000000
F1 Total Host Written 100 100 0 00000000009B
F2 Total Host Read 100 100 0 000000003BA1
F5 Life Remaining 100 100 0 000000000064
- 範例:顯示 BOSS 控制器的事件:
[root@localhost:/opt/boss-s1] ./mvcli event
Current AdapterID:0
Sequence: 24
Time: Mon Jul 9 21:14:06 2018
Level: [WARNING]
Description: Backup image succeeded
Sequence: 23
Time: Mon Jul 9 21:14:04 2018
Level: [WARNING]
Description: Backup image succeeded
Sequence: 22
Time: Mon Jul 9 21:14:02 2018
Level: [WARNING]
Description: Update image succeeded
Sequence: 21
Time: Mon Jul 9 21:13:25 2018
Level: [WARNING]
Description: Backup image succeeded
Linux:
- 用法
MVCLI:
[root@localhost ~]# mvcli ?
SG driver version 3.5.36.
Legend:
[options] - the options within [] are optional.
<x|y|z> - choose one of the x, y or z.
[<x|y|z>] - choose none or one of the x, y or z.
Abbreviation:
VD - Virtual Disk, Array - Disk Array
PD - Physical Disk, BGA - BackGround Activity
Type '-output [filename]' to output to a file.
Type 'help' to display this page.
Type 'help command' to display the help page of 'command'.
Type 'command -h' to display help for 'command'.
Command name is not case sensitive and may be abbreviated if the
abbreviation is unique. Most commands support both short (-) and
long (--) options.Long option names may be abbreviated if the abbreviation
is unique. A long option may take a parameter of the form '--arg=param'
or '--arg param'. Option name is case sensitive, option parameter is not.
COMMAND BRIEF DESCRIPTION
-----------------------------------------------------------------
? :Get brief help for all commands.
help :Get brief help for all commands or detail help for one command.
assign :Assign a disk as spare drive.
cc :Start, stop, pause or resume VD Consistency Check.
rebuild :Start, stop, pause, resume rebuilding VD.
mp :Start, stop, pause or resume media patrol for a physical disk.
smart :Display the smart info of physical disk.
sat :Send SCSI command.
flash :Update, backup or erase flash image and erase hba or pd page.
enc :Get enclosure, enclosure element or enclosure config information.
adapter :Default adapter the following CLI commands refers to.
create :Create virtual disk.
delete :Delete virtual disk or spare drive.
event :Get the current events.
get :Get configuration information of VD, PD, Array, HBA or Driver.
info :Display adapter(hba), virtual disk(vd), disk array,
physical disk(pd), Port multiplexer(pm), expander(exp),
block disk(blk) or spare drive information.
set :Set configuration parameters of VD, PD or HBA.
import :Import a virtual disk.
locate :Locate the specified PD.
report :report a conflicted virtual disk to OS.
devmap :Map device ID to device magic number in the OS.
- 取得特定交換器的協助 在此案例中,請使用:
[root@localhost ~]# mvcli help enc
SG driver version 3.5.36.
Description:Get enclosure, enclosure element or enclosure config information.
enc -o <enc|ele|elecfg> -i <enclosure ID> -e <element ID>
-t <dev|arydev|pow|fan|tpr|dor|alm|dpl|vlt>
Options:
-o, --object <enc|ele|elecfg>
enc - enclosure info
ele - element info
elecfg - element config
-i, --id
enclosure ID
-t, --elementtype <dev|arydev|pow|fan|tpr|dor|alm|dpl|vlt>
dev- device
arydev- array device
pow- power
fan- cooling
tpr- temperature
dor- door
alm- alarm
dpl- display
vlt- voltage sensor
-e, --elementid
used only when -t is specified
- 範例:顯示硬碟 0 的智慧資訊:
[root@localhost ~]# mvcli smart -p 0
SG driver version 3.5.36.
SMART STATUS RETURN: OK.
Smart Info
ID Attribute Name Current Worst Threshhold RawValue Status
01 Read Error Rate 130 130 39 00000000ABA8 OK
05 Reallocated Sectors 100 100 1 000000000000 OK
09 Power-On Hours Count 100 100 0 00000000058A OK
0C Power Cycle Count 100 100 0 000000000024 OK
0D Soft read error rate 130 130 0 00000000ABA8 OK
AA Grown Bad Blocks 100 100 10 000000000000 OK
AE Unexpected Power Loss Count 100 100 0 00000000001C OK
B3 Used Reserved Blocks(Total) 100 100 10 000000000000 OK
B4 Unused Reserved Block 100 100 0 000000001C67 OK
B5 Program Fail Count (Total) 100 100 0 000000000000 OK
B6 Erase Fail Count (Total) 100 100 0 000000000000 OK
B8 End-to-End Data Errors Correcte 100 100 0 000000000000 OK
C2 SSD Temperature 100 100 0 000000000019 OK
C3 ECC Error Rate 100 100 0 000000000000 OK
C5 Current Pending Sector Count 100 100 0 000000000000 OK
C6 Uncorrectable Sector Count 100 100 0 000000000000 OK
C7 CRC Error Count 100 100 0 000000000000 OK
C9 Soft read error rate 100 100 10 000000004984 OK
CA Address Mark errors 100 100 0 000000000000 OK
E1 Load/Unload cycle 100 100 0 00000000009D OK
E2 Load-in time 100 100 0 000000009000 OK
E3 Torque amplification 100 100 0 000000000000 OK
E4 Power-off retract 100 100 0 000000007C52 OK
E8 Available Reserved Space 100 100 10 000000000000 OK
E9 NAND GB written 100 100 0 00000000009D OK
EA Vendor Specific 100 100 0 000000000000 OK
F1 Total Host Written 100 100 0 00000000009D OK
F2 Total Host Read 100 100 0 000000003BA6 OK
F5 Invalid 100 100 0 000000000064 OK
- 範例:顯示 BOSS 控制器的事件:
[root@localhost ~]# mvcli event
SG driver version 3.5.36.
Current AdapterID:0
Sequence: 24
Time: Mon Jul 9 21:14:06 2018
Level: [WARNING]
Description: Backup image succeeded
Sequence: 23
Time: Mon Jul 9 21:14:04 2018
Level: [WARNING]
Description: Backup image succeeded
Sequence: 22
Time: Mon Jul 9 21:14:02 2018
Level: [WARNING]
Description: Update image succeeded
Sequence: 21
Time: Mon Jul 9 21:13:25 2018
Level: [WARNING]
Description: Backup image succeeded
Windows:
- 向下瀏覽至
mvsetup 4.1.13.30_A00\mvsetup 4.1.13.30\x64\cli要解壓縮的目錄下的目錄MVsetup - 兩種方法:
- 外殼模式:按兩下
mvsetup.exe並開啟命令提示符視窗
- 外殼模式:按兩下
CLI Version: 4.1.13.30 RaidAPI Version: 5.0.13.1069
Welcome to RAID Command Line Interface.
>
-
- 瀏覽至 ZIP 解壓縮並執行的位置
mvsetup.exe使用CMD
- 瀏覽至 ZIP 解壓縮並執行的位置
C:\mvcli\mvsetup 4.1.13.30_A00\mvsetup 4.1.13.30\i386\cli>mvsetup
用法MVSETUP在 Shell 模式中:
CLI Version: 4.1.13.30 RaidAPI Version: 5.0.13.1069
Welcome to RAID Command Line Interface.
> ?
Legend:
[options] - the options within [] are optional.
<x|y|z> - choose one of the x, y or z.
[<x|y|z>] - choose none or one of the x, y or z.
Abbreviation:
VD - Virtual Disk, Array - Disk Array
PD - Physical Disk, BGA - BackGround Activity
Type '-output [filename]' to output to a file.
Type 'help' to display this page.
Type 'help command' to display the help page of 'command'.
Type 'command -h' to display help for 'command'.
Command name is not case sensitive and may be abbreviated if the
abbreviation is unique. Most commands support both short (-) and
long (--) options.Long option names may be abbreviated if the abbreviation
is unique. A long option may take a parameter of the form '--arg=param'
or '--arg param'. Option name is case sensitive, option parameter is not.
COMMAND BRIEF DESCRIPTION
-----------------------------------------------------------------
? :Get brief help for all commands.
help :Get brief help for all commands or detail help for one command.
assign :Assign a disk as spare drive.
cc :Start, stop, pause or resume VD Consistency Check.
rebuild :Start, stop, pause, resume rebuilding VD.
mp :Start, stop, pause or resume media patrol for a physical disk.
smart :Display the smart info of physical disk.
sat :Send SCSI command.
flash :Update, backup or erase flash image and erase hba or pd page.
enc :Get enclosure, enclosure element or enclosure config information.
adapter :Default adapter the following CLI commands refers to.
rescan :Rescan the adapters
create :Create virtual disk.
delete :Delete virtual disk or spare drive.
event :Get the current events.
get :Get configuration information of VD, PD, Array, HBA or Driver.
info :Display adapter(hba), virtual disk(vd), disk array,
physical disk(pd), Port multiplexer(pm), expander(exp),
block disk(blk) or spare drive information.
set :Set configuration parameters of VD, PD or HBA.
import :Import a virtual disk.
locate :Locate the specified PD.
report :report a conflicted virtual disk to OS.
devmap :Map device ID to device magic number in the OS.
- 取得特定交換器的協助 在這種情況下,請使用 shell 模式 enc:
> help enc
Description:Get enclosure, enclosure element or enclosure config information.
enc -o <enc|ele|elecfg> -i <enclosure ID> -e <element ID>
-t <dev|arydev|pow|fan|tpr|dor|alm|dpl|vlt>
Options:
-o, --object <enc|ele|elecfg>
enc - enclosure info
ele - element info
elecfg - element config
-i, --id
enclosure ID
-t, --elementtype <dev|arydev|pow|fan|tpr|dor|alm|dpl|vlt>
dev- device
arydev- array device
pow- power
fan- cooling
tpr- temperature
dor- door
alm- alarm
dpl- display
vlt- voltage sensor
-e, --elementid
used only when -t is specified
- 範例:在 shell 模式下顯示硬碟 0 的智慧資訊:
> smart -p 0
SMART STATUS RETURN: OK.
Smart Info
ID Attribute Name Current Worst Threshhold RawValue Status
01 Read Error Rate 130 130 39 0000000050B7 OK
05 Reallocated Sectors 100 100 1 000000000000 OK
09 Power-On Hours Count 100 100 0 0000000000C8 OK
0C Power Cycle Count 100 100 0 000000000011 OK
0D Soft read error rate 130 130 0 0000000050B7 OK
AA Grown Bad Blocks 100 100 10 000000000000 OK
AE Unexpected Power Loss Count 100 100 0 000000000010 OK
B3 Used Reserved Blocks(Total) 100 100 10 000000000000 OK
B4 Unused Reserved Block 100 100 0 000000001C5C OK
B5 Program Fail Count (Total) 100 100 0 000000000000 OK
B6 Erase Fail Count (Total) 100 100 0 000000000000 OK
B8 End-to-End Data Errors Correcte 100 100 0 000000000000 OK
C2 SSD Temperature 100 100 0 000000000021 OK
C3 ECC Error Rate 100 100 0 000000000000 OK
C5 Current Pending Sector Count 100 100 0 000000000000 OK
C6 Uncorrectable Sector Count 100 100 0 000000000000 OK
C7 CRC Error Count 100 100 0 000000000000 OK
C9 Soft read error rate 100 100 10 000000004A74 OK
CA Address Mark errors 100 100 0 000000000000 OK
E1 Load/Unload cycle 100 100 0 000000000026 OK
E2 Load-in time 100 100 0 000000009000 OK
E3 Torque amplification 100 100 0 000000000000 OK
E4 Power-off retract 100 100 0 000000005F12 OK
E8 Available Reserved Space 100 100 10 000000000000 OK
E9 NAND GB written 100 100 0 000000000026 OK
EA Vendor Specific 100 100 0 000000000000 OK
F1 Total Host Written 100 100 0 000000000026 OK
F2 Total Host Read 100 100 0 000000001CCA OK
F5 Invalid 100 100 0 000000000064 OK.
- 範例:顯示 BOSS 控制器的事件 在 shell 模式中無法使用:
C:\mvcli\mvsetup 4.1.13.30_A00\mvsetup 4.1.13.30\i386\cli>mvsetup event
Current AdapterID:0
Sequence: 6
Time: Wed Mar 07 03:09:22 2018
Level: [INFO]
Description: Fast initialization on Virtual Disk 0 completed
Sequence: 5
Time: Wed Mar 07 03:09:22 2018
Level: [INFO]
Description: Fast initialization on Virtual Disk 0 started
Sequence: 4
Time: Wed Mar 07 03:09:22 2018
Level: [INFO]
Description: Virtual Disk 0 is created
Sequence: 3
Time: Sat Dec 16 06:26:13 2017
Level: [INFO]
Description: Virtual Disk 0 is deleted
Sequence: 2
Time: Sat Dec 16 06:26:10 2017
Level: [INFO]
Description: Fast initialization on Virtual Disk 0 completed
Sequence: 1
Time: Sat Dec 16 06:26:10 2017
Level: [INFO]
Description: Fast initialization on Virtual Disk 0 started
Sequence: 0
Time: Sat Dec 16 06:26:10 2017
Level: [INFO]
Description: Virtual Disk 0 is created