Vyoms OneStopTesting.com - Testing EBooks, Tutorials, Articles, Jobs, Training Institutes etc.
OneStopGate.com - Gate EBooks, Tutorials, Articles, FAQs, Jobs, Training Institutes etc.
OneStopMBA.com - MBA EBooks, Tutorials, Articles, FAQs, Jobs, Training Institutes etc.
OneStopIAS.com - IAS EBooks, Tutorials, Articles, FAQs, Jobs, Training Institutes etc.
OneStopSAP.com - SAP EBooks, Tutorials, Articles, FAQs, Jobs, Training Institutes etc.
OneStopGRE.com - of GRE EBooks, Tutorials, Articles, FAQs, Jobs, Training Institutes etc.
Bookmark and Share Rss Feeds

Preparing the Standby Database Host : Oracle RAC One Node and Oracle Data Guard | Articles | Recent Articles | News Article | Interesting Articles | Technology Articles | Articles On Education | Articles On Corporate | Company Articles | College Articles | Articles on Recession
Sponsored Ads
Hot Jobs
Fresher Jobs
Experienced Jobs
Government Jobs
Walkin Jobs
Placement Section
Company Profiles
Interview Questions
Placement Papers
Resources @ VYOMS
Companies In India
Consultants In India
Colleges In India
Exams In India
Latest Results
Notifications In India
Call Centers In India
Training Institutes In India
Job Communities In India
Courses In India
Jobs by Keyskills
Jobs by Functional Areas
Learn @ VYOMS
GATE Preparation
GRE Preparation
GMAT Preparation
IAS Preparation
SAP Preparation
Testing Preparation
MBA Preparation
News @ VYOMS
Freshers News
Job Articles
Latest News
India News Network
Interview Ebook
Get 30,000+ Interview Questions & Answers in an eBook.
Interview Success Kit - Get Success in Job Interviews
  • 30,000+ Interview Questions
  • Most Questions Answered
  • 5 FREE Bonuses
  • Free Upgrades

VYOMS TOP EMPLOYERS

Wipro Technologies
Tata Consultancy Services
Accenture
IBM
Satyam
Genpact
Cognizant Technologies

Home » Articles » Preparing the Standby Database Host : Oracle RAC One Node and Oracle Data Guard

Preparing the Standby Database Host : Oracle RAC One Node and Oracle Data Guard








Article Posted On Date : Wednesday, July 27, 2011


Preparing the Standby Database Host : Oracle RAC One Node and Oracle Data Guard
Advertisements

As stated previously, here we are going to use a shared ACFS filesystem -- mounted on all nodes in the same cluster -- to store the diagnostic destination directory, the data pump directory, and other information. The directory already exists for the primary database but not the standby. As a first step the ASM Cluster File System has to be created on the DR cluster.

Begin by creating a new volume for the ASM Cluster File System as the grid infrastructure owner. (In environments without separation of duties this command would most likely be executed as the oracle user.) Note that the ORACLE_SID is set to the first ASM instance.

[grid@drnode1 ~] $ asmcmd volcreate -G ACFSDG -s 1G RONDG_V1

[grid@drnode1 ~] $ asmcmd volinfo -G ACFSDG RONDG_V1
Diskgroup Name: ACFSDG

         Volume Name: RONDG_V1
         Volume Device: /dev/asm/RONDG_v1-329
         State: ENABLED
         Size (MB): 1024
         Resize Unit (MB): 256
         Redundancy: UNPROT
         Stripe Columns: 4
         Stripe Width (K): 128
         Usage:
         Mountpath:

[grid@drnode1 ~] $

In the above example the ASM dynamic volume has been created on a dedicated disk group, called ACFSDG. Although convenient, it is not necessary to use a separate disk group for ADVM/ACFS. The reason in this case is simple:  while the database is located on "premium" classed storage, the ACFS volume is not, hence the use of a different disk group.

