惠普服务器ssa找不到控制卡,DL380 Gen10服务器Vmware ESXi 6.0 系统SSACLI工具

DL380 Gen10服务器Vmware ESXi 6.0 系统SSACLI工具

此实验文档介绍VMware系统下配置阵列、删除阵列、扩容等方法。

1、查看阵列状态

使用命令esxcli ssacli cmd –q “填写查看的命令,可以查看SSA手册”,如下所示:

6c1555302777729326ca3efa0910d9ec.png

输出信息:

[root@localhost:~] esxcli ssacli cmd -q "ctrl slot=0 show config detail"

HPE Smart Array P408i-a SR Gen10 in Slot 0 (Embedded)

Bus Interface: PCI

Slot: 0

Serial Number: PEYHC0ARH852FY

RAID 6 (ADG) Status: Enabled

Controller Status: OK

Hardware Revision: B

Firmware Version: 1.34-0

Rebuild Priority: High

Expand Priority: Medium

Surface Scan Delay: 3 secs

Surface Scan Mode: Idle

Parallel Surface Scan Supported: Yes

Current Parallel Surface Scan Count: 1

Max Parallel Surface Scan Count: 16

Queue Depth: Automatic

Monitor and Performance Delay: 60 min

Elevator Sort: Enabled

Degraded Performance Optimization: Disabled

Inconsistency Repair Policy: Disabled

Write Cache Bypass Threshold Size: 1040 KiB

Wait for Cache Room: Disabled

Surface Analysis Inconsistency Notification: Disabled

Post Prompt Timeout: 15 secs

Cache Board Present: True

Cache Status: Temporarily Disabled

Cache Status Details: Cache disabled; transformation in progress.

Cache Disable Reason: Temporary disable condition. The array accelerator memory is in use by an Expand operation that is queued up or in progress.

Drive Write Cache: Disabled

Total Cache Size: 2.0

Total Cache Memory Available: 1.8

No-Battery Write Cache: Disabled

SSD Caching RAID5 WriteBack Enabled: True

SSD Caching Version: 2

Cache Backup Power Source: Batteries

Battery/Capacitor Count: 1

Battery/Capacitor Status: OK

SATA NCQ Supported: True

Spare Activation Mode: Activate on physical drive failure (default)

Controller Temperature (C): 46

Capacitor Temperature (C): 37

Number of Ports: 2 Internal only

Encryption: Not Set

Express Local Encryption: False

Driver Name: smartpqi

Driver Version: VMware 1.0.1.244

PCI Address (Domain:Bus:Device.Function): 0000:B1:00.0

Negotiated PCIe Data Rate: PCIe 3.0 x8 (7880 MB/s)

Controller Mode: Mixed

Port Max Phy Rate Limiting Supported: False

Latency Scheduler Setting: Disabled

Current Power Mode: MaxPerformance

Survival Mode: Enabled

Host Serial Number: 6CU7469CRK

Sanitize Erase Supported: True

Sanitize Lock: None

Sensor ID: 0

Location: Capacitor

Current Value (C): 37

Max Value Since Power On: 38

Sensor ID: 1

Location: ASIC

Current Value (C): 46

Max Value Since Power On: 47

Sensor ID: 2

Location: Unknown

Current Value (C): 40

Max Value Since Power On: 40

Primary Boot Volume: None

Secondary Boot Volume: None

Internal Drive Cage at Port 1I, Box 1, OK

Power Supply Status: Not Redundant

Drive Bays: 4

Port: 1I

Box: 1

Location: Internal

Physical Drives

physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SAS HDD, 1 TB, OK)

physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SAS HDD, 1 TB, OK)

physicaldrive 1I:1:3 (port 1I:box 1:bay 3, SAS HDD, 1 TB, OK)

physicaldrive 1I:1:4 (port 1I:box 1:bay 4, SAS HDD, 1 TB, OK)

Port Name: 1I

Port ID: 0

Port Mode: Mixed

Port Connection Number: 0

SAS Address: 51402EC001F63650

Port Location: Internal

Port Name: 2I

Port ID: 1

Port Mode: Mixed

Port Connection Number: 1

SAS Address: 51402EC001F63654

Port Location: Internal

Array: A

Interface Type: SAS

Unused Space: 1430756 MB (50.00%)

Used Space: 1.36 TB (50.00%)

Status: OK

MultiDomain Status: OK

Array Type: Data

