Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Create and access a list of your products

如何使用 PowerEdge 可擴充式 RAID 控制器命令行介面公用程式

Summary: 本文說明如何下載、安裝及使用 Dell PowerEdge RAID 控制器 (PERC) 命令行介面 (CLI) 公用程式來管理您的 RAID 控制器。在執行 Windows、Linux 或 ESXi 的主機上,PERC 系列 8 及更新版本的控制器系列支援此公用程式。PERCCLI 也可以解壓縮 RAID 控制器記錄,其中包含讓您或 Dell 技術支援部門判斷 RAID 控制器和連接儲存裝置的狀態資訊,以縮小可能的錯誤來源。 ...

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

注意:從 PERC 系列 8 及更新系列開始,已由 PERCCLI 取代 Mega-CLI。請參閱文章 PowerEdge:適用於 Dell 系統的 PowerEdge RAID 控制器類型清單 ,以識別您的 PERC 控制器是哪個系列。
 

在 Microsoft Windows、Linux 或 VMware 中存取 PERCCLI:
供使用的影片 PERCCLI 在 Windows
中,影片為英文版本,您可在我們的 影片庫中找到更多影片。

使用 PERCCLI 在 Windows 中

持續時間:00:01:55 (小時:分鐘:秒)
當可用時,您可以使用此影像播放器上的 CC 圖示來選擇隱藏式輔助字幕 (字幕) 語言設定。

執行下列程序以安裝與使用 PERCCLI 在 Windows 作業系統中:

  1. 下載 Windows PERCCLI utility 的 Dell 支援網站。選取您的系統,然後根據 SAS RAID 或使用關鍵字 PERCCLI 篩選驅動程式與下載

  2. 解壓縮可自我解壓縮的下載檔案,然後複製 perccli.exeperccli64.exe 檔案至 C:\Windows\System32 directory

  3. 在命令提示符下,執行以下任何範例: PERCCLI 命令:

    注意: PERCCLI 在 Windows 作業系統中,命令需要系統管理員權限。
    注意:視作業系統版本而定,且 perccli,可執行檔可能是 perccliperccli64
     

    命令

    動作

    perccli show
    

     這會顯示控制器以及與控制器相關的資訊摘要。摘要內容包括以索引排列的控制器數量。

    perccli /cx show termlog
    
    /cX specifies the controller where X is the controller index
    
    Example: 
    If the controller index was 0 the command would be
    "perccli /c0 show termlog"
    

     建立 RAID 控制器記錄 (ttylog)

    perccli /cX /eall /sall show all > disks.txt
    
    /cX specifies the controller where X is the controller index
    
    Example: perccli /c0 /eall /sall show all > disks.txt
    

     建立 RAID 控制器記錄,包含控制器上的所有插槽資訊

    perccli /cX show eventloginfo > eventloginfo.txt
    
    /cX specifies the controller where X is the controller index
    
    Example: perccli /c0 show eventloginfo > eventloginfo.txt
    

     使用記錄檔的歷程記錄建立 RAID 控制器記錄