The above command created a 1GB ASM dynamic volume, called RONDG_V1 for later use by ACFS in disk group ACFSDG. Next the volume has to be formatted. You need to use the mkfs utility as root to do so, as shown in this example:

[root@drnode1 ~]# mkfs -t acfs /dev/asm/RONDG_v1-329
mkfs.acfs: version                   = 11.2.0.2.0
mkfs.acfs: on-disk version           = 39.0
mkfs.acfs: volume                    = /dev/asm/RONDG_v1-329
mkfs.acfs: volume size               = 1073741824
mkfs.acfs: Format complete.
[root@drnode1 ~]#

After which the volume has to be registered with the ACFS registry. (Alternatively it could have been created as a cluster resource with a dependency on the RONDG database.)

[root@drnode1 ~]# /sbin/acfsutil registry -a -n
> drnode1,drnode2 
> /dev/asm/RONDG_v1-329 /data/oracle/RONDG/
acfsutil registry: mount point /data/oracle/RONDG successfully added to Oracle Registry

Translated into English, we have instructed the clusterwide mount registry to add a new filesystem, called /dev/asm/RONDG_v1-329, and to mount it to /data/oracle/RONDG on all cluster nodes.

Think of the ACFS registry as an extended, portable, cluster wide /etc/fstab file. With this in use, it is not necessary or encouraged to add a mount point into each cluster node's fstab! You may have to mount the cluster filesystem manually once after its initial creation.

Let's walk through this with an example. First, create the mount point on all cluster nodes, then mount the cluster file system. (Again, the ACFS registry will perform this step at the next server reboot!) In the next step the filesystem permissions are relaxed to allow the oracle user to read, write, and change into the directory. The shell script shown below makes use of user equivalence and the fact that the oracle user has suitable entries in /etc/sudoers. You would not normally find this in production environments � in which case you need to ask your system administrator to perform this step for you.

[oracle@drnode1 tmp: RON]$ mkdir /data/oracle/RONDG/
[oracle@drnode1 tmp: RON]$ for i in 2 3 4
> do
> ssh drnode$i sudo mkdir �p /data/oracle/RONDG/
> done

[oracle@drnode1 tmp: RON]$ for i in 2 3 4 ; do
>  ssh drnode$i sudo mount -t acfs /dev/asm/RONDG_v1-329
>  /data/oracle/RONDG/;
>  mount;
>  done

[oracle@drnode1 oracle]# for i in 2 3 4
> do
> ssh drnode$i sudo chown -R oracle:oinstall /data/oracle/RONDG
> done

In a similar way I created the needed subdirectories for the administrative files under the mount point /data/oracle/RONDG. They were:

    * admin
    * admin/adump
    * admin/pfile
    * admin/scripts
    * admin/dpump






Sponsored Ads



Interview Questions
HR Interview Questions
Testing Interview Questions
SAP Interview Questions
Business Intelligence Interview Questions
Call Center Interview Questions

Databases

Clipper Interview Questions
DBA Interview Questions
Firebird Interview Questions
Hierarchical Interview Questions
Informix Interview Questions
Microsoft Access Interview Questions
MS SqlServer Interview Questions
MYSQL Interview Questions
Network Interview Questions
Object Relational Interview Questions
PL/SQL Interview Questions
PostgreSQL Interview Questions
Progress Interview Questions
Relational Interview Questions
SQL Interview Questions
SQL Server Interview Questions
Stored Procedures Interview Questions
Sybase Interview Questions
Teradata Interview Questions

Microsof Technologies

.Net Database Interview Questions
.Net Deployement Interview Questions
ADO.NET Interview Questions
ADO.NET 2.0 Interview Questions
Architecture Interview Questions
ASP Interview Questions
ASP.NET Interview Questions
ASP.NET 2.0 Interview Questions
C# Interview Questions
Csharp Interview Questions
DataGrid Interview Questions
DotNet Interview Questions
Microsoft Basics Interview Questions
Microsoft.NET Interview Questions
Microsoft.NET 2.0 Interview Questions
Share Point Interview Questions
Silverlight Interview Questions
VB.NET Interview Questions
VC++ Interview Questions
Visual Basic Interview Questions

