PowerEdge: Het hulpprogramma MVCLI MVSETUP BOSS-S1 installeren en gebruiken
Summary: In dit artikel wordt uitgelegd hoe u het hulpprogramma MVCLI MVSETUP BOSS-S1 installeert en gebruikt.
Instructions
Het hulpprogramma Marvell Command-Line Interface MVCLI en MVSETUP BOSS-S1 biedt een methode voor het verkrijgen van informatie en het manipuleren van de BOSS-controller. Dit omvat het beheren van virtuele schijven, het verkrijgen van de SMART-status van harde schijven en meer. Dit KB-artikel behandelt de installatie en het algemene gebruik.
Minimale ESXi-vereisten:
- ESXi 6.0 U3 P06
- ESXi 6.5 U1
Ondersteunde Linux-versies:
- Red Hat Enterprise Linux 6 (RHEL)
- RHEL 7.3
- SUSE Linux ES (SLES) 12
- Ubuntu 16.04
Ondersteunde Windows-versies:
- Windows Server 2012 R2
- Windows Server 2016
Installatie
ESXi:
1) Download de nieuwste MVCLI van https://dell.com/support
2) Draag de ZIP over met uw voorkeur SCP toepassing zoals WinSCP naar de /tmp directory op de ESXi-host.
3) SSH in de ESXi host en installeer deze met de volgende opdracht:
esxcli software vib install -d /tmp/[FILE-NAME-OF-DOWNLOAD.zip]
Voorbeeld van installatieopdracht en -uitvoer:
[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) Download de nieuwste MVCLI van https://dell.com/support 2) Breng de ZIP over met behulp van uw favoriete SCP-applicatie
(bijvoorbeeld WinSCP) naar de /tmp directory op de linuxhost.
3) SSH naar de linux host
4) Navigeer naar /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) Download en installeer de nieuwste BOSS Management Driver DUP vanaf https://dell.com/support
2) Download de nieuwste MVSetup van https://dell.com/support
3) klik met de rechtermuisknop op het ZIP-bestand en pak het uit.
Gebruik
ESXi:
- Verander de directory in de installatiedirectory:
cd /opt/boss-s1
- Gebruik van mccli:
./mvcli ?
Voorbeeld en uitvoer:
[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.
- Hulp krijgen voor een specifieke switch in dit geval, 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
- Voorbeeld: Smart info voor harde schijf 0 weergeven:
[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
- Voorbeeld: Gebeurtenissen voor de BOSS-controller weergeven:
[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:
- Gebruik van
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.
- Hulp krijgen voor een specifieke switch in dit geval, 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
- Voorbeeld: Smart info voor harde schijf 0 weergeven:
[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
- Voorbeeld: Gebeurtenissen voor de BOSS-controller weergeven:
[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:
- Navigeer omlaag naar de
mvsetup 4.1.13.30_A00\mvsetup 4.1.13.30\x64\clionder de map die moet worden uitgepaktMVsetup - Twee methoden:
- Shell-modus: Dubbelklik
mvsetup.exeen een opdrachtpromptvenster geopend
- Shell-modus: Dubbelklik
CLI Version: 4.1.13.30 RaidAPI Version: 5.0.13.1069
Welcome to RAID Command Line Interface.
>
-
- Navigeer naar de locatie waar de zip is uitgepakt en voer deze uit
mvsetup.exeGebruikCMD
- Navigeer naar de locatie waar de zip is uitgepakt en voer deze uit
C:\mvcli\mvsetup 4.1.13.30_A00\mvsetup 4.1.13.30\i386\cli>mvsetup
Gebruik vanMVSETUPIn shell-modus:
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.
- Hulp krijgen voor een specifieke switch in dit geval, 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
- Voorbeeld: Toon smart info voor harde schijf 0 in shell-modus:
> 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.
- Voorbeeld: Gebeurtenissen voor de BOSS-controller weergeven die niet beschikbaar zijn in shellmodus:
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