12c clusterware

Upload: roshanjose

Post on 01-Mar-2018

235 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/25/2019 12c clusterware

    1/563

    Oracle Clusterware

    Administration and Deployment Guide

    12cRelease 1 (12.1)

    E48819-09

    July 2015

  • 7/25/2019 12c clusterware

    2/563

    Oracle Clusterware Administration and Deployment Guide, 12cRelease 1 (12.1)

    E48819-09

    Copyright 2007, 2015, Oracle and/or its affiliates. All rights reserved.

    Primary Author: Richard Strohm

    Contributor: The Oracle Database 12cdocumentation is dedicated to Mark Townsend, who was aninspiration to all who worked on this release.

    Contributors: Ahmed Abbas, Troy Anthony, Ram Avudaiappan, Mark Bauer, Eric Belden, SumanBezawada, Gajanan Bhat, Burt Clouse, Jonathan Creighton, Mark Fuller, Apostolos Giannakidis, AngadGokakkar, John Grout, Andrey Gusev, Winston Huang, Sameer Joshi, Sana Karam, Roland Knapp, ErichKreisler, Raj K. Kammend, Karen Li, Barb Lundhild, Bill Manry, Saar Maoz, John McHugh, MarkusMichalewicz, Anil Nair, Siva Nandan, Philip Newlan, Srinivas Poovala, Sampath Ravindhran, KevinReardon, Dipak Saggi, K.P. Singh, Duane Smith, Janet Stern, Su Tang, Douglas Williams, Soo Huey Wong

    This software and related documentation are provided under a license agreement containing restrictions onuse and disclosure and are protected by intellectual property laws. Except as expressly permitted in yourlicense agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license,transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverseengineering, disassembly, or decompilation of this software, unless required by law for interoperability, isprohibited.

    The information contained herein is subject to change without notice and is not warranted to be error-free. Ifyou find any errors, please report them to us in writing.

    If this is software or related documentation that is delivered to the U.S. Government or anyone licensing iton behalf of the U.S. Government, then the following notice is applicable:

    U.S. GOVERNMENT END USERS: Oracle programs, including any operating system, integrated software,any programs installed on the hardware, and/or documentation, delivered to U.S. Government end usersare "commercial computer software" pursuant to the applicable Federal Acquisition Regulation andagency-specific supplemental regulations. As such, use, duplication, disclosure, modification, andadaptation of the programs, including any operating system, integrated software, any programs installed onthe hardware, and/or documentation, shall be subject to license terms and license restrictions applicable tothe programs. No other rights are granted to the U.S. Government.

    This software or hardware is developed for general use in a variety of information managementapplications. It is not developed or intended for use in any inherently dangerous applications, includingapplications that may create a risk of personal injury. If you use this software or hardware in dangerousapplications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy, and othermeasures to ensure its safe use. Oracle Corporation and its affiliates disclaim any liability for any damagescaused by use of this software or hardware in dangerous applications.

    Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks oftheir respective owners.

    Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarksare used under license and are trademarks or registered trademarks of SPARC International, Inc. AMD,Opteron, the AMD logo, and the AMD Opteron logo are trademarks or registered trademarks of AdvancedMicro Devices. UNIX is a registered trademark of The Open Group.

    This software or hardware and documentation may provide access to or information about content,products, and services from third parties. Oracle Corporation and its affiliates are not responsible for andexpressly disclaim all warranties of any kind with respect to third-party content, products, and servicesunless otherwise set forth in an applicable agreement between you and Oracle. Oracle Corporation and itsaffiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use ofthird-party content, products, or services, except as set forth in an applicable agreement between you andOracle.

  • 7/25/2019 12c clusterware

    3/563

    iii

    Contents

    Preface .............................................................................................................................................................. xliii

    Audience.................................................................................................................................................... xliii

    Documentation Accessibility.................................................................................................................. xliii

    Related Documents .................................................................................................................................. xliv

    Conventions .............................................................................................................................................. xliv

    Changes in This Release for Oracle Clusterware Administration and DeploymentGuide................................................................................................................................................................... xlv

    Changes in Oracle Clusterware 12cRelease 1 (12.1) ............................................................................ xlv

    1 Introduction to Oracle Clusterware

    What is Oracle Clusterware? .................................................................................................................. 1-1

    Understanding System Requirements for Oracle Clusterware....................................................... 1-3

    Oracle Clusterware Hardware Concepts and Requirements ...................................................... 1-3

    Oracle Clusterware Operating System Concepts and Requirements......................................... 1-4

    Oracle Clusterware Software Concepts and Requirements.........................................................1-4

    Oracle Clusterware Network Configuration Concepts................................................................ 1-5

    Single Client Access Name (SCAN)......................................................................................... 1-6

    Configuring Addresses Manually ........................................................................................... 1-6

    Overview of Oracle Clusterware Platform-Specific Software Components ................................ 1-7

    The Oracle Clusterware Technology Stack .................................................................................... 1-7

    The Cluster Ready Services Technology Stack ....................................................................... 1-7

    The Oracle High Availability Services Technology Stack..................................................... 1-8

    Oracle Clusterware Processes on Windows Systems ................................................................ 1-11

    Overview of Installing Oracle Clusterware ..................................................................................... 1-11

    Oracle Clusterware Version Compatibility................................................................................. 1-12

    Overview of Upgrading and Patching Oracle Clusterware .......................................................... 1-13Overview of Managing Oracle Clusterware Environments ......................................................... 1-13

    Overview of Cloning and Extending Oracle Clusterware in Grid Environments .................. 1-15

    Overview of the Oracle Clusterware High Availability Framework and APIs ........................ 1-16

    Overview of Cluster Time Management .......................................................................................... 1-16

    2 Administering Oracle Clusterware

    Role-Separated Management ................................................................................................................. 2-1

    About Role-Separated Management ............................................................................................... 2-1

  • 7/25/2019 12c clusterware

    4/563

    iv

    Managing Cluster Administrators in the Cluster.......................................................................... 2-2

    Configuring Horizontal Role Separation........................................................................................ 2-2

    Overview of Grid Naming Service ....................................................................................................... 2-3

    Network Administration Tasks for GNS and GNS Virtual IP Address .................................... 2-3

    Understanding Grid Naming Service Configuration Options.................................................... 2-4

    Automatic Configuration Option for Addresses.................................................................... 2-5

    Static Configuration Option for Addresses ............................................................................ 2-5Shared GNS Option for Addresses........................................................................................... 2-5

    Configuring Oracle Grid Infrastructure Using Configuration Wizard ......................................... 2-6

    Configuring a Single Node ............................................................................................................... 2-6

    Configuring Multiple Nodes............................................................................................................ 2-7

    Upgrading Oracle Grid Infrastructure............................................................................................ 2-7

    Running the Configuration Wizard in Silent Mode...................................................................... 2-8

    Configuring IPMI for Failure Isolation ............................................................................................... 2-8

    About Using IPMI for Failure Isolation .......................................................................................... 2-8

    Configuring Server Hardware for IPMI ......................................................................................... 2-9

    Postinstallation Configuration of IPMI-based Failure Isolation Using CRSCTL...................... 2-9

    IPMI Postinstallation Configuration with Oracle Clusterware............................................ 2-9Modifying IPMI Configuration Using CRSCTL.................................................................. 2-10

    Removing IPMI Configuration Using CRSCTL .................................................................. 2-10

    Understanding Network Addresses on Manually Configured Networks................................. 2-11

    Understanding Network Address Configuration Requirements ............................................ 2-11

    About IPv6 Address Formats................................................................................................. 2-12

    Name Resolution and the Network Resource Address Type ........................................... 2-12

    Understanding SCAN Addresses and Client Service Connections......................................... 2-13

    SCAN Listeners and Service Registration Restriction With Valid Node Checking .............. 2-14

    Administering Grid Naming Service ............................................................................................... 2-14

    Starting and Stopping GNS with SRVCTL.................................................................................. 2-15

    Converting Clusters to GNS Server or GNS Client Clusters .................................................... 2-15

    Converting a Non-GNS Cluster to a GNS Server Cluster.................................................. 2-15

    Converting a Non-GNS Cluster to a Client Cluster............................................................ 2-15

    Converting a Single Cluster Running GNS to a Server Cluster........................................ 2-16

    Converting a Single Cluster Running GNS to be a GNS Client Cluster .......................... 2-16

    Moving GNS to Another Cluster .................................................................................................. 2-17

    Rolling Conversion from DNS to GNS Cluster Name Resolution ............................................. 2-18

    Changing Network Addresses on Manually Configured Systems ............................................. 2-19

    Changing the Virtual IP Addresses Using SRVCTL.................................................................. 2-19

    Changing Oracle Clusterware Private Network Configuration .............................................. 2-21

    About Private Networks and Network Interfaces .............................................................. 2-21

    Redundant Interconnect Usage.............................................................................................. 2-22

    Consequences of Changing Interface Names Using OIFCFG ........................................... 2-23

    Changing a Network Interface............................................................................................... 2-23

    Creating a Network Using SRVCTL............................................................................................. 2-25

    Changing Network Address Types Using SRVCTL.................................................................. 2-26

    Changing Static IPv4 Addresses To Static IPv6 Addresses Using SRVCTL .......................... 2-26

    Changing Dynamic IPv4 Addresses To Dynamic IPv6 Addresses Using SRVCTL ............. 2-28

    Changing an IPv4 Network to an IPv4 and IPv6 Network....................................................... 2-29

  • 7/25/2019 12c clusterware

    5/563

    v

    Transitioning from IPv4 to IPv6 Networks for VIP Addresses Using SRVCTL.................... 2-29

    3 Policy-Based Cluster and Capacity Management

    Overview of Server Pools and Policy-Based Management .............................................................. 3-1

    Server Pools and Server Categorization ......................................................................................... 3-2

    Server Pools and Policy-Based Management................................................................................. 3-2

    How Server Pools Work.................................................................................................................... 3-3

    Default Server Pools ......................................................................................................................... 3-3

    The Free Server Pool................................................................................................................... 3-3

    The Generic Server Pool............................................................................................................. 3-3

    Server Pool Attributes ....................................................................................................................... 3-4

    How Oracle Clusterware Assigns New Servers Using Server Pools ......................................... 3-6

    Servers Moving from Server Pool to Server Pool................................................................... 3-8

    Managing Server Pools Using Default Attributes......................................................................... 3-8

    Overview of Server Categorization ...................................................................................................... 3-8

    Overview of Cluster Configuration Policies and the Policy Set ..................................................... 3-9

    Server Configuration and Server State Attributes............................................................................. 3-9

    Managing Memory Pressure for Database Servers .................................................................... 3-13

    Server Category Attributes .................................................................................................................. 3-14

    An Example Policy Set Configuration .............................................................................................. 3-15

    4 Oracle Flex Clusters

    Overview of Oracle Flex Clusters ......................................................................................................... 4-1

    Managing Oracle Flex Clusters.............................................................................................................. 4-2

    Changing the Cluster Mode ............................................................................................................. 4-2

    Changing an Oracle Clusterware Standard Cluster to an Oracle Flex Cluster.................. 4-2

    Changing the Node Role................................................................................................................... 4-3

    5 Rapid Home Provisioning

    Rapid Home Provisioning Architecture .............................................................................................. 5-2

    Rapid Home Provisioning Server.................................................................................................... 5-2

    Rapid Home Provisioning Client..................................................................................................... 5-3

    Rapid Home Provisioning Roles...................................................................................................... 5-3

    Rapid Home Provisioning Images................................................................................................... 5-5

    Implementing Rapid Home Provisioning ........................................................................................... 5-5

    Creating a Rapid Home Provisioning Server................................................................................. 5-6

    Adding Gold Images to the Rapid Home Provisioning Server................................................... 5-6

    Provisioning Software .......................................................................................................................5-7

    Storage Space for Provisioned Software.................................................................................. 5-8

    Provisioning for a Different User ............................................................................................. 5-8

    Creating a Rapid Home Provisioning Client ................................................................................. 5-9

    Managing Rapid Home Provisioning Clients ................................................................................. 5-10

    Enabling and Disabling Rapid Home Provisioning Clients ..................................................... 5-10

    Creating Users and Assigning Roles for Rapid Home Provisioning Client Cluster Users.. 5-11

    Managing the Rapid Home Provisioning Client Password...................................................... 5-11

  • 7/25/2019 12c clusterware

    6/563

    vi

    6 Managing Oracle Cluster Registry and Voting Files

    Managing Oracle Cluster Registry and Oracle Local Registry........................................................ 6-2

    Migrating Oracle Cluster Registry to Oracle Automatic Storage Management ....................... 6-2

    Migrating Oracle Cluster Registry from Oracle ASM to Other Types of Storage............. 6-4

    Adding, Replacing, Repairing, and Removing Oracle Cluster Registry Locations ................. 6-5

    Adding an Oracle Cluster Registry Location.......................................................................... 6-6

    Removing an Oracle Cluster Registry Location ..................................................................... 6-7

    Replacing an Oracle Cluster Registry Location...................................................................... 6-7

    Repairing an Oracle Cluster Registry Configuration on a Local Node .............................. 6-8

    Overriding the Oracle Cluster Registry Data Loss Protection Mechanism........................ 6-9

    Backing Up Oracle Cluster Registry............................................................................................. 6-10

    Restoring Oracle Cluster Registry ................................................................................................ 6-11

    Diagnosing Oracle Cluster Registry Problems ........................................................................... 6-17

    Administering Oracle Cluster Registry with Export and Import Commands....................... 6-17

    Importing Oracle Cluster Registry Content on Linux or UNIX Systems ........................ 6-18

    Importing Oracle Cluster Registry Content on Windows Systems.................................. 6-19

    Oracle Local Registry...................................................................................................................... 6-21

    Upgrading and Downgrading the Oracle Cluster Registry Configuration............................ 6-22

    Managing Voting Files ......................................................................................................................... 6-22

    Storing Voting Files on Oracle ASM ............................................................................................ 6-23

    Backing Up Voting Files................................................................................................................. 6-25

    Restoring Voting Files .................................................................................................................... 6-25

    Adding, Deleting, or Migrating Voting Files .............................................................................. 6-26

    7 Adding and Deleting Cluster Nodes

    Prerequisite Steps for Adding Cluster Nodes .................................................................................... 7-1

    Adding and Deleting Cluster Nodes on Linux and UNIX Systems ............................................... 7-3

    Adding a Cluster Node on Linux and UNIX Systems.................................................................. 7-3Deleting a Cluster Node on Linux and UNIX Systems ................................................................ 7-6

    Adding and Deleting Cluster Nodes on Windows Systems............................................................ 7-9

    Adding a Node to a Cluster on Windows Systems....................................................................... 7-9

    Deleting a Cluster Node on Windows Systems.......................................................................... 7-11

    8 Cloning Oracle Clusterware

    Introduction to Cloning Oracle Clusterware ...................................................................................... 8-1

    Preparing the Oracle Grid Infrastructure Home for Cloning.......................................................... 8-3

    Step 1: Install Oracle Clusterware.................................................................................................... 8-3

    Step 2: Shut Down Running Software.............................................................................................8-3

    Step 3: Create a Copy of the Oracle Grid Infrastructure Home .................................................. 8-4

    Creating a Cluster by Cloning Oracle Clusterware ........................................................................... 8-5

    Step 1: Prepare the New Cluster Nodes.......................................................................................... 8-6

    Step 2: Deploy the Oracle Grid Infrastructure Home on the Destination Nodes ..................... 8-7

    Step 3: Run the clone.pl Script on Each Destination Node .......................................................... 8-8

    Supplying input to the clone.pl script on the command line ............................................... 8-8

    Supplying Input to the clone.pl Script in a File ..................................................................... 8-9

    Step 4: Launch the Configuration Wizard ................................................................................... 8-10

  • 7/25/2019 12c clusterware

    7/563

    vii

    Using Cloning to Add Nodes to a Cluster ........................................................................................ 8-11

    Locating and Viewing Log Files Generated During Cloning....................................................... 8-13

    9 Making Applications Highly Available Using Oracle Clusterware

    Oracle Clusterware Resources and Agents ......................................................................................... 9-1

    Resources............................................................................................................................................. 9-2

    Resource Types................................................................................................................................... 9-2

    Agents .................................................................................................................................................. 9-5

    Action Scripts...................................................................................................................................... 9-8

    Building an Agent .............................................................................................................................. 9-9

    Building and Deploying C and C++ Agents........................................................................... 9-9

    Registering a Resource in Oracle Clusterware............................................................................ 9-10

    Overview of Using Oracle Clusterware to Enable High Availability ........................................ 9-11

    Resource Attributes......................................................................................................................... 9-12

    Resource States ................................................................................................................................ 9-12

    Resource Dependencies.................................................................................................................. 9-13

    Start Dependencies .................................................................................................................. 9-14

    Stop Dependencies................................................................................................................... 9-18

    Resource Placement ........................................................................................................................ 9-19

    Registering an Application as a Resource ........................................................................................ 9-19

    Creating an Application VIP Managed by Oracle Clusterware ............................................... 9-20

    Adding User-Defined Resources .................................................................................................. 9-22

    Deciding on a Deployment Scheme ...................................................................................... 9-23

    Adding a Resource to a Specified Server Pool..................................................................... 9-23

    Adding a Resource Using a Server-Specific Deployment.................................................. 9-24

    Creating Resources that Use the generic_application Resource Type............................. 9-25

    Adding Resources Using Oracle Enterprise Manager ............................................................... 9-27

    Changing Resource Permissions................................................................................................... 9-28Application Placement Policies..................................................................................................... 9-28

    Unregistering Applications and Application Resources........................................................... 9-29

    Managing Resources............................................................................................................................. 9-29

    Registering Application Resources............................................................................................... 9-29

    Starting Application Resources..................................................................................................... 9-30

    Relocating Applications and Application Resources................................................................. 9-30

    Stopping Applications and Application Resources ................................................................... 9-30

    Displaying Clusterware Application and Application Resource Status Information .......... 9-31

    Managing Automatic Restart of Oracle Clusterware Resources.................................................. 9-31

    Preventing Automatic Restarts ..................................................................................................... 9-31

    Automatically Manage Restart Attempts Counter for Resources............................................ 9-32

    A Cluster Verification Utility Reference

    About Cluster Verification Utility ....................................................................................................... A-1

    Overview............................................................................................................................................ A-2

    Operational Notes............................................................................................................................. A-3

    Installation Requirements......................................................................................................... A-3

    Usage Information ..................................................................................................................... A-3

  • 7/25/2019 12c clusterware

    8/563

    viii

    CVU Configuration File ............................................................................................................ A-4

    Privileges and Security.............................................................................................................. A-5

    Using CVU Help ........................................................................................................................ A-6

    Special Topics .................................................................................................................................... A-6

    Generating Fixup Scripts .......................................................................................................... A-6

    Using CVU to Determine if Installation Prerequisites are Complete................................. A-6

    Using CVU with Oracle Database 10gRelease 1 or 2 ........................................................... A-7Entry and Exit Criteria .............................................................................................................. A-7

    Verbose Mode and UNKNOWN Output ............................................................................... A-8

    CVU Node List Shortcuts ......................................................................................................... A-8

    Cluster Verification Utility Command Reference ............................................................................ A-8

    cluvfy comp acfs.............................................................................................................................. A-10

    Syntax ........................................................................................................................................ A-10

    Parameters................................................................................................................................. A-10

    cluvfy comp admprv ...................................................................................................................... A-10

    Syntax ........................................................................................................................................ A-10

    Parameters................................................................................................................................. A-11

    Usage Notes .............................................................................................................................. A-11Examples ................................................................................................................................... A-11

    cluvfy comp asm ............................................................................................................................. A-12

    Syntax ........................................................................................................................................ A-12

    Parameters................................................................................................................................. A-12

    Examples ................................................................................................................................... A-12

    cluvfy comp baseline ...................................................................................................................... A-13

    Syntax ........................................................................................................................................ A-13

    Parameters................................................................................................................................. A-13

    Usage Notes .............................................................................................................................. A-14

    Examples ................................................................................................................................... A-14

    cluvfy comp clocksync ................................................................................................................... A-14

    Syntax ........................................................................................................................................ A-15

    Parameters................................................................................................................................. A-15

    cluvfy comp clumgr........................................................................................................................ A-15

    Syntax ........................................................................................................................................ A-15

    Parameters................................................................................................................................. A-15

    cluvfy comp crs................................................................................................................................ A-15

    Syntax ........................................................................................................................................ A-15

    Parameters................................................................................................................................. A-16

    cluvfy comp dhcp............................................................................................................................ A-16

    Syntax ........................................................................................................................................ A-16

    Parameters................................................................................................................................. A-16

    Usage Notes .............................................................................................................................. A-17

    cluvfy comp dns .............................................................................................................................. A-17

    Syntax ........................................................................................................................................ A-17

    Parameters................................................................................................................................. A-18

    Usage Notes .............................................................................................................................. A-18

    cluvfy comp freespace .................................................................................................................... A-18

    Syntax ........................................................................................................................................ A-18

  • 7/25/2019 12c clusterware

    9/563

    ix

    cluvfy comp gns .............................................................................................................................. A-19

    Syntax ........................................................................................................................................ A-19

    Parameters................................................................................................................................. A-19

    cluvfy comp gpnp ........................................................................................................................... A-19

    Syntax ........................................................................................................................................ A-19

    Parameters................................................................................................................................. A-20

    cluvfy comp ha ................................................................................................................................ A-20Syntax ........................................................................................................................................ A-20

    cluvfy comp healthcheck................................................................................................................ A-20

    Syntax ........................................................................................................................................ A-20

    Parameters................................................................................................................................. A-20

    cluvfy comp nodeapp..................................................................................................................... A-21

    Syntax ........................................................................................................................................ A-21

    Parameters................................................................................................................................. A-22

    cluvfy comp nodecon ..................................................................................................................... A-22

    Syntax ........................................................................................................................................ A-22

    Parameters................................................................................................................................. A-22

    Usage Notes .............................................................................................................................. A-22Examples ................................................................................................................................... A-22

    cluvfy comp nodereach .................................................................................................................. A-23

    Syntax ........................................................................................................................................ A-23

    Parameters................................................................................................................................. A-23

    Example..................................................................................................................................... A-23

    cluvfy comp ocr ............................................................................................................................... A-23

    Syntax ........................................................................................................................................ A-24

    Parameters................................................................................................................................. A-24

    Usage Notes .............................................................................................................................. A-24

    Example..................................................................................................................................... A-24

    cluvfy comp ohasd.......................................................................................................................... A-25

    Syntax ........................................................................................................................................ A-25

    Parameters................................................................................................................................. A-25

    Example..................................................................................................................................... A-25

    cluvfy comp olr................................................................................................................................ A-25

    Syntax ........................................................................................................................................ A-25

    Parameters................................................................................................................................. A-26

    Usage Notes .............................................................................................................................. A-26

    Example..................................................................................................................................... A-26

    cluvfy comp peer............................................................................................................................. A-26

    Syntax ........................................................................................................................................ A-26

    Parameters................................................................................................................................. A-27

    Usage Notes .............................................................................................................................. A-27

    Example..................................................................................................................................... A-27

    cluvfy comp scan............................................................................................................................. A-27

    Syntax ........................................................................................................................................ A-27

    Example..................................................................................................................................... A-28

    cluvfy comp software ..................................................................................................................... A-28

    Syntax ........................................................................................................................................ A-28

  • 7/25/2019 12c clusterware

    10/563

    x

    Parameters................................................................................................................................. A-28

    Example..................................................................................................................................... A-29

    cluvfy comp space........................................................................................................................... A-29

    Syntax ........................................................................................................................................ A-29

    Parameters................................................................................................................................. A-29

    Usage Notes .............................................................................................................................. A-29

    Examples ................................................................................................................................... A-30cluvfy comp ssa ............................................................................................................................... A-30

    Syntax ........................................................................................................................................ A-30

    Parameters................................................................................................................................. A-30

    Usage Notes .............................................................................................................................. A-31

    Examples ................................................................................................................................... A-31

    cluvfy comp sys ............................................................................................................................... A-31

    Parameters................................................................................................................................. A-32

    Syntax ........................................................................................................................................ A-32

    Examples ................................................................................................................................... A-32

    cluvfy comp vdisk........................................................................................................................... A-33

    Syntax ........................................................................................................................................ A-33Parameters................................................................................................................................. A-33

    cluvfy stage [-pre | -post] acfscfg ................................................................................................. A-33

    Syntax ........................................................................................................................................ A-33

    Parameters................................................................................................................................. A-33

    cluvfy stage [-pre | -post] cfs ........................................................................................................ A-33

    Syntax ........................................................................................................................................ A-34

    Parameters................................................................................................................................. A-34

    Example..................................................................................................................................... A-34

    cluvfy stage [-pre | -post] crsinst.................................................................................................. A-34

    Syntax ........................................................................................................................................ A-34

    Parameters................................................................................................................................. A-35

    Usage Notes .............................................................................................................................. A-36

    cluvfy stage -pre dbcfg ................................................................................................................... A-36

    Syntax ........................................................................................................................................ A-36

    Parameters................................................................................................................................. A-37

    cluvfy stage -pre dbinst .................................................................................................................. A-37

    Syntax ........................................................................................................................................ A-37

    Parameters................................................................................................................................. A-38

    cluvfy stage [-pre | -post] hacfg ................................................................................................... A-39

    Syntax ........................................................................................................................................ A-39

    Parameters................................................................................................................................. A-40

    cluvfy stage -post hwos.................................................................................................................. A-40

    Syntax ........................................................................................................................................ A-40

    Parameters................................................................................................................................. A-40

    cluvfy stage [-pre | -post] nodeadd ............................................................................................. A-40

    Syntax ........................................................................................................................................ A-41

    Parameters................................................................................................................................. A-41

    cluvfy stage -post nodedel ............................................................................................................. A-41

    Syntax ........................................................................................................................................ A-42

  • 7/25/2019 12c clusterware

    11/563

    xi

    Parameters................................................................................................................................. A-42

    Usage Notes .............................................................................................................................. A-42

    Troubleshooting and Diagnostic Output for CVU ......................................................................... A-42

    Enabling Tracing ............................................................................................................................. A-42

    Known Issues for the Cluster Verification Utility ...................................................................... A-42

    Database Versions Supported by Cluster Verification Utility .......................................... A-42

    Linux Shared Storage Accessibility (ssa) Check Reports Limitations.............................. A-43Shared Disk Discovery on Red Hat Linux ........................................................................... A-43

    B Oracle Clusterware Resource Reference

    Resource Attributes................................................................................................................................. B-1

    Configurable Resource Attributes .................................................................................................. B-2

    ACL.............................................................................................................................................. B-3

    ACTION_SCRIPT ...................................................................................................................... B-4

    ACTION_TIMEOUT.................................................................................................................. B-4

    ACTIONS .................................................................................................................................... B-4

    ACTIVE_PLACEMENT............................................................................................................ B-4

    AGENT_FILENAME................................................................................................................. B-5

    ALERT_TEMPLATE.................................................................................................................. B-5

    AUTO_START............................................................................................................................ B-5

    CARDINALITY.......................................................................................................................... B-5

    CHECK_INTERVAL ................................................................................................................. B-6

    CHECK_TIMEOUT ................................................................................................................... B-6

    CLEAN_TIMEOUT.................................................................................................................... B-6

    DELETE_TIMEOUT .................................................................................................................. B-6

    DESCRIPTION ........................................................................................................................... B-6

    ENABLED ................................................................................................................................... B-6

    FAILURE_INTERVAL .............................................................................................................. B-7FAILURE_THRESHOLD.......................................................................................................... B-7

    HOSTING_MEMBERS.............................................................................................................. B-7

    INSTANCE_FAILOVER........................................................................................................... B-7

    INTERMEDIATE_TIMEOUT................................................................................................... B-8

    LOAD........................................................................................................................................... B-8

    MODIFY_TIMEOUT ................................................................................................................. B-8

    NAME.......................................................................................................................................... B-8

    OFFLINE_CHECK_INTERVAL .............................................................................................. B-8

    PLACEMENT ............................................................................................................................. B-8

    RELOCATE_BY_DEPENDENCY............................................................................................ B-9

    RESTART_ATTEMPTS ............................................................................................................. B-9SCRIPT_TIMEOUT.................................................................................................................... B-9

    SERVER_CATEGORY............................................................................................................... B-9

    SERVER_POOLS...................................................................................................................... B-10

    START_CONCURRENCY...................................................................................................... B-11

    START_DEPENDENCIES ...................................................................................................... B-11

    START_TIMEOUT................................................................................................................... B-13

    STOP_CONCURRENCY ........................................................................................................ B-14

    STOP_DEPENDENCIES......................................................................................................... B-14

  • 7/25/2019 12c clusterware

    12/563

    xii

    STOP_TIMEOUT...................................................................................................................... B-15

    UPTIME_THRESHOLD.......................................................................................................... B-15

    USER_WORKLOAD................................................................................................................ B-15

    USE_STICKINESS.................................................................................................................... B-16

    Read-Only Resource Attributes .................................................................................................... B-16

    ACTION_FAILURE_EVENT_TEMPLATE.......................................................................... B-16

    INSTANCE_COUNT............................................................................................................... B-16INTERNAL_STATE................................................................................................................. B-16

    LAST_SERVER......................................................................................................................... B-17

    LAST_STATE_CHANGE........................................................................................................ B-17

    PROFILE_CHANGE_EVENT_TEMPLATE......................................................................... B-17

    RESTART_COUNT.................................................................................................................. B-17

    STATE........................................................................................................................................ B-17

    STATE_CHANGE_EVENT_TEMPLATE............................................................................. B-17

    STATE_DETAILS..................................................................................................................... B-17

    TARGET .................................................................................................................................... B-18

    TARGET_SERVER................................................................................................................... B-18

    TYPE .......................................................................................................................................... B-18Deprecated Resource Attributes ................................................................................................... B-18

    DEGREE .................................................................................................................................... B-18

    Examples of Action Scripts for Third-party Applications ............................................................ B-18

    C OLSNODES Command Reference

    Using OLSNODES .................................................................................................................................. C-1

    Overview............................................................................................................................................ C-1

    Operational Notes ............................................................................................................................. C-1

    Summary of the OLSNODES Command ........................................................................................... C-2

    Syntax.................................................................................................................................................. C-2Examples ............................................................................................................................................ C-2

    D Oracle Interface Configuration Tool (OIFCFG) Command Reference

    Starting the OIFCFG Command-Line Interface ................................................................................ D-1

    Summary of the OIFCFG Usage ........................................................................................................... D-1

    OIFCFG Command Format ............................................................................................................. D-2

    OIFCFG Commands ......................................................................................................................... D-2

    OIFCFG Command Parameters ...................................................................................................... D-2

    OIFCFG Usage Notes ....................................................................................................................... D-3

    OIFCFG Examples............................................................................................................................. D-4

    E Oracle Clusterware Control (CRSCTL) Utility Reference

    CRSCTL Overview.................................................................................................................................. E-1

    Clusterized (Cluster Aware) Commands ...................................................................................... E-2

    Operational Notes ............................................................................................................................. E-2

    Deprecated Subprograms or Commands ...................................................................................... E-4

    Dual Environment CRSCTL Commands............................................................................................ E-5

    crsctl add resource ............................................................................................................................ E-6

  • 7/25/2019 12c clusterware

    13/563

    xiii

    Syntax .......................................................................................................................................... E-6

    Parameters................................................................................................................................... E-6

    Usage Notes ................................................................................................................................ E-8

    Examples ..................................................................................................................................... E-9

    crsctl add type.................................................................................................................................... E-9

    Syntax .......................................................................................................................................... E-9

    Parameters................................................................................................................................. E-10Usage Notes .............................................................................................................................. E-11

    Example..................................................................................................................................... E-11

    crsctl add wallet............................................................................................................................... E-11

    Syntax ........................................................................................................................................ E-11

    Usage Notes .............................................................................................................................. E-12

    Example..................................................................................................................................... E-12

    crsctl check css ................................................................................................................................. E-12

    Syntax ........................................................................................................................................ E-12

    Example..................................................................................................................................... E-12

    crsctl check evm............................................................................................................................... E-12

    Syntax ........................................................................................................................................ E-12Example..................................................................................................................................... E-13

    crsctl delete resource....................................................................................................................... E-13

    Syntax ........................................................................................................................................ E-13

    Parameters................................................................................................................................. E-13

    Usage Notes .............................................................................................................................. E-13

    Example..................................................................................................................................... E-13

    crsctl delete type.............................................................................................................................. E-13

    Syntax ........................................................................................................................................ E-13

    Usage Notes .............................................................................................................................. E-13

    Example..................................................................................................................................... E-14

    crsctl delete wallet........................................................................................................................... E-14

    Syntax ........................................................................................................................................ E-14

    Example..................................................................................................................................... E-14

    crsctl eval add resource .................................................................................................................. E-14

    Syntax ........................................................................................................................................ E-14

    Parameters................................................................................................................................. E-15

    crsctl eval fail resource ................................................................................................................... E-15

    Syntax ........................................................................................................................................ E-15

    Parameters................................................................................................................................. E-15

    Example..................................................................................................................................... E-15

    crsctl eval modify resource ............................................................................................................ E-16

    Syntax ........................................................................................................................................ E-16

    Parameters................................................................................................................................. E-16

    crsctl eval relocate resource ........................................................................................................... E-17

    Syntax ........................................................................................................................................ E-17

    Parameters................................................................................................................................. E-18

    crsctl eval start resource ................................................................................................................. E-18

    Syntax ........................................................................................................................................ E-18

    Parameters................................................................................................................................. E-18

  • 7/25/2019 12c clusterware

    14/563

    xiv

    crsctl eval stop resource ................................................................................................................. E-18

    Syntax ........................................................................................................................................ E-18

    Parameters................................................................................................................................. E-18

    crsctl get hostname.......................................................................................................................... E-18

    Syntax ........................................................................................................................................ E-18

    Example..................................................................................................................................... E-18

    crsctl getperm resource .................................................................................................................. E-18Syntax ........................................................................................................................................ E-18

    Parameters................................................................................................................................. E-19

    Usage Notes .............................................................................................................................. E-19

    Example..................................................................................................................................... E-19

    crsctl getperm type.......................................................................................................................... E-19

    Syntax ........................................................................................................................................ E-19

    Parameters................................................................................................................................. E-20

    Usage Notes .............................................................................................................................. E-20

    Example..................................................................................................................................... E-20

    crsctl modify resource .................................................................................................................... E-20

    Syntax ........................................................................................................................................ E-20Parameters................................................................................................................................. E-20

    Usage Notes .............................................................................................................................. E-22

    Example..................................................................................................................................... E-22

    crsctl modify type............................................................................................................................ E-22

    Syntax ........................................................................................................................................ E-22

    Parameters................................................................................................................................. E-22

    Usage Notes .............................................................................................................................. E-22

    Example..................................................................................................................................... E-23

    crsctl modify wallet......................................................................................................................... E-23

    Syntax ........................................................................................................................................ E-23

    Usage Notes .............................................................................................................................. E-23

    Example..................................................................................................................................... E-23

    crsctl query wallet ........................................................................................................................... E-23

    Syntax ........................................................................................................................................ E-23

    Example..................................................................................................................................... E-24

    crsctl relocate resource ................................................................................................................... E-24

    Syntax ........................................................................................................................................ E-24

    Parameters................................................................................................................................. E-24

    Usage Notes .............................................................................................................................. E-25

    Example..................................................................................................................................... E-26

    crsctl restart resource...................................................................................................................... E-26

    Syntax ........................................................................................................................................ E-26

    Parameters................................................................................................................................. E-26

    Usage Notes .............................................................................................................................. E-27

    Example..................................................................................................................................... E-27

    crsctl setperm resource................................................................................................................... E-27

    Syntax ........................................................................................................................................ E-27

    Parameters................................................................................................................................. E-27

    Usage Notes .............................................................................................................................. E-28

  • 7/25/2019 12c clusterware

    15/563

    xv

    Example..................................................................................................................................... E-28

    crsctl setperm type .......................................................................................................................... E-28

    Syntax ........................................................................................................................................ E-28

    Parameters................................................................................................................................. E-29

    Usage Notes .............................................................................................................................. E-29

    Example..................................................................................................................................... E-29

    crsctl start resource ......................................................................................................................... E-29Syntax ........................................................................................................................................ E-30

    Parameters................................................................................................................................. E-30

    Usage Notes .............................................................................................................................. E-31

    Example..................................................................................................................................... E-31

    crsctl status resource....................................................................................................................... E-31

    Syntax ........................................................................................................................................ E-31

    Parameters................................................................................................................................. E-32

    Usage Notes .............................................................................................................................. E-33

    Examples ................................................................................................................................... E-33

    crsctl status type .............................................................................................................................. E-33

    Syntax ........................................................................................................................................ E-33Parameters................................................................................................................................. E-34

    Usage Notes .............................................................................................................................. E-34

    Example..................................................................................................................................... E-34

    crsctl stop resource.......................................................................................................................... E-34

    Syntax ........................................................................................................................................ E-34

    Parameters................................................................................................................................. E-34

    Usage Notes .............................................................................................................................. E-35

    Example..................................................................................................................................... E-36

    Oracle RAC Environment CRSCTL Commands ............................................................................. E-36

    crsctl add category .......................................................................................................................... E-39

    Syntax ........................................................................................................................................ E-39

    Parameters................................................................................................................................. E-39

    Usage Notes .............................................................................................................................. E-39

    Example..................................................................................................................................... E-39

    crsctl add crs administrator ........................................................................................................... E-40

    Syntax ........................................................................................................................................ E-40

    Parameters................................................................................................................................. E-40

    Usage Notes .............................................................................................................................. E-40

    Example..................................................................................................................................... E-40

    crsctl add css votedisk .................................................................................................................... E-40

    Syntax ........................................................................................................................................ E-40

    Parameters................................................................................................................................. E-40

    Usage Notes .............................................................................................................................. E-41

    Example..................................................................................................................................... E-41

    crsctl add policy............................................................................................................................... E-41

    Syntax ........................................................................................................................................ E-41

    Parameters................................................................................................................................. E-41

    Usage Notes .............................................................................................................................. E-41

    Example..................................................................................................................................... E-41

  • 7/25/2019 12c clusterware

    16/563

    xvi

    crsctl add serverpool....................................................................................................................... E-42

    Syntax ........................................................................................................................................ E-42

    Parameters................................................................................................................................. E-42

    Usage Notes .............................................................................................................................. E-43

    Examples ................................................................................................................................... E-43

    crsctl check cluster........................................................................................................................... E-43

    Syntax ........................................................................................................................................ E-43Usage Notes .............................................................................................................................. E-43

    Example..................................................................................................................................... E-44

    crsctl check crs ................................................................................................................................. E-44

    Syntax ........................................................................................................................................ E-44

    Example..................................................................................................................................... E-44

    crsctl check resource ....................................................................................................................... E-44

    Syntax ........................................................................................................................................ E-44

    Parameters................................................................................................................................. E-45

    Usage Notes .............................................................................................................................. E-45

    Example..................................................................................................................................... E-45

    crsctl check ctss................................................................................................................................ E-45Syntax ........................................................................................................................................ E-45

    Example..................................................................................................................................... E-46

    crsctl config crs ................................................................................................................................ E-46

    Syntax .......................................................................................................................................