Smart Path: disable

Logical Drive: 1

Size: 931.48 GB

Fault Tolerance: 5

Heads: 255

Sectors Per Track: 32

Cylinders: 65535

Strip Size: 256 KB

Full Stripe Size: 512 KB

Status: Transforming, 2.31% complete

Unrecoverable Media Errors: None

MultiDomain Status: OK

Caching: Enabled

Parity Initialization Status: In Progress

Parity Initialization Progress: 0% complete

Unique Identifier: 600508B1001C37CBCC9921DB2CB00F61

Logical Drive Label: 00CAADABPEYHC0ARH852FY AA15

Drive Type: Data

LD Acceleration Method: Controller Cache

physicaldrive 1I:1:1

Port: 1I

Box: 1

Bay: 1

Status: OK

Drive Type: Data Drive

Interface Type: SAS

Size: 1 TB

Drive exposed to OS: False

Logical/Physical Block Size: 512/512

Rotational Speed: 7200

Firmware Revision: HPD2

Serial Number: ZBS0SX6Q

WWID: 5000C500943DBF3D

Model: HP MB1000JVYZL

Current Temperature (C): 34

Maximum Temperature (C): 43

PHY Count: 2

PHY Transfer Rate: 12.0Gbps, Unknown

Drive Authentication Status: OK

Carrier Application Version: 11

Carrier Bootloader Version: 6

Sanitize Erase Supported: True

Sanitize Estimated Max Erase Time: 2 hour(s), 0 minute(s)

Unrestricted Sanitize Supported: True

Shingled Magnetic Recording Support: None

Drive Unique ID: 5000C500943DBF3F619300085000C500

physicaldrive 1I:1:2

Port: 1I

Box: 1

Bay: 2

Status: OK

Drive Type: Data Drive

Interface Type: SAS

Size: 1 TB

Drive exposed to OS: False

Logical/Physical Block Size: 512/512

Rotational Speed: 7200

Firmware Revision: HPD2

Serial Number: ZBS0SXRR

WWID: 5000C500943DAA0D

Model: HP MB1000JVYZL

Current Temperature (C): 33

Maximum Temperature (C): 43

PHY Count: 2

PHY Transfer Rate: 12.0Gbps, Unknown

Drive Authentication Status: OK

Carrier Application Version: 11

Carrier Bootloader Version: 6

Sanitize Erase Supported: True

Sanitize Estimated Max Erase Time: 2 hour(s), 0 minute(s)

Unrestricted Sanitize Supported: True

Shingled Magnetic Recording Support: None

Drive Unique ID: 5000C500943DAA0F619300085000C500

physicaldrive 1I:1:3

Port: 1I

Box: 1

Bay: 3

Status: OK

Drive Type: Data Drive

Interface Type: SAS

Size: 1 TB

Drive exposed to OS: False

Logical/Physical Block Size: 512/512

Rotational Speed: 7200

Firmware Revision: HPD2

Serial Number: ZBS0SWJH

WWID: 5000C500943DDBB5

Model: HP MB1000JVYZL

Current Temperature (C): 31

Maximum Temperature (C): 43

PHY Count: 2

PHY Transfer Rate: 12.0Gbps, Unknown

Drive Authentication Status: OK

Carrier Application Version: 11

Carrier Bootloader Version: 6

Sanitize Erase Supported: True

Sanitize Estimated Max Erase Time: 2 hour(s), 0 minute(s)

Unrestricted Sanitize Supported: True

Shingled Magnetic Recording Support: None

Drive Unique ID: 5000C500943DDBB7619300085000C500

Unassigned

physicaldrive 1I:1:4

Port: 1I

Box: 1

Bay: 4

Status: OK

Drive Type: Unassigned Drive

Interface Type: SAS

Size: 1 TB

Drive exposed to OS: True

Logical/Physical Block Size: 512/512

Rotational Speed: 7200

Firmware Revision: HPD2

Serial Number: ZBS0SX9V

WWID: 5000C500943DBDDD

Model: HP MB1000JVYZL

Current Temperature (C): 30

Maximum Temperature (C): 42

PHY Count: 2

PHY Transfer Rate: 12.0Gbps, Unknown

Drive Authentication Status: OK

Carrier Application Version: 11

Carrier Bootloader Version: 6

Sanitize Erase Supported: True

Sanitize Estimated Max Erase Time: 2 hour(s), 0 minute(s)