Java / J2EE

Applet Interview Questions
Core Java Interview Questions
Eclipse Interview Questions
EJB Interview Questions
Hibernate Interview Questions
J2ME Interview Questions
J2SE Interview Questions
Java Interview Questions
Java Beans Interview Questions
Java Patterns Interview Questions
Java Security Interview Questions
Java Swing Interview Questions
JBOSS Interview Questions
JDBC Interview Questions
JMS Interview Questions
JSF Interview Questions
JSP Interview Questions
RMI Interview Questions
Servlet Interview Questions
Socket Programming Interview Questions
Springs Interview Questions
Struts Interview Questions
Web Sphere Interview Questions

Programming Languages

C Interview Questions
C++ Interview Questions
CGI Interview Questions
Delphi Interview Questions
Fortran Interview Questions
ILU Interview Questions
LISP Interview Questions
Pascal Interview Questions
Perl Interview Questions
PHP Interview Questions
Ruby Interview Questions
Signature Interview Questions
UML Interview Questions
VBA Interview Questions
Windows Interview Questions
Mainframe Interview Questions


Copyright © 2001-2024 Vyoms.com. All Rights Reserved. Home | About Us | Advertise With Vyoms.com | Jobs | Contact Us | Feedback | Link to Us | Privacy Policy | Terms & Conditions
Placement Papers | Get Your Free Website | IAS Preparation | C++ Interview Questions | C Interview Questions | Report a Bug | Romantic Shayari | CAT 2024

Fresher Jobs | Experienced Jobs | Government Jobs | Walkin Jobs | Company Profiles | Interview Questions | Placement Papers | Companies In India | Consultants In India | Colleges In India | Exams In India | Latest Results | Notifications In India | Call Centers In India | Training Institutes In India | Job Communities In India | Courses In India | Jobs by Keyskills | Jobs by Functional Areas

Testing Articles | Testing Books | Testing Certifications | Testing FAQs | Testing Downloads | Testing Interview Questions | Testing Jobs | Testing Training Institutes

Gate Articles | Gate Books | Gate Colleges | Gate Downloads | Gate Faqs | Gate Jobs | Gate News | Gate Sample Papers | Gate Training Institutes

MBA Articles | MBA Books | MBA Case Studies | MBA Business Schools | MBA Current Affairs | MBA Downloads | MBA Events | MBA Notifications | MBA FAQs | MBA Jobs
MBA Job Consultants | MBA News | MBA Results | MBA Courses | MBA Sample Papers | MBA Interview Questions | MBA Training Institutes

GRE Articles | GRE Books | GRE Colleges | GRE Downloads | GRE Events | GRE FAQs | GRE News | GRE Training Institutes | GRE Sample Papers

IAS Articles | IAS Books | IAS Current Affairs | IAS Downloads | IAS Events | IAS FAQs | IAS News | IAS Notifications | IAS UPSC Jobs | IAS Previous Question Papers
IAS Results | IAS Sample Papers | IAS Interview Questions | IAS Training Institutes | IAS Toppers Interview

SAP Articles | SAP Books | SAP Certifications | SAP Companies | SAP Study Materials | SAP Events | SAP FAQs | SAP Jobs | SAP Job Consultants
SAP Links | SAP News | SAP Sample Papers | SAP Interview Questions | SAP Training Institutes |


Copyright ©2001-2024 Vyoms.com, All Rights Reserved.
Disclaimer: VYOMS.com has taken all reasonable steps to ensure that information on this site is authentic. Applicants are advised to research bonafides of advertisers independently. VYOMS.com shall not have any responsibility in this regard.