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

安裝 HP-UX 從機作業系統

» 

技術文件

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

 » 目錄

 » 辭彙

 » 索引

在虛擬機器上可安裝下列 HP-UX 版本:

  • HP-UX 11i v2,2005 年 5 月版或更新版

  • HP-UX 11i v3

欲在虛擬機器上安裝 HP-UX 作業系統,請遵循下列程序:

  1. 自 VM 主機管理者帳號使用 hpvmstart 命令啟動虛擬機器。例如,欲啟動名為 compass1 的虛擬機器,請輸入下列命令。hpvmstatus 命令顯示將啟動的虛擬機器。

    # hpvmstart -P compass
    (C) Copyright 2000 - 2007 Hewlett-Packard Development Company, L.P.
    Initializing System Event Log
    Initializing Forward Progress Log
    Opening minor device and creating guest machine container
    Creation of VM, minor device 2
    Allocating guest memory: 2048MB
      allocating low RAM (0-40000000, 2048MB)
    /opt/hpvm/lbin/hpvmapp (/var/opt/hpvm/uuids/8ba249f2-3399-11db-aacc-00306ef392e0
    /vmm_config.next): Allocated 1073741824 bytes at 0x6000000100000000
        locking memory: 0-40000000
      allocating firmware RAM (ffaa0000-ffab5000, 84KB)
    /opt/hpvm/lbin/hpvmapp (/var/opt/hpvm/uuids/8ba249f2-3399-11db-aacc-00306ef392e0
    /vmm_config.next): Allocated 86016 bytes at 0x6000000140000000
        locked SAL RAM: 00000000ffaa0000 (4KB)
        locked ESI RAM: 00000000ffaa1000 (4KB)
        locked PAL RAM: 00000000ffaa4000 (4KB)
        locked Min Save State: 00000000ffaa5000 (1KB)
    RAM alignment: 40000000
    Memory base low : 6000000100000000
    Memory base FW  : 6000000140000000
    Loading boot image
    Image initial IP=102000 GP=62C000
    Initialize guest memory mapping tables
    Starting event polling thread
    Starting thread initialization
    Daemonizing....
    hpvmstart: Successful start initiation of guest 'compass1'
    
    # hpvmstatus
    
    [Virtual Machines]
    Virtual Machine Name VM #  OS Type State     #VCPUs #Devs #Nets Memory  Runsysid
    ==================== ===== ======= ========= ====== ===== ===== ======= ========
    config1                  1 HPUX    Off            1     5     1  512 MB        0
    config2                  2 HPUX    Off            1     7     1    1 GB        0
    winguest1                5 WINDOWS On (OS)        1     5     1    1 GB        0
    winguest2                9 WINDOWS Off            1     3     1    2 GB        0
    compass1                12 UNKNOWN On (EFI)       1     0     0    2 GB        0
  2. 欲從虛擬控制台使從機開機,請輸入下列命令:

    # hpvmconsole -P compass1
     vMP MAIN MENU
    
             CO: Console
             CM: Command Menu
             CL: Console Log
             SL: Show Event Logs
             VM: Virtual Machine Menu
             HE: Main Help Menu
              X: Exit Connection
    
    [compass1] vMP>

    hpvmconsole 命令會開啟虛擬機器控制台。透過虛擬控制台,您可將虛擬機器當作實體 Integrity 伺服器進行控制。

  3. 請輸入 co 命令來回應虛擬機器的提示符號:

    [compass1] vMP> co
    
    EFI Boot Manager ver 1.10 [14.62] [Build: Fri Aug  4 11:37:36 2006]
    
    Please select a boot option
    
        EFI Shell [Built-in]
        Boot option maintenance menu
    
    
        Use ^ and v to change option(s). Use Enter to select an option
  4. 選取 Boot option maintenance menu

    EFI Boot Maintenance Manager ver 1.10 [14.62]
    Main Menu. Select an Operation
    
            Boot from a File
            Add a Boot Option
            Delete Boot Option(s)
            Change Boot Order
    
            Manage BootNext setting
            Set Auto Boot TimeOut
    
            Select Active Console Output Devices
            Select Active Console Input Devices
            Select Active Standard Error Devices
    
            Cold Reset
            Exit
  5. 選取 Add a Boot Option

    EFI Boot Maintenance Manager ver 1.10 [14.62]
    
    Add a Boot Option.  Select a Volume
    
        Removable Media Boot [Acpi(PNP0604,0)]                          
        Load File [Acpi(PNP0A03,0)/Pci(1|0)/Mac(763AE48F393F)]
        Load File [EFI Shell [Built-in]]                                
        Legacy Boot                                                     
        Exit

    欲自虛擬 DVD 進行安裝,請選取 Removable Media Boot

    欲自 Ignite-UX 伺服器進行安裝,請選取有您 MAC 位址的項目。例如:

        Device Path Acpi(PNP0A03,0)/Pci(1|0)/Mac(763AE48F393F)
    
        Enter New Description:  lan0boot
        New BootOption Data. ASCII/Unicode strings only, with max of 240 characters
        Enter BootOption Data Type [A-Ascii U-Unicode N-No BootOption] :  N
    
    Save changes to NVRAM [Y-Yes N-No]:  Y
  6. 離開 EFI Boot Maintenance Management 畫面以返回 EFI Boot Manager 畫面。從虛擬機器之 MAC 位址指示的新開機項目開機:

    EFI Boot Maintenance Manager ver 1.10 [14.62]
    
    Add a Boot Option.  Select a Volume
    
        Removable Media Boot [Acpi(PNP0604,0)]                          
        Load File [Acpi(PNP0A03,0)/Pci(1|0)/Mac(763AE48F393F)]
        Load File [EFI Shell [Built-in]]                                
        Legacy Boot                                                     
        Exit

    安裝作業會將虛擬機器視為 Integrity 伺服器而繼續進行。

完成基本的安裝程序後,隨即自配送媒體複製軟體到從機磁碟中。接著作業系統重新開機。若重新開機失敗,請遵循下列程序重新啟動:

  1. 在虛擬機器控制台出現提示符號時輸入 co 命令,以進入 EFI shell:

    [compass1] vMP> CO
    
    
    
            (Use Ctrl-B to return to vMP main menu.)
    
    
    
    - - - - - - - - - - Prior Console Output - - - - - - - - - -
    
    Shell>
  2. 輸入 fs0:

    Shell> fs0:
  3. 輸入 hpux

    fs0\> hpux

從機自 fs0 開機。

若使用 DVD 安裝從機作業系統,請按下列步驟移除虛擬 DVD:

  1. 輸入下列命令以確定匯流排、裝置及目標 ID:

    # hpvmstatus -P compass1
  2. 輸入下列命令來刪除虛擬 DVD (以正確的 PCI 匯流排、插槽和目標編號取代 0,0,0):

    # hpvmmodify -P compass1 -d dvd:scsi:0,0,0
  3. 視需要重新啟動從機,即可自從機配置移除 DVD。

可列印版本
隱私權聲明 使用範圍與著作權聲明
© 2007 Hewlett-Packard Development Company, L.P.