aix oracle11 grid安装卸载Word文档下载推荐.docx

上传人:b****4 文档编号:8134189 上传时间:2023-05-10 格式:DOCX 页数:26 大小:1.37MB
下载 相关 举报
aix oracle11 grid安装卸载Word文档下载推荐.docx_第1页
第1页 / 共26页
aix oracle11 grid安装卸载Word文档下载推荐.docx_第2页
第2页 / 共26页
aix oracle11 grid安装卸载Word文档下载推荐.docx_第3页
第3页 / 共26页
aix oracle11 grid安装卸载Word文档下载推荐.docx_第4页
第4页 / 共26页
aix oracle11 grid安装卸载Word文档下载推荐.docx_第5页
第5页 / 共26页
aix oracle11 grid安装卸载Word文档下载推荐.docx_第6页
第6页 / 共26页
aix oracle11 grid安装卸载Word文档下载推荐.docx_第7页
第7页 / 共26页
aix oracle11 grid安装卸载Word文档下载推荐.docx_第8页
第8页 / 共26页
aix oracle11 grid安装卸载Word文档下载推荐.docx_第9页
第9页 / 共26页
aix oracle11 grid安装卸载Word文档下载推荐.docx_第10页
第10页 / 共26页
aix oracle11 grid安装卸载Word文档下载推荐.docx_第11页
第11页 / 共26页
aix oracle11 grid安装卸载Word文档下载推荐.docx_第12页
第12页 / 共26页
aix oracle11 grid安装卸载Word文档下载推荐.docx_第13页
第13页 / 共26页
aix oracle11 grid安装卸载Word文档下载推荐.docx_第14页
第14页 / 共26页
aix oracle11 grid安装卸载Word文档下载推荐.docx_第15页
第15页 / 共26页
aix oracle11 grid安装卸载Word文档下载推荐.docx_第16页
第16页 / 共26页
aix oracle11 grid安装卸载Word文档下载推荐.docx_第17页
第17页 / 共26页
aix oracle11 grid安装卸载Word文档下载推荐.docx_第18页
第18页 / 共26页
aix oracle11 grid安装卸载Word文档下载推荐.docx_第19页
第19页 / 共26页
aix oracle11 grid安装卸载Word文档下载推荐.docx_第20页
第20页 / 共26页
亲,该文档总共26页,到这儿已超出免费预览范围,如果喜欢就下载吧!
下载资源
资源描述

aix oracle11 grid安装卸载Word文档下载推荐.docx

《aix oracle11 grid安装卸载Word文档下载推荐.docx》由会员分享,可在线阅读,更多相关《aix oracle11 grid安装卸载Word文档下载推荐.docx(26页珍藏版)》请在冰点文库上搜索。

aix oracle11 grid安装卸载Word文档下载推荐.docx

∙gpfs.base3.2.1.8 

AIX6.1:

∙bos.perf.libperfstat6.1.2.1 

∙xlC.aix61.rte.10.1.0.0 

AIX7.1:

∙bos.perf.libperfstat

∙xlC.rte.11.1.0.2 

∙gpfs.base3.3.0.11 

AIX7.2:

∙xlC.aix61.rte.13.1.2.0 

∙xlc.rte.13.1.2.0 

2,创建oracle用户

ThefollowinglocaloperatingsystemgroupsandusersarerequiredifyouareinstallingOracleDatabase:

∙TheOracleInventorygroup(oinstall)

∙TheOSDBAgroup(dba)

∙TheOraclesoftwareowner(oracle)

#smitmkgroup创建oinstall和dba组

#smitmkuser创建oracle用户,同时把oracle的主组设置为oinstall,属组设置为dba

#passwdoracle给一个密码

#idoracle

uid=202(oracle)gid=201(oinstall)groups=202(dba)

3,修改系统参数

ulimit 

settings:

Limit

RecommendedValue

SoftFILEsize

-1(Unlimited)

SoftCPUtime

SoftDATAsegment

SoftSTACKsize

SoftRealMemorysize

Processes(peruser)

kernelparameters:

Parameter

maxuprocs

16384

ncargs

128

tcp_ephemeral_low

32768

tcp_ephemeral_high

65535

udp_ephemeral_low

udp_ephemeral_high

aio_maxreqs 

value:

#ioo–oaio_maxreqs

aio_maxreqs=65536

OnAIX5.3:

#lsattr-Elaio0-amaxreqs

maxreqs65536MaximumnumberofREQUESTSTrue

4, 

创建安装目录

#mkdir-p/u01/app/

#chown-Roracle:

oinstall/u01/app/

#chmod-R775/u01/app/

5,运行rootpre.sh

Runthe 

rootpre.sh 

script:

1.Switchuserto 

root:

2.$su-

3.password:

4.#

5.Completeoneofthefollowingsteps,dependingonthelocationoftheinstallationfiles:

oIftheinstallationfilesareonDVD,enteracommandsimilartothefollowing,where 

directory_path 

