IBM 7133陣列管理

  SSA卡電池管理

   #ssa_fw_status  -a ssa1  顯示cache電池的信息
   #ssa_format -1 ssa1 -b    清除cache電池的壽命爲零
   #ssa_format -l ssa0       清掉cache裏的內容,
   #ssadisk -a ssa1 -L 列出對應ssa卡的hdisk盤
   #ssadisk -a ssa1 -P 列出對應ssa卡的pdisk盤
   #ssa_diag -l ssa0    顯示ssa的SRN號,通過SRN號來確定問題
   #/usr/lpp/diagnostics/bin/ssa_diag -l ssa0 -a 
  //如果爲返回值爲0則正常,如果返回爲1則表示機器電源或風扇沒有冗餘,如果爲2則表示卡壞了。
   # ssaadap -l hdisk3  確定hdisk3是從屬哪個ssa卡
   ssa_progress ---to show how much(by percentage) of a format operation has been completed,
and to show the status of the format operation.the status can be "complete","formatting",or "failed"
   #ssa_progress -l pdisk0
   #ssaraid -l ssa0 -Iz   列出hdisk 和pdisk的狀態
   配置確認,找到pdisk跟hdisk的對應關係
   #diag----Task Selection --SSA Service Aids--Configuration Verification
   格式化盤,將導致盤上的數據丟失。當盤無法被所用時,這是一種解決辦法。
   #diag----Task Selection --SSA Service Aids--Format Disk
   驗證盤是否有壞塊等問題
   #diag----Task Selection --SSA Service Aids--Certify Disk
   顯示或更新磁盤的Microcode
   #diag----Task Selection --SSA Service Aids--Display/Download Disk Drive Microcode--Display the Microcode levels of all SSA Physical Disk Drives   顯示Microcode
   #diag----Task Selection --SSA Service Aids--Display/Download Disk Drive Microcode--Download Microcode 可選一個盤或所有的盤。是從軟盤中安裝。
   對盤進行raid操作,使用smitty ssaraid。
   定位盤
     #smitty dev ---ssa disks----SSA Physical Disks--- Identify an SSA Physical Disk---選中盤。
 
 
# ssaencl -l enclosure0 -b  顯示enclosure0 的bypass cards 的狀態
 
# ssaencl -l enclosure0 -c -v 顯示VPD的狀態
 
# ssaencl -l enclosure0 -I R202 更改enclosure0 的ID爲 R202
 
 
# ssaencl -l enclosure0 -d 8  顯示 disk bay 8 的內容
 
 
是不是用這種方法查找已經壞的磁盤,執行的時候,那個磁盤的disk identification  lights會閃
確認要更換的盤之後,需要不需要返回上一級菜單:
 
  Cancel all SSA Disk Identifications
 
把確認有問題的磁盤插上,之後如果想把這個磁盤加到degraded的RAID中,需要對這個磁盤執行什麼操作!
 
用戶可以用以下命令察看7133 RAID的狀態
smitty ssaraid 
List Status of all Defined SSA RAID Arrays 
當RAID中的硬盤出現問題時,此RAID的狀態是“degraded”
 
 
1. 可用以下命令判斷硬盤是否被被陣列(Array)剔除(reject):
smit ssaraid
List/Identify SSA Physical Disks
List Rejected Array Disks 
 
如果硬盤沒有被陣列(Array)剔除(reject)
smitty ssaraid
Change Member Disks in an SSA RAID Array 
Remove a disk from an SSA RAID Array 
選擇相應的陣列(array)和想要更換的硬盤(pdisk#)。
 
2. 物理上更換硬盤。
 
3. 運行下列命令。
rmdev -dl pdisk# --從系統中刪除想更換硬盤的定義。
cfgmgr -vl ssar ---從新配置新加的硬盤。
 
4. smitty ssaraid
Change/Show use of an ssa physical disk 
將新加硬盤的狀態變爲 Array Candidate. 
 
5. smiity ssaraid
Change Member Disks in an SSA RAID Array 
Add a disk to an SSA RAID Array 
將新硬盤加入陣列(Array)。 
 
此時,用 smitty ssaraid 
List Status of all Defined SSA RAID Arrays 
檢查此陣列應爲“Rebuilding”狀態,在Rebuilding完成後陣列
返回“Good”狀態。
 
 
ssaencl -l name
[-s]
[-v]
[-i]
[-r]
[-b[card ...]]
[-t[threshold ...]]
[-a]
[-f[fan ...]]
[-d[drive_bay ...]]
[-p[PSU ...]]
[-o]
[-c]
To modify enclosure component settings:
ssaencl -l name
[-I ID [-U]]
[-B mode | card=mode ...]
[-S {d[drive_bay ...] | b[card ...] | p[PSU
...]|r|c|o}]
[-T threshold=value ...]
For help, type: ssaencl -? or ssaencl -h
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章