Upload
madhusrib
View
244
Download
0
Embed Size (px)
Citation preview
7/30/2019 Oracle Solaris Cluster Data Service for Oracle Guide
1/118
Oracle Solaris Cluster Data Service orOracle Guide
Part No: 821267810May 2011, Revision A
7/30/2019 Oracle Solaris Cluster Data Service for Oracle Guide
2/118
Copyright 2000, 2011, Oracleand/or itsafliates. Allrights reserved.
LicenseRestrictionsWarranty/ConsequentialDamagesDisclaimer
This sotware and related documentation are provided undera license agreement containingrestrictions on use and disclosure and are protected by intellectualproperty laws. Exceptas expresslypermitted in your license agreementor allowed by law, youmay notuse, copy, reproduce, translate, broadcast, modiy, license,transmit,distribute,exhibit,perorm,publish or display anypart,in anyorm,or by anymeans. Reverse engineering,disassembly,or decompilation o this sotware,unless required by law or interoperability, is prohibited.
WarrantyDisclaimer
Theinormationcontained hereinis subject to changewithout noticeand is notwarranted to be error-ree. I yound anyerrors,please reportthem to us in writing.
RestrictedRights Notice
Ithis is sotware or related documentation that is deliveredto theU.S. Government or anyonelicensing it on behalo theU.S. Government, theollowing noticeisapplicable:
U.S. GOVERNMENT RIGHTS
Programs, sotware, databases, and related documentation and technicaldata deliveredto U.S. Governmentcustomers are "commercialcomputersotware" or"commercial technicaldata" pursuant to the applicableFederalAcquisition Regulationand agency-specic supplemental regulations. As such, the use, duplication,
disclosure, modication,and adaptation shall be subject to therestrictions andlicense terms setorthin theapplicable Government contract,and, to theextentapplicable by the termso the Governmentcontract,the additionalrights set orthin FAR 52.227-19, CommercialComputer Sotware License (December 2007).OracleAmerica,Inc.,500 OracleParkway, Redwood City, CA 94065.
HazardousApplicationsNotice
This sotware or hardware is developedor general usein a variety o inormation management applications. Itis notdeveloped or intended oruse in anyinherentlydangerousapplications, includingapplications that maycreate a risk o personal injury. I youuse this sotware or hardware in dangerousapplications, then youshallbe responsible to take allappropriate ail-sae, backup, redundancy, andothermeasuresto ensure itssae use. OracleCorporationand itsafliatesdisclaimanyliabilityor anydamagescausedby useo this sotware or hardware in dangerousapplications.
TrademarkNotice
Oracleand Java areregistered trademarks o Oracleand/or itsafliates. Other names maybe trademarks o their respective owners.
Inteland Intel Xeon aretrademarks or registered trademarks o Intel Corporation.All SPARCtrademarks areused under license andare trademarks or registeredtrademarks o SPARCInternational,Inc. AMD, Opteron, theAMD logo, andthe AMDOpteron logo aretrademarksor registered trademarks o Advanced MicroDevices. UNIX is a registered trademarko TheOpen Group in theUnited Statesand other countries.
ThirdPartyContent,Products,and ServicesDisclaimer
This sotware or hardware anddocumentation mayprovide accessto or inormation on content, products,and services rom third parties. OracleCorporationanditsafliates arenot responsible orand expresslydisclaimall warranties o anykind with respect to third-party content, products,and services.Oracle Corporationandits afliates will notbe responsible orany loss, costs,or damages incurred dueto your accessto or useo third-party content, products,or services.
Copyright 2000, 2011, Oracleet/ouses aflis. Tous droitsrservs.
Ce logiciel et la documentation quilaccompagnesont protgs parles lois surla propritintellectuelle. Ilssont concds souslicenceet soumis desrestrictionsdutilisation et de divulgation.Sau disposition de votre contrat de licence ou de la loi, vous ne pouvezpas copier, reproduire, traduire,diuser,modier,breveter,transmettre,distribuer,exposer,excuter, publier ou afcherle logiciel,mme partiellement, sous quelque orme et parquelque procd quece soit. Par ailleurs,il estinterdit de procder toute ingnierie inverse du logiciel,de le dsassemblerou de le dcompiler, except desns dinteroprabilitavecdes logicielstiersou telqueprescrit parla loi.
Les inormations ournies dans ce document sont susceptibles de modication sans pravis. Parailleurs, Oracle Corporationne garantit pas quellessoient exemptesderreurs et vous invite, le caschant, luien aire part parcrit.
Sice logiciel,ou la documentation quilaccompagne, estconcd sous licence au Gouvernementdes Etats-Unis, ou toute entitqui dlivre la licence de ce logicielou lutilise pour le comptedu Gouvernementdes Etats-Unis,la noticesuivantesapplique :
U.S. GOVERNMENT RIGHTS. Programs, sotware, databases, and related documentation and technical datadeliveredto U.S. Government customers are"commercial computer sotware" or "commercialtechnical data" pursuant to the applicable Federal Acquisition Regulationand agency-specic supplemental
regulations.As such, theuse, duplication,disclosure,modication, andadaptationshallbe subject to therestrictions andlicensetermsset orth in theapplicableGovernment contract,and, to theextent applicable by thetermso theGovernment contract,the additional rightsset orth in FAR 52.227-19,CommercialComputer Sotware License (December 2007).Oracle America, Inc.,500 Oracle Parkway, Redwood City,CA 94065.
Ce logiciel ou matriel a tdvelopp pour un usage gnral dans le cadre dapplicationsde gestiondes inormations. Ce logiciel ou matriel nestpas conu ni nestdestin tre utilis dans desapplications risque, notammentdans desapplications pouvant causerdes dommages corporels. Si vous utilisez ce logiciel ou matrieldans le cadre dapplicationsdangereuses,il estde votre responsabilit de prendre toutesles mesures de secours, de sauvegarde, de redondance et autresmesuresncessaires son utilisation dans des conditionsoptimalesde scurit. Oracle Corporationet ses aflis dclinent touteresponsabilitquant aux dommages causspar lutilisation de ce logiciel ou matriel pource typedapplications.
Oracleet Java sont desmarques dposes dOracleCorporationet/oude sesaflis.Tout autre nommentionn peut correspondre desmarques appartenant dautres propritaires quOracle.
AMD, Opteron, le logo AMDet le logo AMDOpteron sont desmarques ou desmarques dposes dAdvanced Micro Devices. Intel et Intel Xeon sont desmarques ou
desmarques dposes dIntel Corporation.Toutes lesmarques SPARCsont utilisessous licence et sont desmarques ou desmarques dposes de SPARCInternational, Inc. UNIX estune marquedpose concd souslicense parX/Open Company, Ltd.
110622@25097
7/30/2019 Oracle Solaris Cluster Data Service for Oracle Guide
3/118
Contents
Preace .....................................................................................................................................................9
1 Installing and Confguring HA or Oracle ........................................................................................ 15
Overview o the Installation and Conguration Process or HA or Oracle ................................ 16
Planning the HA or Oracle Installation and Conguration .......................................................... 18
Conguration Requirements ...................................................................................................... 18
Conguration Planning Questions ............................................................................................ 20
Preparing the Nodes and Disks .......................................................................................................... 21
How to Prepare the Nodes .......................................................................................................... 21
How to Congure the Oracle Database Access Using Solaris Volume Manager ................. 23
How to Congure the Oracle Database Access Using Veritas Volume Manager ................ 24
How to Congure the Oracle Database Access Using Oracle ASM ....................................... 24
How to Congure an Oracle Grid Inrastructure or Clusters SCAN Listener .................... 25
Installing the Oracle ASM Sotware .................................................................................................. 26Veriying the Oracle ASM Sotware Installation ............................................................................. 27
Installing the Oracle Sotware ............................................................................................................ 27
How to Install the Oracle Sotware ............................................................................................ 27
How to Set the Oracle Kernel Parameters ................................................................................. 29
Veriying the Oracle Installation and Conguration ...................................................................... 29
How to Veriy the Oracle Installation ........................................................................................ 30
Creating an Oracle Database .............................................................................................................. 30
How to Create a Primary Oracle Database ................................................................................ 30
Setting Up Oracle Database Permissions .......................................................................................... 31
How to Set Up Oracle Database Permissions ........................................................................... 32
Installing the HA or Oracle Packages ............................................................................................... 35
How to Install the HA or Oracle Packages ............................................................................... 35
Registering and Conguring HA or Oracle .................................................................................... 37Tools or Registering and Conguring HA or Oracle ............................................................ 37
3
7/30/2019 Oracle Solaris Cluster Data Service for Oracle Guide
4/118
Setting HA or Oracle Extension Properties ............................................................................. 37
How to Register and Congure HA or Oracle (clsetup) ...................................................... 38
How to Register and Congure HA or Oracle Without Oracle ASM (CLI) ........................ 42How to Register and Congure HA or Oracle With Single Instance Oracle ASM (CLI) ... 50
How to Create an Oracle Grid Inrastructure Resource With Clustered Oracle ASM DiskGroups and a Third-Party Volume Manager (CLI) ................................................................. 53
How to Register and Congure HA or Oracle With Clustered Oracle ASM Instance(CLI) .............................................................................................................................................. 57
Where to Go From Here .............................................................................................................. 64
Veriying the HA or Oracle Installation .......................................................................................... 64How to Veriy the HA or Oracle Installation ........................................................................... 64
Oracle Clients ............................................................................................................................... 65
Location o HA or Oracle Log Files .......................................................................................... 66
Tuning the HA or Oracle Fault Monitors ........................................................................................ 66
Operation o the Oracle Server Fault Monitor ......................................................................... 67
Operation o the Oracle Listener Fault Monitor ...................................................................... 69
Obtaining Core Files or Troubleshooting DBMS Timeouts ................................................. 70
Customizing the HA or Oracle Server Fault Monitor .................................................................... 70
Dening Custom Behavior or Errors ....................................................................................... 71
Propagating a Custom Action File to All Nodes in a Cluster .................................................. 79
Speciying the Custom Action File That a Server Fault Monitor Should Use ....................... 79
Upgrading HA or Oracle Resource Types ....................................................................................... 80
Upgrading the SUNW.oracle_listener Resource Type ......................................................... 81
Upgrading the SUNW.oracle_server Resource Type ............................................................. 82
Changing the Role o an Oracle Data Guard Instance .................................................................... 83
How to Change the Role o an Oracle Data Guard Instance ................................................... 84
A HA or Oracle Extension Properties .................................................................................................. 85
SUNW.oracle_server Extension Properties .................................................................................... 85
SUNW.oracle_listener Extension Properties ................................................................................ 89
B Preset Actions or DBMS Errors and Logged Alerts ....................................................................... 91
C Sample Confgurations or Oracle ASM with HA or Oracle ...........................................................99
Choosing the Appropriate Oracle ASM Instance ............................................................................ 99
Contents
OracleSolarisCluster Data Serviceor OracleGuide May2011, RevisionA4
7/30/2019 Oracle Solaris Cluster Data Service for Oracle Guide
5/118
Single Instance Oracle ASM with Separate Disk Groups .............................................................. 100
Clustered Oracle ASM with Clustered Disk Groups ..................................................................... 103
Single Instance Oracle ASM with Separate Disk Groups in a Non-Global Zone ....................... 108
Index ................................................................................................................................................... 113
Contents
5
7/30/2019 Oracle Solaris Cluster Data Service for Oracle Guide
6/118
6
7/30/2019 Oracle Solaris Cluster Data Service for Oracle Guide
7/118
Tables
TABLE 11 Task Map: Installing and Conguring HAor Oracle ........................................... 16
TABLE 12 Task Map: Installing and Conguring HA or Oracle with Single Instance OracleASM ............................................................................................................................ 17
TABLE 13 Task Map: Installing and Conguring HA or Oracle with Clustered OracleASM ............................................................................................................................ 17
TABLE 14 Resource Types or HA or Oracle Fault Monitors ................................................ 66
TABLE B1 Preset Actions or DBMS Errors .............................................................................. 91
TABLE B2 Preset Actions or Logged Alerts .............................................................................98
7
7/30/2019 Oracle Solaris Cluster Data Service for Oracle Guide
8/118
8
7/30/2019 Oracle Solaris Cluster Data Service for Oracle Guide
9/118
Preace
Oracle Solaris Cluster Data Service or Oracle Guideexplains how to install and congure Oracle
Solaris Cluster data services.
Note This Oracle Solaris Cluster release supports systems that use the SPARC and x86 amilieso processor architectures: UltraSPARC, SPARC64, AMD64, and Intel 64. In this document, x86reers to the larger amily o 64-bit x86 compatible products. Inormation in this documentpertains to all platorms unless otherwise specied.
This document is intended or system administrators with extensive knowledge o Oraclesotware and hardware. Do not use this document as a planning or presales guide. Beorereading this document, you should have already determined your system requirements andpurchased the appropriate equipment and sotware.
The instructions in this book assume knowledge o the Oracle Solaris Operating System andexpertise with the volume-manager sotware that is used with Oracle Solaris Cluster sotware.
Using UNIX CommandsThis document contains inormation about commands that are specic to installing andconguring Oracle Solaris Cluster data services. The document does notcontaincomprehensive inormation about basic UNIX commands and procedures, such as shuttingdown the system, booting the system, and conguring devices. Inormation about basic UNIXcommands and procedures is available rom the ollowing sources:
Online documentation or the Oracle Solaris Operating System Oracle Solaris Operating System man pages Other sotware documentation that you received with your system
9
7/30/2019 Oracle Solaris Cluster Data Service for Oracle Guide
10/118
Typographic Conventions
The ollowing table describes the typographic conventions that are used in this book.
TABLEP1 Typographic Conventions
Typeace Meaning Example
AaBbCc123 The names o commands, les, and directories,
and onscreen computer output
Edityour .login le.
Use ls -a to list all les.
machine_name% you have mail.
AaBbCc123 What you type, contrasted with onscreen
computer output
machine_name% su
Password:
aabbcc123 Placeholder:replacewith a realname orvalue The command toremove a le is rmflename.
AaBbCc123 Book titles, new terms, and terms to be
emphasized
Read Chapter 6 in the User's Guide.
A cache isa copythat isstoredlocally.
Do notsave the le.
Note: Some emphasized items
appear bold online.
Shell Prompts in Command ExamplesThe ollowing table shows the deault UNIX system prompt and superuser prompt or shells
that are included in the Oracle Solaris OS. Note that the deault system prompt that is displayed
in command examples varies, depending on the Oracle Solaris release.
TABLEP2 ShellPrompts
Shell Prompt
Bashshell, Korn shell, and Bourne shell $
Bashshell, Korn shell, and Bourne shell or superuser #
C shell machine_name%
C shell or superuser machine_name#
Preace
OracleSolarisCluster Data Serviceor OracleGuide May2011, RevisionA10
7/30/2019 Oracle Solaris Cluster Data Service for Oracle Guide
11/118
Related Documentation
Inormation about related Oracle Solaris Cluster topics is available in the documentation that is
listed in the ollowing table. All Oracle Solaris Cluster documentation is available at
http://www.oracle.com/technetwork/indexes/documentation/index.html .
Topic Documentation
Data service
administration
Oracle Solaris Cluster Data Services Planning and Administration Guide
Individual data service guides
Concepts Oracle Solaris Cluster Concepts Guide
Sotware installation Oracle Solaris Cluster Sotware Installation Guide
System administration Oracle Solaris Cluster System Administration Guide
Hardware administration Oracle Solaris Cluster 3.3 Hardware Administration Manual
Individual hardware administration guides
Data service development Oracle Solaris Cluster Data Services Developers Guide
Error messages Oracle Solaris Cluster Error Messages Guide
Command and unction
reerence
Oracle Solaris Cluster Reerence Manual
For a complete list o Oracle Solaris Cluster documentation, see the release notes or your
release o Oracle Solaris Cluster at http://www.oracle.com/technetwork/indexes/documentation/index.html.
Related Third-Party Web Site Reerences
Third-party URLs that are reerenced in this document provide additional related inormation.
Note Oracle is not responsible or the availability o third-party web sites mentioned in this
document. Oracle does not endorse and is not responsible or liable or any content, advertising,
products, or other materials that are available on or through such sites or resources. Oracle will
not be responsible or liable or any actual or alleged damage or loss caused or alleged to be
caused by or in connection with use o or reliance on any such content, goods, or services that
are available on or through such sites or resources.
Preace
11
http://www.oracle.com/technetwork/indexes/documentation/index.htmlhttp://www.oracle.com/technetwork/indexes/documentation/index.htmlhttp://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2850http://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2682http://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2845http://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2847http://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/E22715http://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2848http://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2849http://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2679http://www.oracle.com/technetwork/indexes/documentation/index.htmlhttp://www.oracle.com/technetwork/indexes/documentation/index.htmlhttp://www.oracle.com/technetwork/indexes/documentation/index.htmlhttp://www.oracle.com/technetwork/indexes/documentation/index.htmlhttp://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2679http://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2849http://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2848http://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/E22715http://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2847http://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2845http://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2682http://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2850http://www.oracle.com/technetwork/indexes/documentation/index.html7/30/2019 Oracle Solaris Cluster Data Service for Oracle Guide
12/118
Documentation and SupportSee the ollowing web sites or additional resources:
Documentation (http://www.oracle.com/technetwork/indexes/documentation/index.html)
Support (http://www.oracle.com/us/support/systems/index.html)
Oracle Sotware ResourcesOracle Technology Network (http://www.oracle.com/technetwork/index.html) oers arange o resources related to Oracle sotware:
Discuss technical problems and solutions on the Discussion Forums(http://forums.oracle.com).
Get hands-on step-by-step tutorials with Oracle By Example (http://www.oracle.com/technetwork/tutorials/index.html).
Getting HelpI you have problems installing or using Oracle Solaris Cluster, contact your service providerand provide the ollowing inormation:
Your name and email address (i available)
Your company name, address, and phone number
The model number and serial number o your systems
The release number o the Oracle Solaris Operating System (or example, Oracle Solaris 10) The release number o Oracle Solaris Cluster (or example, Oracle Solaris Cluster 3.3)
Use the ollowing commands to gather inormation about each node on your system or yourservice provider.
Command Function
prtconf -v Displays the size o the system memory and reports
inormation about peripheral devices
psrinfo -v Displays inormation about processors
showrev p Reports which patches are installed
prtdiag -v Displays system diagnostic inormation
/usr/cluster/bin/clnode show-rev Displays Oracle Solaris Cluster release and package
version inormation
Preace
OracleSolarisCluster Data Serviceor OracleGuide May2011, RevisionA12
http://www.oracle.com/technetwork/indexes/documentation/index.htmlhttp://www.oracle.com/technetwork/indexes/documentation/index.htmlhttp://www.oracle.com/technetwork/indexes/documentation/index.htmlhttp://www.oracle.com/technetwork/indexes/documentation/index.htmlhttp://www.oracle.com/us/support/systems/index.htmlhttp://www.oracle.com/us/support/systems/index.htmlhttp://www.oracle.com/us/support/systems/index.htmlhttp://www.oracle.com/technetwork/index.htmlhttp://www.oracle.com/technetwork/index.htmlhttp://www.oracle.com/technetwork/index.htmlhttp://forums.oracle.com/http://forums.oracle.com/http://forums.oracle.com/http://forums.oracle.com/http://www.oracle.com/technetwork/tutorials/index.htmlhttp://www.oracle.com/technetwork/tutorials/index.htmlhttp://www.oracle.com/technetwork/tutorials/index.htmlhttp://www.oracle.com/technetwork/tutorials/index.htmlhttp://www.oracle.com/technetwork/tutorials/index.htmlhttp://www.oracle.com/technetwork/tutorials/index.htmlhttp://forums.oracle.com/http://forums.oracle.com/http://www.oracle.com/technetwork/index.htmlhttp://www.oracle.com/us/support/systems/index.htmlhttp://www.oracle.com/technetwork/indexes/documentation/index.htmlhttp://www.oracle.com/technetwork/indexes/documentation/index.html7/30/2019 Oracle Solaris Cluster Data Service for Oracle Guide
13/118
Also have available the contents o the /var/adm/messages le.
Preace
13
7/30/2019 Oracle Solaris Cluster Data Service for Oracle Guide
14/118
14
7/30/2019 Oracle Solaris Cluster Data Service for Oracle Guide
15/118
Installing and Confguring HA or Oracle
This chapter explains how to install and congure Oracle Solaris Cluster HA or Oracle (HA orOracle).
This chapter contains the ollowing sections.
Overview o the Installation and Conguration Process or HA or Oracle on page 16 Planning the HA or Oracle Installation and Conguration on page 18 Preparing the Nodes and Disks on page 21 Installing the Oracle Sotware on page 27 Veriying the Oracle Installation and Conguration on page 29 Creating an Oracle Database on page 30 Setting Up Oracle Database Permissions on page 31 Installing the HA or Oracle Packages on page 35
Registering and Conguring HA or Oracle on page 37 Veriying the HA or Oracle Installation on page 64 Tuning the HA or Oracle Fault Monitors on page 66 Customizing the HA or Oracle Server Fault Monitor on page 70 Upgrading HA or Oracle Resource Types on page 80 Changing the Role o an Oracle Data Guard Instance on page 83
Note You can use Oracle Solaris Cluster Manager to congure this data service. See the OracleSolaris Cluster Manager online help or details.
1C H A P T E R 1
15
7/30/2019 Oracle Solaris Cluster Data Service for Oracle Guide
16/118
Overview o the Installation and Confguration Process or HAor Oracle
The ollowing task maps summarize the tasks or installing and conguring HA or Oracle. Thetables also provide cross-reerences to detailed instructions or perorming the tasks.
Task Map: Installing and Conguring HA or Oracle Task Map: Installing and Conguring HA or Oracle with Single Instance Oracle ASM Task Map: Installing and Conguring HA or Oracle with Clustered Oracle ASM
Perorm these tasks in the order that they are listed. I you are using HA or Oracle with OracleData Guard, perorm these tasks on each cluster where your Oracle database instances arerunning.
Note Single instance Oracle ASM is not supported with Oracle 11g release 2.
TABLE 11 Task Map: Installing and Conguring HA or Oracle
Task Cross-Reerence
Plan the HA or Oracle installation and
conguration
Planning the HA or Oracle Installation and Conguration on
page 18
Prepare the nodes and disks Preparing the Nodes and Disks on page 21
Install the Oracle sotware How to Install the Oracle Sotware on page 27
Veriy the Oracle installation How to Veriy the Oracle Installation on page 30
Create an Oracle database How to Create a Primary Oracle Database on page 30
Set up Oracle database permissions How to Set Up Oracle Database Permissions on page 32
Install the HA or Oracle packages Installing the HA or Oracle Packages on page 35
Register and congure HA or Oracle How to Register and Congure HA or Oracle Without Oracle
ASM (CLI) on page 42
Veriy the HA or Oracle installation Veriying the HA or Oracle Installation on page 64
Tune the HA or Oracle ault monitor Tuning the HA or Oracle Fault Monitors on page 66
(Optional) Customize the HA or Oracle
server ault monitor
Customizing the HA or Oracle Server Fault Monitor on
page 70
(Optional) Upgrade HA or Oracle
resource types
Upgrading HA or Oracle Resource Types on page 80
(Optional) Change the role o an Oracle
Data Guard instance
Changing the Role o an Oracle Data Guard Instance on
page 83
Overview o the Installation and Confguration Process or HA or Oracle
OracleSolarisCluster Data Serviceor OracleGuide May2011, RevisionA16
7/30/2019 Oracle Solaris Cluster Data Service for Oracle Guide
17/118
TABLE 12 Task Map: Installing and Conguring HA or Oracle with Single Instance Oracle ASM
Task Cross-Reerence
Plan the HA or Oracle installation andconguration
Planning the HA or Oracle Installation and Conguration onpage 18
Prepare the nodes and disks Preparing the Nodes and Disks on page 21
Install the Oracle ASM sotware Installing the Oracle ASM Sotware on page 26
Install the Oracle sotware How to Install the Oracle Sotware on page 27
Veriy the Oracle installation How to Veriy the Oracle Installation on page 30
Create an Oracle database How to Create a Primary Oracle Database on page 30
Set up Oracle database permissions How to Set Up Oracle Database Permissions on page 32
Install the HA or Oracle packages Installing the HA or Oracle Packages on page 35
Register and congure HA or Oracle How to Register and Congure HA or Oracle With Single
Instance Oracle ASM (CLI) on page 50
Veriy the HA or Oracle installation Veriying the HA or Oracle Installation on page 64
Tune the HA or Oracle ault monitor Tuning the HA or Oracle Fault Monitors on page 66
(Optional) Customize the HA or Oracle
server ault monitor
Customizing the HA or Oracle Server Fault Monitor on
page 70
(Optional) Upgrade HA or Oracle
resource types
Upgrading HA or Oracle Resource Types on page 80
(Optional) Change the role o an Oracle
Data Guard instance
Changing the Role o an Oracle Data Guard Instance on
page 83
TABLE 13 Task Map: Installing and Conguring HA or Oracle with Clustered Oracle ASM
Task Cross-Reerence
Plan the HA or Oracle installation and
conguration
Planning the HA or Oracle Installation and Conguration on
page 18
Prepare the nodes and disks Preparing the Nodes and Disks on page 21
Install the Oracle ASM sotware Installing the Oracle ASM Sotware on page 26
Install the Oracle sotware How to Install the Oracle Sotware on page 27
Veriy the Oracle installation How to Veriy the Oracle Installation on page 30
Create an Oracle database How to Create a Primary Oracle Database on page 30
Set up Oracle database permissions How to Set Up Oracle Database Permissions on page 32
Overview o the Installation and Confguration Processor HA or Oracle
Chapter 1 Installing and Confguring HA or Oracle 17
7/30/2019 Oracle Solaris Cluster Data Service for Oracle Guide
18/118
TABLE 13 Task Map: Installing and Conguring HA or Oracle with Clustered Oracle ASM(Continued)
Task Cross-Reerence
Install the HA or Oracle packages Installing the HA or Oracle Packages on page 35
Register and congure HA or Oracle How to Register and Congure HA or Oracle With Clustered
Oracle ASM Instance (CLI) on page 57
Veriy the HA or Oracle installation Veriying the HA or Oracle Installation on page 64
Tune the HA or Oracle ault monitor Tuning the HA or Oracle Fault Monitors on page 66
(Optional) Customize the HA or Oracle
server ault monitor
Customizing the HA or Oracle Server Fault Monitor on
page 70
(Optional) Upgrade HA or Oracle
resource types
Upgrading HA or Oracle Resource Types on page 80
(Optional) Change the role o an Oracle
Data Guard instance
Changing the Role o an Oracle Data Guard Instance on
page 83
Planning the HA or Oracle Installation and Confguration
This section contains the inormation that you need to plan your HA or Oracleinstallation and
conguration.
Note Unless otherwise stated, instructions and inormation or Oracle 11gapply to both Oracle
11grelease 1 and Oracle 11grelease 2.
Confguration Requirements
Caution Your data service conguration might not be supported i you do not adhere to these
requirements.
Use the requirements in this section to plan the installation and conguration o HA or Oracle.
These requirements apply to HA or Oracle only. You must meet these requirements beore you
proceed with your HA or Oracle installation and conguration. HA or Oracle can be
congured to run in non-global zones i required. I you are conguring HA or Oracle to run in
a non-global zone, you must use a highly available local le system. You can also congure the
HA or Oracle in a zone cluster.
Planning the HA or Oracle Installation and Confguration
OracleSolarisCluster Data Serviceor OracleGuide May2011, RevisionA18
7/30/2019 Oracle Solaris Cluster Data Service for Oracle Guide
19/118
Caution Raw devices rom Oracle Solaris Cluster device groups are not supported innon-global zones.
For requirements that apply to all data services, see Conguration Guidelines or OracleSolaris Cluster Data Services in Oracle Solaris Cluster Data Services Planning andAdministration Guide.
Oracleapplicationfles These les include Oracle binaries, conguration les, andparameter les. You can install these les either on the local le system, the highly available
local le system, or on the cluster le system.See Conguration Guidelines or Oracle Solaris Cluster Data Services in Oracle SolarisCluster Data Services Planning and Administration Guide or the advantages anddisadvantages o placing the Oracle binaries on the local le system, highly available localle system, and the cluster le system.
Database relatedflesThese les include the control le, redo logs, and data les. Youmust install these les on either raw devices or as regular les on the highly available local orcluster le system. Raw devices rom Oracle Solaris Cluster device groups are not supported
in non-global zones.
OracleASMconfgurationOracle Automatic Storage Management (Oracle ASM) is astorage option that provides the services o a le system, logical volume manager, andsotware redundant array o independent disks (RAID) in a platorm independent manner.I you are planning to install Oracle ASM, you should choose the appropriate Oracle ASMinstance and disk group or your Oracle database installation. There are two types o OracleASM instances, single Oracle ASM instance and clustered Oracle ASM instance. See
Choosing the Appropriate Oracle ASM Instance on page 99 or inormation on choosingthe appropriate Oracle ASM instance. For more inormation on Oracle ASM, see the Oracledocumentation corresponding to the Oracle database version you are using.
Note Single instance Oracle ASM is not supported with Oracle 11g release 2.
I the single instance Oracle database is installed on a node using an Oracle ASM disk group,
then certain les are not included within the Oracle ASM disk group and they resided onlylocally. You should ensure that these les are copied to the other cluster nodes rom thenode where the single instance Oracle database is created.
I you are using an Oracle 11grelease 1 database, you copy the ollowing directories to othercluster nodes:
${ORACLE_BASE}/diag/rdbms/sid ${ORACLE_BASE}/admin
${ORACLE_HOME}/dbs/pfile.ora
Planning the HA or Oracle Installation and Confguration
Chapter 1 Installing and Confguring HA or Oracle 19
http://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2850#chdhbefjhttp://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2850#chdhbefjhttp://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2850#chdhbefjhttp://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2850#chdhbefjhttp://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2850#chdhbefjhttp://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2850#chdhbefjhttp://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2850#chdhbefjhttp://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2850#chdhbefjhttp://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2850#chdhbefjhttp://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2850#chdhbefjhttp://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2850#chdhbefjhttp://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2850#chdhbefjhttp://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2850#chdhbefj7/30/2019 Oracle Solaris Cluster Data Service for Oracle Guide
20/118
I you are using an Oracle 10gdatabase, you copy the ollowing directories to other clusternodes:
${ORACLE_HOME}/admin
${ORACLE_HOME}/dbs/initsid.org
In the ollowing example, you use the /usr/sfw/sbin/wget command rom the targetcluster node to recursively copy the ${ORACLE_HOME}/admin directory in Oracle 10g.
# su dbusercd ORACLE_HOME/usr/sfw/bin/wget -r -nH --Cut-dirs=n ftp://user:password@host:ORACLE_HOME/admin
In the /usr/sfw/sbin/wget command, the -r option is or recursive copy and -nH option is
or disabling prexing o host directories. Speciy the --Cut-dirs option to ignore directorycomponents. For the detailed description o options or /usr/sfw/sbin/wget,see wget manpage.
Confguration Planning QuestionsUse the questions in this section to plan the installation and conguration o HA or Oracle.
Write the answers to these questions in the space that is provided on the data service worksheetsin Conguration Worksheets in Oracle Solaris Cluster Data Services Planning andAdministration Guide.
What resource groups will you use or network addresses and application resources and thedependencies between them?
What is the logical hostname (or ailover services) or shared address (or scalable services)or clients that will access the data service?
Where will the system conguration les reside?
See Conguration Guidelines or Oracle Solaris Cluster Data Services in Oracle SolarisCluster Data Services Planning and Administration Guide or the advantages anddisadvantages o placing the Oracle binaries on the local le system rather than the clusterle system.
Does your database setup require standby instances?
I you use the clsetup utility to register and congure HA or Oracle, some o these
questions are answered automatically by the utility.For inormation about standby databases, see your Oracle documentation.
Are you planning to use Oracle ASM storage?
I you are planning to use Oracle ASM storage, you should decide i you require singleinstance or clustered instance Oracle ASM. See Choosing the Appropriate Oracle ASMInstance on page 99 or inormation on how to choose the appropriate Oracle ASMinstallation.
For inormation about standby databases, see your Oracle documentation.
Planning the HA or Oracle Installation and Confguration
OracleSolarisCluster Data Serviceor OracleGuide May2011, RevisionA20
P i th N d d Di k
http://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2850#beiijfafhttp://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2850#beiijfafhttp://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2850#beiijfafhttp://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2850#beiijfafhttp://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2850#chdhbefjhttp://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2850#chdhbefjhttp://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2850#chdhbefjhttp://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2850#chdhbefjhttp://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2850#chdhbefjhttp://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2850#beiijfafhttp://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2850#beiijfaf7/30/2019 Oracle Solaris Cluster Data Service for Oracle Guide
21/118
Preparing the Nodes and DisksThis section contains the procedures that you need to prepare the nodes and disks.
How to Prepare the Nodes on page 21 How to Congure the Oracle Database Access Using Solaris Volume Manager on page 23 How to Congure the Oracle Database Access Using Veritas Volume Manager on page 24 How to Congure the Oracle Database Access Using Oracle ASM on page 24 How to Congure an Oracle Grid Inrastructure or Clusters SCAN Listener on page 25
How to Prepare the NodesUse this procedure to prepare or the installation and conguration o Oracle sotware.
Caution Perorm all o the steps in this section on all the nodes. I you do not perorm all o thesteps on all o the nodes, the Oracle installation is incomplete. An incomplete Oracleinstallation causes HA or Oracle to ail during startup.
Note Consult the Oracle documentation beore you perorm this procedure.
The ollowing steps prepare your nodes and install the Oracle sotware.
Become superuser on all o the cluster members.
Confgure the cluster fle system or HA or Oracle.
Caution Raw devices rom Oracle Solaris Cluster device groups are not supported innon-global zones.
I raw devices contain the databases, congure the global devices or raw device access. See theOracle Solaris Cluster Sotware Installation Guide or inormation about how to congure globaldevices.
I you use the Solaris Volume Manager sotware, congure the Oracle sotware to use UNIX lesystem (UFS) logging on mirrored metadevices or raw-mirrored metadevices. See the SolarisVolume Manager documentation or more inormation about how to congure raw-mirroredmetadevices.
I you use the Solaris Zettabyte File System (ZFS) or Oracle les, congure a highly availablelocal ZFS. For more inormation, see How to Set Up the HAStoragePlus Resource Type toMake a Local Solaris ZFS Highly Available in Oracle Solaris Cluster Data Services Planning andAdministration Guide.
1
2
Preparing the Nodes and Disks
Chapter 1 Installing and Confguring HA or Oracle 21
Preparingthe Nodes and Disks
http://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2845http://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2850#gbspxhttp://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2850#gbspxhttp://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2850#gbspxhttp://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2850#gbspxhttp://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2850#gbspxhttp://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2850#gbspxhttp://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2850#gbspxhttp://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2850#gbspxhttp://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-28457/30/2019 Oracle Solaris Cluster Data Service for Oracle Guide
22/118
I you use the Sun QFS le system, congure the Sun QFS le system or using with Oracle. For
more inormation on conguring the Sun QFS le system, see Using the Sun QFS Shared File
System in Oracle Solaris Cluster Data Service or Oracle Real Application Clusters Guide.
Prepare the $ORACLE_HOME directory on a local or multihost disk.
Note I you install the Oracle binaries on a local disk, use a separate disk i possible. Installing
the Oracle binaries on a separate disk prevents the binaries rom overwrites during operating
environment reinstallation. When you use Oracle ASM you should create two $ORACLE_HOME
directories, one $ORACLE_HOME directory or the Oracle database and the additional
$ORACLE_HOME directory or Oracle ASM.
On each node or zone, create an entry or the database administrator (DBA) group in the
/etc/group fle, and addpotential users to the group.
You typically name the DBA group dba. Veriy that the oracle users are members o the dba
group, and add entries as necessary or other DBA users. Ensure that the group IDs are the same
on all o the nodes or zones that run HA or Oracle, as the ollowing example illustrates.
dba:*:520:root,oracle
I you use Oracle ASM, you should add an additional entry or the DBA group in the
/etc/group le or Oracle ASM.
dba:*:520:root,oracle,oraasm
You can create group entries in a network name service (or example, NIS or NIS+). I you
create group entries in this way, add your entries to the local /etc/inet/hosts le to eliminate
dependency on the network name service.
On each node or zone, create an entryor the Oracle user ID (oracle).
You typically name the Oracle user ID oracle. The ollowing command updates the
/etc/passwd and /etc/shadow les with an entry or the Oracle user ID.
# useradd -u 120 -g dba -d /Oracle_home oracle
Ensure that the oracle user entry is the sameon all the nodes or zones that run HA or Oracle.
I you use Oracle ASM, you should create an additional Oracle user ID or Oracle ASM.
# useradd -u 121 -g dba -d /asm-home oraasm
I you are using Oracle database 10.2.0.3 or higher, you should perorm the ollowing steps on
each Solaris zone.
3
4
5
6
Preparingthe Nodes and Disks
OracleSolarisCluster Data Serviceor OracleGuide May2011, RevisionA22
Preparing the Nodes and Disks
http://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2852#gcrpxhttp://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2852#gcrpxhttp://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2852#gcrpxhttp://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2852#gcrpxhttp://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2852#gcrpxhttp://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2852#gcrpx7/30/2019 Oracle Solaris Cluster Data Service for Oracle Guide
23/118
Note You must perorm these steps while creating a zone. I you ail to perorm these steps, it
results in an error. To resolve the error, you should set the necessary privileges and then run
ORACLE_HOME/bin/localconfig reset ORACLE_HOME.
# zoneadm -z zcname halt# zonecfg -z zcname info limitpriv# zonecfg -z zcname set limitpriv=default,proc_priocntl# zonecfg -z zcname info limitpriv# zoneadm -z zcname boot
How to Confgure the Oracle Database Access UsingSolaris Volume Manager
Use this procedure to congure the Oracle database using Solaris Volume Manager.
Note You can run this procedure only in the global zone.
Confgure the disk devices or the Solaris Volume Manager sotware to use.
See Oracle Solaris Cluster Sotware Installation Guide or inormation about how to congure
the Solaris Volume Manager sotware.
I you use raw devices to contain the databases, runthe ollowing commands to change each
raw-mirrored metadevice's owner, group, and mode.I you do not use raw devices, do not perorm this step.
a. I you create raw devices, run the ollowing commands or each device on each node thatcan
master the Oracle resource group.
# chown oracle /dev/md/metaset/rdsk/dn# chgrp dba /dev/md/metaset/rdsk/dn# chmod 600 /dev/md/metaset/rdsk/dn
metaset Species the name o the disk set
/rdsk/dn Species the name o the raw disk device within the metasetdisk set
b. Veriy that the changesare eective.
# ls -lL /dev/md/metaset/rdsk/dn
1
2
Preparing the Nodes and Disks
Chapter 1 Installing and Confguring HA or Oracle 23
Preparingthe Nodes and Disks
http://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2845http://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-28457/30/2019 Oracle Solaris Cluster Data Service for Oracle Guide
24/118
How to Confgure the Oracle Database Access UsingVeritas Volume Manager
Use this procedure to congure the Oracle database using Veritas Volume Manager sotware.
Note You can run this procedure only in the global zone.
Confgure the disk devices or theVxVM sotware to use.
See the Oracle Solaris Cluster Sotware Installation Guide or inormation about how to
congure Veritas Volume Manager.
I you use raw devices to contain the databases, runthe ollowing commands on the current
disk-group primaryto change each device's owner, group, and mode.
I you do not use raw devices, do not perorm this step.
a. I you create raw devices, run the ollowing command or each raw device.
# vxedit -g diskgroup set user=oracle group=dba mode=600 volume
diskgroup Species the name o the disk group
volume Species the name o the raw device within the disk group
b. Veriy that the changesare eective.
# ls -lL /dev/vx/rdsk/diskgroup/volume
c. Synchronize the device group with the cluster to keep theVxVM namespaceconsistent
throughout the cluster.
# cldevicegroup sync diskgroup
How to Confgure the Oracle Database Access UsingOracle ASM
Use this procedure to congure the Oracle database access using Oracle ASM. You can useOracle ASM on VxVM or Solaris Volume Manager.
Confgure the disk devices or the Oracle ASM sotware to use.
See the Using Oracle ASM in Oracle Solaris Cluster Data Service or Oracle Real ApplicationClusters Guide or inormation about how to congure Oracle ASM.
1
2
1
p g
OracleSolarisCluster Data Serviceor OracleGuide May2011, RevisionA24
Preparing the Nodes and Disks
http://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2845http://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2852#gcrpehttp://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2852#gcrpehttp://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2852#gcrpehttp://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2852#gcrpehttp://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2852#gcrpehttp://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-28457/30/2019 Oracle Solaris Cluster Data Service for Oracle Guide
25/118
Set up the permissions or the Oracle ASMdisks to be used by Oracle ASM disk groups.
a. Run the ollowing commands or each device on each node thatcan master the Oracle
resource group.# chown oraasm:dba /dev/did/rdisk/dn# chmod 660 /dev/did/rdisk/dn
b. Veriy that the changesare eective.
# ls -lhL /dev/did/rdisk/dn
How to Confgure an Oracle Grid Inrastructure orClusters SCAN Listener
When the HA or Oracle data service is deployed using Oracle 11grelease 2 Grid Inrastructureor Clusters, the preerred listener or a single-instance database is an Oracle GridInrastructure or Clusters Single Client Access Name (SCAN) listener. To leverage a SCAN inthe HA or Oracle conguration, you must modiy the Oracle 11grelease 2 single-instancedatabase remote_listener parameter to reect the SCAN name and port number.
I you congure a SCAN listener, you can ignore subsequent instructions in this manual aboutcreating an Oracle listener resource with the SUNW.oracle_listener resource type. An Oraclelistener resource is unnecessary when the SCAN listener is congured.
For more inormation about the SCAN, see Oracle Grid Inrastructure Installation Guide 11gRelease 2 (11.2) or Solaris Operating System (http://download.oracle.com/docs/cd/E11882_01/install.112/e17213/toc.htm).
The ollowing example procedure shows the commands and sample output to congure theSCAN name and port. Perorm this procedure on each node o the cluster.
Become superuser on the node.
Confgure a SCAN listener.
# srvctl config scan
SCAN name: scanname, Network: 1/ipaddress/netmask/adapternameSCAN VIP name: scanvip, IP: /ipalias/vipaddress
# srvctl config scan_listenerSCAN Listener LISTENER_SCAN1 exists. Port: TCP:portnumber#
SQL> show parameters listener
NAME TYPE VALUE------------------- -------- ------------------------------listener_networks string
2
1
2
Chapter 1 Installing and Confguring HA or Oracle 25
Installingthe Oracle ASMSotware
http://download.oracle.com/docs/cd/E11882_01/install.112/e17213/toc.htmhttp://download.oracle.com/docs/cd/E11882_01/install.112/e17213/toc.htmhttp://download.oracle.com/docs/cd/E11882_01/install.112/e17213/toc.htmhttp://download.oracle.com/docs/cd/E11882_01/install.112/e17213/toc.htmhttp://download.oracle.com/docs/cd/E11882_01/install.112/e17213/toc.htmhttp://download.oracle.com/docs/cd/E11882_01/install.112/e17213/toc.htmhttp://download.oracle.com/docs/cd/E11882_01/install.112/e17213/toc.htmhttp://download.oracle.com/docs/cd/E11882_01/install.112/e17213/toc.htmhttp://download.oracle.com/docs/cd/E11882_01/install.112/e17213/toc.htm7/30/2019 Oracle Solaris Cluster Data Service for Oracle Guide
26/118
local_listener string (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=nodename)(PORT=portnumber))))
remote_listener string
SQL>SQL> alter system set remote_listener = scanname:portnumber scope=both;
System altered.SQL> show parameters listener
NAME TYPE VALUE------------------- -------- ------------------------------listener_networks stringlocal_listener string (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=nodename)
(PORT=portnumber))))remote_listener string scanname:portnumberSQL>
Installing the Oracle ASM SotwareOracle ASM installation consists o installing and creating an Oracle ASM instance and
conguring the required Oracle ASM disk groups. An Oracle ASM disk group is a collection odisk devices to store data les that Oracle ASM instances manage as a unit. Oracle ASMinstances mount disk groups to make Oracle ASM les available to database instances.
You should decide the type o Oracle ASM instance you want to use. You can use Oracle ASMinstance as single instance Oracle ASM or clustered Oracle ASM using Oracle Clusterwareinstances. For inormation on how to choose the appropriate Oracle ASM instance, seeChoosing the Appropriate Oracle ASM Instance on page 99.
Note Single instance Oracle ASM is not supported with Oracle 11g release 2.
I you are using clustered Oracle ASM, you should rst install the Oracle Clusterware sotwareand then install Oracle ASM. I you are using clustered Oracle ASM on SPARC, you should alsoinstall the ORCLudlm package beore installing Oracle ASM.
When you run Oracle Universal Installer, you have the option to congure and install OracleASM and create disk groups. For detailed inormation on installing and conguring OracleASM, see the Oracle documentation corresponding to the Oracle database version you areusing.
When you create the same disk group with Oracle ASM on dierent cluster nodes, you mustcreate the disk group one node at a time and dismount the disk group beore creating the samedisk group on another cluster node.
OracleSolarisCluster Data Serviceor OracleGuide May2011, RevisionA26
Installingthe Oracle Sotware
7/30/2019 Oracle Solaris Cluster Data Service for Oracle Guide
27/118
Note You should set up and congure the le system, where the Oracle ASM ORACLE_HOMEresides, beore perorming the Oracle ASM installation. Use only a local le system or the
Oracle ASM home.
Veriying the Oracle ASM Sotware InstallationAter installing Oracle ASM sotware, you can veriy that Oracle ASM sotware is installed andOracle ASM disk group is mounted on a cluster node by perorming the ollowing steps.
# sqlplus "/ as sysdba"sql> select * from v$sga;sql> select name,state from v$asm_diskgroup;sql> exit;#
Note I you are using Oracle database 11g, use sqlplus "/ as sysasm" instead osqlplus "/as sysdba".
Installing the Oracle SotwareThis section contains the procedure that you need to install Oracle sotware.
How to Install the Oracle SotwareBecome superuser on a cluster member.
I you plan to install the Oracle sotware on a cluster fle system, startthe Oracle Solaris Cluster
sotware and become the owner o the device group.
I you plan to install the Oracle sotware at another location, omit this step.
For more inormation about installation locations, see Preparing the Nodes and Disks onpage 21.
Install the Oracle sotware.
Beore you start the Oracle installation, ensure that the system resources required or Oraclehave been congured. Log in as oracle to ensure ownership o the entire directory beore youperorm this step. See the appropriate Oracle installation and conguration guides orinstructions about how to install Oracle sotware.
1
2
3
Chapter 1 Installing and Confguring HA or Oracle 27
Installingthe Oracle Sotware
7/30/2019 Oracle Solaris Cluster Data Service for Oracle Guide
28/118
You could use Solaris Resource Management (SRM) to ensure that the kernel parameters are setto at least the minimum values that Oracle requires. For more inormation about setting theOracle kernel parameters, see How to Set the Oracle Kernel Parameters on page 29. Ater the
system resources have been congured or Oracle you can start the installation itsel.
(Optional) I you are using HA or Oracle with Oracle 10grelease 1, prevent the Oracle cssddaemon rom being started.
I you are using HA or Oracle with Oracle 10grelease 2, omit this step.
Remove the entry or the Oracle cssd daemon rom the /etc/inittab le on the node wherethe Oracle sotware is installed. To remove this entry, remove the ollowing line rom the
/etc/inittab le:h1:23:respawn:/etc/init.d/init.cssd run >/dev/null 2>&1 >
7/30/2019 Oracle Solaris Cluster Data Service for Oracle Guide
29/118
Oracle is started on or ails over to a node or zone where the Oracle installation was notoriginally run. In such a conguration, the Oracle binary les are installed on a highlyavailable local le system. In this situation, the messages are displayed on the console o the
node or zone where the Oracle installation was run.
How to Set the Oracle Kernel ParametersThe default project is modied to contain the resources required or Oracle as the RGM usesthe default project or running the data service. I you want to use a specic SRM project orrunning Oracle, you must create that project and congure the system resources in that project
using the same procedure. Speciy the project name instead odefault. When you congurethe resource group or resource or the Oracle server, speciy that project name in thecorresponding property o the resource group or resource.
Display the settings or the default project.
phys-X# prctl -i project default
I no kernel parameters are set, or i any kernel parameters are not set to the minimum required
value or Oracle as shown in the ollowing table, set the parameter.phys-X# projmod -s -K "parameter=(priv,value,deny)" default
Oracle Kernel Parameter Minimum Required Value
process.max-sem-nsems 256
project.max-sem-ids 100
project.max-shm-ids 100
project.max-shm-memory 4294967295
See the Oracle10g Installation Guide or more inormation about these parameters.
Veriy the new settings.
phys-X# prctl -i project default
Veriying the Oracle Installation and Confguration
This section contains the procedure that you need to veriy the Oracle installation and
conguration.
1
2
3
Chapter 1 Installing and Confguring HA or Oracle 29
Creatingan Oracle Database
7/30/2019 Oracle Solaris Cluster Data Service for Oracle Guide
30/118
How toVeriy the Oracle Installation
This procedure does not veriy that your application is highly available because you have not yet
installed your data service.
Confrm that the owner, group, and mode o the $ORACLE_HOME/bin/oracle fle are as ollows:
Owner: oracle Group: dba Mode: -rwsr-s--x
# ls -l $ORACLE_HOME/bin/oracle
Veriy that the listener binaries exist in the $ORACLE_HOME/bin directory.
When you have completed the work in this section, go to Creating an Oracle Database onpage 30.
Creating an Oracle Database
Ater veriying the Oracle installation and conguration, create the Oracle databases that yourequire.
I you are using Oracle withoutstandby databases, perorm the procedure How to Create aPrimary Oracle Database on page 30. This procedure is not required or any additional
databases that you might create and congure. I you are using Oracle Data Guard, create the ollowing database instances:
Primarydatabase instance. For instructions or creating a primary database, see Howto Create a Primary Oracle Database on page 30.
Standbydatabase instances. A standby database instance can be either a physicalstandby database instance or a logical standby database instance. For instructions orcreating standby database instances, see your Oracle documentation.
How to Create a Primary Oracle Database
Prepare database confguration fles.
Place all o the database-related les (data les, redo log les, and control les) on either sharedraw global devices or on the cluster le system. See Preparing the Nodes and Disks on page 21
or inormation about installation locations.
1
2
NextSteps
1
OracleSolarisCluster Data Serviceor OracleGuide May2011, RevisionA30
Setting Up Oracle Database Permissions
7/30/2019 Oracle Solaris Cluster Data Service for Oracle Guide
31/118
Note I the database exists in the non-global zone, do not place the database-related les on the
shared raw devices.
Within the init$ORACLE_SID.ora or config$ORACLE_SID.ora le, you might need to modiy
the assignments or control_files and background_dump_dest to speciy the locations o the
control les and alert les.
Note I you use Solaris authentication or database logins, set the remote_os_authentvariable
in the init$ORACLE_SID.ora le to True.
Start the creation o the database by using one utilityrom the ollowing list:
The Oracle installer The Oracle sqlplus(1M) command The Oracle Database Conguration Assistant
During creation, ensure that all the database-related les are placed in the appropriate location,
either on shared global devices , on the cluster le system, or on a highly available local le
system.
Veriy that the fle names o your control fles match the fle names in your confguration fles.
Create the v$sysstat view.
Run the catalog scripts that create the v$sysstatview. The HA or Oracle ault monitor uses
this view.
When you have completed the work in this section, go to Setting Up Oracle Database
Permissions on page 31.
Setting Up Oracle Database Permissions
Caution Do not perorm the steps in this section or an Oracle physical standby database.
Perorm the procedure in this section to set up database permissions or an Oracle primary
database or an Oracle logical standby database.
2
3
4
NextSteps
Chapter 1 Installing and Confguring HA or Oracle 31
Setting Up Oracle Database Permissions
7/30/2019 Oracle Solaris Cluster Data Service for Oracle Guide
32/118
How to Set Up Oracle Database Permissions
Enable access or the user and password to be used or ault monitoring.
To use the Oracle authentication method, grant to this user authority on the v_$sysstat
viewandthe v_$archive_dest view.
# sqlplus "/ as sysdba"
sql> create user user identified by passwd;sql> alter user user default tablespace system quota 1m on system;sql> grant select on v_$sysstat to user;sql> grant select on v_$archive_dest to user;
sql> grant select on v_$database to user;sql> grant create session to user;sql> grant create table to user;sql> create profile profle limit PASSWORD_LIFE_TIME UNLIMITED;sql> alter user user identified by passwd profile profle;
sql> exit;#
You can use this method or all the supported Oracle releases.
To use the Solaris authentication method, perorm the ollowing steps:
a. Confrm thatthe remote_os_authent parameteris set to TRUE.
# sqlplus "/ as sysdba"sql> show parameter remote_os_authent
NAME TYPE VALUE---------------------- ----------- ---------------remote_os_authent boolean TRUE
b. Determine the setting o the os_authent_prefix parameter.
# sql> show parameter os_authent_prefix
NAME TYPE VALUE---------------------- ----------- ---------------os_authent_prefix string ops$
c. Grant permission or the database to use Solaris authentication.
sql> create user prefx user identified by externally defaulttablespace system quota 1m on system;sql> grant connect, resource to prefx user;sql> grant select on v_$sysstat to prefx user;sql> grant select on v_$archive_dest to prefx user;sql> grant select on v_$database to prefx user;sql> grant create session to prefx user;sql> grant create table to prefx user;sql> exit;#
The replaceable items in these commands are as ollows:
1
OracleSolarisCluster Data Serviceor OracleGuide May2011, RevisionA32
Setting Up Oracle Database Permissions
7/30/2019 Oracle Solaris Cluster Data Service for Oracle Guide
33/118
prefxis the setting o the os_authent_prefix parameter. The deault setting o thisparameter is ops$.
useris the user or whom you are enabling Solaris authentication. Ensure that this
user owns the les under the $ORACLE_HOME directory.
Note Do not type a space betweenprefxand user.
Confgure NET8or the Oracle Solaris Cluster sotware.
The listener.ora le must be accessible rom all the nodes or zones that are in the cluster.Place these les either under the cluster le system or in the local le system o each node or
zone that can potentially run the Oracle resources.
Note I you place the listener.ora le in a location other than the /var/opt/oracledirectory or the $ORACLE_HOME/network/admin directory, you must speciy the TNS_ADMINvariable or an equivalent Oracle variable in a user-environment le. For inormation aboutOracle variables, see the Oracle documentation.
You must also run theclresource
(1CL) command to set the resource extension parameterUser_env, which sources the user-environment le. See SUNW.oracle_listener ExtensionProperties on page 89 or SUNW.oracle_server Extension Properties on page 85 or ormatdetails.
HA or Oracle imposes no restrictions on the listener name; it can be any valid Oracle listenername.
The ollowing code sample identies the lines in listener.ora that are updated.
LISTENER =(DESCRIPTION_LIST =
(DESCRIPTION =(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC) (KEY = EXTPROC))(ADDRESS = (PROTOCOL = TCP) (HOST = logical-hostname) (PORT = port-used))
))
The ollowing code sample identies the lines in tnsnames.ora that are updated on clientmachines.
service_name =.
.(ADDRESS =
(PROTOCOL = TCP)(HOST = logicalhostname)
7/30/2019 Oracle Solaris Cluster Data Service for Oracle Guide
34/118
)(CONNECT_DATA =
(SID = ))
7/30/2019 Oracle Solaris Cluster Data Service for Oracle Guide
35/118
(HOST = hadbms4)(PORT = 1530))
)(CONNECT_DATA = (SID = ora9))
)
Veriy that the Oracle Solaris Cluster sotware is installed and running on all the nodes.
# cluster status clustername
Goto Installing the HA or Oracle Packages on page 35 to install the HA or Oracle packages.
Installing the HA or Oracle PackagesI you did not install the HA or Oracle packages during your initial Oracle Solaris Clusterinstallation, perorm this procedure to install the packages. To install the packages, use theinstaller program.
Note You need to install the HA or Oracle packages in the global cluster and not in the zonecluster.
How to Install the HA or Oracle PackagesPerorm this procedure on each cluster node where you want the HA or Oracle sotware to run.
You can run the installer program with a command-line interace (CLI) or with a graphicaluser interace (GUI). The content and sequence o instructions in the CLI and the GUI aresimilar.
Note Even i you plan to congure this data service to run in non-global zones, install thepackages or this data service in the global zone. The packages are propagated to any existingnon-global zones and to any non-global zones that are created ater you install the packages.
Ensure that you have the Oracle Solaris Cluster installation media.
I you intend to run the installer program with a GUI, ensure that your DISPLAY environmentvariable is set.
On the cluster node where you areinstallingthe data service packages, become superuser.
Load the Oracle Solaris Cluster installation media into the DVD-ROM drive.
I the Volume Management daemon vold(1M) is running and congured to manageDVD-ROM devices, the daemon automatically mounts the DVD-ROM on the /cdrom
directory.
3
NextSteps
BeoreYouBegin
1
2
Chapter 1 Installing and Confguring HA or Oracle 35
Installingthe HA or Oracle Packages
http://www.oracle.com/pls/topic/lookup?ctx=E18752&id=REFMAN1Mvold-1mhttp://www.oracle.com/pls/topic/lookup?ctx=E18752&id=REFMAN1Mvold-1mhttp://www.oracle.com/pls/topic/lookup?ctx=E18752&id=REFMAN1Mvold-1m7/30/2019 Oracle Solaris Cluster Data Service for Oracle Guide
36/118
Change to the installation wizarddirectory o the DVD-ROM.
I you areinstalling the data service packages on the SPARC platorm, typethe ollowing
command:# cd /cdrom/cdrom0/Solaris_sparc
I you areinstalling the data service packages on the x86 platorm, typethe ollowing
command:
# cd /cdrom/cdrom0/Solaris_x86
Start the installation wizard.
# ./installer
When you areprompted, accept the license agreement.
From the list o Oracle Solaris Cluster agents under AvailabilityServices, select the data service
or Oracle.
I you require support or languages other than English, select the option to install multilingual
packages.English language support is always installed.
When prompted whether to confgure the data service now or later, choose Confgure Later.
Choose Congure Later to perorm the conguration ater the installation.
Follow the instructions on the screen to install the data service packages on the node.
The installation wizard displays the status o the installation. When the installation is complete,the wizard displays an installation summary and the installation logs.
(GUI only) I you do not want to register the product and receive productupdates, deselect the
Product Registration option.
The Product Registration option is not available with the CLI. I you are running the installationwizard with the CLI, omit this step.
Exit the installation wizard.
Unload the installation media rom the DVD-ROM drive.
a. To ensure thatthe DVD-ROM is not beingused, change to a directory that doesnotreside on
the DVD-ROM.
b. Ejectthe DVD-ROM.
# eject cdrom
3
4
5
6
7
8
9
10
11
12
OracleSolarisCluster Data Serviceor OracleGuide May2011, RevisionA36
Registering and Confguring HA or Oracle
7/30/2019 Oracle Solaris Cluster Data Service for Oracle Guide
37/118
Registering and Confguring HA or Oracle
Tools or Registering and Confguring HA or Oracle
Oracle Solaris Cluster provides the ollowing tools or registering and conguring HA orOracle:
The clsetup(1CL)utility.For more inormation, see How to Register and Congure HAor Oracle (clsetup)onpage38.
Oracle SolarisClusterManager.For more inormation, see the Oracle Solaris ClusterManager online help.
Oracle SolarisClustermaintenance commands.For more inormation, see How toRegister and Congure HA or Oracle Without Oracle ASM (CLI) on page 42.
The clsetup utility and Oracle Solaris Cluster Manager each provide a wizard or conguringHA or Oracle. The wizards reduce the possibility or conguration errors that might resultrom command syntax errors or omissions. These wizards also ensure that all required
resources are created and that all required dependencies between resources are set.
Setting HA or Oracle Extension Properties
Use the extension properties in Appendix A, HA or Oracle Extension Properties, to createyour resources. To set an extension property o a resource, include the option -p
property=value in the clresource(1CL) command that creates or modies the resource. Usethe procedure in Chapter 2, Administering Data Service Resources, in Oracle Solaris ClusterData Services Planning and Administration Guide to congure the extension properties i youhave already created your resources.
You can update some extension properties dynamically. You can update others, however, onlywhen you create or disable a resource. The Tunable entries indicate when you can update eachproperty. See the r_properties(5) man page or details about all Oracle Solaris Cluster
resource properties.
SUNW.oracle_server Extension Properties on page 85 describes the extension propertiesthat you can set or the Oracle server. For the Oracle server, you are required to set only theollowing extension properties:
ORACLE_HOME
ORACLE_SID
Alert_log_file
Connect_string
Chapter 1 Installing and Confguring HA or Oracle 37
Registering and Confguring HA or Oracle
http://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2679#clsetup-1clhttp://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2679#clsetup-1clhttp://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2850#c40000082398http://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2850#c40000082398http://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2850#c40000082398http://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2679#r-properties-5http://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2679#r-properties-5http://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2679#r-properties-5http://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2850#c40000082398http://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2850#c40000082398http://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2679#clsetup-1cl7/30/2019 Oracle Solaris Cluster Data Service for Oracle Guide
38/118
How to Register and Confgure HA or Oracle (clsetup)This procedure provides the long orms o the Solaris Cluster maintenance commands. Most
commands also have short orms. Except or the orms o the command names, the commandsare identical.
Note The clsetup utility does not support conguration o HA or Oracle with ZFS.
Ensure that the ollowing prerequisites are met:
The volume manager o the cluster is congured to provide volumes on shared storage thatare accessible rom any node where Oracle could potentially run.
Raw devices and le systems on the storage volumes that Oracle will use or its database arecreated.
The Oracle sotware is installed to be accessible rom all nodes or zones where Oracle couldpotentially run.
Kernel variables or the UNIX operating system are congured or Oracle.
The Oracle sotware is congured or all nodes or zones that could potentially run Oracle.
The data service packages are installed.
Ensure that you have the ollowing inormation:
The names o the cluster nodes or zones that master the data service.
The logical hostname that clients use to access the data service. Normally, you set up this IPaddress when you install the cluster. See the Oracle Solaris Cluster Concepts Guide or details
about network resources.
The path to the Oracle application binaries or the resources that you plan to congure.
The database type.
Become superuser on anycluster node.
Start the clsetup utility.
# clsetup
The clsetup main menu is displayed.
Type the number that corresponds to the option or data services and press Return.
The Data Services menu is displayed.
Type the number that corresponds to the option or confguring HA or Oracle and press Return.
The clsetup utility displays the list o prerequisites or perorming this task.
BeoreYouBegin
1
2
3
4
OracleSolarisCluster Data Serviceor OracleGuide May2011, RevisionA38
V i h h i i d R
Registering and Confguring HA or Oracle
http://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-2682http://www.oracle.com/pls/topic/lookup?ctx=dsc&id=/app/docs/doc/821-26827/30/2019 Oracle Solaris Cluster Data Service for Oracle Guide
39/118
Veriy that the prerequisites are met, and press Return.
The clsetup utility displays a list o the cluster nodes.
Selectthe nodes or zones where you require Oracle to run.
To accept the deault selection o all listed nodes or zones in an arbitrary order, press Return.
To select a subset o the listed nodes or zones, typea comma-separatedor space-separated
list o the numbers that correspond to the nodes or zones.Then press Return.
Ensure that the nodes or zones are listed in the order in which the nodes or zones are to
appear in the node list o the resource group in which the Oracle resource is to be placed.
The rst node or zone in the list is the primary node or zone o this resource group.
To select all nodes or zones in a particular order, type a comma-separated or
space-separatedordered listo the numbers that correspond to the nodes or zones and
press Return.
Ensure that the nodes or zones are listed in the order in which the nodes or zones are to
appear in the node list o the resource group in which the Oracle resource is to be placed.
The rst node or zone in the list is the primary node or zone o this resource group.
To confrm your selection o nodes or zones, typed and press Return.
The clsetup utility displays the types o Oracle components that are to be congured.
Type the numbers o the Oracle components you want to confgure and press Return.
The clsetup utility lists the Oracle home directory.
Speciy the Oracle homedirectory or your installation o the Oracle sotware.
I the directory is listed, select the directory as ollows:
a. Type the number that corresponds the directory that you areselecting.
The clsetup utility displays a list o Oracle system identiers that are congured on the
cluster. The utility also prompts you to speciy the system identier or your installation
o Oracle.
I the directory is not listed, speciy the directory explicitly.
a. Type e and press Return.
The clsetup utility prompts you or the Oracle home directory.
5
6
7
8
9
Chapter 1 Installing and Confguring HA or Oracle 39
b Type the ull path to the Oracle home directory and press Return
Registering and Confguring HA or Oracle
7/30/2019 Oracle Solaris Cluster Data Service for Oracle Guide
40/118
b. Type the ull path to the Oracle home directory and press Return.
The clsetup utility displays a list o Oracle system identiers that are congured on thecluster. The utility also prompts you to speciy the system identier or your installation
o Oracle.
Speciy the Oracle SID o the Oracle database that you are confguring.
I the SID is listed, select the SID as ollows:
a. Type the number that corresponds the SID that you are selecting.
The clsetup utility displays the properties o the Solaris Cluster resources that the utility
will create.
I the SID is not listed, speciy the SID explicitly.
a. Type e and press Return.
The clsetup utility prompts you or the SID.
b. Type the SID and press Return.The clsetup utility displays the properties o the Solaris Cluster resources that the utilitywill create.
The clsetup utility displays the properties o the Solaris Cluster resources that the utility willcreate.
I you require a dierent name or anyOracle Solaris Cluster resources properties, change each
name as ollows.
a. Typethe number that corresponds to the name thatyou are changingand press Return.
The clsetup utility displays a screen where you can speciy the new name.
b. At the New Value prompt, type the new name and press Return.
The clsetup utility returns you to the list o the properties o the Oracle Solaris Clusterresource that the utility will create.
To confrm your selection o Oracle Solaris Cluster resourceproperties, type d and press Return.
The clsetup utility displays a list o existing storage resources. I no storage resources areavailable, the clsetup utility displays a list o shared storage types where data is to be stored.
Type the numbers that correspond to type o shared storage that you are using or storing the
data and press Return.
The clsetup utility displays the le-system mount points that are congured in the cluster.
10
11
12
13
OracleSolarisCluster Data Serviceor OracleGuide May2011, RevisionA40
Select the fle system mount points as ollows14
Registering and Confguring HA or Oracle
7/30/2019 Oracle Solaris Cluster Data Service for Oracle Guide
41/118
Select the fle system mount points as ollows.
To accept the deault selection o all listed fle-systemmount points in an arbitrary order,
type a. Then press Return.
To select a subset o the listed flea systemmount points, typea comma-separatedor
space-separatedlist o the numbers that correspond to the fle-systemmount points. Then
press Return.
The clsetup utility displays the global disk sets and device groups that are congured in thecluster.
Select the device groups as ollows.
To accept the deault selection o all listed device groups in an arbitrary order, type a and
press Return.
To select a subset o the listed device groups, type a comma-separated or space-separated
list o the numbers that correspond to the device groups and press Return.
The clsetup utility returns to you the list o highly available storage resources.
Type a comma-separated or space-separatedlist o the numbers that correspond to the storage
resources that your data service requires, and press Return.
To confrm your selection o Oracle Solaris Cluster storage resources, type d and press Return.
The clsetup utility displays all the existing logical hostname resources in the cluster. I thereare no logical hostname resources available, the clsetup utility prompts or the logical
hostname that the resource is to make highly available.
Speciy the logical hostname and press Return.
The clsetup utility returns to you the list o available logical hostname resources.
Type a comma-separated or space-separatedlist o the numbers that correspond to the logical
hostname resources that your data service requires, and press Return.
To confrm your selection o Oracle Solaris Cluster logical hostname resources, type d and press
Return.
The clsetup utility displays the names o the Solaris Cluster objects that the utility will create.
I you require a dierent name or anySolaris Cluster objects, change each name as ollows.
Type the number that corresponds to the name that you arechanging and press Return.
The clsetup utility displays a screen where you can speciy the new name.
14
15
16
17
18
19
20
21
Chapter 1 Installing and Confguring HA or Oracle 41
At the New Value prompt, type the new name and press Return.
Registering and Confguring HA or Oracle
7/30/2019 Oracle Solaris Cluster Data Service for Oracle Guide
42/118
At the New Value prompt, type the new name and press Return.
The clsetup utility returns you to the list o the names o the Oracle Solaris Cluster objects
that the utility will create.
To confrm your selection o Oracle Solaris Cluster object names, type d and press Return.
To create the confguration, typec and Press Return.
The clsetup utility displays a progress message to indicate that the utility is running
commands to create the conguration. When conguration is complete, the clsetup utility
displays the commands that the utility ran to create the conguration.
Press Return to continue.
(Optional)Type q and press Returnrepeatedly until you quit the clsetup utility.
I you preer, you can leave the clsetup utility running while you perorm other required tasks
beore using the utility again.
How to Register and Confgure HA or Oracle WithoutOracle ASM (CLI)
This procedure provides the long orms o the Oracle Solaris Cluster maintenance commands.
Most commands also have short orms. Except or the orms o the command names, the
commands are identical.
Ensure that the ollowing prerequisites are met:
The volume manager o the cluster is congured to provide volumes on shared storage that
are accessible rom any node where Oracle could potentially run.
Raw devices and le systems on the storage volumes that Oracle will use or its database are
created.
The Oracle sotware is installed to be accessible rom all nodes or zones where Oracle could
potentially run.
Kernel variables or the UNIX operating system are congured or Oracle.
The Oracle sotware is congured or all nodes or zones that could potentially run Oracle.
The data service packages are installed.
22
23
24
25
BeoreYouBegin
OracleSolarisCluster Data Serviceor OracleGuide May2011, RevisionA42
Ensure that you have the ollowing inormation:
Registering and Confguring HA or Oracle
7/30/2019 Oracle Solaris Cluster Data Service for Oracle Guide
43/118
y g
The names o the cluster nodes or zones that master the data service.
The logical hostname that clients use to access the data service. Normally,