Oracle VM SERVER+WINDOWS2003 SERVER 問題總結
本來感覺ORACLE VM 很簡單,沒想到還是有點技術含量,
ORACLE VM 的效能還是很快,比VMWARE 的跑起來快了很多
現在把安裝過程中的問題總結如下
安裝ORACLE VM SERVER
- 這個安裝沒有什麼特殊的,就象安裝LINUX差不多,根據提示一路走下去就夠了
- 特別注意一點,就是把/給大點,否則,在以後安裝VM MANAGER 的時候會出現/空間不夠的錯誤
- 還有一點,就是把swap 給足夠大,否則,在安裝VM MANAGER 的時候會出現SWAP太小的錯誤
ORACLE VM 安裝WINDOWS2003 SERVER
- 根據ORACLE NOTE:750023.1
- 但出現Fails "virt-install: error: no such option: --hvm" 錯誤,解決方法參考NOTES:467579.1
- 特別注意一點NOTES:467579.1 中的CPU的型別問題,我用的是HP 的PC SERVER ,需要修改BIOS 的相關VM 的設定
- virt-install --hvm --name=WindowsServ03sp1 --ram=500 --bridge=xenbr0 --vif-type=ioemu --file /OVS/running_pool/WindowsServ03sp1/System.img --file-size=6 --vnc --vnclisten=0.0.0.0 --cdrom=/OVS/iso_pool/new/en_windows_server_2003_with_sp1_enterprise.iso
Starting install...
libvir: Xen Daemon error : GET operation failed:
Unable to connect to graphical console; DISPLAY is not set. Please connect to localhost:5902
Domain installation still in progress. You can reconnect
to the console to complete the installation process.
- 在WINDOWS 上用VNCVIEW 開啟
$ vncviewer linux5.us.oracle.com:5902
這個說明不請,第一個VM 不需要加PORT 的
- TIP: Click help for a detailed explanation of this page.
Bookmark Go to End
Subject: Installing Windows Guests on Oracle VM
Doc ID: 750023.1 Type: HOWTO
Modified Date : 16-NOV-2008 Status: PUBLISHED
In this Document
Goal
Solution
References
--------------------------------------------------------------------------------
@ (AuthWiz 2.5.5)
@ Click here to edit in wizard.
Applies to:
Oracle VM - Version: 2.1.2 to 2.1.2
Information in this document applies to any platform.
Goal
To Install Windows Guests on Oracle VM.
Solution
1. Create a windows directory under /OVS/running_pool:
[root@linux5 running_pool]# mkdir WindowsServ03sp1
[root@linux5 running_pool]#
2. Using virt-install start the Windows install:
[root@linux5 running_pool]# virt-install --hvm --name=WindowsServ03sp1 --ram=500 --bridge=xenbr0 --vif-type=ioemu --file /OVS/running_pool/WindowsServ03sp1/System.img --file-size=6 --vnc --vnclisten=0.0.0.0 --cdrom=/OVS/iso_pool/new/en_windows_server_2003_with_sp1_enterprise.iso
Starting install...
libvir: Xen Daemon error : GET operation failed:
Unable to connect to graphical console; DISPLAY is not set. Please connect to localhost:5902
Domain installation still in progress. You can reconnect
to the console to complete the installation process.
[root@linux5 running_pool]#
3. Use vncviewer to continue install:
$ vncviewer linux5.us.oracle.com:5902
Then after pressing
You can press
Chose Filesystem press
After this is complete the install will stop.
During the installation of Microsoft Windows? XP and Microsoft Windows? 2003 as hardware virtualized guests, the domain requires a restart and attempts to find the installation CDROM.
Oracle VM Server does not find the CDROM.
To workaround this problem:
a. Move the image configuration file to the windows directory (as we will edit this to import into VM Manager):
[root@test WindowsServ03sp1]# ls -l
total 599076
-rwxr-xr-x 1 root root 6442450944 Nov 14 16:16 System.img
[root@test WindowsServ03sp1]# cp /etc/xen/WindowsServ03sp1 `pwd`/vm.cfg
[root@test WindowsServ03sp1]# ls -l
total 599080
-rwxr-xr-x 1 root root 6442450944 Nov 14 16:16 System.img
-rw-r--r-- 1 root root 526 Nov 14 15:54 vm.cfg
[root@test WindowsServ03sp1]# more vm.cfg
# Automatically generated xen config file
name = "WindowsServ03sp1"
builder = "hvm"
memory = "500"
#disk = [ 'file:/OVS/running_pool/WindowsServ03sp1/System.img,hda,w', ]
#
disk = [ 'file:/OVS/running_pool/WindowsServ03sp1/System.img,hda,w',
'file:/OVS/iso_pool/new/en_windows_server_2003_with_sp1_enterprise.iso,hdc:cdrom,r',
]
#
vif = [ 'type=ioemu, mac=00:16:3e:31:75:b2, bridge=xenbr0', ]
uuid = "260d5aa9-1608-6520-432c-3bc943b12547"
device_model = "/usr/lib/xen/bin/qemu-dm"
kernel = "/usr/lib/xen/boot/hvmloader"
vnc=1
vncunused=1
vnclisten='0.0.0.0'
timer_mode=0
apic=1
acpi=1
pae=1
#
vcpus=1
serial = "pty" # enable serial console
on_reboot = 'restart'
on_crash = 'restart'
[root@jsobecki-linux5 WindowsServ03sp1]#
Restart the hardware virtualized guest with the xm create command. The installation continues.
[root@test WindowsServ03sp1]# xm create vm.cfg
Using config file "./vm.cfg".
Started domain WindowsServ03sp1
[root@test WindowsServ03sp1]#
- 透過以上修改WINDOWS安裝將繼續
- 如果原來是VMWARE 做成的IMMAGE ,想在ORACLE VM 上繼續使用,參考467765.1
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/7318139/viewspace-1022542/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle:ORA-27090 問題解決總結Oracle
- Oracle 錯誤總結及問題解決 ORAOracle
- 問題總結
- Oracle 11g RAC之HAIP相關問題總結OracleAI
- 2020.09 問題總結(Oracle-->MySQL、Maven、JSP-->Thymeleaf、Druid)OracleMySqlMavenJSUI
- Swoole 問題總結
- Elasticsearch 問題總結Elasticsearch
- Kibana 問題總結
- Kerberos問題總結ROS
- Fiddler 使用問題總結
- JBoss安全問題總結
- 面試問題總結面試
- electron初探問題總結
- 跨域問題總結跨域
- springboot使用問題總結Spring Boot
- 揹包問題例題總結
- 11.6 每日總結(vm無法聯網)
- SQLServer 2017 install for Windows server 2012_問題彙總SQLServerWindows
- PHP面試問題總結PHP面試
- vue專案問題總結Vue
- expdpnf 匯出問題總結
- mysql相關問題總結MySql
- Vue 常見問題總結Vue
- TCP常見問題總結TCP
- 【Java問題面試總結】Java面試
- REDIS面試問題總結Redis面試
- RabbitMq面試問題總結MQ面試
- Flink 常見問題總結
- mysql常見問題總結MySql
- Kubernetes 常見問題總結
- 前端跨域問題總結前端跨域
- ryu啟動問題總結
- flutter安裝問題總結Flutter
- 解決問題:啟動不了VM,提示 Your VM has become “inaccessible…
- 揹包問題解題方法總結
- 回溯問題Python框架總結——排列組合問題Python框架
- Oracle特性總結Oracle
- 滑動視窗問題總結
- 陣列效能問題分析總結陣列