執行下列程序,以在 Linux 作業系統中安裝和使用 PERCCLI:
  1. 從 Dell 支援網站下載 Linux PERCCLI 公用 程式。選取您的系統,然後根據 SAS RAID 或使用關鍵字 PERCCLI 篩選驅動程式與下載

  2. 若要安裝 percli 轉速, run rpm -ivh <percli-x.xx-x.noarch.rpm>, 或升級 percli 轉速, run rpm -Uvh <percli-x.xx-x.noarch.rpm>.
  3. 將目錄變更為 /opt/MegaRAID/perccli.
  4. 以 root 使用者身分執行 ./perccli.
  5. 在終端機視窗中,執行下列任何一個範例 PERCCLI 命令:

    注意:PERCCLI 命令需要 Linux 中的根權限。

       

    注意:視作業系統版本而定,且 perccli,可執行檔可能是 perccli 或 perccli64
     

    命令

    動作

    ./perccli show
    

     這會顯示控制器以及與控制器相關的資訊摘要。摘要內容包括以索引排列的控制器數量。

    ./perccli /cX show termlog 
    
    /cX specifies the controller where X is the controller index
    
    Example:
    If the controller index was 0 the command would be
    "./perccli /c0 show termlog"
    

     建立 RAID 控制器記錄 (ttylog)

    ./perccli /cX /eall /sall show all > disks.txt
    
    /cX specifies the controller where X is the controller index
    
    Example: ./perccli /c0 /eall /sall show all > disks.txt
    

     建立 RAID 控制器記錄,包含控制器上的所有插槽資訊

    ./perccli /cX show eventloginfo > eventloginfo.txt
    
    /cX specifies the controller where X is the controller index
    
    Example: ./perccli /c0 show eventloginfo > eventloginfo.txt
    

     使用記錄檔的歷程記錄建立 RAID 控制器記錄

執行下列程式,以使用 VMware 存取系統中的命令提示字元:
  1. 下載 VMware PERCCLI utility 的 Dell 支援網站。選取您的系統,然後根據 SAS RAID 或使用關鍵字 PERCCLI 篩選驅動程式與下載

  2. 解壓縮 VMware_PERCCLI_xxxxx_x.x-xxx.xxxx.tar.gz 變更為 /vmfs/volume/datastore1 在主機上

  3. 使用下列命令,檢視已安裝的 VIB 套裝清單: esxcli software vib list

  4. 使用下列命令安裝 VIB 套裝: esxcli software vib install -v /vmfs/volume/datastore1/vmware-perccli-xxx.xxxx.xxxx.xxxx.vib --no-sig-check 哪裡 /vmfs/volume/datastore1 是VIB的路徑詳細資訊。

  5. 您可以使用以下命令移除已安裝的 VIB: esxcli software vib remove -n=vmware-esx-perccli.vib --force

  6. 執行 perccli 瀏覽到以下位置: cd/opt/lsi/perccli

  7. 在終端機視窗中,執行下列任何一個範例 PERCCLI 命令:
       

    注意:視作業系統版本而定,且 perccli,可執行檔可能是 perccli 或 perccli64

     

    命令

    動作

    ./perccli show
    

     這會顯示控制器以及與控制器相關的資訊摘要。摘要內容包括以索引排列的控制器數量。

    ./perccli /cX show show termlog logfile=log.txt
    
    /cX specifies the controller where X is the controller index
    
    Example: ./perccli /c0 show termlog logfile=log.txt
    

     建立 RAID 控制器記錄 (ttylog)

    ./perccli /cX /eall /sall show all > disks.txt
    
    /cX specifies the controller where X is the controller index
    
    Example: ./perccli /c0 /eall /sall show all > disks.txt
    

     建立 RAID 控制器記錄,包含控制器上的所有插槽資訊

    ./perccli /cX show eventloginfo > eventloginfo.txt
    
    /cX specifies the controller where X is the controller index
    
    Example: ./perccli /c0 show eventloginfo > eventloginfo.txt
    

     使用記錄檔的歷程記錄建立 RAID 控制器記錄

可用的 PERC 命令清單

如需控制器支援的特定命令相關資訊,請參閱《PERC 使用者指南》或《CLI 參考指南》。如需 PERC 配接卡說明文件,請前往儲存裝置配接卡和控制器,選取您的特定儲存控制器,然後按一下 說明文件標籤,然後按一下 手冊和說明文件區段。

在每個手冊中,命令列按類別列出,例如:

標準

  • 系統命令 (包括 Show)
  • 控制器命令
  • 磁碟機命令
  • 虛擬磁碟機命令
  • 外部組態命令

  • 與 BIOS 相關的命令
  • 磁碟機群組命令
  • 調光器開關命令
  • BBU 命令
  • 機櫃命令
  • PHY 命令
  • 紀錄命令
  • PERC CLI 命令範例

