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 目录中的目录。
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 管理驱动程序 DUP2
) 下载最新的 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.
- 获取有关特定交换机的帮助,在本例中,enc:
[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.
- 获取有关特定交换机的帮助,在本例中,enc:
[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 - 两种方法:
- Shell 模式:双击
mvsetup.exe并打开命令提示符窗口
- Shell 模式:双击
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.
- 获取针对特定交换机的帮助 在本例中,enc using shell mode:
> 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.
- 示例:显示 shell 模式下不可用的 BOSS 控制器的事件:
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