linux oracle11g grid 安装不使用raw接口和asmlib.docx

上传人:b****6 文档编号:7584089 上传时间:2023-01-25 格式:DOCX 页数:19 大小:1.47MB
下载 相关 举报
linux oracle11g grid 安装不使用raw接口和asmlib.docx_第1页
第1页 / 共19页
linux oracle11g grid 安装不使用raw接口和asmlib.docx_第2页
第2页 / 共19页
linux oracle11g grid 安装不使用raw接口和asmlib.docx_第3页
第3页 / 共19页
linux oracle11g grid 安装不使用raw接口和asmlib.docx_第4页
第4页 / 共19页
linux oracle11g grid 安装不使用raw接口和asmlib.docx_第5页
第5页 / 共19页
点击查看更多>>
下载资源
资源描述

linux oracle11g grid 安装不使用raw接口和asmlib.docx

《linux oracle11g grid 安装不使用raw接口和asmlib.docx》由会员分享,可在线阅读,更多相关《linux oracle11g grid 安装不使用raw接口和asmlib.docx(19页珍藏版)》请在冰豆网上搜索。

linux oracle11g grid 安装不使用raw接口和asmlib.docx

linuxoracle11ggrid安装不使用raw接口和asmlib

1.新建oracle,grid用户,设置用户的环境变量,配置hosts文件,配置ssh等下性

GRID

uid=1100(grid)

gid=501(oinstall)groups=501(oinstall),502(dba),503(oper),504(asmadmin),505(asmdba),506(asmoper)

ORACLE

uid=501(oracle)

gid=501(oinstall)

groups=501(oinstall),502(dba),503(oper),505(asmdba)

ORACLEPATH

exportORACLE_BASE=/u01/app/oracle

exportORACLE_HOME=/u01/app/oracle/11.2.0.1

ORACLE_SID=snow

PATH=$PATH:

$HOME/bin:

$ORACLE_HOME/bin

exportPATH

GRIDPATH

exportORACLE_BASE=/u01/app/grid

exportORACLE_HOME=/u01/app/11.2.0/grid

PATH=$PATH:

$HOME/bin:

$ORACLE_HOME/bin

exportPATH

/etc/hosts

#Donotremovethefollowingline,orvariousprograms

#thatrequirenetworkfunctionalitywillfail.

127.0.0.1localhost.localdomainlocalhost

:

:

1localhost6.localdomain6localhost6

10.10.10.2snow

10.10.10.20snow-vip

10.10.10.200scan-vip

192.168.100.100snow-priv

10.10.10.3snow2

ssh等效性配置

ssh-keygen-trsa

Generatingpublic/privatersakeypair.

Enterfileinwhichtosavethekey(/home/oracle/.ssh/id_rsa):

保存密钥的位置

Enterpassphrase(emptyfornopassphrase):

密钥密码

Entersamepassphraseagain:

重复密码

ssh-keygen-tdsa

Generatingpublic/privatedsakeypair.

Enterfileinwhichtosavethekey(/home/oracle/.ssh/id_dsa):

保存密钥的位置

Enterpassphrase(emptyfornopassphrase):

密钥密码

Entersamepassphraseagain:

重复密码

cat~/.ssh/id_rsa.pub>>~/.ssh/authorized_keys

cat~/.ssh/id_dsa.pub>>~/.ssh/authorized_keys

2.配置共享磁盘(本次磁盘使用的是iscsi通过udev对磁盘名称进行管理)

 

