PowerEdge: Installere og bruke verktøyet MVCLI MVSETUP BOSS-S1
Summary: Denne artikkelen forklarer hvordan du installerer og bruker verktøyet MVCLI MVSETUP BOSS-S1.
Instructions
Marvell Command-Line Interface MVCLI og MVSETUP BOSS-S1-verktøyet gir en metode for å innhente informasjon og manipulere BOSS-kontrolleren. Dette omfatter administrasjon av virtuelle disker, innhenting av SMART-status fra harddisker med mer. Denne kunnskapsartikkelen dekker installasjon og generell bruk.
Minimumskrav til ESXi:
- ESXi 6.0 U3 P06
- ESXi 6.5 U1
Støttede Linux-versjoner:
- Red Hat Enterprise Linux 6 (RHEL)
- RHEL 7.3
- SUSE Linux ES (SLES) 12
- Ubuntu 16.04
Windows-versjoner som støttes:
- Windows Server 2012 R2
- Windows Server 2016
Installering
ESXi:
1) Last ned nyeste MVCLI fra https://dell.com/support
2) Overfør ZIP ved hjelp av foretrukket SCP Søknad som f.eks. WinSCP til /tmp katalog på ESXi-verten.
3) SSH inn i ESXi-verten og installer den med følgende kommando:
esxcli software vib install -d /tmp/[FILE-NAME-OF-DOWNLOAD.zip]
Eksempel på installasjonskommando og -utdata:
[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) Last ned nyeste MVCLI fra https://dell.com/support
2) Overfør ZIP ved hjelp av din foretrukne SCP-applikasjon (for eksempel WinSCP) til /tmp katalog på linuxhost.
3) SSH inn i linux verten
4) Naviger til /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) Last ned og installer den nyeste DUP-driveren for BOSS fra https://dell.com/support
2) Last ned de nyeste MVSetup fra https://dell.com/support
3) høyreklikker du på ZIP-filen og pakker den ut.
Bruk
ESXi:
- Endre katalogen til installasjonskatalogen:
cd /opt/boss-s1
- Bruk av mccli:
./mvcli ?
Eksempel og utgang:
[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.
- Få hjelp til en bestemt svitsj i dette tilfellet, 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
- Eksempel: Vis smartinformasjon for harddisk 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
- Eksempel: Vis hendelser for BOSS-kontrolleren:
[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:
- Bruk av
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.
- Få hjelp til en bestemt svitsj i dette tilfellet, 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
- Eksempel: Vis smartinformasjon for harddisk 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
- Eksempel: Vis hendelser for BOSS-kontrolleren:
[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:
- Naviger ned til
mvsetup 4.1.13.30_A00\mvsetup 4.1.13.30\x64\clikatalogen under katalogen som skal pakkes utMVsetup - To metoder:
- Skallmodus: Dobbeltklikk
mvsetup.exeog et ledetekstvindu åpent
- Skallmodus: Dobbeltklikk
CLI Version: 4.1.13.30 RaidAPI Version: 5.0.13.1069
Welcome to RAID Command Line Interface.
>
-
- Naviger til der ZIP-filen ble pakket ut, og kjør
mvsetup.exeBrukeCMD
- Naviger til der ZIP-filen ble pakket ut, og kjør
C:\mvcli\mvsetup 4.1.13.30_A00\mvsetup 4.1.13.30\i386\cli>mvsetup
Bruk avMVSETUPI skallmodus:
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.
- Få hjelp til en bestemt svitsj i dette tilfellet, enc ved hjelp av skallmodus:
> 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
- Eksempel: Vis smartinformasjon for harddisk 0 i skallmodus:
> 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.
- Eksempel: Vis hendelser for BOSS-kontrolleren som ikke er tilgjengelig i skallmodus:
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