triggerenclosuredump
使用 triggerenclosuredump 指令,來強制指定的一或多個機箱傾出資料。
語法
>>- triggerenclosuredump -- ------------------------------------> >--+- -port --port_id-- -iogrp --iogrp_id_or_name-+------------>< '- -enclosure --enclosure_id-------------------'
註:
- 您只能使用其中一個選用的參數(-port 或 -enclosure)。
- 如果指定 -port,也必須指定 -iogrp。
- 如果指定 -iogrp,也必須指定 -port。
參數
- -port port_id
- (選用)如果系統佈線正確,這個值與您想要傾出的機箱所在之鏈結的 ID 相同。如果系統佈線不正確,則會傾出連接至任一節點機匣之埠 port_id 的所有機箱。
- -iogrp iogrp_id_or_name
- (選用)控制機箱所屬之 I/O 群組的 ID 或名稱。
- -enclosure enclosure_id
- (選用)您想要傾出之機箱的 ID。
說明
重要: 必須指定其中一個選用的參數。
這個指令會要求指定一或多個機箱中的機匣傾出資料。之後,會將傾出的資料收集移到連接機箱之節點的 /dumps/enclosure 中。每個順利傾出的機匣都有 一個檔案,它們可能會在不同的節點上。傾出供產品支援團隊(或資訊)使用, 前提是有工具來解譯傾出資料。使用 cpdumps 指令,從系統複製檔案。這個指令不會破壞存取機箱的能力。 系統限制每個節點在目錄中最多 20 個機箱狀態儲存。
從連接至 iogrp 2 中控制機箱之埠 1 的所有機箱,來觸發機箱傾出
triggerenclosuredump -port 1 -iogrp 2
產生的輸出:
如果指令成功,資料就會傾出至 /dumps/enclosure 目錄。
從 enclosure 5 觸發機箱傾出
triggerenclosuredump -enclosure 5
產生的輸出:
如果指令成功,資料就會傾出至 /dumps/enclosure 目錄。