Additional Information

在 Red Hat、Ubuntu、ESXi 和 Windows 上安裝 PERCCLI。

持續時間:00:08:24 (小時:分鐘:秒)
當可用時,您可以使用此影像播放器上的 CC 圖示來選擇隱藏式輔助字幕 (字幕) 語言設定。

Affected Products

MD Series, Microsoft Windows Server 2016, Microsoft Windows 2008 Server R2, Microsoft Windows 2012 Server, Microsoft Windows 2012 Server R2, SUSE Linux Enterprise Server 11, SUSE Linux Enterprise Server 12, OEMR R740xd, OEMR R740xd2 , PowerEdge RAID Controller H730P MX, PowerEdge RAID Controller H745P MX, PowerEdge C4130, Poweredge C4140, PowerEdge c6320, PowerEdge c6320p, PowerEdge C6420, Poweredge FC430, Poweredge FC630, PowerEdge FC640, PowerEdge FD332, PowerEdge M420, PowerEdge M520, PowerEdge M620, PowerEdge M620 (for PE VRTX), PowerEdge M630, PowerEdge M630 (for PE VRTX), PowerEdge M640, PowerEdge M640 (for PE VRTX), PowerEdge M820, PowerEdge M820 (for PE VRTX), PowerEdge M830, PowerEdge M830 (for PE VRTX), PowerEdge MX740C, PowerEdge MX840C, PowerEdge R220, PowerEdge R230, PowerEdge R240, PowerEdge R250, PowerEdge R260, PowerEdge R320, PowerEdge R330, PowerEdge R350, PowerEdge R360, PowerEdge R420, PowerEdge R430, PowerEdge R440, PowerEdge R450, PowerEdge R520, PowerEdge R530, PowerEdge R530xd, PowerEdge R540, PowerEdge R550, PowerEdge R620, PowerEdge R630, PowerEdge R640, PowerEdge R6415, PowerEdge R650, PowerEdge R650xs, PowerEdge R6515, PowerEdge R6525, PowerEdge R660, PowerEdge R660xs, PowerEdge R6615, PowerEdge R6625, PowerEdge R670, PowerEdge R720, PowerEdge R720XD, PowerEdge R730, PowerEdge R730xd, PowerEdge R740, PowerEdge R740XD, PowerEdge R740XD2, PowerEdge R7415, PowerEdge R7425, PowerEdge R750, PowerEdge R750XA, PowerEdge R750xs, PowerEdge R7515, PowerEdge R7525, PowerEdge R760, PowerEdge R760XA, PowerEdge R760xd2, PowerEdge R760xs, PowerEdge R7615, PowerEdge R7625, PowerEdge R770, PowerEdge R820, PowerEdge R830, PowerEdge R840, PowerEdge R860, PowerEdge R920, PowerEdge R930, PowerEdge R940, PowerEdge R940xa, PowerEdge R960, PowerEdge RAID Controller H310, PowerEdge RAID Controller H330, PowerEdge RAID Controller H710, PowerEdge RAID Controller H710P, PowerEdge RAID Controller H730, PowerEdge RAID Controller H730P, PowerEdge RAID Controller H740P, PowerEdge RAID Controller H810, PowerEdge RAID Controller H830, PowerEdge RAID Controller H840, PowerEdge T130, PowerEdge T140, PowerEdge T150, PowerEdge T160, PowerEdge T320, PowerEdge T330, PowerEdge T340, PowerEdge T350, PowerEdge T360, PowerEdge T420, PowerEdge T430, PowerEdge T440, PowerEdge T550, PowerEdge T620, PowerEdge T630, PowerEdge T640, Red Hat Enterprise Linux Version 5, Red Hat Enterprise Linux Version 6, Red Hat Enterprise Linux Version 7 ...
Article Properties
Article Number: 000177280
Article Type: How To
Last Modified: 19 Oct 2024
Version:  13
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.