安装grid软件选择使用/dev/iscsi/*目录下的磁盘,磁盘路径位置(通过UDEV对磁盘名称进行管理,也可以通过multpatch对磁盘进行管理)

OracleInstallationPrerequisites

PerformthefollowingstepswhilstloggedintotheRAC1virtualmachineastherootuser.

MakesurethesharedmemoryfilesystemisbigenoughforAutomaticMemoryManagertowork.

#umounttmpfs

#mount-ttmpfsshmfs-osize=1500m/dev/shm

Makethesettingpermanentbyamendingthe"tmpfs"settingofthe"/etc/fstab"filetolooklikethis.

tmpfs/dev/shmtmpfssize=1500m00

3.grid软件安装

在linux上要安装cvuqdisk-1.0.7-1软件包。

然后运行runInstaller开始安装grid软件。

 

如果有报错可以执行runfixup.sh修改报错信息。

./orainstRoot.sh

Changingpermissionsof/u01/app/oraInventory.

Addingread,writepermissionsforgroup.

Removingread,write,executepermissionsforworld.

Changinggroupnameof/u01/app/oraInventorytooinstall.

Theexecutionofthescriptiscomplete.

./root.sh

RunningOracle11groot.shscript...

Thefollowingenvironmentvariablesaresetas:

ORACLE_OWNER=oracle

ORACLE_HOME=/u01/app/11.2.0/grid

Enterthefullpathnameofthelocalbindirectory:

[/usr/local/bin]:

Copyingdbhometo/usr/local/bin...

Copyingoraenvto/usr/local/bin...

Copyingcoraenvto/usr/local/bin...

 

Creating/etc/oratabfile...

Entrieswillbeaddedtothe/etc/oratabfileasneededby

DatabaseConfigurationAssistantwhenadatabaseiscreated

Finishedrunninggenericpartofroot.shscript.

Nowproduct-specificrootactionswillbeperformed.

2009-09-2520:

58:

00:

Parsingthehostname

2009-09-2520:

58:

00:

Checkingforsuperuserprivileges

2009-09-2520:

58:

00:

Userhassuperuserprivileges

Usingconfigurationparameterfile:

/u01/app/11.2.0/grid/crs/install/crsconfig_params

Creatingtracedirectory

LOCALADDMODE

CreatingOCRkeysforuser'root',privgrp'root'..

Operationsuccessful.

rootwallet

rootwalletcert

rootcertexport

peerwallet

profilereaderwallet

pawallet

peerwalletkeys

pawalletkeys

peercertrequest

pacertrequest

peercert

pacert

peerrootcertTP

profilereaderrootcertTP

parootcertTP

peerpacertTP

papeercertTP

profilereaderpacertTP

profilereaderpeercertTP

peerusercert

pausercert

Addingdaemontoinittab

CRS-4123:

OracleHighAvailabilityServiceshasbeenstarted.

ohasdisstarting

CRS-2672:

Attemptingtostart'ora.gipcd'on'rac1'

CRS-2672:

Attemptingtostart'ora.mdnsd'on'rac1'

CRS-2676:

Startof'ora.gipcd'on'rac1'succeeded

CRS-2676:

Startof'ora.mdnsd'on'rac1'succeeded

CRS-2672:

Attemptingtostart'ora.gpnpd'on'rac1'

CRS-2676:

Startof'ora.gpnpd'on'rac1'succeeded

CRS-2672:

Attemptingtostart'ora.cssdmonitor'on'rac1'

CRS-2676:

Startof'ora.cssdmonitor'on'rac1'succeeded

CRS-2672:

Attemptingtostart'ora.cssd'on'rac1'

CRS-2672:

Attemptingtostart'ora.diskmon'on'rac1'

CRS-2676:

Startof'ora.diskmon'on'rac1'succeeded

CRS-2676:

Startof'ora.cssd'on'rac1'succeeded

CRS-2672:

Attemptingtostart'ora.ctssd'on'rac1'

CRS-2676:

Startof'ora.ctssd'on'rac1'succeeded

ASMcreatedandstartedsuccessfully.

DiskGroupDATAcreatedsuccessfully.

clscfg:

-installmodespecified

SuccessfullyaccumulatednecessaryOCRkeys.

CreatingOCRkeysforuser'root',privgrp'root'..

Operationsuccessful.

CRS-2672:

Attemptingtostart'ora.crsd'on'rac1'

CRS-2676:

Startof'ora.crsd'on'rac1'succeeded

CRS-4256:

Updatingtheprofile

Successfuladditionofvotingdisk24ce55bef20d4f4ebf16d733a91bc9d3.

Successfullyreplacedvotingdiskgroupwith+DATA.

CRS-4256:

Updatingtheprofile

CRS-4266:

Votingfile(s)successfullyreplaced

##STATEFileUniversalIdFileNameDiskgroup

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

1.ONLINE24ce55bef20d4f4ebf16d733a91bc9d3(ORCL:

DISK1)[DATA]

Located1votingdisk(s).

CRS-2673:

Attemptingtostop'ora.crsd'on'rac1'

CRS-2677:

Stopof'ora.crsd'on'rac1'succeeded

CRS-2673:

Attemptingtostop'ora.asm'on'rac1'

CRS-2677:

Stopof'ora.asm'on'rac1'succeeded

CRS-2673:

Attemptingtostop'ora.ctssd'on'rac1'

CRS-2677:

Stopof'ora.ctssd'on'rac1'succeeded

CRS-2673:

Attemptingtostop'ora.cssdmonitor'on'rac1'

CRS-2677:

Stopof'ora.cssdmonitor'on'rac1'succeeded

CRS-2673:

Attemptingtostop'ora.cssd'on'rac1'

CRS-2677:

Stopof'ora.cssd'on'rac1'succeeded

CRS-2673:

Attemptingtostop'ora.gpnpd'on'rac1'

CRS-2677:

Stopof'ora.gpnpd'on'rac1'succeeded

CRS-2673:

Attemptingtostop'ora.gipcd'on'rac1'

CRS-2677:

Stopof'ora.gipcd'on'rac1'succeeded

CRS-2673:

Attemptingtostop'ora.mdnsd'on'rac1'

CRS-2677:

Stopof'ora.mdnsd'on'rac1'succeeded

CRS-2672:

Attemptingtostart'ora.mdnsd'on'rac1'

CRS-2676:

Startof'ora.mdnsd'on'rac1'succeeded

CRS-2672:

Attemptingtostart'ora.gipcd'on'rac1'

CRS-2676:

Startof'ora.gipcd'on'rac1'succeeded

CRS-2672:

Attemptingtostart'ora.gpnpd'on'rac1'

CRS-2676:

Startof'ora.gpnpd'on'rac1'succeeded

CRS-2672:

Attemptingtostart'ora.cssdmonitor'on'rac1'

CRS-2676:

Startof'ora.cssdmonitor'on'rac1'succeeded

CRS-2672:

Attemptingtostart'ora.cssd'on'rac1'

CRS-2672:

Attemptingtostart'ora.diskmon'on'rac1'

CRS-2676:

Startof'ora.diskmon'on'rac1'succeeded

CRS-2676:

Startof'ora.cssd'on'rac1'succeeded

CRS-2672:

Attemptingtostart'ora.ctssd'on'rac1'

CRS-2676:

Startof'ora.ctssd'on'rac1'succeeded

CRS-2672:

Attemptingtostart'ora.asm'on'rac1'

CRS-2676:

Startof'ora.asm'on'rac1'succeeded

CRS-2672:

Attemptingtostart'ora.crsd'on'rac1'

CRS-2676:

Startof'ora.crsd'on'rac1'succeeded

CRS-2672:

Attemptingtostart'ora.evmd'on'rac1'

CRS-2676:

Startof'ora.evmd'on'rac1'succeeded

CRS-2672:

Attemptingtostart'ora.asm'on'rac1'

CRS-2676:

Startof'ora.asm'on'rac1'succeeded

CRS-2672:

Attemptingtostart'ora.DATA.dg'on'rac1'

CRS-2676:

Startof'ora.DATA.dg'on'rac1'succeeded

CRS-2672:

Attemptingtostart'ora.registry.acfs'on'rac1'

CRS-2676:

Startof'ora.registry.acfs'on'rac1'succeeded

rac12009/09/2521:

07:

03/u01/app/11.2.0/grid/cdata/rac1/backup_20090925_210703.olr

Preparingpackagesforinstallation...

cvuqdisk-1.0.7-1

ConfigureOracleGridInfrastructureforaCluster...succeeded

Updatinginventorypropertiesforclusterware

StartingOracleUniversalInstaller...

Checkingswapspace:

mustbegreaterthan500MB.Actual755MBPassed

Theinventorypointerislocatedat/etc/oraInst.loc

Theinventoryislocatedat/u01/app/oraInventory

'UpdateNodeList'wassuccessful.

 

Waitfortheconfigurationassistantstocomplete.

 

WeexpecttheverificationphasetofailwithanerrorrelatingtotheSCAN,assumingyouarenotusingDNS.

INFO:

CheckingSingleClientAccessName(SCAN)...

INFO:

Checkingnameresolutionsetupfor"rac-scan.localdomain"...

INFO:

ERROR:

INFO:

PRVF-4664:

FoundinconsistentnameresolutionentriesforSCANname"rac-scan.localdomain"

INFO:

ERROR:

INFO:

PRVF-4657:

Nameresolutionsetupcheckfor"rac-scan.localdomain"(IPaddress:

192.168.2.201)failed

INFO:

ERROR:

INFO:

PRVF-4664:

FoundinconsistentnameresolutionentriesforSCANname"rac-scan.localdomain"

INFO:

VerificationofSCANVIPandListenersetupfailed

Providedthisistheonlyerror,itissafetoignorethisandcontinuebyclickingthe"Next"button.

Clickthe"Close"buttontoexittheinstaller.

最后验证时出现错误[INS-20802]OracleClusterVerificationUtilityfailed.

是因为在Hosts配置文件里配置了SCAN,未启用DNS解析,不影响RAC正常运行

点ok后完成安装.

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

当前位置:首页 > 高等教育 > 工学

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

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