Install Oracle VM Manager on a separate machine(OVMM)

    版本為 15:26, 20 Sep 2024

    到這個版本。

    返回到 版本存檔.

    查閱目前版本

    安裝 Oracle VM Manager (OVMM) 在不同的機器上。

    此教學將以 ESXi 的 guest OS 為安裝環境。

    1.  下載 Oracle Linux & Oracle VM Manager ISO
    下載位址:http://edelivery.oracle.com/oraclevm

    • Oracle Linux 必須是 64-bit,此教學以 Oracle Linux 5.7 64-bit 為例。
    • Oracle VM Manager ISO 下載位置與 Oracle VM 相同。
       

    2. 以標準程序安裝 Oracle Linux

    • Disk 空間 20GB+,因為要儲存 Oracle VM Manager ISO 檔。
    • Memory 4GB+,否則無法安裝 OVMM。
    • 可選擇最小安裝。

    注意:

    • OVMM 3.2.x 安裝空間至少需要 7800 MB
    • OVMM 3.2.x 改用 MySQL 資料庫;3.1.x 以前版本使用 Oracle Express 資料庫。

    3. 安裝 OVMM

    OVMM 的安裝要求:

    • Memory 4GB (recommend)
    • Disk free space 7GB (required) // v3.1.x 版本
       

    // 複製 OVMM ISO 到主機上。

    mkdir /mnt/iso
    mount -o loop Oracle_VM_Manager_3.2.8_V44601-01.iso /mnt/iso/
    
    cd /mnt/iso
    sh createOracle.sh
    sh runInstaller.sh
    

    OVMM 3.1.x:

    Please select an installation type:
       1: Demo
       2: Production
       3: Uninstall
       4: Help

       Select Number (1-4): 2

    Oracle Database Repository
    ==========================
    Would you like to install Oracle Database 11g Express Edition (XE) or connect to an existing Oracle database?
       1: Install Oracle Database 11g XE
       2: Use an existing Oracle database

       Select Number (1-2): 1

    Enter the Oracle Database SYSTEM password:
    Enter the Oracle Database SYSTEM password (confirm):
    Enter the Oracle Application Express (APEX) port [8080]:
    Enter the Oracle Database listener port [1521]:
    Enter the Oracle VM Manager database schema [ovs]:
    Enter the Oracle VM Manager database schema password:
    Enter the Oracle VM Manager database schema password (confirm):

    Oracle Weblogic Server 11g
    ==========================
    Enter the Oracle WebLogic Server 11g user [weblogic]:
    Enter the Oracle WebLogic Server 11g user password:
    Enter the Oracle WebLogic Server 11g user password (confirm):

    Oracle VM Manager application
    =============================
    Enter the username for the Oracle VM Manager administration user [admin]:
    Enter the admin user password:
    Enter the admin user password (confirm):

    Start installing the configured components:
       1: Continue
       2: Abort

       Select Number (1-2): 1

    ....
    ...

    OVMM 3.2.x:

    Please select an installation type:
       1: Simple (includes database if necessary)
       2: Custom (using existing Oracle database)
       3: Uninstall
       4: Help

       Select Number (1-4):1
      
    Starting production with local database installation ...

    Verifying installation prerequisites ...
    *** WARNING: Recommended memory for the Oracle VM Manager server installation using Local MySql DB is 7680 MB RAM

    One password is used for all users created and used during the installation.
    Enter a password for all logins used during the installation: <密碼必須包含有大小寫英文與數字>

    OVMM 3.3.1:

    Please select an installation type:
       1: Install
       2: Upgrade
       3: Uninstall
       4: Help

       Select Number (1-4): 1
      
    One password is used for all users created and used during the installation.
    Enter a password for all logins used during the installation: <密碼必須包含有大小寫英文與數字>

    Please enter your fully qualified domain name, e.g. ovs123.us.oracle.com, (or IP address) of your management server for SSL certification generation 10.15.9.30 [ovmm.localdomain]: <Enter>

    Start installing Oracle VM Manager:
       1: Continue
       2: Abort

       Select Number (1-2): 1

     

    TIPs:

    如果遇到 disk 可用空間只夠安裝 OVMM,如果再上傳 OVMM 的安裝 ISO 檔後(約 2.5GB),可用空間就會不夠,此時可以利用外部的 NFS 分享目錄。

    使用 NFS 目錄安裝時,先執行 chmod -R 0755,避免某些檔案權限不足。

    安裝時間需要 2x-3x 分鐘,請耐心等候。

    4. 安裝 ovmcore-console

    為了要能透過 VNC 連接到 VM 做管理,必須要再安裝這個套件。

    cd /mnt/iso
    rpm -ivh ovmcore-console-1.0-36.el5.noarch.rpm 
    

    安裝完成。

    OVMM 3.1.x)

    打開瀏覽器輸入 http://ovmm.ip.address:7001/ovm/console,帳號 admin,密碼如安裝時的設定。

    OVMM 3.2.x, 3.3.1)

    URL 改成 https://ovmm.ip.address:7002/ovm/console,帳號 admin,密碼如安裝時的設定。

    Q & A

    Q: Unable to ping hostname 'ovmm.xxx.xxx'.

    A:編輯 /etc/hosts,將主機名稱加上。

    Powered by MindTouch Core