• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

UnixArena

  • Home
  • kubernetes
  • DevOps
    • Terraform
    • Jenkins
    • Docker
    • Openshift
      • OKD
    • Ansible engine
    • Ansible Tower
      • AWX
    • Puppet
  • Cloud
    • Azure
    • AWS
    • Openstack
    • Docker
  • VMware
    • vCloud Director
    • VMware-Guests
    • Vcenter Appliance 5.5
    • vC OPS
    • VMware SDDC
    • VMware vSphere 5.x
      • vSphere Network
      • vSphere DS
      • vShield Suite
    • VMware vSphere 6.0
    • VSAN
    • VMware Free Tools
  • Backup
    • Vembu BDR
    • Veeam
    • Nakivo
    • Azure Backup
    • Altaro VMBackup
    • Spinbackup
  • Tutorials
    • Openstack Tutorial
    • Openstack Beginner’s Guide
    • VXVM-Training
    • ZFS-Tutorials
    • NetApp cDot
    • LVM
    • Cisco UCS
    • LDOM
    • Oracle VM for x86
  • Linux
    • How to Articles
    • Q&A
    • Networking
    • RHEL7
  • DevOps Instructor-led Training
  • Contact

Oracle Solaris Cluster – Configure Oracle Database with Dataguard- Part 1

November 24, 2017 By Cloud_Devops Leave a Comment

This article will provide step by step procedure to manage the oracle Database under Sun-cluster aka Solaris cluster on Oracle Dataguard environment. Oracle Dataguard is widely used product for the disaster recovery solutions.It provides great visibility to database administrator to manage their environment in better manner. Sun-cluster is used only on oracle Solaris operating system and use of this product have been increased recently. Companies are keep on trying to reduce their operating cost and that axed Veritas products like volume manager and vertias cluster from datacenter. That’s the reason , we are seeing use of ZFS & Sun-cluster aka Solaris cluster increased rapidly.

This article will help you to setup ZFS storage pool under suncluster.

Oracle Datagarud - Sun Cluster Setup
Oracle Dataguard – Sun Cluster Setup

Prerequisites :

  • Two nodes with oracle solaris 10 or 11 on each sites. (PROD & DR)
  • Sun Cluster product installed on both the nodes & configured. (PROD & DR)
  • ZFS storage pool resource configured on suncluster. (PROD & DR)
  • Oracle database have been installed and configured. (PROD & DR)

 

  • Assumptions:   PRIMARY
    Resource Group Name – UADBPRD-rg
    Zpool Resource name – UADBPRD-HAS

 

Let’s see the step by step procedure to bring the primary oracle database under Sun cluster / Solaris cluster control.

 

PRIMARY:

Login  to the production cluster nodes and perform the following activities.

1. Register the required cluster resource types.

# clrt register SUNW.oracle_server
# clrt register SUNW.oracle_listener
# clrt register SUNW.logicalhostname

 

2. Add the database VIP in /etc/hosts file.

# cat /etc/hosts  |grep UAVSL-vip
192.168.2.40	    UAVSL-VIP

 

3. Create the logical hostname resource for VIP.

# clreslogicalhostname  create -g  UADBPRD-rg  -h  UAVSL-VIP -N db_ipmp@2,db_ipmp@1 UAVSL-vip-res

 

4. Create the oracle database server resource.

# clresource create -g  UADBPRD-rg -t SUNW.oracle_server -p Connect_string=cluster/password -p ORACLE_SID=UADBPRD  -p ORACLE_HOME=/oracle/UADBPRD/product/12.1.0.2 -p Alert_log_file=/oracle/diag/rdbms/UADBPRD/trace/alert_UADBBPRD.log  -p Dataguard_role=PRIMARY -p resource_dependencies=UADBPRD-HAS  UADBPRD-ORA-server

 

5. Create the oracle database listener resoruce.

# clresource create -g  UADBPRD-rg -t SUNW.oracle_listener -p LISTENER_NAME=LISTENER  -p ORACLE_HOME=/oracle/UADBPRD/product/12.1.0.2  -p resource_dependencies=UADBPRD-ORA-server UADBPRD-ORA-LSN

 

6. Check the cluster status using clrg & clrs commands.

# clrg status 

=== Cluster Resource Groups ===

Group Name        Node Name        Suspended    Status
----------        ---------        ---------    ------
UADBPRD-ora-rg    Nodea            Yes          Online
                  Nodeb            Yes          Offline

# clrs status

=== Cluster Resources ===

Resource Name       Node Name        State      Status Message
-------------       ---------        -----      --------------
UADBPRD-vip         Nodea            Online     Online - LogicalHostname online.
                    Nodeb            Offline    Offline - LogicalHostname offline.

UADBPRD-ORA-LSN     Nodea            Online     Online 
                    Nodeb            Offline    Offline

UADBPRD-ORA-server  Nodea            Online     Online 
                    Nodeb            Offline    Offline

UADBPRD-HAS         Nodea            Online     Online
                    Nodeb            Offline    Offline
Nodea:#

In the next article ,we will see that how to configure the oracle Dataguard physical standby node with sun cluster/ Solaris cluster.

Hope this article is informative to you. Share it ! Comment it !! Be Sociable !!!

Filed Under: Oracle Solaris, Oracle Solaris 11.3, Solaris 10, Solaris 11.2, Solaris Cluster, Solaris11, Sun Cluster Tagged With: Oracle Database, Oracle Datagaurd, Solaris Cluster, sun cluster

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Follow UnixArena

  • Facebook
  • LinkedIn
  • Twitter

Copyright © 2025 · UnixArena ·

Go to mobile version