77范文网 - 专业文章范例文档资料分享平台

在vmware vsphere esxi上安装oracle RAC(3)

来源:网络收集 时间:2019-04-09 下载这篇文档 手机版
说明:文章内容仅供预览,部分内容可能不全,需要完整文档或者需要复制内容,请下载word后使用。下载word有问题请添加微信号:或QQ: 处理(尽可能给您提供完整文档),感谢您的支持与谅解。点击这里给我发消息

4. 为第一个RAC节点准备虚拟机环境

本节安装步骤简介如下: ? ? ?

使用vSphere Client创建第一个虚拟机。添加公网和心跳网卡,挑选适当的LUN创建仲裁盘CRS (VMDK模式)。

安装Redhat Linux操作系统,安装VMware tools,按照Oracle RAC要求安装相应补丁. 在Linux中配置NTP 客户端.

4.1 创建第一个虚拟机

1. 使用vSphere Client登录vCenter.

2. 选中一台主机,在Getting Started页面单击Create a new virtual machine.

3. In the Create New Virtual Machinewizard, select Typical for the Configuration, and click Next. 4. On the Name and Location page, enter RAC1 for the Name, and click Next. 5. On the Datastore page, select VMDATASTORE, and click Next.

6. On the Guest Operating System page, select Linux from the Guest Operating System list. For the

Version, select Oracle Linux 6 (64-bit) from the drop-down menu. Click Next. 7. On the Create a Disk page, set the Virtual Disk Size to 20GB, and click Next.

8. On the Ready to Complete page, select Edit the virtual machine settings before completion.

Click Continue. 9. On the Virtual Machine Properties page for theRAC1 virtual machine, select 8CPUs and

128GBMemory. 10. Click Finish.

4.2 增加两个虚拟网卡

现在需要增加两块网卡. 一块用于公共数据网络, 另一块用于心跳网络.添加这两块网卡的过程基本相同,差别仅在于添加公网网卡时选择标签:VM Net而添加心跳网卡时选择Oracle HB. 添加公网网卡的步骤: 1. Select a virtual machine.

2. Click Edit settings to display the Virtual Machine Properties pane. 3. Click Add.

4. Select Ethernet Adaptor and click Next to display the Add Hardware wizard.

5. On the Network connection page, select VMXNET 3 from the Adapter Type drop-down menu. 6. In the Network Connection section of the Network connection page, select Named network with

specified label. 7. In the Named network with specified label drop-down menu, select VM Net.

8. In the Device Status section of the Network connection page, select Connect at power on. 9. On the Ready to Complete page, click Finish, and then click OK. 添加心跳网卡的步骤:

1. Repeat steps 1 through 6 from the preceding procedure.

? 2014 VMware, Inc. All rights reserved.

Page 11 of 42

2. In the Named network with specified label drop-down menu, select Oracle HB. 3. Continue with steps 8 and 9 from the preceding procedure.

4.3 添加仲裁盘

Oracle RAC需要至少一个共享的仲裁盘存放clusterware信息和节点投票信息。存储管理员需要事先为仲裁盘分配好单独的LUN,然后我们需要创建单独的SCSI控制器并设为Paravirtual驱动.SCSI 总线sharing policy 设为none.

下面描述创建共享存储的步骤. 为虚拟机创建20GB datastore:

1. In vSphereClient, select a virtual machine.

2. Right-click the name of the virtual machine and select Edit Settings to display the Virtual Machine

Properties pane. 3. Click Addto display the Add Hardware wizard.

4. In the Add Hardware wizard select Hard Disk for the Device Type, and click Next.

5. In the Disk section of the Select a Disk page, select Create a new virtual disk. Set the disk size to

20GB, select the Support clustering features such as Fault Tolerance check box, and select CRS1 to specify a datastore. Also, for vSphere 5, in the Disk Provisioning section select Thick Provision Eager Zeroed. Click Next. 6. On the Compatibility Mode page, click Next.

7. On the Advanced Options page, in the Virtual Device Node section, select SCSI (1:0). In

theMode section, selectIndependent. Click Next. 8. On the Ready to Complete page, click Finish. 9. Click OK.

Add configuration parameters for each Oracle RAC virtual machine as described in Disabling simultaneous write protection provided by VMFS using the multi-writer flag(http://kb.vmware.com/kb/1034165). 手工修改虚拟机参数

1. In vSphereClient, select a virtual machine.

2. Right-click the name of the virtual machine and select Edit Settings to display the Virtual Machine

Properties pane. 3. Click the Options tab, click Advanced, and click General. 4. Click Configuration Parameters.

5. On the Configuration Parameters page, add rows and entries for the shared disks in the virtual

machine's configuration parameters as shown in the following screenshot. 6. Repeat steps 1 through 5 for each of the remaining virtual machines.

? 2014 VMware, Inc. All rights reserved.

Page 12 of 42

? 2014 VMware, Inc. All rights reserved.

Page 13 of 42

You can view the virtual machine propertiesfor the RAC1 virtual machinein vCenteras in the following screenshot.

web client 显示如下图:

? 2014 VMware, Inc. All rights reserved.

Page 14 of 42

? 2014 VMware, Inc. All rights reserved.

Page 15 of 42

百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说综合文库在vmware vsphere esxi上安装oracle RAC(3)在线全文阅读。

在vmware vsphere esxi上安装oracle RAC(3).doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印 下载失败或者文档不完整,请联系客服人员解决!
本文链接:https://www.77cn.com.cn/wenku/zonghe/583803.html(转载请注明文章来源)
Copyright © 2008-2022 免费范文网 版权所有
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ: 邮箱:tiandhx2@hotmail.com
苏ICP备16052595号-18
× 注册会员免费下载(下载后可以自由复制和排版)
注册会员下载
全站内容免费自由复制
注册会员下载
全站内容免费自由复制
注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: