




已阅读5页,还剩31页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
虚拟化实施 Oracle vm_3.0安装步骤 1. 首先在刀片服务器的其中3个刀片单元上安装oracle vm server 3.0,该安装步骤非常简单。 步骤类似linux 的安装。插入安装光盘。从光驱启动,开始安装。 1.1 启动后界面如下: 回车,开始一个步骤。 1.2 光驱里的光盘会被检测到。如图: 选择 skip ,继续下一步: 1.3 选择键盘的类型 选择OK。 1.4 许可协议如下所示: 选择 accept,继续下一步 1.5 选择分区类型。 默认即可。 1.6 确认分区类型的选择 选择yes,继续下一步 1.7 是否查看分区的详细划分信息 这里选择NO 1.8 启动引导程序的配置 默认即可。选择OK 1.9 配置oracle vm 的管理接口 选择一个网卡,配置其IP地址信息 、 1.10 配置系统主机名。我们这里输入ovm1, 1.11 选择系统时区 1.12 配置root 用户密码和agent 密码 1.13 选择OK,开始安装 1.14安装完成后,如下所示: Reboot,重启计算机 1.15 重启后如下所示 这样 oracle vm server 安装完毕。 ovm1 安装完成后,继续安装其他2台ovm2,ovm3 三台oracle vm server 安装完毕后,开始安装oracle vm manager 2 oracle vm manager 的安装步骤 Oracle vm manager 必须安装在64位的oracle linux 5.6上或者更高版本的oralce linux上。 首先安装oralce linux 。安装步骤可查看linux安装相关教材。这里详细介绍oracle vm manager的安装。 2.1 插入oracle vm manager 3.0 的安装光盘。 光盘会自动被oracle linux 挂载。进入该挂载目录 比如被挂载在/ovmcd 这个目录下: cd /OVMCD 执行环境脚本 # ./createOracle.sh 执行安装程序脚本 # ./runInstaller.sh A set of installer options are displayed: Please select an installation type: 1: Simple 2: Standard 3: Uninstall 4: Help Select Number (1-4): 我们这里选择simple,这里选择1,接下来显示如下 The installation process starts, and the following is displayed: Starting simple installation . Verifying installation prerequisites . Enter a password to use for all users created during the simple installation. One password is used for all users created and used during the installation. Enter a password for all logins used during the installation: Enter a password for all logins used during the installation (confirm): Verifying configuration . You have the option to continue or abort the installation. Enter 1 to continue. Start installing the configured components: 1: Continue 2: Abort Select Number (1-2): 1 Retrieving Oracle Database 11g XE . Installing Oracle Database 11g XE . Configuring Oracle Database 11g XE . Installing Java . Creating database schema ovs . Retrieving Oracle WebLogic Server 11g . Installing Oracle WebLogic Server 11g . Retrieving Oracle Application Development Framework (ADF) . Unzipping Oracle ADF . Installing Oracle ADF . Retrieving Oracle VM Manager Application . Extracting Oracle VM Manager Application . Installing Oracle VM Manager Core . Creating Oracle WebLogic Server domain . Starting Oracle WebLogic Server 11g . Configuring data source OVMDS . Creating Oracle VM Manager user admin . Deploying Oracle VM Manager Core container . Deploying Oracle VM Manager UI Console . Deploying Oracle VM Manager Help . Enabling HTTPS . Granting ovm-admin role to user admin . Retrieving Oracle VM Manager Shell & API . Extracting Oracle VM Manager Shell & API . Installing Oracle VM Manager Shell & API . Copying Oracle VM Manager shell to /usr/bin/ovm_shell.sh . Enabling Oracle VM Manager service . When the installation is complete a message similar to the following is displayed: Oracle VM Manager installed. Installation Summary - Database configuration: Database host name : localhost Database instance name (SID): XE Database listener port : 1521 Application Express port : 8080 Oracle VM Manager schema : ovs Weblogic Server configuration: Administration username : weblogic Oracle VM Manager configuration: Username : admin Core management port : 54321 UUID : 0004fb00000100007c8d58c83316de89 Passwords: There are no default passwords for any users. The passwords to use for Oracle VM Manager, Oracle Database 11g XE, and Oracle WebLogic Server have been set by you during this installation. In the case of a simple install, all passwords are the same. Oracle VM Manager UI: :7001/ovm/console :7002/ovm/console Log in with the user admin, and the password you set during the installation. Please note that you need to install tight-vnc on this computer to access a virtual machines console. For more information about Oracle Virtualization, please visit: Oracle VM Manager installation complete. Oracle vm manager 安装完毕。 3 虚拟化环境的搭建 首先在刚才安装的任何一台oracle vm server 上编辑/etc/hosts文件。 然后通过scp命令,如 scp /etc/hosts ovm2:/etc/hosts 把/etc/hosts这个文件同步其他3台上面去。 注意3台oracle vm server 的时间要同步。我们在这里把三台oracle vm server的bios 时间调到一致。 然后把3台oracle vm server 的系统时区设置为:GMT0 这个时区 通过 cp /usr/share/zoneinfo/GMT0 /etc/sysconfig/clock 既可。 这些准备工作完成后,就可以开始配置虚拟化环境了。 打开浏览器: 注意:浏览器必须满如如下要求: The Oracle VM Manager user interface is supported in the following Web browsers: Microsoft Internet Explorer 9.0 and above Mozilla Firefox 3.5 and above Apple Safari 5.0 and above Google Chrome 1.0 and above 输入如下地址: 63:7001/ovm/console 登入oracle vm manager 的管理界面 输入oracle vm manager 的管理员用户admin 和密码。分别为admin和Oracle_123 登入后界面如下所示: 接下来开始虚拟化环境的配置。 3.1 发现 oracle vm server 服务器 在 这里我们输入我们自己环境的oracle vm server 的ip 地址范围。 52 to 154 然后单击 add 输入 oracle vm agent password:oracle 单击OK 然后会自动开始搜寻服务器的过程。 如该图所示,服务器发现完毕。在jobs 那里会显示completed。 3.2 注册存储。 由于我们的环境使用的是光纤类的存储连接类型。在对oracle vm server 的发现完毕后。会自动发现分配给3台 oracle vm server 的存储空间。我们会看到类似该图的想存储信息。 在我们的环境里。我们看到在 Umanaged FibreChannel Storage 这个目录下看到2个分区。一个是200G。一个是2.5T 3.3 创建虚拟机网络。 To create a virtual machine network: 1. Select the Hardware view, and select the Hardware tab, then the Resources folder. Select the Networks tab in the management pane. 由于我们服务器只有2个网卡。并且我们对其进行了绑定,这里我们只对原有的网卡进行编辑,把所有的网络功能都放在这个绑定的网卡上。 我们选择在我们安装oracle vm server 时 就配置好IP地址的管理接口。单击类似如下的图标: 然后选择 编辑按钮。对其进行编辑。 会出现类似该图所示的向导。我们这里选择 Virtual Machine。然后 next Next Next。 单击 Finsh 完成 对该接口网络功能的更新。 3.4 创建虚拟机网卡MAC地址 To generate VNICs: 1. Select Vnic Manager from the Tools menu. 2 Click Next in the MAC Selector panel to get the next available MAC address. Select the number of addresses that you want to create and click Generate. Click Close to close the Vnic Manager 3.5 创建一个服务器池。 To create a server pool: 1. Select the Home view. 2. Select Create Server Pool from the Actions menu. 3. The Create Server Pool dialog box is displayed. Enter the server pool information: 在这里我们设置virtual ip 为:64 选择集群功能 因为我们使用的是光纤连接的存储方式,这里我们选择 physical disk。 然后选择池文件系统的存储位置。单击 出现类似的界面。在下拉窗口那里选择Umanaged FibreChannel Storage 然后会在下面窗口那里出现我们分配给oracle vm server 的2个分区。我们选择200G大小的那个。 单击OK。退出界面后。继续选择OK。池创建完毕。 会看到如上图所示的信息。 接下来还需要为这个池添加oracle vm server 把3台 oracle vm server 添加到右边。单击OK,如上图所示。 添加完毕后,如下图所示。 3.6 创建存储仓库。 To create a storage repository: 1. Select the Home view and select the Server Pools folder in the navigator. 2. In the management pane, select the Repositories tab 3. Click Create to create a new storage repository. 4. In the Create Repository dialog box, enter information about the repository . 在name处输入仓库的名称。 在Repository Location 处选择 单击,如下图所示 出现类似的界面。在下拉窗口那里选择Umanaged FibreChannel Storage 然后会在下面窗口那里出现我们分配给oracle vm server 的2个分区。我们选择2.5T大小的那个。 单击OK。 然后再单击OK 开始创建存储仓库。 创建完毕后。类似如下图所示。 同样的,也需要添加3台oracle vm server 到这个仓库。 如下 At this point, the storage repository has been created. However, to enable your Oracle VM Servers to use it, you must present the repository to the Oracle VM Servers in your server pool. Select the repository in table and click the Present/Unpresent Selected Repository icon 单击OK.添加完毕。如下图: 3.7 添加资源到存储仓库。 就是导入操作系统的iso文件到存储仓库。为以后的创建虚拟机做准备。 To import an ISO file: 1. In the Home view click Server Pools in the navigation pane, then open the Repositories tab in the management pane. 2. Select the storage repository we created earlier and open the ISOs tab below 3. Click Import to open the Import ISO dialog box. 输入相关导入信息。这里支持HTTP和FTP 协议的导入方式。 所示需要创建一台FTP或者HTTP协议。 我们一般选择FTP协议。把ISO文件放进FTP的pub目录。 单击。OK。开始导入。 导入完成后。如下图所示。 3.8 创建虚拟机。 接下来就可以开始创建虚拟机了。 1.1. 切换到HOME页,从动作图标选择创建虚拟机: 1.2. 创建虚拟机的向导会显示在屏幕中。如图所示: 输入和选择如下信息: Server pool:选择创建虚拟机的服务器池。一般默认就好 Server:选择创建的虚拟机运行在哪台oracle vm server 上,一般选择any就好,会自动帮我们选择资源最充足的oracle vm server。 Name:虚拟机的名字 Description:虚拟机的描述信息。 Memory:虚拟机的内存大小。 Repository for Configuration File:选择虚拟机的CPU 的数量。 Priority:一般默认既可。 Processor Cap % : 默认既可。 Domain Type :选择虚拟机虚拟化的类型。 XEN HVM :硬件虚拟化,windows 操作系统只适合该类型。该类型需要CPU的支持。 XEN HVM, PV DRIVER: 带半虚拟化驱动的硬件虚拟化。性能会比较好。装windows的系统就选这个。 Xen PVM:半虚拟化的虚拟机,该类型只适合开源的系统,如linux,windows不适合。 Operating System:选择要安装的操作系统。 Enable High Availability:是否开启高可用性。 Repository for Configuration File:选择
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 呼和浩特市新城区公益性岗位招聘笔试真题2024
- 江苏苏州工业园区教育系统招聘教育人才笔试真题2024
- 历史城市文化传承规划基础知识点归纳
- 极地地区教学设计
- 绿色金融产融合作中面临的主要问题及挑战
- 高效行政工作总结
- 高中生物跨学科教学中探究式学习的实施策略
- 发心理学论文
- 2025至2030年中国滤波器用铁氧体磁芯行业投资前景及策略咨询报告
- 2025至2030年中国涤棉全线卡行业投资前景及策略咨询报告
- 营维一体化SOP手册(装维、销售、维系)
- FZ/T 93056-1999变形丝用筒管技术条件
- 第六章神经系统
- 医疗不良事件报告表
- SA8000-2014社会责任绩效委员会SPT组织架构、职责和定期检讨及评审会议记录
- 材料加工新技术与新工艺112课件
- 国开作业科研人员TRIZ技术创新方法应用培训-单元测验1(确定项目+描述项目)76参考(含答案)
- 企业安全生产网格化管理体系图空白
- 焊接热处理工艺卡
- 百日咳临床研究进展PPT医学课件
- 大型钢网架整体提升施工工法
评论
0/150
提交评论