以下说明仅介绍了如何配置服务器上预安装的 Oracle VM Server。Oracle VM 还具有其他相关组件(例如 Oracle VM Manager),要支持虚拟机环境,必须安装或启动并运行这些组件。
请参见连接到 Oracle ILOM。
在 Oracle ILOM Web 界面中,选择导航树中的 "System Information" > "Summary"。然后,单击 "Actions" 面板中 "Power State" 旁边的 "Turn On" 按钮。
从 Oracle ILOM CLI 中的提示符下,键入以下命令:
-> start /System
出现提示时,键入 y 以确认:
Are you sure you want to start /System (y/n)? y
Starting /System
在 Oracle ILOM Web 界面中,选择导航树中的 "Host Management" > "Power Control"。然后,从 "Select Action" 列表框中选择 "Reset" 并单击 "Save"。
从 Oracle ILOM CLI 中的提示符下,键入以下命令:
-> reset /System
出现提示时,键入 y 以确认:
Are you sure you want to reset /System (y/n)? y
Performing hard reset on /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 文档。