isthediscmountpointdirectoryorthepathofthe 

db 

directoryontheDVD:

o#/directory_path/rootpre/rootpre.sh

oIftheinstallationfilesareontheharddisk,changethedirectorytothepathwhere 

existsandenterthefollowingcommand:

o#./rootpre.sh

6.Exitfromtherootaccount:

7.#exit

6,安装数据库软件

运行数据库安装命令

$/mount_point/db/runInstaller

安装数据库软件

Screen

RecommendedAction

ConfigureSecurityUpdates

是否设置自动升级。

Click 

Next.

DownloadSoftwareUpdates

StartingwithOracleDatabase11g 

Release2(11.2.0.2),youcanusetheSoftwareUpdatesfeaturetodynamicallydownloadandapplylatestupdates.Selectoneofthefollowingoptionsandclick 

Next:

o

ApplySoftwareUpdates

IfyouselectedUsepre-downloadedsoftwareupdatesinthepreviousscreen,select 

Applyallupdates,andthenclick 

SelectInstallationOption

Select 

Createandconfigureadatabase 

fromthefollowinglistofavailableoptions,thenclick 

oCreateandconfigureadatabase

oInstalldatabasesoftwareonly

oUpgradeanexistingdatabase

SystemClass

ServerClass 

fromthefollowingoptionstoinstallthedatabase,andclick 

Next..

GridInstallationOptions

Singleinstancedatabaseinstallation 

forthetypeofdatabaseinstallationyouwanttoperform,andclick 

SelectInstallType

TypicalInstall 

astheinstallationtypefromthefollowingoptions,andclick 

TypicalInstallConfiguration

ConfirmPassword:

Reenter,andconfirmthepasswordfortheprivilegeddatabaseaccount.

Next 

tocontinue.

CreateInventory

ThisscreenisdisplayedonlyduringthefirstinstallationofOracleproductsonasystem.

SpecifythefullpathoftheOracleInventorydirectory.Ensurethattheoperatingsystemgroupselectedis 

oinstall.Click 

PerformPrerequisiteChecks

Verifythatalltheprerequisitecheckssucceed,andthenclick 

OracleUniversalInstallerchecksthesystemtoverifythatitisconfiguredcorrectlytorunOraclesoftware.Ifyouhavecompletedallthepreinstallationstepsinthisguide,allthechecksshouldpass.

Ifacheckfails,thenreviewthecauseofthefailurelistedforthatcheckonthescreen.Ifpossible,rectifytheproblemandrerunthecheck.Alternatively,ifyouaresatisfiedthatyoursystemmeetstherequirements,thenyoucanselectthecheckboxforthefailedchecktomanuallyverifytherequirement.

Note:

OraclerecommendsthatyouusecautionincheckingtheIgnoreAlloption.Ifyoucheckthisoption,thenOracleUniversalInstallermaynotconfirmthatyoursystemcaninstallOracleDatabasesuccessfully.

Summary

Reviewtheinformationdisplayedonthisscreen,andthenclick 

Install.

StartingwithOracleDatabase11g 

Release2(11.2),youcansavealltheinstallationstepsintoaresponsefilebyclicking 

SaveResponseFile. 

Later,thisfilecanbeusedforasilentinstallation.

InstallProduct

Thisscreenstatestheprogressofadatabaseinstallation.Afterthedatabaseisinstalled,youarepromptedtoexecutesomerootconfigurationscriptfornewinventoryasthe 

root 

user.Click 

Thisscreenthendisplaysthestatusinformationfortheconfigurationassistantsthatconfigurethesoftwareandcreateadatabase.

Finally,amessageisdisplayedaftertheDatabaseConfigurationAssistantprocessiscomplete.Click 

OK.

Executethe 

root.sh 

scriptasthe 

usertocompletetheinstallationandclick 

Finish

Thisscreenisshownautomaticallywhenalltheconfigurationtoolsaresuccessful.

Close.

安装方法与静默安装不同的是在我们先安装oracle软件,再安装数据库(当然你也可以同时一起安装)我们这里选择与静默安装有所不同,也是两种安装方式的不同之处。

进入/u01/app/oracle/database目录下运行./runInstaller,出现如下图形界面,我们也开始了oracle11gR2的安装

 

 

在第一个画面中我们看系统的环境而定,如果我们是内部的生产系统,不接入公网我们不需要填写你的oraclesupport的用户面和密码,这个是用于oracle官方内部给客户发送补丁更新和服务请求的,这里我们直接跳过,点击”Next“,然后继续我们的安装。

跳入以下界面中,我们看到三种安装方式,第一种是安装oracle并创建数据库,第二种是只安装数据库软件,第三是更新一个已存在的数据库,这里我们选择与静默安装的不同我们这里可以选择第二项只安装数据库软件。

继续“Next”

我们这里两项中选择单库单实例安装,选择第一个,继续下一步

我们看到三种不同版本的数据库,我们选择Enterprise 

Edition企业版本安装。

继续

