以下说明仅介绍了如何配置服务器上预安装的 Oracle VM Server。Oracle VM 还具有其他组件(例如 Oracle VM Manager),要支持虚拟机环境,必须安装或已正在运行这些组件。
‐> start /System
出现提示时,键入 y 以确认:
Are you sure you want to start /System (y/n)? y
Starting /System
服务器将开始引导过程。
‐>start /HOST/console
出现提示时,键入 y 以确认:
Are you sure you want to start /HOST/console (y/n)? y Serial console started.
服务器引导后,将显示 GRUB 菜单(您的预安装版本的菜单可能与下面的示例不同):
GNU GRUB version 0.97 (612K lower / 2082932K upper memory) +--------------------------------------------------------------------------------+ Oracle VM Server-ovs (xen-4.1.3 2.6.39-300.32.6.el5uek) Oracle VM Server-ovs serial console (xen-4.1.3 2.6.39-300.32.6.el5uek) +--------------------------------------------------------------------------------+ Use the ^ and v keys to select which entry is highlighted. Press enter to boot the selected OS, 'e' to edit the commands before booting, 'a' to modify the kernel arguments before booting, or 'c' for a command-line. The highlighted entry will be booted automatically in 5 seconds.
例如:
Starting OVM console server: [ OK ] Starting OVM ovmwatch services: [ OK ] Starting ovs-agent: [ OK ] Starting ovs-agent services: [ OK ] Configuring Oracle VM... [ OK ] Enter new root password: Confirm password: Enter new Oracle VM Agent password: Confirm password: Configuring network.
This tool is used to select the NIC used by the OVM Manager. You can exit at any time by pressing CTRL-C. Here's the list of current available network interfaces. eth0 eth1 eth2 eth3 Please select interface(s) to be used for OVM management. These interfaces will be configured for redundancy. eth1
输入并保存所有设置后,系统会装入 Oracle VM Server 控制台会话。例如:
|Oracle VM Server 3.2.X Console [Alt-F2 for login console] | |--------------------------------------------------------------| |Local hostname : lynxp-ovm.us.oracle.com | |Manager UUID : 0004fb0000010000a060c639d1075957 | |Hostname : None | |Server IP : None | |Server Pool : None | |Clustered : No | |Server Pool Virtual IP : None | |Cluster state : Offline | |Master Server : No | |Cluster type : None | |Cluster storage : None | | | | | |OVS Agent : Running | |VMs running : 0 | |System memory : 4087 | |Free memory : 2439 | |Uptime : 0 days, 4 hours, 33 minutes |
至此,预安装的 Oracle VM Server 的配置就完成了。
另请参见
有关使用 Oracle VM(包括更新和注册)的信息,请参见Oracle VM Documentation。