目次
HPE(HP)のSmartArrayの管理ツールに関する導入・操作手順。
ESXiへ導入する際には、パッケージの入手してVIBファイルのインストールを行う。
| VMware vSphere 6.7 | ESXi 6.7u3 | VMware ESXi, 6.7.0, 15160138 |
| HPE ESXiユーティリティオフラインバンドル for VMware vSphere 6.7 - 3.2.0(20 4 2018) | esxi6.7-util-bundle-3.2.0-12.zip | ダウンロード |
unzip esxi6.7-util-bundle-3.2.0-12.zip
cp ssacli-3.25.4.0-6.5.0.vib /tmp
esxcli software vib install -v /tmp/ssacli-3.25.4.0-6.5.0.vib Installation Result Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective. Reboot Required: true VIBs Installed: HPE_bootbank_ssacli_3.25.4.0-6.5.0.4240417 VIBs Removed: VIBs Skipped:
esxcli software vib list | grep ssacli
ssacli 3.25.4.0-6.5.0.4240417 HPE PartnerSupported 2021-01-1
vi /etc/rc.local.d/local.sh
# HP Attay cli test -f /opt/smartstorageadmin/ssacli/bin/ssacli && ln -s /opt/smartstorageadmin/ssacli/bin/ssacli ssacli
ssacli ctrl all show config
Smart Array P410 in Slot 20 (sn: xxxxxxxxxxx)
Port Name: 1I
Port Name: 2I
Array A (SATA, Unused Space: 0 MB)
logicaldrive 1 (3.64 TB, RAID 1+0, OK)
physicaldrive 1I:0:1 (port 1I:box 0:bay 1, SATA HDD, 2 TB, OK)
physicaldrive 1I:0:2 (port 1I:box 0:bay 2, SATA HDD, 2 TB, OK)
physicaldrive 1I:0:3 (port 1I:box 0:bay 3, SATA HDD, 2 TB, OK)
physicaldrive 1I:0:4 (port 1I:box 0:bay 4, SATA HDD, 2 TB, OK)
SEP (Vendor ID PMCSIERA, Model SRC 8x6G) 250 (WWID: 50014380168595AF)
Smart Array P410 in Slot 20 (sn: xxxxxxxxxxx)
Port Name: 1I
Port Name: 2I
Array A (SATA,
logicaldrive 1 (3.64 TB, RAID 1+0, Interim Recovery Mode)
physicaldrive 1I:0:1 (port 1I:box 0:bay 1, SATA HDD, 2 TB, OK)
physicaldrive 1I:0:2 (port 1I:box 0:bay 2, SATA HDD, 2 TB, OK)
physicaldrive 1I:0:3 (port 1I:box 0:bay 3, SATA HDD, 2 TB, Failed)
physicaldrive 1I:0:4 (port 1I:box 0:bay 4, SATA HDD, 2 TB, OK)
SEP (Vendor ID PMCSIERA, Model SRC 8x6G) 250 (WWID: 50014380168595AF)
Smart Array P410 in Slot 20 (sn: xxxxxxxxxxx)
Port Name: 1I
Port Name: 2I
Array A (SATA, Unused Space: 0 MB)
logicaldrive 1 (3.64 TB, RAID 1+0, Recovering, 1% complete)
physicaldrive 1I:0:1 (port 1I:box 0:bay 1, SATA HDD, 2 TB, OK)
physicaldrive 1I:0:2 (port 1I:box 0:bay 2, SATA HDD, 2 TB, OK)
physicaldrive 1I:0:3 (port 1I:box 0:bay 3, SATA HDD, 2 TB, Rebuilding)
physicaldrive 1I:0:4 (port 1I:box 0:bay 4, SATA HDD, 2 TB, OK)
SEP (Vendor ID PMCSIERA, Model SRC 8x6G) 250 (WWID: 50014380168595AF)ssacli ctrl all show status
Smart Array P410 in Slot 20 Controller Status: OK Cache Status: OK Battery/Capacitor Status: OK
ssacli ctrl all show detail
Smart Array P410 in Slot 20 Bus Interface: PCI Slot: 20 Serial Number: xxxxxxxxxxxx Cache Serial Number: xxxxxxxxxxxx Controller Status: OK Hardware Revision: C Firmware Version: 3.66-0 Rebuild Priority: Medium Expand Priority: Medium Surface Scan Delay: 15 secs Surface Scan Mode: Idle Parallel Surface Scan Supported: No Queue Depth: Automatic Monitor and Performance Delay: 60 min Elevator Sort: Enabled Degraded Performance Optimization: Disabled Wait for Cache Room: Disabled Surface Analysis Inconsistency Notification: Disabled Post Prompt Timeout: 0 secs Cache Board Present: True Cache Status: OK Cache Ratio: 25% Read / 75% Write Drive Write Cache: Disabled Total Cache Size: 1.0 Total Cache Memory Available: 0.9 No-Battery Write Cache: Disabled Cache Backup Power Source: Capacitors Battery/Capacitor Count: 1 Battery/Capacitor Status: OK SATA NCQ Supported: True Number of Ports: 2 Internal only Encryption: Not Set Driver Name: nhpsa Driver Version: 2.0.30-1OEM PCI Address (Domain:Bus:Device.Function): 0000:07:00.0 Port Max Phy Rate Limiting Supported: False Sanitize Erase Supported: False Primary Boot Volume: None Secondary Boot Volume: None
ssacli ctrl slot=[HBA No.] pd all show detail
Smart Array P410 in Slot 20
Array A
physicaldrive 1I:0:1
Port: 1I
Box: 0
Bay: 1
Status: OK
Drive Type: Data Drive
Interface Type: SATA
Size: 2 TB
Drive exposed to OS: False
Logical/Physical Block Size: 512/512
Rotational Speed: 7200
Firmware Revision: MX4OABB0
Serial Number: xxxxxxxxxxxx
WWID: 30014380168595A0
Model: ATA TOSHIBA DT01ACA2
SATA NCQ Capable: True
SATA NCQ Enabled: True
Current Temperature (C): 30
Maximum Temperature (C): 58
PHY Count: 1
PHY Transfer Rate: 3.0Gbps
Sanitize Erase Supported: False
Shingled Magnetic Recording Support: None
physicaldrive 1I:0:2
Port: 1I
Box: 0
Bay: 2
Status: OK
Drive Type: Data Drive
Interface Type: SATA
Size: 2 TB
Drive exposed to OS: False
Logical/Physical Block Size: 512/512
Rotational Speed: 7200
Firmware Revision: MX4OABB0
Serial Number: xxxxxxxxxxxx
WWID: 30014380168595A1
Model: ATA TOSHIBA DT01ACA2
SATA NCQ Capable: True
SATA NCQ Enabled: True
Current Temperature (C): 30
Maximum Temperature (C): 55
PHY Count: 1
PHY Transfer Rate: 3.0Gbps
Sanitize Erase Supported: False
Shingled Magnetic Recording Support: None
physicaldrive 1I:0:3
Port: 1I
Box: 0
Bay: 3
Status: Rebuilding
Drive Type: Data Drive
Interface Type: SATA
Size: 2 TB
Drive exposed to OS: False
Logical/Physical Block Size: 512/512
Rotational Speed: 7200
Firmware Revision: MX4OABB0
Serial Number: xxxxxxxxxxxx
WWID: 30014380168595A2
Model: ATA TOSHIBA DT01ACA2
SATA NCQ Capable: True
SATA NCQ Enabled: True
Current Temperature (C): 31
Maximum Temperature (C): 63
PHY Count: 1
PHY Transfer Rate: 3.0Gbps
Sanitize Erase Supported: False
Shingled Magnetic Recording Support: None
physicaldrive 1I:0:4
Port: 1I
Box: 0
Bay: 4
Status: OK
Drive Type: Data Drive
Interface Type: SATA
Size: 2 TB
Drive exposed to OS: False
Logical/Physical Block Size: 512/512
Rotational Speed: 7200
Firmware Revision: MX4OABB0
Serial Number: xxxxxxxxxxxx
WWID: 30014380168595A3
Model: ATA TOSHIBA DT01ACA2
SATA NCQ Capable: True
SATA NCQ Enabled: True
Current Temperature (C): 28
Maximum Temperature (C): 43
PHY Count: 1
PHY Transfer Rate: 3.0Gbps
Sanitize Erase Supported: False
Shingled Magnetic Recording Support: Nonessacli rescan
出力結果はありません
RAID1アレイを作成する手順。
ssacli ctrl all show config
Smart Array P410 in Slot 0 (Embedded) (sn: PACCRID11310DMX)
Unassigned
physicaldrive 1I:0:3 (port 1I:box 0:bay 3, SATA SSD, 1 TB, OK)
physicaldrive 1I:0:4 (port 1I:box 0:bay 4, SATA SSD, 1 TB, OK)
SEP (Vendor ID PMCSIERA, Model SRC 8x6G) 250 (WWID: 50014380168595AF)ssacli ctrl slot=0 create type=ld drives=1I:0:3,1I:0:4 raid=1 forced
ssacli ctrl all show config
Smart Array P410 in Slot 0 (Embedded) (sn: PACCRID11310DMX)
Array B (Solid State SATA, Unused Space: 0 MB)
logicaldrive 2 (931.48 GB, RAID 1, OK)
physicaldrive 1I:0:3 (port 1I:box 0:bay 3, SATA SSD, 1 TB, OK)
physicaldrive 1I:0:4 (port 1I:box 0:bay 4, SATA SSD, 1 TB, OK)
SEP (Vendor ID PMCSIERA, Model SRC 8x6G) 250 (WWID: 50014380168595AF)アレイを削除する手順。
ssacli ctrl all show config
Smart Array P410 in Slot 0 (Embedded) (sn: PACCRID11310DMX)
Port Name: 1I
Port Name: 2I
Array A (SATA,
logicaldrive 1 (5.46 TB, RAID 1+0, Interim Recovery Mode)
physicaldrive 1I:0:1 (port 1I:box 0:bay 1, SATA HDD, 2 TB, OK)
physicaldrive 1I:0:2 (port 1I:box 0:bay 2, SATA HDD, 2 TB, OK)
physicaldrive 2I:0:5 (port 2I:box 0:bay 5, SATA HDD, 2 TB, OK)
physicaldrive 2I:0:6 (port 2I:box 0:bay 6, SATA HDD, 2 TB, OK)
physicaldrive 2I:0:7 (port 2I:box 0:bay 7, SATA HDD, 2 TB, OK)
physicaldrive 2I:0:8 (port 2I:box 0:bay 8, SATA HDD, 0 GB, Failed)
Array B (Solid State SATA, Unused Space: 0 MB)
logicaldrive 2 (931.48 GB, RAID 1, OK)
physicaldrive 1I:0:3 (port 1I:box 0:bay 3, SATA SSD, 1 TB, OK)
physicaldrive 1I:0:4 (port 1I:box 0:bay 4, SATA SSD, 1 TB, OK)
SEP (Vendor ID PMCSIERA, Model SRC 8x6G) 250 (WWID: 50014380168595AF)ssacli ctrl slot=0 ld 1 delete forced
Warning: Deleting an array can cause other array letters to become renamed.
E.g. Deleting array A from arrays A,B,C will result in two remaining
arrays A,B ... not B,C ssacli ctrl all show config
Smart Array P410 in Slot 0 (Embedded) (sn: PACCRID11310DMX)
Port Name: 1I
Port Name: 2I
Array A (Solid State SATA, Unused Space: 0 MB)
logicaldrive 2 (931.48 GB, RAID 1, OK)
physicaldrive 1I:0:3 (port 1I:box 0:bay 3, SATA SSD, 1 TB, OK)
physicaldrive 1I:0:4 (port 1I:box 0:bay 4, SATA SSD, 1 TB, OK)
Unassigned
physicaldrive 1I:0:1 (port 1I:box 0:bay 1, SATA HDD, 2 TB, OK)
physicaldrive 1I:0:2 (port 1I:box 0:bay 2, SATA HDD, 2 TB, OK)
physicaldrive 2I:0:5 (port 2I:box 0:bay 5, SATA HDD, 2 TB, OK)
physicaldrive 2I:0:6 (port 2I:box 0:bay 6, SATA HDD, 2 TB, OK)
physicaldrive 2I:0:7 (port 2I:box 0:bay 7, SATA HDD, 2 TB, OK)
SEP (Vendor ID PMCSIERA, Model SRC 8x6G) 250 (WWID: 50014380168595AF)ESXi6系以降では、一部コマンドは "forced" フラグをつけて実行する必要がある。
ssacli ctrl slot=0 create type=ld drives=1I:0:3,1I:0:4 raid=1 forced