win2k8+10gRAC10205安装.docx

上传人:b****5 文档编号:30744384 上传时间:2023-08-20 格式:DOCX 页数:43 大小:7.67MB
下载 相关 举报
win2k8+10gRAC10205安装.docx_第1页
第1页 / 共43页
win2k8+10gRAC10205安装.docx_第2页
第2页 / 共43页
win2k8+10gRAC10205安装.docx_第3页
第3页 / 共43页
win2k8+10gRAC10205安装.docx_第4页
第4页 / 共43页
win2k8+10gRAC10205安装.docx_第5页
第5页 / 共43页
点击查看更多>>
下载资源
资源描述

win2k8+10gRAC10205安装.docx

《win2k8+10gRAC10205安装.docx》由会员分享,可在线阅读,更多相关《win2k8+10gRAC10205安装.docx(43页珍藏版)》请在冰豆网上搜索。

win2k8+10gRAC10205安装.docx

win2k8+10gRAC10205安装

Window200864bitEnterpriseEdition+10GRAC(10.2.0.5)安装调试步骤

 

磁盘阵列:

DS5020采用RAID5,磁盘总存储1800G

 

生产系统存储需求列表如下:

卷组名称

类型

大小(单位:

GB)

所连主机

对应磁盘

需要修改的参数

1

1.110G

Rac01,rac02

磁盘1

2

1.110G

Rac01,rac02

磁盘2

两台主机为:

IBM X3850M2.内存8G,安装windows2008-64bitEnterpriseEdition。

配两块300G本地盘,和两块2块EmulexHBA卡。

 

第一部分:

操作系统安装

1.使用ServerGuide安装windows2008。

C:

\盘大小为100G左右,其他的分给D:

\.

2.安装完毕Windows2008,会自动安装Emulex光纤卡驱动,和网卡驱动。

3.安装StorageManager10.60中所携带的多路径软件MPIO。

安装完毕后,多路径软件会将多余的磁盘路径合并。

4.激活Windows2008.输入光盘盒上的序列号,将Windows2008激活。

5.重新启动后,看到操作系统正常运行,并更改主机名为RAC01,RAC02(大写),工作组为workgroup。

6.数据库软件安装到C:

盘下。

第二部分:

Oracle系统安装前准备工作

1UserEquivalence

∙InordertofulfillthedocumentedprerequisitesandinadditiontowhatisoutlinedinNote388730.1,itmaybenecessarytoimplementthefollowingchangeinWindows2008UserAccountControlsettingsoneachnode:

Changetheelevationpromptbehaviorforadministratorsto"Elevatewithoutprompting" Reference:

 

a. ClickStart,clickAccessories,clickRun,typesecpol.mscintheOpenbox,andthenclickOK.

b. FromtheLocalSecuritySettingsconsoletree,clickLocalPolicies,andthenSecurityOptions.

c. Scrolldowntoanddouble-clickUserAccountControl:

Behavioroftheelevationpromptforadministrators.

d. Fromthedrop-downmenu,select:

*Elevatewithoutprompting(tasksrequestingelevationwillautomaticallyrunaselevatedwithoutpromptingtheadministrator)

e. ClickOK.

f. ClosetheLocalSecuritySettingswindow.

∙Confirmthatthe'Administrators'groupislistedunder'Manageauditingandsecuritylog'

oInvoke'LocalSecuritySettings'atthepromptbytyping:

 'secpol.msc'

oClickon'LocalPolicies'

oClickon'UserRightsAssignment'

2.Networkbindingorder-Publicnetworkshouldbelistedfirst

Toensurethatyourpublicinterfaceisfirstinthebindingorder,followthesesteps:

a. ClickStart,clickServerManager,clickViewNetworkConnections

b. Ifthe 'Advanced'menuisnotshowing, Press'ALT'

c. FromtheAdvancedmenu,clickAdvancedSettings

d. ThefirsttabtobedisplayedwillbeAdaptersandBindings

e. Usethearrow,ifneeded,toadjusttheordersothe'Public'adapterislistedfirstandthe'Private'adapterislistedsecond

3. CreateRawLogicalVolumesUsingDiskpartCommandLineUtility

InWindows2008itisnotpossibletocreatelogicalvolumesonshareddisksusingtheDiskManagementuserinterface. 

Goal

