virtual box 10.2.0.1 并升级至10.2.0.5 +RAC + ASM(实验文档)
- 格式:docx
- 大小:8.76 MB
- 文档页数:68
win10更新显示virtual box不兼容的解决方案
搞计算机的同学可能一下子想到了各种虚拟机,其实并不是virtual box/VM ware/...,而是因为之前下载了一些模拟器(想一想为啥下载,还不是为了挂脚本 )(华为eNSP模拟器也一样)
以雷电模拟器为例:
可以将所有模拟器(模拟器其实就是一个虚拟机)全部删除,比如雷电模拟器,多开器什么的(ldplayer,dnplayer什么的都删了)
如果发现都删除了,还是不行
这时候就说明没删干净!可以下载个everything
voidtools官网给到(不要再csdn上面买,官网都免费还安全),自己下载安装,一分钟就ok
然后直接搜索,删除所有名字有LdVirtual Box的,dnplayer的文件(具体看你用的什么模拟器)。
名字带ld的都是雷电模拟器的虚拟机,还有其他的模拟器,这里仅以雷电模拟器为例,具体是啥模拟器自己应该知道。
然后刷新就可以更新了
————————————————
版权声明:本文为CSDN博主「小学知识科普员」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
honeywelldc1020说明书Honeywell DC1020 Digital Controller User ManualTable of Contents1Introduction ................................................... ................................................................ . (1)2 ProductOverview ....................................................... (3)2.1 Product Features........................................................ (3)2.2 ProductSpecifications ................................................. . (4)3.1 Wiring andConnections .................................................... (7)DC1020 ......................................................... .. (10)4 Configuring theDC1020 ......................................................... (15)4.1 Setting the InputType ........................................................... (15)4.2 Setting the OutputType ........................................................... (17)4.3 Setting theFunction ....................................................... . (19)5 Operating theDC1020 ......................................................... .. (23)5.1 DisplaySetup .......................................................... .. (23)DC1020 ......................................................... (25)6 Troubleshooting andMaintenance .................................................... (30)6.1Troubleshooting ................................................ .. (30)6.2Maintenance .................................................... (3)27Glossary ....................................................... ................................................................ .. (34)1 IntroductionThe Honeywell DC1020 is a digital controller designed to provide precise control of a process variable such as temperature, pressure, flow, or level. It can be used in a wide range of applications such as HVAC, industrial process control, and chemical process control.The DC1020 features an easy-to-use interface, which allows you to quickly and accurately set up and adjust the controller. The controller features a large backlit LCD display, which makes the information easier to read in all lighting conditions.The DC1020 can be configured for a variety of input, output, and control functions. It can be used in single-loop (with one control output) or dual-loop (with two control outputs) applications. It also supports various control strategies including ON-OFF, PID, On-Shift, Pump Control, and Bang-Bang.The DC1020 has been designed to provide reliable performance, consistent measurements, and long-term stability. The controller features advanced self-diagnostics that helps you quicklypinpoint system problems.The Honeywell DC1020 is designed for use in hazardous areas and is approved for UL, CSA, and ATEX hazardous locations (Class I, Div 1, Group A).2 Product Overview2.1 Product Features• Intuitive user interface with menu-driven programming• 4-digit backlit LCD display for clear readability• Supports a variety of input, output, and control functions • Single-loop or dual-loop control• Advanced self-diagnostics for quick system problem pinpointing• Approved for hazardous areas (UL, CSA, ATEX, Class I, Div 1, Group A)• Includes self-diagnostics, limit alarms, and control output delay2.2 Product SpecificationsInputs• Thermocouple: Types J, K, L, N, S, R, B, T, E•RTD:Pt100,Pt100E,Pt100S,Pt1000• Voltage Input: 0-10V, 0-5V, 0-1V• Current Input: 4-20mA, 0-20mA• Differential Input: 0-20mA• Frequency Input: 0-5KHz• 2-Wire TransmitterOutputs• Relay: 240V AC, 5A•SSR:24VDC,100mA• Voltage: 0-10V, 0-5V, 0-1V• Current: 4-20mA, 0-20mA• Frequency: 0-5KHz• 2-Wire TransmitterControl• ON-OFF, PID, On-Shift, Pump Control, Bang-Bang Accuracy• ±0.1% of Full ScaleAmbient Temperature• 0 to 50°C (32 to 122°F)Power Supply• 100 to 240V AC, 50/60HzDisplay• 4-digit backlit LCDDimensions• W x H x D: 110 x 110 x 54mm (4.3" x 4.3" x 2.1")。
如何使用VirtualBox创建多个虚拟机第一章:VirtualBox简介VirtualBox是一种开源的虚拟化软件,可用于在计算机上创建和管理多个虚拟机。
它支持各种操作系统,包括Windows、Linux 和Mac OS等。
使用VirtualBox可以轻松创建多个虚拟机,并在其中安装不同的操作系统以及运行各种应用程序。
第二章:安装VirtualBox要使用VirtualBox创建多个虚拟机,首先需要下载并安装VirtualBox软件。
在VirtualBox官方网站上可以找到最新版本的软件包,并提供相应的安装指南。
第三章:创建虚拟机1. 打开VirtualBox软件,并点击“新建”按钮,开始创建新的虚拟机。
2. 在虚拟机创建向导中,输入虚拟机的名称、操作系统类型和版本。
根据你的需要,选择合适的设置选项,并为虚拟机分配足够的内存和存储空间。
3. 设置网络适配器,可以选择桥接模式、NAT模式等不同的网络连接方式。
4. 创建虚拟硬盘,可以选择创建动态分配的虚拟硬盘或固定大小的虚拟硬盘。
5. 点击“创建”按钮,完成虚拟机的创建过程。
第四章:安装操作系统1. 在VirtualBox中选中虚拟机,点击“启动”按钮,开始安装操作系统。
2. 在虚拟机启动时,选择安装介质,可以是光盘、ISO镜像文件或其他可用的安装文件。
3. 按照操作系统的安装向导,完成安装过程,并进行必要的设置和配置。
4. 安装完成后,重新启动虚拟机,并进行操作系统的初始化和配置。
第五章:配置虚拟机1. 可以通过VirtualBox的界面对虚拟机进行各种配置,包括网络设置、共享文件夹、音频和视频设备、输入设备等。
2. 设置虚拟机的显示分辨率、内存和CPU使用等资源分配,根据需要进行调整。
3. 通过设置虚拟机的快照功能,可以轻松地保存和恢复虚拟机的状态,方便快速回滚和测试。
第六章:管理虚拟机1. 在VirtualBox的主界面中,可以对虚拟机进行管理,包括启动、暂停、关闭和删除等操作。
VirtualBox配置教程(全程图解)下载与安装1.到VirtualBox官网下载其最新版本2.安装。
这个步骤很简单,如果中途弹出安装驱动的提示请选择“继续安装”。
部分用户安装完以后需要重启创建虚拟机首先运行VirtualBox,然后单击左上角的“新建”这时候来到了“新建虚拟电脑向导”,直接单击“下一步”这一步我们要为虚拟机命名,同时选择要安装的系统。
正确选择要安装的系统可以让VirtualBox帮助你配置合适的硬件环境这里选择为虚拟机分配内存的数量。
如果你的内存小于512MB的话就保持默认配置,如果在512MB与1G之间可以设置为256MB,如果是1G以上的话可以设置384MB或者更多。
接着开始创建硬盘,选择“Create new hard disk”以后按“下一步”这时我们来到了“新建虚拟硬盘向导”,直接单击“下一步”这里我们需要选择创建的磁盘类型。
如果你的硬盘不是大的用不完的话请选择“动态扩展”这里我们要选择存放硬盘镜像的地点以及硬盘镜像的大小。
如果你的虚拟机只是用来打包软件的话那么默认的10G空间足够用了最后确认硬盘信息,点击“完成”再确认虚拟电脑的信息,点击“完成”这时我们已经成功的创建了一个虚拟机了,接下来我们要开始配置这个虚拟机安装操作系统选择刚才创建的虚拟机,然后单击上方的“开始”这时会弹出“首次运行向导”,单击“下一步”这里选择要通过什么介质安装。
如果你要通过光盘安装的话直接在“介质位置”选择你光盘的盘符就行了。
这里我们使用光盘镜像安装,选择下面的“虚拟介质”,然后单击右边的文件夹图标这时我们来到了“虚拟介质管理器”,单击上方的“注册”选择光盘镜像所在的位置,然后单击“打开”选择刚才添加的光盘镜像,然后单击“选择”在这里单击“下一步”继续最后确认信息,然后单击“完成”接着我们将进入安装系统的步骤。
和正常安装的方法一样,这里不再多做说明了。
安装驱动/配置文件共享当我们安装好系统就要为其安装驱动了。
virtualbox 教程VirtualBox 是一种虚拟化软件,可以在计算机上运行多个操作系统。
下面是一些关于使用 VirtualBox 的基本教程:1. 下载和安装 VirtualBox在 VirtualBox 的官方网站上下载适用于您的操作系统的安装程序。
然后按照安装向导进行安装。
2. 创建虚拟机打开 VirtualBox,并点击“新建”按钮。
根据您计划安装的操作系统的类型和版本,选择相应的设置。
对于不同的操作系统,您可能需要指定一些相关的信息,如操作系统类型、内存大小、硬盘容量等。
3. 安装操作系统在创建虚拟机后,点击“开始”按钮来启动虚拟机。
然后,您可以选择安装操作系统的介质(如光盘、磁盘镜像等)。
按照操作系统的安装向导,完成操作系统的安装过程。
4. 添加共享文件夹如果您希望虚拟机与主机之间共享文件,可以在 VirtualBox中设置共享文件夹。
在虚拟机运行状态下,点击顶部菜单的“设备”选项,选择“安装增强功能”,然后按照向导完成增强功能的安装。
安装完成后,在虚拟机的设置中,选择“共享文件夹”,添加要共享的文件夹,并指定共享方式。
5. 虚拟机的管理在VirtualBox 主界面上,您可以对虚拟机进行管理,如启动、停止、重启等。
还可以对虚拟机的设置进行修改,如内存大小、硬盘容量等。
同时,您还可以设置网络连接、输入输出设备等。
6. 快照的使用在 VirtualBox 中,您可以使用快照来保存虚拟机的状态。
通过创建快照,您可以在需要的时候快速恢复到某个特定的状态。
在虚拟机运行状态下,点击顶部菜单的“机器”选项,选择“创建快照”,按照向导完成快照的创建。
这些是使用 VirtualBox 的一些基本教程。
通过学习和实践,您可以更好地掌握这个强大的虚拟化软件,并灵活运用于各种使用场景。
如何使用VirtualBox创建和管理虚拟机VirtualBox是一款强大而且免费的虚拟化软件,可以帮助用户创建和管理多个虚拟机。
本文将介绍如何使用VirtualBox来创建和管理虚拟机的步骤和技巧。
首先,我们需要下载和安装VirtualBox软件。
官方网站提供了不同操作系统的安装包,选择适合自己操作系统版本的进行下载,并按照安装向导完成安装过程。
安装完成后,双击打开VirtualBox应用程序,你将看到一个简洁的界面。
现在,让我们来创建第一个虚拟机。
1. 点击上方的“新建”按钮,打开虚拟机创建向导。
给虚拟机起一个有意义的名称,并选择操作系统的类型和版本。
在这个步骤中,选择正确的操作系统类型非常重要,因为VirtualBox将会根据选择来进行配置。
2. 配置虚拟机的内存大小。
根据你的需要,选择合适的内存大小。
较大的内存将能提供更好的性能,但也可能占用较多的宿主机资源。
一般来说,为虚拟机分配至少1GB的内存是一个不错的选择。
3. 创建虚拟硬盘。
VirtualBox提供了两种选项:使用现有虚拟硬盘文件或者创建一个新的虚拟硬盘文件。
如果你已经有一个现有的虚拟硬盘文件,选择“使用现有虚拟硬盘文件”并浏览并选择文件。
如果没有,选择“创建新虚拟硬盘文件”并按照向导的提示创建一个新的虚拟硬盘。
4. 配置虚拟硬盘的大小。
根据你的需求,选择合适的虚拟硬盘大小。
建议至少为虚拟机分配20GB的硬盘空间,这样能够容纳操作系统、应用程序和文件。
5. 完成创建。
在创建过程的最后阶段,你可以对虚拟机的配置进行确认和调整。
点击“创建”按钮后,VirtualBox将会创建虚拟机并将其显示在主界面上。
现在,我们已经成功创建了一台虚拟机。
接下来,让我们了解如何管理虚拟机。
1. 启动虚拟机。
在VirtualBox主界面上,选择要启动的虚拟机并点击“启动”按钮。
虚拟机将会启动并显示一个新的窗口,其中运行着操作系统。
2. 设置共享文件夹。
华为VR升级工具使用说明本文档旨在介绍华为VR升级工具的安装及使用流程。
一、注意事项:1、华为VR升级工具仅支持在Windows 10 64位操作系统上对VR设备进行固件升级;2、华为VR升级工具支持对VR 2代、VR 3代产品的升级。
二、升级工具使用流程1、请将从华为消费者官网下载的华为VR升级工具(HuaweiVRUpdater)压缩包解压到本地目录,双击运行其中的HuaweiVRUpdater_10.0.0.XXX.exe。
运行后会出现如下界面。
您可以点击“一键升级”按钮,此时会提示您先阅读并勾选同意华为VR升级工具使用协议。
3、当您阅读完并勾选同意使用协议后,点击“一键升级”按钮,程序会检测有没有装过升级驱动,如果没有的话,则弹出设备驱动程序安装向导,请您先安装升级驱动。
4、当您安装完驱动后开始升级时,如果弹出如下对话框,说明您的系统缺少升级所需的微软动态库。
请您参照对话框说明,从正规途径获取所需的动态库,并放置到对应的目录下,确保升级环境完备。
5、接下来,当您点击一键升级按钮时,程序会检测VR设备有没有连接电脑,若未连接,则会弹出消息提示连接VR设备。
若已连接设备,程序会开始检测设备是否可以开始升级。
检测到后,会开始走升级流程。
请您耐心等待升级流程,直到弹框提示您升级成功。
至此,一次完整的VR设备升级流程结束,您可以开始体验最新的设备固件版本。
6、如果您在升级过程中,由于硬件连接松动导致VR设备与电脑的连接断开,或者由于误操作将连接线断开,那么此时VR设备将停留在升级状态,无法正常使用。
为了恢复正常使用,您可以将VR设备和电脑再次连接,并且点击“一键升级”按钮,此时由于系统无法识别到您的设备是VR 2代还是VR 3代,会弹出选择界面,让您主动根据所连接的设备,选择对应的固件进行升级,如下图所示。
请您务必选择正确后再开始升级,否则可能造成设备误升级而最终损坏。
virtualbox安装教程
这是一个简单的VirtualBox安装教程。
请按照以下步骤安装VirtualBox:
1.首先,打开您的浏览器,并在搜索栏中输入“VirtualBox下载”以找到官方网站。
2.在官方网站上,找到适用于您操作系统的下载链接,点击下载。
3.一旦下载完成,找到下载文件并双击打开安装程序。
根据提示完成安装向导。
在安装VirtualBox之前,确保您的操作系统满足以下要求:
- 64位的操作系统
- 至少4GB的内存
- 至少10GB的磁盘空间
在安装过程中可能会出现一些提示和选择,根据您的个人喜好进行选择即可。
安装完成后,您可以打开VirtualBox并创建自己的虚拟机。
请注意,根据您的操作系统和版本,可能会有一些特定的安装步骤和注意事项。
请参阅VirtualBox的官方文档以获取更详细的安装说明。
希望这个简单的教程能帮助您顺利安装VirtualBox。
如果您有任何问题,请随时向我们提问。
第一章对VirtualBox 和如何运行第一个虚拟机作了简要介绍,接下来的这一章详细地描述如何配置虚拟机。
你能很自由地决定提供给客户机的硬件。
虚拟硬件用来和主机或其他客户机交流。
例如,给虚拟机配置CD-ROM的镜像ISO文件,VirtualBox 将其提供给客户机,就像一个真实的CD-ROM。
同样,你可以让客户机通过虚拟网卡接入真实网络;你也可以选择让主机,其他客户机或是Internet上的其他计算机接扩该客户机。
支持的客户机操作系统由于VirtualBox被设计来为x86系统提供通用虚拟化环境,任何种类的操作系统都能在其上运行,包括那些没被Sun官方支持的。
Windows NT 4.0所有版本及其他服务包(SP)完全支持;然而,更老的服务包(SP)存在一些问题。
推荐安装SP6a。
虚拟机增强工具部分功能可用。
Windows 2000 / XP / Server 2003 / Vista / Server 2008 / Windows 7 beta所有版本及其他服务包(SP)完全支持(包括64位版本,满足下面列出的条件时)。
虚拟机增强工具完全可用。
DOS / Windows 3.x / 95 / 98 / ME有限测试。
不推荐使用非传统的安装机制。
虚拟机增强工具不可用。
Linux 2.4有限支持。
Linux 2.6所有版本完全支持(32位和64位)。
虚拟机增强工具完全可用。
强烈推荐使用2.6.13或更高内核版本以获得更好的性能。
注意某些Linux内核版本由于bug,无法运行虚拟环境;详见“Buggy Linux 2.6 kernel versions”。
Solaris 10,OpenSolaris完全运行(32位和64位)。
虚拟机增强工具完全可用。
FreeBSD需要启用硬件虚拟化。
有限支持。
虚拟机增强工具不可用。
OpenBSD需要启用硬件虚拟化。
支持3.7及以上版本。
虚拟机增强工具不可用。
OS/2 Warp 4.5需要启用硬件虚拟化。
目录一、操作系统环境准备 (1)1、配置yum源(为了安装rpm包方便,两个节点都要做) (1)2、使用yum安装oracle所需要的包 (2)3、规划网络 (3)4、参数配置 (4)5、创建组和用户 (5)6、更改oracle密码 (6)7、创建所需要的目录并给予权限 (6)8、修改用户oracle的环境变量 (6)9、修改root的环境变量 (6)二、创建共享磁盘 (7)三、配置两个节点的互信 (10)测试是否互信成功 (12)四、建立裸设备 (13)五、上传软件包并赋予权限 (14)六、安装cluster (14)手动创建vip (23)七、安装oracle软件: (29)八、升级crs (35)九、升级oracle软件 (42)十、创建监听 (48)十一、建库 (51)操作系统:red hat 5.5Oracle版本:10.2.0.1 升级至10.2.0.5存储:ASM一、操作系统环境准备1、配置yum源(为了安装rpm包方便,两个节点都要做)# cd/etc/yum.repos.d/# vi rhel5.repo[Server]name=serverbaseurl=file:///mnt/Server/enabled=1gpgcheck=0[ClusterStorage]name=serverbaseurl=file:///mnt/ClusterStorage/enabled=1gpgcheck=0# mount /dev/hdc /mnt(节点一)mount: block device /dev/hdc is write-protected, mounting read-only# mount /dev/hda /mnt(节点二,因为节点二没有hdc,但是有hda)mount: block device /dev/hda is write-protected, mounting read-only# cd /mnt# ls Server ClusterStorage -lddr-xr-xr-x 3 root root 8192 Mar 22 2010 ClusterStoragedr-xr-xr-x 3 root root 557056 Mar 22 2010 Server# yum clean all;(清除yum缓存)Loaded plugins: rhnplugin, securityCleaning up Everything2、使用yum安装oracle所需要的包# yum install -y setarch-2* make-3* glibc-2* libaio-0* compat-libstdc++-33-3* compat-gcc-34-3* compat-gcc-34-c++-3* gcc-4* libXp-1* openmotif-2* compat-db-4*gcc*sysstat*检查安装包是否安装全了rpm -q --qf '%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n' binutils \ compat-db \compat-libstdc++-296 \compat-libstdc++-33 \control-center \elfutils-libelf \elfutils-libelf-devel \expat \gcc \gcc-c++ \glibc \glibc-common \glibc-devel \glibc-headers \ksh \libaio \libaio-devel \libgcc \libgnome \libgnomeui \libgomp \libstdc++ \libstdc++-devel \libXp \libXtst \make \sysstat \util-linux3、规划网络# vi /etc/hosts#public172.168.2.10 node1172.168.2.20 node2#vip172.168.2.100 node1vip172.168.2.200 node2vip#private172.168.20.10 node1priv172.168.20.20 node2priv节点一:#vi/etc/sysconfig/network-scripts/ ifcfg-eth0# Intel Corporation 82540EM Gigabit Ethernet Controller DEVICE=eth0BOOTPROTO=staticONBOOT=yesHWADDR=08:00:27:c2:7d:4eNETMASK=255.255.255.0IPADDR=172.168.2.10GATEWAY=172.168.2.1TYPE=Ethernet#vi /etc/sysconfig/network-scripts/ifcfg-eth1# Intel Corporation 82540EM Gigabit Ethernet Controller DEVICE=eth1BOOTPROTO=staticONBOOT=yesHWADDR=08:00:27:54:f2:80NETMASK=255.255.255.0IPADDR=172.168.20.10#GATEWAY=172.168.10.1TYPE=Ethernet#GATEWAY=172.168.20.1节点二:#vi /etc/sysconfig/network-scripts/ifcfg-eth0# Intel Corporation 82540EM Gigabit Ethernet Controller DEVICE=eth0BOOTPROTO=staticBROADCAST=172.168.2.255HWADDR=08:00:27:3B:96:75IPADDR=172.168.2.20NETMASK=255.255.255.0NETWORK=172.168.2.0ONBOOT=yesGATEWAY=172.168.2.1TYPE=Ethernet#vi /etc/sysconfig/network-scripts/ifcfg-eth1# Intel Corporation 82540EM Gigabit Ethernet Controller DEVICE=eth1BOOTPROTO=staticHWADDR=08:00:27:8e:c3:1eONBOOT=yesHOTPLUG=noIPADDR=172.168.20.20NETMASK=255.255.255.0TYPE=Ethernet#GATEWAY=172.168.20.14、参数配置# vi /etc/sysctl.confkernel.shmall = 4294967296kernel.shmmni = 4096kernel.sem = 250 32000 100 128fs.file-max = 65536net.ipv4.ip_local_port_range = 1024 65000net.core.rmem_default = 262144net.core.rmem_max = 262144net.core.wmem_default = 262144net.core.wmem_max = 262144net.ipv4.tcp_wmem = 262144 262144 262144net.ipv4.tcp_rmem = 4194304 4194304 4194304# sysctl -pnet.ipv4.ip_forward = 0net.ipv4.conf.default.rp_filter = 1net.ipv4.conf.default.accept_source_route = 0 kernel.sysrq = 0kernel.core_uses_pid = 1net.ipv4.tcp_syncookies = 1kernel.msgmnb = 65536kernel.msgmax = 65536kernel.shmmax = 68719476736kernel.shmall = 4294967296kernel.shmall = 4294967296kernel.shmmni = 4096kernel.sem = 250 32000 100 128fs.file-max = 65536net.ipv4.ip_local_port_range = 1024 65000 net.core.rmem_default = 262144net.core.rmem_max = 262144net.core.wmem_default = 262144net.core.wmem_max = 262144net.ipv4.tcp_wmem = 262144 262144 262144 net.ipv4.tcp_rmem = 4194304 4194304 4194304# vi /etc/security/limits.conforacle soft nproc 2047 oracle hard nproc 16384 oracle soft nofile 1024 oracle hard nofile 65536# vi /etc/pam.d/login --修改安全限制session required /lib/security/pam_limits.so# vi /etc/profileif [ $USER = "oracle" ]; thenulimit -u 16384ulimit -n 65536fi5、创建组和用户# groupadd -g 300 oinstall# groupadd -g 400 dba# useradd -g oinstall -G dba oracle6、更改oracle密码# passwd oracleChanging password for user oracle.New UNIX password:BAD PASSWORD: it is based on a dictionary wordRetype new UNIX password:passwd: all authentication tokens updated successfully.7、创建所需要的目录并给予权限创建oracle_base目录mkdir -p /u01/app/oraclechown -R oracle:oinstall /u01/app/oraclechmod -R 775 /u01/app/oracle创建oracle inventory 目录mkdir -p /u01/app/oracle/oraInventorychown -R oracle:oinstall /u01/app/oracle/oraInventorychmod -R 775 /u01/app/oracle/oraInventory创建clusterware crs的oracle_home目录mkdir -p /u01/10.2.0/crschown -R oracle:oinstall /u01/10.2.0/crschmod -R 775 /u01/10.2.0/crs创建oracle rdbms的oracle_home目录mkdir -p /u01/app/oracle/product/10.2.0/db_1chown -R oracle:oinstall /u01/app/oracle/product/10.2.0/db_1 chmod -R 775 /u01/app/oracle/product/10.2.0/db_18、修改用户oracle的环境变量# su– oracle$ vi .bash_profileexport ORACLE_BASE=/u01/app/oracleexport ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1 export ORA_CRS_HOME=/u01/10.2.0/crsexport ORACLE_SID=node1# export ORACLE_SID=node2 #2机器的环境变量export PATH=$ORA_CRS_HOME/bin:$ORACLE_HOME/bin:$PATH export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib9、修改root的环境变量# cd# vi .bash_profileexport ORACLE_BASE=/u01/app/oracleexport ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1 export ORA_CRS_HOME=/u01/10.2.0/crsexport PATH=$ORA_CRS_HOME/bin:$ORACLE_HOME/bin:$PATH export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib为了启动速度快,把sendmail服务都给关闭# /etc/rc.d/init.d/sendmail stop二、创建共享磁盘关闭虚拟机,设置存储创建5个8G大小的磁盘,2个2G大小的磁盘接下来设置磁盘属性单击管理——虚拟介质管理选中,单击右键——修改,选择可共享,如下图在node2设置中添加使用现有的虚拟磁盘,就可以看到共享磁盘被共享了三、配置两个节点的互信两个节点都做:节点一:#su - oracle$ ssh-keygen -t rsa//两个节点同步做生成公钥和私钥Generating public/private rsa key pair.Enter file in which to save the key (/home/oracle/.ssh/id_rsa):Created directory '/home/oracle/.ssh'.Enter passphrase (empty for no passphrase):Enter same passphrase again:Your identification has been saved in /home/oracle/.ssh/id_rsa.Your public key has been saved in /home/oracle/.ssh/id_rsa.pub.The key fingerprint is:4a:d0:a3:15:e1:89:43:fb:8e:42:e2:8b:41:7d:21:81 oracle@node1$ ssh-copy-id -i .ssh/id_rsa.pub node2//node1的公钥拷贝到node2,与node2互信15The authenticity of host 'node2 (172.168.2.20)' can't be established.RSA key fingerprint is c0:f8:f5:96:0d:e3:4d:69:6d:cd:53:e0:f6:74:c6:c1.Are you sure you want to continue connecting (yes/no)? yesWarning: Permanently added 'node2,172.168.2.20' (RSA) to the list of known hosts.oracle@node2's password:Now try logging into the machine, with "ssh 'node2'", and check in:.ssh/authorized_keysto make sure we haven't added extra keys that you weren't expecting.$ ssh-copy-id -i .ssh/id_rsa.pub node115The authenticity of host 'node1 (127.0.0.1)' can't be established.RSA key fingerprint is 10:f6:7b:9c:e2:36:3f:34:48:1d:81:88:90:fa:f8:26.Are you sure you want to continue connecting (yes/no)? yesWarning: Permanently added 'node1' (RSA) to the list of known hosts.oracle@node1's password:Now try logging into the machine, with "ssh 'node1'", and check in:.ssh/authorized_keysto make sure we haven't added extra keys that you weren't expecting.节点二:# su– oracle$ ssh-keygen -t rsaGenerating public/private rsa key pair.Enter file in which to save the key (/home/oracle/.ssh/id_rsa):Created directory '/home/oracle/.ssh'.Enter passphrase (empty for no passphrase):Enter same passphrase again:Your identification has been saved in /home/oracle/.ssh/id_rsa.Your public key has been saved in /home/oracle/.ssh/id_rsa.pub.The key fingerprint is:7a:2b:04:00:a5:3a:15:04:3b:dc:3a:64:c5:87:2c:43 oracle@node2$ssh-copy-id -i .ssh/id_rsa.pub node115The authenticity of host 'node1 (172.168.2.10)' can't be established.RSA key fingerprint is 10:f6:7b:9c:e2:36:3f:34:48:1d:81:88:90:fa:f8:26.Are you sure you want to continue connecting (yes/no)? yesWarning: Permanently added 'node1,172.168.2.10' (RSA) to the list of known hosts. oracle@node1's password:Now try logging into the machine, with "ssh 'node1'", and check in:.ssh/authorized_keysto make sure we haven't added extra keys that you weren't expecting.$ ssh-copy-id -i .ssh/id_rsa.pub node215The authenticity of host 'node2 (127.0.0.1)' can't be established.RSA key fingerprint is c0:f8:f5:96:0d:e3:4d:69:6d:cd:53:e0:f6:74:c6:c1.Are you sure you want to continue connecting (yes/no)? yesWarning: Permanently added 'node2' (RSA) to the list of known hosts.oracle@node2's password:Now try logging into the machine, with "ssh 'node2'", and check in:.ssh/authorized_keysto make sure we haven't added extra keys that you weren't expecting.测试是否互信成功节点一测试:[oracle@node1 ~]$ ssh node1 dateMon Nov 25 07:55:59 CST 2013[oracle@node1 ~]$ ssh node1priv dateThe authenticity of host 'node1priv (172.168.20.10)' can't be established.RSA key fingerprint is 10:f6:7b:9c:e2:36:3f:34:48:1d:81:88:90:fa:f8:26.Are you sure you want to continue connecting (yes/no)? yesWarning: Permanently added 'node1priv,172.168.20.10' (RSA) to the list of known hosts. Mon Nov 25 07:56:11 CST 2013[oracle@node1 ~]$ ssh node1priv dateMon Nov 25 07:56:23 CST 2013[oracle@node1 ~]$ ssh node2 dateMon Nov 25 07:56:34 CST 2013[oracle@node1 ~]$ssh node2priv dateThe authenticity of host 'node2priv (172.168.20.20)' can't be established.RSA key fingerprint is c0:f8:f5:96:0d:e3:4d:69:6d:cd:53:e0:f6:74:c6:c1.Are you sure you want to continue connecting (yes/no)? yesWarning: Permanently added 'node2priv,172.168.20.20' (RSA) to the list of known hosts. Mon Nov 25 07:56:45 CST 2013[oracle@node1 ~]$ ssh node2priv dateMon Nov 25 07:56:47 CST 2013[oracle@node1 ~]$ssh node2[oracle@node2 ~]$ ssh node2 dateMon Nov 25 07:57:13 CST 2013[oracle@node2 ~]$ ssh node2priv dateThe authenticity of host 'node2priv (172.168.20.20)' can't be established.RSA key fingerprint is c0:f8:f5:96:0d:e3:4d:69:6d:cd:53:e0:f6:74:c6:c1.Are you sure you want to continue connecting (yes/no)? yesWarning: Permanently added 'node2priv,172.168.20.20' (RSA) to the list of known hosts.Mon Nov 25 07:57:26 CST 2013[oracle@node2 ~]$ ssh node2priv dateMon Nov 25 07:57:38 CST 2013[oracle@node2 ~]$ ssh node1 dateMon Nov 25 07:57:46 CST 2013[oracle@node2 ~]$ ssh node1priv dateThe authenticity of host 'node1priv (172.168.20.10)' can't be established.RSA key fingerprint is 10:f6:7b:9c:e2:36:3f:34:48:1d:81:88:90:fa:f8:26.Are you sure you want to continue connecting (yes/no)? yesWarning: Permanently added 'node1priv,172.168.20.10' (RSA) to the list of known hosts. Mon Nov 25 07:57:56 CST 2013[oracle@node2 ~]$ ssh node1priv dateMon Nov 25 07:57:58 CST 2013节点二验证:[oracle@node2 ~]$ ssh node1 dateMon Nov 25 08:01:31 CST 2013[oracle@node2 ~]$ ssh node2 dateMon Nov 25 08:01:39 CST 2013[oracle@node2 ~]$ ssh node1priv dateMon Nov 25 08:01:46 CST 2013[oracle@node2 ~]$ ssh node2priv dateMon Nov 25 08:01:54 CST 2013四、建立裸设备#vi /etc/udev/rules.d/60-raw.rules(两个节点都执行)ACTION=="add", KERNEL=="sdb1", RUN+="/bin/raw /dev/raw/raw1 %N"ACTION=="add", KERNEL=="sdb2", RUN+="/bin/raw /dev/raw/raw2 %N"ACTION=="add", KERNEL=="sdb3", RUN+="/bin/raw /dev/raw/raw3 %N"ACTION=="add", KERNEL=="sdb4", RUN+="/bin/raw /dev/raw/raw4 %N"ACTION=="add", KERNEL=="sdc", RUN+="/bin/raw /dev/raw/raw5 %N"ACTION=="add", KERNEL=="sdd", RUN+="/bin/raw /dev/raw/raw6 %N"ACTION=="add", KERNEL=="sde", RUN+="/bin/raw /dev/raw/raw7 %N"ACTION=="add", KERNEL=="sdf", RUN+="/bin/raw /dev/raw/raw8 %N"ACTION=="add", KERNEL=="sdg", RUN+="/bin/raw /dev/raw/raw9 %N"ACTION=="add", KERNEL=="sdh1", RUN+="/bin/raw /dev/raw/raw10 %N"ACTION=="add", KERNEL=="sdh2", RUN+="/bin/raw /dev/raw/raw11 %N"KERNEL=="raw*", OWNER="oracle", GROUP="oinstall", MODE="660"[root@node2 /]# start_udev启动udev:[确定]voting disk磁盘如果使用冗余,至少使用三块磁盘,并且保证三块磁盘在不同的物理位置。