Unrestricted Sanitize Supported: True

Shingled Magnetic Recording Support: None

Drive Unique ID: 5000C500943DBDDF619300085000C500

SEP (Vendor ID HPE, Model Smart Adapter) 379

Device Number: 379

Firmware Version: 1.34

WWID: 51402EC001F63650

Port: Unknown

Vendor ID: HPE

Model: Smart Adapter

2、查看阵列卡电池状态

6c1555302777729326ca3efa0910d9ec.png

3、创建阵列

首先查看可以使用的硬盘,有一块没有分配的硬盘

6c1555302777729326ca3efa0910d9ec.png

将未分配的硬盘创建新的阵列

6c1555302777729326ca3efa0910d9ec.png

如果是将多块硬盘创建阵列方法,每块硬盘之间使用逗号隔开,查看已经创建成功

6c1555302777729326ca3efa0910d9ec.png

6c1555302777729326ca3efa0910d9ec.png

4、删除阵列

先查看当前已经存在的logicaldrive

6c1555302777729326ca3efa0910d9ec.png

提示必须使用强制命令才能删除,删除logicaldrive可以简写ld

6c1555302777729326ca3efa0910d9ec.png

6c1555302777729326ca3efa0910d9ec.png

再次查看阵列状态已经删除

6c1555302777729326ca3efa0910d9ec.png

或者使用命令删除,将logical drive简写ld

6c1555302777729326ca3efa0910d9ec.png

5、扩容

当前已经有两块硬盘创建raid1,一个LD,还有两块硬盘未分配

6c1555302777729326ca3efa0910d9ec.png

选中一块未分配的硬盘,扩容到Array A中,同样此操作依旧需要强制执行

6c1555302777729326ca3efa0910d9ec.png

查看硬盘已经添加进入Array A

6c1555302777729326ca3efa0910d9ec.png

查看LD状态,正在进行扩容,等待扩容完成。

6c1555302777729326ca3efa0910d9ec.png

6c1555302777729326ca3efa0910d9ec.png

阵列扩容完成后,扩容LD,先查询当前的logicaldrive可用大小

6c1555302777729326ca3efa0910d9ec.png

将其中一部分空间单独创建一个LD,其他空间扩容到LD1

新建LD2,size默认单位是MB

6c1555302777729326ca3efa0910d9ec.png

剩余空间:

6c1555302777729326ca3efa0910d9ec.png

将剩余的空间全部扩容到LD1中

6c1555302777729326ca3efa0910d9ec.png

查看扩容后的状态

6c1555302777729326ca3efa0910d9ec.png

6、热备

添加热备,sparetype 关键字能让您将备用驱动器类型指定为“dedicated”(默认)或“autoreplace”。 专用备用驱动器会临时接管发生故障的驱动器,并且可以在阵列之间共享。 autoreplace 备用驱动器会更换发生故障的驱动器,而不能在阵列之间共享。

设置专用热备命令后面添加参数sparetype=autoreplace

设置全局热备

6c1555302777729326ca3efa0910d9ec.png

6c1555302777729326ca3efa0910d9ec.png

添加专用热备:

6c1555302777729326ca3efa0910d9ec.png

删除热备:

6c1555302777729326ca3efa0910d9ec.png

如果要查看硬盘的详细信息需要使用命令

6c1555302777729326ca3efa0910d9ec.png

查看详细的逻辑驱动器的命令

6c1555302777729326ca3efa0910d9ec.png

7、设置逻辑驱动器的优先启动顺序

三个参数值可以设置:primary、secondary、none

6c1555302777729326ca3efa0910d9ec.png

8、阵列迁移

重新创建一个raid1,将raid1迁移raid0

6c1555302777729326ca3efa0910d9ec.png

开始迁移,下图所示迁移成功

6c1555302777729326ca3efa0910d9ec.png

9、查看软件版本命令:

6c1555302777729326ca3efa0910d9ec.png

10、如果要保存阵列详细信息,可以使用如下命令:

[root@localhost:~] esxcli ssacli red "ctrl slot=0 show config detail">>/tmp/adu.txt

6c1555302777729326ca3efa0910d9ec.png

11、其他的一些命令:

查询命令使用方法,如下示例,或者参考SSA手册

[root@localhost:~] esxcli ssacli cmd -q "help controller"

来源:51CTO

作者:emcome

链接:https://blog.51cto.com/emcome/2508872

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值