到一下界面我们配置oraclebase的路径与oraclehome的路径,这里其实不需要配置,

Oracle本身会读取环境变量的内容帮我们填写,我们只需查看是否正确即可,继续下一步

看到这一步我们也是需要查看之前在操作系统创建的dba、oinstall两个组,以下是oracle推荐的组的使用方式和

权限的设计,我们选择即可

下一步我们跳入oracle对操作系统环境的检测,我们这里平稳通过。

通过继续下一步

我们开始安装。

等待!

安装完成后,弹出一个窗口让我们用root用户执行两个脚本我们按照提供的路径去运行即可,这里oracle软件就安装完成了!

我们继续安装oracle数据库,还是用OUI通用工具dbca来执行数据库的安装,在命令中输

$dbca

我们来到如下界面

四个选项中我们选择第一个“CreateaDatabase”创建一个数据库,继续下一步

我们三个选项中选择第一个通用安装,这里我们也可以选择customdatabase。

继续下一步

数据库的名字我们把Globaldatabasename与SID可以相同,我们安装的是单实例这里可以一致,这里解释一下两者的区别SID:

数据库至少由一个实例引用,该实例由Oracle系统标识符(SID)唯一地标识,以区别其他实例。

Globaldatabasename 

是扩展物理数据库名字DB_name的方式,防止多个数据库出现的同名。

来到如下界面我们这里可以选择configureEnterpriseManager,这里不是必选项,看需求,automaticmaintenancetasks 

我们保持默认,提示你是否开启自动维护模式

下一步我们选择数据库用户的管理密码,这里我们使用同样的管理密码,密码设置有要求必须为大小写字母加数字

下面我们配置数据文件的存储类型和位置,我们目前选择默认filesystem(JFS2),如果有远端的存储阵列我们可以ASM方式管理

我们继续下一步,看到选择oracle 

快速恢复区域设置,这不是个必选项,我们跳过oracle的特性,这个特性的

选择也要看需求而定。

Enable 

archiving这里也不是必选项,以后也可以配置数据是否要归档,这里也跳过

下一步我们继续配置数据库的内存、字符集,分配内存时我们需要平衡os和数据库SGA和PGA的内存总和,这里

我们设置多少要看项目需求,在实验机器上我们分配的是memory_target是2024MB,sizing选择数据块的大小为8byte,

process默认,charactersets字符集选择为zhs16GBk,国际字符集默认,connectionmode 

也是默认选择专用模式,我们下一步

来到这个界面,完成oracle数据库安装的基本配置后,我们点击finish,开始自动安装

点击“Finish"

开始安装

oracle11gr2安装成功。

数据库卸载

从Oracle11gR2开始,Oracle推荐使用deinstall来卸载Oracle数据库。

交互过程如下:

$ORACLE_HOME/deinstall/deinstall

Checkingforrequiredfilesandbootstrapping...

Pleasewait...

Locationoflogs/tmp/deinstall2017-09-11_02-50-04PM/logs/

############ORACLEDEINSTALL&

DECONFIGTOOLSTART############

#########################CHECKOPERATIONSTART#########################

##[START]Installcheckconfiguration##

CheckingforexistenceoftheOraclehomelocation/u01/app/oracle/product/11.2.0/db_1

OracleHometypeselectedfordeinstallis:

OracleSingleInstanceDatabase

OracleBaseselectedfordeinstallis:

/u01/app/oracle

Checkingforexistenceofcentralinventorylocation/u01/app/oraInventory

Checkingforsufficienttempspaceavailabilityonnode(s):

'

DB074'

##[END]Installcheckconfiguration##

NetworkConfigurationcheckconfigSTART

Networkde-configurationtracefilelocation:

/tmp/deinstall2017-09-11_02-50-04PM/logs/netdc_check2017-09-11_02-50-10-PM.log

SpecifyallSingleInstancelistenersthataretobede-configured[LISTENER]:

(这里需要确认监听器名称,默认值没问题,直接回车)

NetworkConfigurationcheckconfigEND

DatabaseCheckConfigurationSTART

Databasede-configurationtracefilelocation:

/tmp/deinstall2017-09-11_02-50-04PM/logs/databasedc_check2017-09-11_02-51-44-PM.log

Usecommaasseparatorwhenspecifyinglistofvaluesasinput

SpecifythelistofdatabasenamesthatareconfiguredinthisOraclehome[cams]:

(这里需要确认数据库名称,默认值没问题,直接回车)

######ForDatabase'

cams'

######

SingleInstanceDatabase

Thediagnosticdestinationlocationofthedatabase:

/u01/app/oracle/diag/rdbms/cams

StoragetypeusedbytheDatabase:

FS

Databasefilelocation:

/u01/app/oracle/oradata/cams,/u01/app/oracle/fast_recovery_are

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

当前位置:首页 > 法律文书 > 调解书

copyright@ 2008-2023 冰点文库 网站版权所有

经营许可证编号:鄂ICP备19020893号-2