回到網頁內容 臺灣-繁體中文
HP.com 首頁 產品資訊 支�#169;及驅動程式 解決方案 如何購買
» 聯絡 HP
進階選項
HP.com 首頁
安裝、配置,與管理 HP Integrity 虛擬機器

附錄 B 利用 Integrity VM 報告問題

» 

技術文件

PDF 格式的完整書籍
» 回饋意見
內容©韟像B開©l

 » 目錄

 » 辭彙

 » 索引

透過您的支援管道報告瑕疵問題。請依照下列指示蒐集資料並與問題報告一併送出。

  1. 執行 hpvmcollect 命令以便在修改任何從機前先蒐集從機的相關資訊。VM 主機當機時,保留最能符合 VM 主機和 Integrity VM 當時狀態的環境。

    若執行多個從機,請針對當時執行中的從機執行 hpvmcollect 命令。

  2. hpvmcollect 備存檔儲存在 VM 主機上後,重新開機造成 VM 主機當機的從機。

  3. 在從機上再次執行 hpvmcollect 命令。自 VM 主機將此資訊納入 hpvmcollect 備存檔中。

  4. 透過您的支援管道報告資訊。

若 VM 主機懸滯,確認利用 VM 主機控制台上的 TC 產生當機傾印。VM 主機當機時,它會試圖將一組預先定義的記憶體分頁傾印至當機傾印區中,包括屬於 Integrity VM 的分頁。這對成功蒐集當機傾印資訊以分析 Integrity VM 問題而言相當關鍵。

hpvmcollect 命令是一個可以在 VM 主機或從機上執行的 shell 命令集,以蒐集供稍後分析所需的系統資訊、日誌檔、Integrity VM 相關日誌,以及配置檔。

由於 hpvmcollect 命令蒐集通用的 Integrity VM 和 HP-UX 作業系統及系統等資訊,它可能不會蒐集分析問題來源所需的所有資訊。請確認已蒐集所有相關的資訊。例如,若從機正在執行 Oracle® 應用程式,請包括 Oracle 應用程式日誌檔和配置等資訊。

hpvmcollect 命令預設在您目前的目錄中建立名為 hpvmcollect_archive 的目錄,並複製和蒐集所有的 Integrity VM 和 VM 主機相關資訊。例如,欲蒐集 VM 主機上名為 compass1 的從機相關資訊,請輸入下列命令:

# hpvmcollect -Pcompass1

此命令先在目前的目錄中建立名為 hpvmcollect_archive 的目錄 (若尚未建立),再蒐集 VM 主機當機傾印的相關資訊。接著將這些資訊設為 tar 檔案格式 (若有當機傾印) 或 tar.gz 檔案格式 (若無當機傾印)。切勿在執行 hpvmcollect 命令前,修改從機配置。

若僅想查驗蒐集資訊卻不想將它備存至 tar.gz,請使用 -l 選項將內容保留為原狀。

若 VM 主機已當機,亦請使用 -c 選項蒐集當機傾印檔案。由於 -c 選項蒐集最新的當機傾印資料,請使用 -n 選項指定當機傾印編號。

使用 -d 選項即可指定將 hpvmcollect_archive 儲存在不同的目錄中。

例如,欲蒐集 compass1 的相關資訊,請輸入下列命令:

$ hpvmcollect -c -n 21 -d /tmp/hpvm_collect_archive compass1

此命令蒐集名為 compass1 使用當機傾印編號 21 的從機相關資訊。最後的備存檔是在 /tmp/hpvm_collect_archive 目錄下。下列為 VM 主機上 hpvmcollect 的輸出範例:

# hpvmcollect -Pcompass1

  HPVM host crash/log collection tool version 0.8
Gathering info for post-mortem analysis of guest 'compass1' on host

Collecting I/O configuration info ................................... OK
Collecting filesystem info .......................................... OK
Collecting system info .............................................. OK
Collecting lan info ................................................. OK
Running lanshow .....................................................NO
Collecting installed sw info ........................................ OK
Collecting messages from vmm ........................................ OK
Collecting lv info ..................................................N/A
Collecting disk info ................................................N/A
Collecting passthru disk info .......................................N/A
Collecting file backing store info ..................................N/A
Copying guest's log file ............................................ OK
Copying guest's tombstone file ...................................... NA
Copying guest's console log file .................................... OK
Copying hpvm configuration .......................................... OK
Coping hpvm control script .......................................... OK
Copying guest's config file ......................................... OK
Getting status of the guest ......................................... OK
Getting detailed status of the guest ................................ OK
Getting guest's entitlement ......................................... OK
Copying guest's config file change log .............................. OK
Copying VMM image ................................................... OK
Copying hpvmdvr image ............................................... OK
Copying hpvmntdvr image ............................................. OK
Copying NVRAM image ................................................. OK
Collecting IPMI logs ................................................ OK
Collecting crash dump ...............................................NO
Running crashinfo ...................................................NO
Collecting tombstone ................................................NO
Collecting system message buffer .................................... OK
Collecting system syslogs ........................................... OK
Collecting measureware log ..........................................N/A

Finished with the collection

Tar archiving and compressing ....................................... TGZ
Remote copying the archive  .........................................NO

The collection is
"/var/opt/hpvm/common/hpvmcollect_archive/compass1_Oct.04.05_165043EDT.tar.gz"

若出現下列錯誤訊息,表示目前目錄或利用 -d 選項所指定目錄的磁碟空間不足:

msgcnt 10 vxfs: mesg 001: vx_nospace - /dev/vg00/lvol5 file system full(1 block
extent)
Tar: end of tape
Tar: to continue, enter device/file name when ready or null string to quit.

請使用有足夠可用空間的檔案系統備存檔案,尤其是使用 -c 選項時。

在從機上使用 hpvmcollect 命令時,不需要指定從機名稱。預設將從機名稱用作備存檔的目錄名稱。您可以使用 -d 選項指定備存檔名稱。下列為在從機 compass1 上執行 hpvmcollect 的範例:

compass1# hpvmcollect -c

HPVM guest crash/log collection tool version 0.8
Gathering info for post-mortem analysis on guest (hostname 'compass1')

Collecting I/O configuration info ................................... OK
Collecting filesystem info .......................................... OK
Collecting system info .............................................. OK
Collecting lan info ................................................. OK
Running lanshow .....................................................NO
Collecting installed sw info ........................................ OK
Collecting crash dump 1  ............................................ OK
Running crashinfo ...................................................NO
Collecting tombstone ................................................N/A
Collecting system message buffer .................................... OK
Collecting system syslogs ........................................... OK
Collecting measureware log ..........................................N/A

Finished with the collection

Tar archiving and compressing ....................................... TAR
Remote copying the archive  .........................................NO

The collection is
"//hpvmcollect_archive/compass1_Sep.29.05_122453PST.tar"
附註: 欲在從機上使用 hpvmcollect 命令,必須先在從機上安裝從機套件,如第三章的「安裝從機儲存站」一節所述。

hpvmcollect 命令蒐集的其他資料包括日誌檔 (從機、Integrity VM 和 VM 主機),以及 VM 主機系統資訊 (包括 ioscanlanscanswlist 命令的輸出)。hpvmcollect 命令亦會蒐集從機使用裝置的相關資訊。此外,亦包括 crashinfolanshow 命令的輸出資訊 (若有)。

hpvmcollect 命令將裝置資訊記錄在下列檔案中:

config/
host.diskinfo
host.fsinfo
host.ioscan
host.laninfo
host.sysinfo
可列印版本
隱私權聲明 使用範圍與著作權聲明
© 2005 Hewlett-Packard Development Company, L.P.