68
Emmanuel's Blog An Oracle database blog Home Home About Me Type text to search here... Home > Database 11g , Installation Guides > Installing Oracle Database 11g R2 on Oracle Linux 6.3 with ASM (ENG) Installing Oracle Database 11g R2 on Oracle Linux 6.3 with ASM (ENG) August 10, 2012 Emmanuel Leave a comment Go to comments On this post, i am going to show you how to install a single instance Oracle Database 11g release 2 with ASM using Oracle Enterprise Linux 6 x86_64 and role separation. In order to setup the environment you will need: The Oracle Database 11g Software (11.2.0.3). LINK The Oracle Grid Infrastructure 11g Software (11.2.0.3). LINK The Oracle Linux 6.3 x86_64 installation CD/ISO. LINK A Virtual Machine/ Server with x86_64 support Note: You will need your OTN login in order to download the products. If you don’t have one, go ahead and register. I am going to use Oracle Virtual Box to setup the lab. Here are the details for the VM. Name: oralab1 RAM: 3.5 GB Hostname: oralab1.localdomain Ip: 192.168.10.151/255.255.255.0 gw 192.168.10.1 Nics: 1 bridged adapter Disks: 1 * 54 GB, 3 * 9 GB We are going to make the installation in the following order. 1. Installing and configuring the Operating system . 2. Installing Oracle Grid Infrastructure and ASM . 3. Installing the Database Software and creating the Database. Let’s Begin PART I – Installing and configuring Oracle Enterprise Linux 6 x86_64 Once you create your VM/Server and downloaded your Linux media, boot your VM/Server to begin the installation.

Installing Oracle Database 11g R2 on Oracle Linux 6

Embed Size (px)

DESCRIPTION

DB

