Was this page helpful?

Install Oracle VM Manager on a guest OS(2)

    Install Oracle VM Manager on a guest OS(2)

    注意:

    - 此法需要有另一台 desktop pc 或 laptop,並且先安裝, 設定好 OVMM。

    - 此法只適合新安裝的 OVMM,如果 OVMM 上已經管理了許多 VM, Storages, etc, 請參閱

    主要步驟

    1. Install Oracle Linux on bare metal (this could even be a laptop for the duration of this initial process)
    2. Install Oracle VM Manager 3.2 on this bare metal Oracle Linux server
    3. Install Oracle VM Server on one of the bare metal servers – record the UUID it selects
    4. Discover this Oracle VM Server from the Oracle VM Manager
    5. Configure the storage, network and create a Server Pool
    6. Create a new VM
    7. Install Oracle Linux into the new VM
    8. ssh into the new VM
    9. Get the UUID of your OVM Manager
    10. Shutdown your OVM Manager (can just stop the service “service ovmm stop”)
    11. Install Oracle VM Manager into your Oracle Linux VM using the same UUID ("runInstaller.sh -uuid MY_UUID”)
    12. Connect to this new virtual Oracle VM Manager
    13. Discover the original Oracle VM Server (this will populate the new Oracle VM Manager database with all the configuration settings that the original Oracle VM Manager has recorded)
    14. Discover your storage devices (again, this will repopulate the new Oracle VM Manager database)
    15. The original bare metal Oracle VM Manager server is no longer required and can be decommissioned or reused as desired
    16. Continue with your remaining Oracle VM infrastructure deployment, using your Oracle VM Manager as usual

    如何取得已安裝 OVMM 的 UUID

    方法一:從 OVS

    SSH 登入 OVS 或在本機下操作

    # console 
    

    方法二:從 OVMM

    # cat /u01/app/oracle/ovm-manager-3/.config
    DBTYPE=MySQL
    DBHOST=localhost
    SID=ovs
    LSNR=49500
    OVSSCHEMA=ovs
    APEX=8080
    WLSADMIN=weblogic
    OVSADMIN=admin
    COREPORT=54321
    UUID=0004fb000001000000af908647041847
    BUILDID=3.2.8.733
    
    Was this page helpful?
    標籤 (Edit tags)
    • No tags
    查看第4個(總4個)評論: 查看所有
    請問前輩 把OVMM 裝在 OVS上 ,那如果OVS重開機.要如何把OVS上的OVMM 開機??
    還是可以把某個VM設定在OVS開機完成後VM會自動開機 編輯者 11:47, 7 Apr 2016
    發佈時間 10:02, 7 Apr 2016 ()
    241cat:
    一旦 OVS 開機完成後,可以用 SSH 從遠端登入,再透過 xm 指令可以開啟或關閉 guest os。
    發佈時間 13:12, 10 Apr 2016 ()
    請問前輩我是照此頁方法把OVMM移到OVS上 結果重開OVS 使用 xm指令
    #cd /OVS/Repositories/0004fb0000030000c325e3691b8ecb40/VirtualMachines/0004fb000006000061e89959fb4dc722
    #xm create vm.cfg
    開啓了 OVMM 這個VM 然後用OVMM 的WEB GUI 可是似乎和 OVS 有點斷了線.
    用WEB GUI可以看到所有的VM和 START VM
    但WEB GUI上VM的Status都一直是STOP的.?? 編輯者 16:27, 21 Apr 2016
    發佈時間 16:22, 21 Apr 2016 ()
    241cat:
    轉移至 VM 之前先確定這空的VM 是否可以在 OVS 內用指令關閉與啟動
    確認沒問題後,在開始安裝 OVMM 至這個VM,然後轉移 uuid 過來。

    如果 server 是 production 不應該用這種方式,找一台實體機來裝比較好。
    發佈時間 14:28, 25 Apr 2016 ()
    查看第4個(總4個)評論: 查看所有
    您必須 登入 才能發佈評論。
    Powered by MindTouch Core