ToprovidestepbystepinstructionsforusingWindowsdiskpartcommandlineutilitytocreateappropriateshareddiskpartitionsforeitheranOracleClusterware(CRS)filesorstorageofdatafilesusingAutomaticStorageManagement(ASM).

ThisnotewillwalkthroughanexampleofhowtopreparepartitionsappropriateforstorageofOracleClusterwarefiles. ThestepsareidenticalforpreparingdiskstostoreASMfiles,onlytherequiredpartitionsizeshouldbeadjustedaccordingly. 

Solution

1. BeginbyviewingtheavailableshareddisksfromtheWindowsgraphicaltool:

 DiskManagement

whichcanbeinvokedusingthecommand:

 'diskmgmt.msc'

2. ConfirmthatthediskyouareworkingwithisformattedasanMBRdisk.

- Fromdiskmgmt.msc:

 

Rightclickonthegreydisknumbersectionofthedisk. Makesurethat'ConverttoGPTdisk'ishighlightedthatisproofthatthediskisoftypeMBR-exactlywhatisneededtoproceed.

IfthediskinquestionISaGPTdisk,rightclickonthegreydisknumbersectionofthediskandchoose'ConverttoMBRdisk'

OR

- FromDiskpartcommandlineuttility

usethecommand:

 'listdisk'

DISKPART>listdisk

Disk###StatusSizeFreeDynGpt

--------------------------------------

Disk0NoMedia0B0B

Disk1Online25GB0B

Disk2Online10GB0B

Disk3Online5120MB2574MB

Disk4Online5120MB5117MB

Disk5Offline5120MB5120MB

Disk6Offline5120MB5120MB

Disk7Offline5120MB5120MB

Disk8Offline20GB20GB

Ifdisk4wereformattedasaGPTdisk(undesiredinthiscase)therewouldbeanasterisk(*)showingintheGPTfield.

3. Invokediskpartfromthecommandlinebysimplytyping:

 diskpart

C:

\windows>diskpart

DISKPART>

4. Selectthediskuponwhichyouwishtocreatetheextendedpartition

DISKPART>selectdisk4

Disk4isnowtheselecteddisk.

5. Confirmthatdisk4isinfacttheselecteddisk

DISKPART>listdisk

Disk###StatusSizeFreeDynGpt

--------------------------------------

Disk0NoMedia0B0B

Disk1Online25GB0B

Disk2Online10GB0B

Disk3Online5120MB2574MB

*Disk4Online5120MB5117MB

Disk5Offline5120MB5120MB

Disk6Offline5120MB5120MB

Disk7Offline5120MB5120MB

Disk8Offline20GB20GB

Theasterisk(*)preceding'Disk4'confirmsthatdisk4isinfacttheselecteddiskatthistime.

6. Createanextendedpartitionthatspansthelengthofthedisk

DISKPART>createpartextended

DiskPartsucceededincreatingthespecifiedpartition.

7. Confirmthecreationofthispartition

DISKPART>listpart

Partition###TypeSizeOffset

-------------------------------------------

*Partition0Extended5118MB1024KB

Theasterisk(*)preceding'Partition0'inthecommandaboveconfirmsthatpartition0istheselectedpartition.

8. Createlogicaldriveswithintheextendedpartition. ForOracleClusterware10.2onWindows,theminimumrecommendedpartitionsizeforOracleClusterRegistry(OCR)filesandvotingdiskfilesis270MB

DISKPART>createpartitionlogicalsize=270

DiskPartsucceededincreatingthespecifiedpartition.

Repeatthisstepasneeded. ForthebarestminimumCRSconfiguration,youwouldneedtoissuethiscommandtwice-oncetocreatealogicaldrivetohousetheOCRfileandoncetocreatealogicaldrivetohousethevotingdiskfile. 

9. Confirmthecreationofthedesiredlogicaldrives 

DISKPART>listpart

Partition###TypeSizeOffset

-------------------------------------------

Partition0Extended5118MB1024KB

Partition1Logical270MB2048KB

*Partition2Logical270MB273MB

10. ThenewviewfromDiskmanagementwithregardtodisk4willbe:

References

 

4InstallationDiscrepanciesforWindows2008

1. InstallingOracle10gClusterwareonWindows200864-BitgivesanerrorduringtheprerequisitechecksthattheOcfsandOrafenceDriver'ssignaturesareexpiredonWindows2008. 

