279361

Upload: shahidhassan

Post on 08-Apr-2018

223 views

Category:

Documents


1 download

TRANSCRIPT

  • 8/7/2019 279361

    1/8

    Installing and Configuring Storage Foundation HA for Oracle Standalone on Linux

    How to install and Configure Storage Foundation HAfor Oracle Standalone for Oracle single instance withoptional High AvailabilityAdding support for ODM

  • 8/7/2019 279361

    2/8

  • 8/7/2019 279361

    3/8

    Copyright 2005 VERITAS Software Corporation. All rights reserved. VERITAS, VERITAS Software, the VERITAS logo, and all other VERITAS product names and slogans aretrademarks or registered trademarks of VERITAS Software Corporation in the US and/or other countries. Other product names and/or slogans mentioned herein may be trademarks orregistered trademarks of their respective companies. Specifications and product offerings subject to change without notice. June 2005.

    3

    This document outlines how to run Storage Foundation HA for Oracle Standalone on a single node Oracleenvironment in lieu of Storage Foundation for Oracle (Database Edition)

    A user can modify the configuration of the standard Storage Foundation HA for Oracle Standalone to run in asingle node/single instance standard Oracle non-RAC environment.

    Background:VERITAS does not support Storage Foundation for Oracle RAC on a Linux platform due to Oracles lack ofsupport on Oracle RAC for implementations using third party clustering solutions. This guide is intended toenable functionalities like ODM, using Storage Foundation HA for Oracle Standalone in a single instance/singlenode Oracle instance environment to be supported by both Oracle and VERITAS for their respective pieces.

    What features are available with Storage Foundation for Oracle (Database Edition) thatare not available with Storage Foundation HA for Oracle Standalone?This configuration supporting single instance/single node Oracle RAC does not support the following featuresets

    Storage checkpoints Storage mapping

    Storage rollback

    Flashsnap

    Quick I/O

    Concurrent I/O

    Flashsnap agent for Symmetrix

    File System range locking

    What services are provided by Storage Foundation HA for Oracle Standalone?This configuration provides File System, Volume Management, and Oracle Data Management support, similar toStorage Foundation for Oracle, but with a limited feature set. In addition, this configuration will support thefollowing features

    Boot Drive Management

    External Drive Management

    Dynamic Multipathing (DMP)

    Storage Provisioning Templates

    Storage Expert

    Configuration Backup and Restore

    Online Administration

    (64-Bit) File System

    History Log

    Named Data Streams

    Extent based Allocation

    Intent Log Resize File Change Log (4.1 only)

    Online LUN Resizing

    Portable Data Containers (PDC)

    SANPoint Control QuickStart

    Hardware Assisted E-Copy

    RAID Administration

    Quality of Storage Service (QoSS)

    Database Encapsulation

  • 8/7/2019 279361

    4/8

    Copyright 2005 VERITAS Software Corporation. All rights reserved. VERITAS, VERITAS Software, the VERITAS logo, and all other VERITAS product names and slogans aretrademarks or registered trademarks of VERITAS Software Corporation in the US and/or other countries. Other product names and/or slogans mentioned herein may be trademarks orregistered trademarks of their respective companies. Specifications and product offerings subject to change without notice. June 2005.

    4

    Support for Oracle 10g Oracle Table Spaces

    Oracle Disk Manager (ODM)

    SF/HA for single instance can be configured in two ways:1. Cluster installation. Oracle database will run on one node at a time and can be fast failed over to anothernode in case of a failure.

    2. Single node installation. Oracle is only running on single node. No Failover will be provided.The following table describes which modules are configured in both cases:

    Module Cluster install Single node install

    CVM Yes No

    CFS Yes No

    VCS Yes No

    Vxfen Yes No

    IPC Yes No

    LMX Yes NoOracle Agent Yes No

    ODM Yes Yes

    GAB Yes No

    LLT Yes No

    How do the Oracles OCFS services impact this configuration?Oracle OCFS services are not supported in this configuration.

    How are the Oracle CRS services impacted by this?Oracle CRS services are not required for single instance configurations, even in an HA environment. CRS

    services are required for multiple instance Oracle 10G RAC configurations.

    How is ODM impacted by this configuration?The Oracle Disk Manager (ODM) is an API created by Oracle to provide various I/O possibilities for the database.With Storage Foundation for Oracle (Database Edition), VERITAS provides an "ODM Compliant" cluster filesystem and an ODM Library that is linked into Oracle Database Services. Creating an ODM compliant version ofVERITAS File System gave VERITAS the ability to leverage the exceptional performance of Quick I/O (QIO) andalso add additional management features to better support the database administrator. ODM provides directaccess for the database to the underlying storage without passing through the actual file system interface. Thismeans the database sees performance equivalent to using raw devices, while the administrator sees the storageas easy to manage file systems. The intent of this configuration is to leverage the use of ODM within the StorageFoundation for Oracle RAC, but on a single instance/single node. Another key element for this configurationallows for the removal of VERITAS Cluster Server, however, if High Availability failover is desired, it may be left

    in. ODM services can also be supported in the HA configuration.

    How do I implement this sort of configuration?To implement the Storage Foundations HA for Oracle Standalone in a single instance configuration,

    you will need the Storage Foundations for Oracle RAC (SFRAC) installation CD, Oracle RACinstallation CD, and the Red Hat Enterprise Linux Release 4 Update 1 distribution CDs. You should

    also refer to the SFORAC 4.1 Hardware Compatibility List (HCL) which can be found athttp://support.veritas.com to verify supported hardware configurations.

  • 8/7/2019 279361

    5/8

    Copyright 2005 VERITAS Software Corporation. All rights reserved. VERITAS, VERITAS Software, the VERITAS logo, and all other VERITAS product names and slogans aretrademarks or registered trademarks of VERITAS Software Corporation in the US and/or other countries. Other product names and/or slogans mentioned herein may be trademarks orregistered trademarks of their respective companies. Specifications and product offerings subject to change without notice. June 2005.

    5

    How do I license this sort of configuration?Storage Foundation HA for Oracle Standalone is a specific product that addresses a specific deploymentenvironment. To ensure that you run in a supported configuration you need to follow the guidelines set forth in

    this document. Please contact your sales person or VERITAS Customer Care for licensing. You should receive license that reflects one of the following skusA18274H-000000 Storage Foundation HA for Oracle Standalone,Linux,per CPU,v4.1,LicenseW18274H-000112 Storage Foundation HA for Oracle Standalone,Linux,per CPU,v4.1 Basic Support, 1 Yr Regional Business Hours

    W18274H-000212 Storage Foundation HA for Oracle Standalone,Linux,per CPU,v4.1 Extended Support, 1 Yr 24x7W18274H-000224 Storage Foundation HA for Oracle Standalone,Linux,per CPU,v4.1 Extended Support, 2 Yr 24x7

    W18274H-000236 Storage Foundation HA for Oracle Standalone,Linux,per CPU,v4.1 Extended Support, 3 Yr 24x7

    Two types of installations are possible:

    1) Installation procedure for a clustered (HA) configuration:

    Storage Foundation HA for Oracle Standalone assumes you are implementing the database environment withhigh availability failover.Installing SF/HA for Oracle Standalone------------------------------------------1. Follow install procedure for SFRAC from SFRAC install guide chapters 2 and 3.Note that I/O fencing must be configured with UseFence=SCSI3 attribute in main.cf configuration file for VERITASCluster Server.2. Create system user and group ids as required by Oracle.

    3. Create diskgroup, volume and file system mount for Oracle data files. This can either be a shared mount on ashared diskgroup or a private mount on a private diskgroup. Configure necessary VCS resources for thediskgroup and file system mount. Refer to sample configurations in /etc/VRTSvcs/conf/sample_rac and/etc/VRTSvcs/conf/sample_oracle directories.4. Install single instance Oracle database binaries on each node using Oracle installer. A new database can becreated using dbca from one of the nodes.5. Configure Oracle resource for the database instance in a *failover* service group. Note that Oracle instanceshould only be running on one cluster node at a time.!!!Starting an Oracle instance on two or more nodes simultaneously will result in data corruption!!!6. Copy ODM library.

    2) Installation procedure for a single node

    Storage Foundation HA for Oracle Standalone assumes you are implementing the database environment with outhigh availability failover. If this will be a single node environment (no high availability - VCS), follow theinstallation instructions as documented in Storage Foundation for Oracle RAC Installation and ConfigurationGuide, chapter 2 and 3 with the following changes:

  • 8/7/2019 279361

    6/8

    Copyright 2005 VERITAS Software Corporation. All rights reserved. VERITAS, VERITAS Software, the VERITAS logo, and all other VERITAS product names and slogans aretrademarks or registered trademarks of VERITAS Software Corporation in the US and/or other countries. Other product names and/or slogans mentioned herein may be trademarks orregistered trademarks of their respective companies. Specifications and product offerings subject to change without notice. June 2005.

    6

    Installing Storage Foundation HA for Oracle Standalone single node.------------------------------------------

    1. Follow install procedure for SFRAC from SFRAC install guide chapters 2 and 3.Note that I/O fencing must be configured with UseFence=SCSI3 attribute in main.cf.2. Create system user and group ids as required by Oracle.3. Create diskgroup, volume and file system mount for Oracle data files. This can either be a shared mount on ashared diskgroup or a private mount on a private diskgroup. Configure necessary VCS resources for thediskgroup and file system mount. Refer to sample configurations in /etc/VRTSvcs/conf/sample_rac and/etc/VRTSvcs/conf/sample_oracle directories.4. Install single instance Oracle database binaries on each node using Oracle installer. A new database can becreated using dbca from one of the nodes.5. Configure Oracle resource for the database instance in a *failover* service group. Note that Oracle instanceshould only be running on one cluster node at a time.!!!Starting an Oracle instance on two or more nodes simultaneously will result in data corruption!!!6. Copy ODM library (as described in your existing steps)

    Listing of RPMs that get installedinstallsfrac will install the following SFRAC rpms:VRTSperl VERITAS Perl 5.8.0 RedistributionVRTSob VERITAS Enterprise Administrator ServiceVRTSobgui VERITAS Enterprise AdministratorVRTSvxvmcommon VERITAS Volume Manager Common Package.

    VRTSvxvmplatform VERITAS Volume Manager Platform Specific Package.VRTSvmdoc VERITAS Volume Manager DocumentationVRTSvmman VERITAS Volume Manager Manual PagesVRTSvmpro VERITAS Volume Manager Management Services ProviderVRTSfspro VERITAS File System Management Services ProviderVRTSalloc VERITAS Volume Manager Intelligent Storage ProvisioningVRTSddlpr VERITAS Device Discovery Layer Services ProviderVRTSvxfscommon VERITAS File System Common Package.VRTSvxfsplatform VERITAS File System Platform Specific Package.VRTSap VERITAS Action ProviderVRTStep VERITAS Task ProviderVRTSfsman VERITAS File System Manual PagesVRTSfsdoc VERITAS File System Documentation

    VRTSfssdk VERITAS File System Software Developer KitVRTSfsmnd VERITAS File System Software Developer Kit Manual PagesVRTSllt VERITAS Low Latency TransportVRTSgab VERITAS Group Membership and Atomic BroadcastVRTSvxfen VERITAS I/O FencingVRTSvcs VERITAS Cluster ServerVRTSvcsmg VERITAS Cluster Server Message CatalogsVRTSvcsag VERITAS Cluster Server Bundled AgentsVRTSvcsdr VERITAS Cluster Server Disk Reservation Modules and UtilitiesVRTSvcsmn VERITAS Cluster Server Man Pages

  • 8/7/2019 279361

    7/8

    Copyright 2005 VERITAS Software Corporation. All rights reserved. VERITAS, VERITAS Software, the VERITAS logo, and all other VERITAS product names and slogans aretrademarks or registered trademarks of VERITAS Software Corporation in the US and/or other countries. Other product names and/or slogans mentioned herein may be trademarks orregistered trademarks of their respective companies. Specifications and product offerings subject to change without notice. June 2005.

    7

    VRTSvcsApache VERITAS Cluster Server Apache AgentVRTSvcsdc VERITAS Cluster Server DocumentationVRTSjre VERITAS Java Runtime Environment RedistributionVRTScscm VERITAS Cluster Server Cluster Manager

    VRTScssim VERITAS Cluster Server SimulatorVRTScscw VERITAS Cluster Server Configuration WizardsVRTSweb VERITAS Java Web ServerVRTSvcsw VERITAS Cluster Manager (Web Console)VRTScutil VERITAS Cluster UtilitiesVRTScavf VERITAS Cluster Server Agents for Cluster File SystemVRTSglm VERITAS Group Lock ManagerVRTSdbac VERITAS Oracle Real Application Cluster Support PackageVRTSvcsor VERITAS Cluster Server Oracle Enterprise ExtensionVRTScsocw VERITAS Cluster Server Oracle 9i RAC WizardVRTSgms VERITAS Group Messaging ServicesVRTSodmcommon VERITAS Oracle Disk Manager Common PackageVRTSodmplatform VERITAS Oracle Disk Manager Platform Specific Package

    Packages listed after install:VRTSvmdoc-4.1.00.0-TCAP_GENERICVRTSvxfen-4.1.00.0-TCAP_RHEL4VRTSglm-4.1.00.0_TCAP-RHEL4VRTSfspro-4.1.00.0_TCAP-RHEL4VRTSvcsag-4.1.00.0-TCAP_RHEL4VRTScsocw-4.1.00.0-TCAP_GENERICVRTScpi-4.1.0.121-GENERICVRTSfsman-4.1.00.0_TCAP-GENERICVRTScssim-4.1.00.0-TCAP_RHEL4VRTSobgui-3.2.539-0VRTSfsmnd-4.1.00.0_TCAP-GENERICVRTSvcsw-4.3.00.0-TCAP_GENERIC

    VRTSob-3.2.539-0VRTSalloc-4.1.00.0-GA_RHEL4VRTSfssdk-4.1.00.0_TCAP-RHEL4VRTSvcsdr-4.1.00.0-TCAP_RHEL4VRTSweb-4.2-GA2_GENERICVRTSgms-4.1.00.0_TCAP-RHEL4VRTSvxvm-platform-4.1.00.0-TCAP_RHEL4VRTSvxfs-platform-4.1.00.0_TCAP-RHEL4VRTSgab-4.1.00.0-TCAP_RHEL4VRTSvcsdc-4.1.00.0-TCAP_GENERICVRTScavf-4.1.00.0_TCAP-GENERICVRTSvxvm-common-4.1.00.0-TCAP_RHEL4VRTSvxfs-common-4.1.00.0_TCAP-RHEL4

    VRTSllt-4.1.00.0-TCAP_RHEL4VRTSvcsApache-4.1.00.0-TCAP_RHEL4VRTScutil-4.1.00.0-TCAP_GENERICVRTSodm-platform-4.1.00.0_TCAP-RHEL4VRTSvlic-3.02-012VRTSvmman-4.1.00.0-TCAP_GENERICVRTStep-1.20-028VRTSvcs-4.1.00.0-TCAP_RHEL4VRTScscm-4.3.00.0-TCAP_GENERICVRTSdbac-4.1.00.0-TCAP_RHEL4

  • 8/7/2019 279361

    8/8

    Copyright 2005 VERITAS Software Corporation. All rights reserved. VERITAS, VERITAS Software, the VERITAS logo, and all other VERITAS product names and slogans aretrademarks or registered trademarks of VERITAS Software Corporation in the US and/or other countries. Other product names and/or slogans mentioned herein may be trademarks orregistered trademarks of their respective companies. Specifications and product offerings subject to change without notice. June 2005.

    8

    VRTSap-2.00-022VRTSjre-1.4-GA1VRTSperl-4.1.0.0-RHEL4_GAVRTSfsdoc-4.1.00.0_TCAP-GENERIC

    VRTScscw-4.1.00.0-TCAP_GENERICVRTSvmpro-4.1.00.00-RHEL4VRTSvcsmg-4.1.00.0-TCAP_GENERICVRTSvcsor-4.1.00.0-TCAP_RHEL4VRTSddlpr-4.1.00.0-RH4VRTSvcsmn-4.1.00.0-TCAP_GENERICVRTSodm-common-4.1.00.0_TCAP-RHEL4

    VERITAS processes running after installation procedure:[root@mtv2850-02 ~]# ps -el | grep vx1 S 0 12787 1 0 75 0 - 0 volsyn ? 00:00:00 vxiod1 S 0 12785 1 0 79 0 - 0 volsyn ? 00:00:00 vxiod1 S 0 12786 1 0 75 0 - 0 volsyn ? 00:00:00 vxiod

    1 S 0 12784 1 0 75 0 - 0 volsyn ? 00:00:00 vxiod1 S 0 12783 1 0 75 0 - 0 volsyn ? 00:00:00 vxiod1 S 0 12782 1 0 75 0 - 0 volsyn ? 00:00:00 vxiod1 S 0 12781 1 0 75 0 - 0 volsyn ? 00:00:00 vxiod1 S 0 12780 1 0 75 0 - 0 volsyn ? 00:00:00 vxiod1 S 0 12779 1 0 75 0 - 0 volsyn ? 00:00:00 vxiod1 S 0 12778 1 0 75 0 - 0 volsyn ? 00:00:00 vxiod1 S 0 14002 1 0 70 -5 - 0 vx_sva ? 00:00:00 vxfs_thread5 S 0 22864 1 0 76 0 - 1932 - ? 00:00:00 vxconfigd0 S 0 22997 1 0 76 0 - 11363 wait pts/1 00:00:00 vxrelocd0 S 0 23002 1 0 78 0 - 11264 wait pts/1 00:00:00 vxcached0 S 0 23011 1 0 78 0 - 11270 wait pts/1 00:00:00 vxconfigbackupd0 S 0 23022 22997 0 76 0 - 910 - pts/1 00:00:00 vxnotify1 S 0 23024 22997 0 76 0 - 11399 pipe_w pts/1 00:00:00 vxrelocd

    0 S 0 23031 23011 0 76 0 - 392 - pts/1 00:00:00 vxnotify1 S 0 23032 23011 0 76 0 - 11270 pipe_w pts/1 00:00:00 vxconfigbackupd0 S 0 23038 23002 0 76 0 - 392 - pts/1 00:00:00 vxnotify1 S 0 23039 23002 0 76 0 - 11264 pipe_w pts/1 00:00:00 vxcached