how about dir mapping between servers - urgent
Dear All,
I'm clear with dual-ip that can be set in Oracle8. And my first question have not been answered....?
Can any one say how to map filesystems between two sun solaris servers so that my archives of production get stuffed at standby database directory (filesystem).
How to map the standby server in network and map the appropriate filesystem where arch files are going to be stuffed.
Help me out
Thanx & Regards
murugappan
Setting up Standby Oracle DB on Sun Solaris
Hi murugappan,
It is easy. If i can do it , anyone can do it :)
Here are my assumption:
1. You use ssh on Unix boxes
2. You are aware of rsync and scp
3. PROD - Production Box . STBY - Standby Box.
4. Setting up cronjob on unix.
Step1: Setup PROD DB & STBY DB the way u want.
Step2: As u know for setting up STBY , u will need to apply the redo logs generated by Arch process time by time. For that u will need to setup cronjob on PROD box which copy all arch log to STBY box on fixed frequency. To created trusted relationship kind of thing between to unix boxes u will need to copy the public key of oracle user to STBY box in folder .ssh folder as authorized_keys file name. Once u do that it wouldn't ask you for password.
Step3: Setup cronjob on PROD box to rsync ( Sync the arch folder on both machine , that way cronjob will copy only the file which are newly generate ( missing on Standby )
Step4: Setup cronjob on Standby to apply those redo logs.
Another Solution : If u don't want to use , you can setup NFS , and allow oracle user to write on it , and let STANDBY & PROD box to share it. That way you will just need to copy the ARCH logs to NFS folder time by time.
Regards !
Pankaj
PS: Let me know if u want detailed scripts for it !