Thepreferredsolutionforavoidingthisproblemistofollowthesesteps:

 

Step#1. Exitoutoftheinstaller

Step#2. DownloadPatch7320726andunziptheupdateddriverstoastagingfoldersomewhere.  Forthisexample,wewilluseD:

\driver_stage asthelocationwherethedriverswillbestaged.  Onceextracted,thefullpathtothedriverswillbe:

D:

\driver_stage\7320726

Thisdirectoryshouldcontainthefollowingfiles:

01/16/200906:

41PM579,112ocfs.sys

01/16/200906:

41PM16,424orafencedrv.sys

01/16/200907:

10PM1,026Readme.txt

 Step#3. Renamethedriverfilessothattheinstallerwillrecognizethem.  Renamethefilesto:

orafencedrv.sys.w2k8

ocfs.sys.w2k8

D:

\driver_stage\7320726>renameocfs.sysocfs.sys.w2k864

D:

\driver_stage\7320726>renameorafencedrv.sysorafencedrv.sys.w2k8

D:

\driver_stage\7320726>dir

01/16/200906:

41PM579,112ocfs.sys.w2k864

01/16/200906:

41PM16,424orafencedrv.sys.w2k8

01/16/200907:

10PM1,026Readme.txt

 

Step#4.  Starttheinstalleragainusingthefollowingsyntax:

setup.exeNew_Driver_Loc=""

Sointhisexample,theexactsyntaxwouldbe:

setup.exe New_Driver_Loc="D:

\driver_stage\7320726"

 

5修改两台机器的windows/system32/drivers/etc/hosts文件,包括:

192.168.2.201RAC01RAC

192.168.2.202RAC02RAC

192.168.2.203RAC01-vipRAC01-

192.168.2.204RAC02-vipRAC02-

10.10.10.1RAC01-priv

10.10.10.2RAC02-priv

子网掩码均为255.255.255.0

 

6.修改两台机器的网络命名,从“本地连接”,“本地连接2”,改为private和public.

像2中所说的那样,调节private和public的顺序。

7.使用diskpart命令划分磁盘:

四个分区:

votingdisk,4G,

OCRdisk5G

ASM1:

500G->Data

ASM2:

500G->Data

ASM3:

500G->Flash_recovery

8.

.disableWindowsMediaSensingforTCP/IP:

BackuptheWindowsregistry.

RuntheRegistryEditor(Regedt32.exe)andfindthefollowingkey:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip\Parameters

Addthefollowingregistryvalue:

ValueName:

DisableDHCPMediaSense

DataType:

REG_DWORD

Value:

1

Thischangewillnottakeeffectuntilthecomputerisrestarted.

 

9.

DisableWriteCaching

Performthefollowingstepstodisablewritecachingonalltheshareddisksthatyouintendtouseforyourdatabasefiles.Youmustdothisfrombothnodesinyourcluster:

•NavigatetoStart>Settings>ControlPanel>AdministrativeTools>ComputerManagement>DeviceManager>Diskdrives

•ExpandtheDiskdriveshiveanddouble-clickthefirstdrivelisted

•UndertheDiskPropertiestabfortheselecteddrive,unchecktheoptionthatenablesthewritecache

•Double-clickeachoftheotherdriveslistedintheDiskdriveshiveanddisablethewritecacheasinthepreviousstep

10.Cluvfystage–posthwos–nrac01,rac02–verbose

检查完毕后,开始安装CRS.

第三部分:

安装CRS

1.使用命令:

D:

\software\Disk1\clustware\setup.exeNew_driver_loc=”d:

\software\7320726”执行clusterware的安装文件。

 

2选择中英文安装语言,检查安装环境,

2.输入要安装的节点名:

RAC02,RAC02-priv,RAC02-vip

3

将public网络接口的属性改为“公用“。

4集群配置存储,指定OCR存放的区域,不需要用ocfs来格式化。

5.指定表决分区

6.开始安装,安装完成后,进行自动配置。

 

7.升级CRS到10.2.0.5

从metalink下载补丁:

或是从以下站点下载:

A.停止数据库

B.停止所有的Oracle服务,两台机器上都做。

C.C:

\>CRS_home\bin\srvctlstopnodeapps-nnode

D.C:

\>CRS_home\bin\crsct

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 小学教育 > 数学

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1