Citation preview

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 1/68

    Emmanuel'sBlogAnOracledatabaseblog

    HomeHomeAboutMe

    Typetexttosearchhere... Home>Database11g,InstallationGuides>InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)

    InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)

    August10,2012EmmanuelLeaveacommentGotocomments

    Onthispost,iamgoingtoshowyouhowtoinstallasingleinstanceOracleDatabase11grelease2withASMusingOracleEnterpriseLinux6x86_64androleseparation.

    Inordertosetuptheenvironmentyouwillneed:

    TheOracleDatabase11gSoftware(11.2.0.3).LINKTheOracleGridInfrastructure11gSoftware(11.2.0.3).LINKTheOracleLinux6.3x86_64installationCD/ISO.LINKAVirtualMachine/Serverwithx86_64support

    Note:YouwillneedyourOTNlogininordertodownloadtheproducts.Ifyoudonthaveone,goaheadandregister.

    IamgoingtouseOracleVirtualBoxtosetupthelab.HerearethedetailsfortheVM.

    Name:oralab1RAM:3.5GBHostname:oralab1.localdomainIp:192.168.10.151/255.255.255.0gw192.168.10.1Nics:1bridgedadapterDisks:1*54GB,3*9GB

    Wearegoingtomaketheinstallationinthefollowingorder.

    1. InstallingandconfiguringtheOperatingsystem.2. InstallingOracleGridInfrastructureandASM.3. InstallingtheDatabaseSoftwareandcreatingtheDatabase.

    LetsBegin

    PARTIInstallingandconfiguringOracleEnterpriseLinux6x86_64

    OnceyoucreateyourVM/ServeranddownloadedyourLinuxmedia,bootyourVM/Servertobegintheinstallation.

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 2/68

    Oncetheanacondainstallerloadsup,clicknexttobegin

    Follow

    FollowEmmanuel'sBlogGet every new post deliveredto your Inbox.

    Join 129 other followers

    Enteryouremailaddress

    Signmeup

    Build a website with WordPress.com

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 3/68

    Selectyourpreferredlanguageandkeyboard

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 4/68

    Selectyourtypeforstorageandcontinue

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 5/68

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 6/68

    Setupyourhostnameandnetworkinterfacesandcontinue

    Chooseyourtimezone

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 7/68

    Chooseyourrootpassword

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 8/68

    Selectyourtypeofinstallationandcontinue.

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 9/68

    Nextyouwillbepromptedtochoosewhichtypeofserverinstallationyouwant.HereIprefertoselectacustominstallationtoselectonlythepackagesthatineed.

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 10/68

    Inthenextscreenselectalltherequiredpackagesthatyouneed,atleastinclude:

    DesktopEnvironmentXServerAdministrationtoolsOracle11gPreinstallpackageandtheAsmLibdriver

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 11/68

    Onceyouredonewiththepackages,clicknexttobegintheinstallation

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 12/68

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 13/68

    Clickreboottofinish

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 14/68

    Whentheoperatingsystemreboots,youwillneedtocompletethesetupasfollows

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 15/68

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 16/68

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 17/68

    Youcouldcreatethegriduserhere.Iprefertodoitlater,clickForwardtocontinue

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 18/68

    Selectyourtimetocontinue

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 19/68

    ClickFinnish

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 20/68

    Nowyouwillneedtologinusingtherootuser.ThisisbecausetheoracleusercreatedbytheOraclePreinstallpackagedoesnothavepassword.Logonandsetitup

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 21/68

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 22/68

    Disablethefirewall.GogoSystem/Administration/Firewall

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 23/68

    Dependingonyourenvironmentedityournetworkinterfaceasfollows.

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 24/68

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 25/68

    Edityourhostsfilehostsfilewithyourhostnameandip.

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 26/68

    Reloadyournetworkasfollows

    Installyourvirtualboxguestadditions.ThiswillnotbenecessaryifyoureonaphysicalserverorVmWare.

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 27/68

    Createthenecessarydirectoriesandthegriduser.

    Setthenecessarypermissions

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 28/68

    Editthefile/home/grid/.bash_profileandaddthefollowinglinestosetupthegriduserenvironment

    Editthefile/home/oracle/.bash_profileandaddthefollowinglinestosetuptheoracleuserenvironment

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 29/68

    ShutdownyoursystemandaddthenecessarydiskstobeusedasASMdisks.InthiscaseIllcreated3disks

    StartupyousystemandconfigureyouASMdriverastherootuser

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 30/68

    Checkifyourdisksareavailable

    Itstimetosetupthedisks.Asyousawinthepreviousscreenshot,ihavethreeadditionaldisksnamed(/dev/sdb,/dev/sdc,/dev/sdd)weneedtopartitioneachdisksinordertomakethemavailableforASM.Wewillusefdisktopartitionthem,hereistheorderyoullhavetofollow.

    1. fdisk/dev/sdb2. n,p,1,1,w3. fdisk/dev/sdc4. n,p,1,1,w5. fdisk/dev/sdd

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 31/68

    6. n,p,1,1,w

    Hereishowitlookslike:

    Letscheckagainourdisks.Youwillnoticethat3moredevicesappear,thosearethepartitionwecreated.

    NextletsdisableSELinuxasfollowsvi/etc/selinux/config

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 32/68

    CreateyourASMdisksasfollows

    oracleamcreatediskDISK1/dev/sdb1

    oracleamcreatediskDISK2/dev/sdc1

    oracleamcreatediskDISK3/dev/sdd1

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 33/68

    Atthispointwewillhaveourserverreadyforthegridinfrastructureinstallation.

    PARTIIInstallingOracleGridInfrastructure11.2.0.3andASM

    InthisinstallationwewilluseroleseparationofdutieswewillproceedasthegriduserwhosgoingtobetheGRID_HOMEowner

    Ifyouhavedownloadedallthefilesrequired,unzipthefilep10404530_112030_Linuxx8664_3of7.zipasfollows

    Afterunzippingthefile,youwillhaveafoldercalledgrid.Starttheinstallerwith./runInstaler

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 34/68

    Skipthesoftwareupdates

    Selecttheoptionforastandaloneserverasshowninthepicture

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 35/68

    Selectyoulanguages

    CreateonediskgroupcalledDATAwithdisks(DISK1,DISK2)withexternalredundancyashown.

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 36/68

    Specifyapasswordforsysandasmsnmpaccounts

    Leavethedefaultgroupsandcontinue

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 37/68

    ChoosethepathstodeORACLE_BASEandORACLE_HOME

    Note:11.0.3inthepath,shouldbe11.2.3ifyoufollowOFAoryoucanchoosewhateveryouwantinyourORACLE_HOMEpath

    Specifyforinventory

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 38/68

    Nexttheinstallerwillperformacheckonyourserverasshown

    Iftheinstallerfindsthatsomethingisnotrightwithyourserver,itwilltellyoutorunsomefixupscripts.Run

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 39/68

    themasrootuntilyourgood

    Oncereadycontinuewiththeinstallation

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 40/68

    Duringtheinstallationyouwillpromptedtoruntwoscriptsarootuser,runthemtocontinue

    Aftertheinstallationendsclickclosetofinnish

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 41/68

    Toverifytheinstallationjustexecutethecommandcrsctlstatusresourcetasgriduser

    Andwithsqlplus

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 42/68

    AtthispointwehaveourOracleRestartandASMinplace.

    PARTIIIInstallingtheDatabaseSoftwareandcreatingtheDatabase

    Nowwearegoingtoinstallthedatabasesoftwareastheoracleuser.Unzipallthefilesrequiredasfollows

    unzipp10404530_112030_Linuxx8664_1of7.zipunzipp10404530_112030_Linuxx8664_2of7.zip

    Youllhaveafoldercalleddatabaseletsgetinsideandejecutetheoracleinstallerwith./runInstaller

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 43/68

    IfyouhavetoyOracleSupportcredencialsputtheminplaceandcontinue.

    SkipSofwareupdatesifyouwantandcontinue

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 44/68

    Selectinstallsoftwareonlyandcontinue

    SelectSingleinstanceDatabaseinstallationandcontinue

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 45/68

    Selectyourlanguageandcontinue

    SelectenterpriseEditionortheoneyoupreferandcontinue

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 46/68

    ChooseyourORACLE_BASEandORACLE_HOME

    Reviewyourinstallationandclickinstalltoproceed

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 47/68

    Astheinstallationgoeson,youwillneedtoexecuteascriptastherootuser

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 48/68

    Attheendoftheinstallationyouwillseesomethinglikethis.

    Nowletscreateourdatabasewithdbca.Astheoracleuserexecutethedbca

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 49/68

    Selectcreateadatabase

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 50/68

    Selectyourtemplate,thistimeweregoingtoselectgeneralpurpose

    WriteyourGlobaldatabasenameandsid

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 51/68

    Choosetoconfiguretheenterprisemanager

    Writeinthepasswordsfortheadministrativeusers

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 52/68

    Choosethestorageforyourdatabase.SelectASMandwritethenameofyourdiskgroup.

    Specifyyourasmcredentials

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 53/68

    ChoosetoenableornotarchivingandtheFRAforyoudatabase.Thistimewearenotgoingtosetitup.NOTRECOMMENDEDINPRODUCCTIONSYSTEM.

    Adjustyourmemorysettingsasyouwantorleavethedefaults

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 54/68

    Nextreviewyourdatabasestorage.Youdontreallyneedyomodifyanythinghere.

    OnthesummaryscreenclickOKtobeginthecreationofthedatabase

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 55/68

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 56/68

    Attheendyouwillseeasummaryofthedatabaseyoujustcreated

    Letsverify

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 57/68

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 58/68

    Done!WenowhaveafullyfunctionalsingledatabaseinstanceusingASMforstorageoverOracleLinux6.

    GoodLuck!

    Emmanuel

    Sharethis:

    Twitter Facebook 2

    Categories:Database11g,InstallationGuidesTags:ASM,oracledatabase11g

    About these ads

    Like

    Onebloggerlikesthis.

    Related

    InstallingOracle11gR2(11.2.0)onOracleLinux5.4(ENG)

    InstallingOracleRAC10gR2onOracleLinux5.6x86_64usingVirtualBox(ENG)

    MovinganOracledatabasefromfilesystemtoASM(ENG)

    In"Database11g"In"Database10g"

    In"Database11g"

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 59/68

    Comments(30)Trackbacks(0)LeaveacommentTrackback

    1.p3p3September10,2012at7:13amReply

    TheOracleDatabase11gSoftware(11.2.0.3)isntfree,youwillneedthesupportlicensetodownload.

    EmmanuelSeptember10,2012at11:02amReply

    Youareright.Ifyoudonthaveasupportlicenceyoucanusethe11.2.0.1(2)

    2.PierreBoizotOctober25,2012at8:29amReply

    HiEmmanuel,Whydonthaveusedasmlib?withthediscoveringpathORCL:*Pierre

    EmmanuelOctober25,2012at11:57amReply

    HiPierre,

    Youcanuseorcl:*inthediscoverypathaswell.IjustliketousethedefaultpathwhereASMLIBcreatethedisks.

    Regards.

    3.PierreBoizotOctober25,2012at8:30amReply

    HaveyoutrytouseADVM/ACFS?Pierre

    EmmanuelOctober25,2012at12:05pm

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 60/68

    Reply

    Yes,

    Inordertoprepareforthe1z0058youmusthaveagoodunderstandingofADVMandACFS.Bytheway,imworkinginatutorialtomakeacoldfailoversingleinstancedatabase.Wellmakeuseofsomeofthat.

    Regards.

    4.dinggafatihbahteradpFebruary28,2013at12:19amReply

    Hiemmanuel,

    IvefinishedistalledASM(11.2.0.3),butwhenItriedinstallingoracledatabase,Icantinstalltheoracledatabase11gR2,hereistheoutput:===========[oracle@bahteralab~]$cddatabase/[oracle@bahteralabdatabase]$./runInstallerYoudonothavesufficientpermissionstoaccesstheinventory/u01/app/oraInventory.Installationcannotcontinue.Itisrequiredthattheprimarygroupoftheinstalluserissameastheinventoryownergroup.Makesurethattheinstalluserispartoftheinventoryownergroupandrestarttheinstaller.:Permissiondenied[oracle@bahteralabdatabase]$=========

    anyimpacttoASMifIchangetheowner/u01/app/oraInventoryfromtoownergridtobeowneroracle?Ineedyourhelptoresolvethiserror.

    ManyThanks,

    EmmanuelFebruary28,2013at4:41pmReply

    HiDingga

    Changingtheowneroftheinventorywillnotcauseanyproblemstotheexistinginstallation.youcoulddoitwithchownoracle:oinstall.Beforedoingthatmakesurethatoracleispartofthedba/oinstallgroup.Itsstrangethatyouarefacingthatissueifyouchangedtheownershiptogrid:oinstallwheninstallingtheclusterware.

    Regards.

    dinggaMarch1,2013at4:12am

    HiEmmanuel,

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 61/68

    TheproblemhasbeensolvedafterIexecutedthecommandusermodgoinstallGdba,asmdba,operoracle.Installationoracledatabase11ghasbeenfinished.butIfoundthenewissueafterIexecutecommandcreateSPFILEfromPFILE,belowistheoutput:====SQL>createSPFILEfromPFILE=/u01/app/oracle/product/11.0.3/db1/dbs/init.ora'

    Filecreated.

    SQL>startupnomountORA48108:invalidvaluegivenforthediagnostic_destinit.oraparameterORA48140:thespecifiedADRBasedirectorydoesnotexist[/u01/app/oracle/product/11.0.3/db1/dbs/]ORA48187:specifieddirectorydoesnotexistLinuxx86_64Error:2:NosuchfileordirectoryAdditionalinformation:1==========couldyoupleasehelpmetoresolvetheissue?

    Thanks.

    5.dinggaMarch1,2013at4:57amReply

    HiEmmanuel,

    Theissuestartuphasbeensolved,butIcantcreatethedatabase,========================SQL>oracle@bahteralab~]$sqlplus/assysdba

    SQL*Plus:Release11.2.0.3.0ProductiononFriMar115:54:052013

    Copyright(c)1982,2011,Oracle.Allrightsreserved.

    Connectedto:OracleDatabase11gEnterpriseEditionRelease11.2.0.3.064bitProductionWiththePartitioning,OLAP,DataMiningandRealApplicationTestingoptions

    SQL>startupnomountORACLEinstancestarted.

    TotalSystemGlobalArea567869440bytesFixedSize2230392bytesVariableSize171968392bytesDatabaseBuffers390070272bytesRedoBuffers3600384bytesSQL>SQL>CREATEDATABASEorclCREATEDATABASEorcl*

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 62/68

    ERRORatline1:ORA01501:CREATEDATABASEfailedORA00200:controlfilecouldnotbecreatedORA00202:controlfile:+DATA/orcl/controlfile/current.260.808585161ORA17502:ksfdcre:4Failedtocreatefile+DATA/orcl/controlfile/current.260.808585161ORA15046:ASMfilename+DATA/orcl/controlfile/current.260.808585161isnotinsinglefilecreationform

    SQL>===========

    couldyoupleasehelpme?

    Thanks,

    EmmanuelMarch1,2013at7:33amReply

    HiYoucouldbemissingsomethinginthecreatedatabasecommand.Whydontyouusedbcatocreatededatabase.?

    6.FormigaMarch11,2013at8:20amReply

    Hi.Verygoodthispost.Oneimportantquestion:IneedGRIDCONTROL.ButyouareshowingDATABASECONTROL.ButinPARTIIInstallingOracleGridInfrastructure11.2.0.3andASM,youtalkaboutGRID.Idonealllistedhere.But,attheend,IhaveDATABASECONTROLrunning.HowtochangethistoGRIDCONTROL?Thanks.Formiga

    EmmanuelMarch11,2013at1:31pmReply

    OracleGridControlisadifferentproductthatneedstobeinstalledonitsown.Itiseasetoconfuseitwithdatabasecontrolbecausetheinterfaceisverysimilar(versions10g&11g)butisnotthesamething.

    Youshouldcheckitouthere:http://www.oracle.com/technetwork/oem/gridcontrol/downloads/index.html

    DBAsusuallycallGRID,CRSandClusterwaretotheASM+Clusterwarecomponentofthe

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 63/68

    databaseserver.Anotherthingcommonistocreateagridusertobetheownerofthosecomponentsaswell.

    Regards.

    7.EmmanuelJune13,2013at6:50pmReply

    Thatseemstobesomemissingpackages.Didyouinstalledtheoraclepreinstallpackageasshowninthetutorial?

    DevJune13,2013at11:26pmReply

    ImissedthatstepsinceihadalreadyinstalledtheOSandwaslookingfordocumenttoinstallASMandfoundyourforumandstartedinstallingdirectly.Canweinstallthepackagenow?Whatistheexactnameofpackage

    EmmanuelJune14,2013at10:47am

    Thenameis:oraclerdbmsserver11gR2preinstallyoucouldfindmoreinfo:http://www.oracle.com/technetwork/articles/serversstorageadmin/ginnydbinstallonlinux61845247.html

    devJune17,2013at3:44pm

    HIEmmanuelIinstalledthepackagereferredbyyoubutstilliseethesameerror.Couldyoupleaseletmeknowwhattodonext.

    8.DevJune13,2013at10:57pmReply

    HiEmmanuel

    Thanksforthedetaileddocument.Itisveryhelpful.Iamstuckatapointwhileinstallingdatabase.WheniselectthestoragetypeasASMandenterthedisknameas+DATAandhitnextitgivingmeanerrorasbelow.cannotuseASMfordatabasestorageduetofollowingreason:couldnotconnecttoasmduetofollowingerrorora01031:insufficientprivilege.

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 64/68

    Couldyoupleasehelpmeoutofthis.

    EmmanuelJune14,2013at10:45amReply

    DidyouinstalledASMwithanotheruser?

    devJune17,2013at3:43pm

    HIEmmanuelSorryforthelatereply.IInstalledGRIDandASMi.e.PARTIIintheabovestepsasgriduserandtheoraclesoftwareasoracleuser.

    9.DevJune13,2013at11:15pmReply

    ImissedthatstepsinceihadalreadyinstalledtheOSandwaslookingfordocumenttoinstallASMandfoundyourforumandstartedinstallingdirectly.Canweinstallthepackagenow?Whatistheexactnameofpackage

    10.lonelymoonJune14,2013at7:28pmReply

    Hi,Yesihavealreadyinstallitandstillgetthesameerror

    pleasecanyoutesttheinstallationwithoracle6.4toseetheerrorthatiget?

    pleaseireallyneedyourhelp

    EmmanuelJune14,2013at7:40pmReply

    Itshouldinstallprettywellifyoufollowthestepsfromthebeginning.Ibelievetherearemayorchangesin6.3.Illtryit.Andletyouknow.

    11.lonelymoon

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 65/68

    June14,2013at8:55pmReply

    Thankyousomuchforyourtimeillbeveryhappyifitworksforme

    Please,notealsothecustomespackagesthatyouwillchoosewheninstallingoracle6.4.assoilldothesomestepslikeyou.

    Thankyou(andsorryformyenglish

    EmmanuelJune15,2013at12:45amReply

    Honestly,Ididnotunderstand.DoyoumeanIfIknowthatpackagename?

    12.lonelymoonJune15,2013at2:02amReply

    sorrywhatimeanthatswhenullinstalloracle6.,letmeknowwhatexactlyyougonnachooseincostumespackageinordertodolikeyou

    13.RobSandierJune26,2013at11:35amReply

    HelloEmmanuel,

    First,thankyouforcreatingsuchafineandveryhelpfulblog.ThisistrulyaGodsendforpeoplelikemywifeandmyselfwhoareOraclenewbiesandwonderinghowtogetstarted.WearebothenrolledinOracleclassroomtaughtclassesandareworkingourwaythroughthisandrecognizedearlyonthattheonlywaywearegoingtotrulybeabletolearnOracledbandgetcertifiedsothatwecanworkinthefieldistoinstalloracleonahomePCsothatwecanworkallofthelabsandclassroomexercises.IdohaveacoupleofquestionsthatIamhopingyoucanhelpmewith.Yousaidupaboveatthebeginning:

    Inordertosetuptheenvironmentyouwillneed:

    TheOracleDatabase11gSoftware(11.2.0.3).LINKTheOracleGridInfrastructure11gSoftware(11.2.0.3).LINKTheOracleLinux6.3x86_64installationCD/ISO.LINKAVirtualMachine/Serverwithx86_64support

    Wedonothaveavirtualmachine.Instead,weboughtanewPCandweplanoninstallingOracleLinux6.4onit.Myquestionisthis:Willwebeabletodothis(installOraclelinux6.4onanewPCusingtheguidelinesyououtlineforversion6.3?)ThankyousomuchforreadingthisandIdolookforwardtoyourreply!

    Rob

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 66/68

    EmmanuelJune26,2013at12:24pmReply

    Yesyoucan.Justfollowthesamestepsandavoidthepartofcreatingthevm.Rememberthatavmisjustlikeapcorserverbutwithvirtualhardware.

    14.wxsiaOctober23,2013at3:34pmReply

    millionthanks&appreciateforsharingsuchagoodarticle/tutorial=)

    15.moreinfoMarch9,2014at11:35pmReply

    UsuallyIdonotlearnafticleonblogs,butIwouldliketosaythatthiswriteupverypressuredmetotryanddooso!Yourwritingstylehasbeensurprisedme.Thanks,quitenicearticle.

    1. Notrackbacksyet.

    LeaveaReply

    MovinganOracledatabasefromfilesystemtoASM(ENG)HowtoresolveError1418SqlServer2005databasemirroring(ENG)RSSfeed

    RecentPosts

    ThetwelveDBAruleofthumb.OaktableWorld2013

    Enteryourcommenthere...

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 67/68

    11.2.0.4patchsetBecomingOCMOracledatabase12cOCPUpgradeExamTopics

    Categories

    Certification(5)Database10g(1)Database11g(9)Database9i(1)Dataguard(1)InstallationGuides(5)Linux(9)RAC(3)SqlServer(1)Uncategorized(3)VirtualBox(1)VMware(1)

    ASMCertificationDatabaseupgradeDataguardError1418LinuxOracleDatabaseoracledatabase10goracledatabase11gOracledatabase12cOracleLinuxOracleMMAOracleRACOWW13SolarisSuseLinuxVirtualBoxVMwareWebcast

    Archives

    February2014October2013August2013July2013June2013March2013February2013October2012September2012August2012July2012February2012

    August2012M T W T F S S

    Jul Sep

    1 2 3 4 56 7 8 9 10 11 1213 14 15 16 17 18 1920 21 22 23 24 25 2627 28 29 30 31

    Enteryouremailaddress

    FollowThisBlog

  • 6/6/2015 InstallingOracleDatabase11gR2onOracleLinux6.3withASM(ENG)|Emmanuel'sBlog

    https://eudba.wordpress.com/2012/08/10/installingoracle11gonoraclelinux6withasmeng/ 68/68

    BlogStats

    68,978hits

    TopBlogatWordPress.com.TheINoveTheme.