内容へ移動
fl8 Wiki
ユーザ用ツール
ログイン
サイト用ツール
検索
ツール
文書の表示
以前のリビジョン
バックリンク
最近の変更
メディアマネージャー
サイトマップ
ログイン
>
最近の変更
メディアマネージャー
サイトマップ
現在位置:
Dokuwiki.fl8.jp
»
01_linux
»
12_ツール
»
13 hpssacli(hpacucli, ssacli)
トレース:
•
13 laravel-admin
•
Vyatta - IPSec Brige / L2TP(IPSec)+Nat
•
22 Laravel-admin viewカスタマイズ
•
VMware ESXi で 3ware 9650se を使用する
•
12 Kubernetes
•
40 Laravel SSH/SCP
•
ソフトウェアRaid監視(Windows)
•
03 Windows 2008 Server R2でAIK
•
05 Xen Guestインストール
•
03 Postfix + amavisd + clamav
01_linux:12_ツール:13_hpssacli
この文書は読取専用です。文書のソースを閲覧することは可能ですが、変更はできません。もし変更したい場合は管理者に連絡してください。
====== 13 hpssacli(hpacucli, ssacli) ====== ===== Slot の確認 ===== <code> # hpssacli ctrl all show Smart HBA H240 in Slot 2 (RAID Mode) (sn: PDNNK0BRH9O0OE) </code> ===== nobatteryでもWriteキャッシュ有効 ===== <code> # hpssacli ctrl slot=0 modify nobatterywritecache=enable </code> ===== 物理ドライブライトキャッシュ有効 ===== <code> # hpssacli ctrl slot=0 modify drivewritecache=enable </code> ===== キャッシュのread/write比率変更 ===== <code> # hpssacli ctrl slot=0 modify cacheratio=10/90 </code> ====== hpssacli hpcucli ssacli ====== <code> hpssacli Posted on December 6, 2018 by Alwin Show configuration: /opt/hp/hpssacli/bin/hpssacli ctrl all show config Controller status /opt/hp/hpssacli/bin/hpssacli ctrl all show status Show detailed controller information for all controllers /opt/hp/hpssacli/bin/hpssacli ctrl all show detail Show detailed controller information for controller in slot 0 /opt/hp/hpssacli/bin/hpssacli ctrl slot=0 show detail Rescan for New Devices /opt/hp/hpssacli/bin/hpssacli rescan Physical disk status /opt/hp/hpssacli/bin/hpssacli ctrl slot=0 pd all show status Show detailed physical disk information /opt/hp/hpssacli/bin/hpssacli ctrl slot=0 pd all show detail Logical disk status /opt/hp/hpssacli/bin/hpssacli ctrl slot=0 ld all show status View Detailed Logical Drive Status /opt/hp/hpssacli/bin/hpssacli ctrl slot=0 ld 2 show Create New RAID 0 Logical Drive /opt/hp/hpssacli/bin/hpssacli ctrl slot=0 create type=ld drives=1I:1:2 raid=0 Create New RAID 1 Logical Drive /opt/hp/hpssacli/bin/hpssacli ctrl slot=0 create type=ld drives=1I:1:1,1I:1:2 raid=1 Create New RAID 5 Logical Drive /opt/hp/hpssacli/bin/hpssacli ctrl slot=0 create type=ld drives=1I:1:1,1I:1:2,2I:1:6,2I:1:7,2I:1:8 raid=5 Delete Logical Drive /opt/hp/hpssacli/bin/hpssacli ctrl slot=0 ld 2 delete Add New Physical Drive to Logical Volume /opt/hp/hpssacli/bin/hpssacli ctrl slot=0 ld 2 add drives=2I:1:6,2I:1:7 Add Spare Disks /opt/hp/hpssacli/bin/hpssacli ctrl slot=0 array all add spares=2I:1:6,2I:1:7 Enable Drive Write Cache /opt/hp/hpssacli/bin/hpssacli ctrl slot=0 modify dwc=enable Disable Drive Write Cache /opt/hp/hpssacli/bin/hpssacli ctrl slot=0 modify dwc=disable Erase Physical Drive /opt/hp/hpssacli/bin/hpssacli ctrl slot=0 pd 2I:1:6 modify erase Turn on Blink Physical Disk LED /opt/hp/hpssacli/bin/hpssacli ctrl slot=0 ld 2 modify led=on Turn off Blink Physical Disk LED /opt/hp/hpssacli/bin/hpssacli ctrl slot=0 ld 2 modify led=off Modify smart array cache read and write ratio (cacheratio=readratio/writeratio) /opt/hp/hpssacli/bin/hpssacli ctrl slot=0 modify cacheratio=100/0 Enable smart array write cache when no battery is present (No-Battery Write Cache option) /opt/hp/hpssacli/bin/hpssacli ctrl slot=0 modify nbwc=enable Disable smart array cache for certain Logical Volume /opt/hp/hpssacli/bin/hpssacli ctrl slot=0 logicaldrive 1 modify arrayaccelerator=disable Enable smart array cache for certain Logical Volume /opt/hp/hpssacli/bin/hpssacli ctrl slot=0 logicaldrive 1 modify arrayaccelerator=enable Enable SSD Smart Path /opt/hp/hpssacli/bin/hpssacli ctrl slot=0 array a modify ssdsmartpath=enable Disable SSD Smart Path /opt/hp/hpssacli/bin/hpssacli ctrl slot=0 array a modify ssdsmartpath=disable </code> ====== 障害テスト ====== hpssacli ctrl slot=0 physicaldrive 1I:1:2 modify disablepd 再確認 <code> hpssacli ctrl slot=0 show config Smart Array P420i in Slot 0 (Embedded) (sn: 0014380282E0CB0) Port Name: 1I Port Name: 2I Internal Drive Cage at Port 1I, Box 1, OK Internal Drive Cage at Port 2I, Box 0, OK array A (SAS, Unused Space: 0 MB) logicaldrive 1 (136.7 GB, RAID 1, Interim Recovery Mode) physicaldrive 1I:1:1 (port 1I:box 1:bay 1, SAS, 146 GB, OK) physicaldrive 1I:1:2 (port 1I:box 1:bay 2, SAS, 146 GB, Failed) SEP (Vendor ID PMCSIERA, Model SRCv8x6G) 380 (WWID: 50014380282E0CBF) </code> {{tag>hpssacli hpacucli}}
01_linux/12_ツール/13_hpssacli.txt
· 最終更新: 2020/04/03 13:04 by
matsui
ページ用ツール
文書の表示
以前のリビジョン
バックリンク
文書の先頭へ