Operating System - Linux
1827804 Members
2307 Online
109969 Solutions
New Discussion

Re: Snapview session(snapshot) script

 
SOLVED
Go to solution
Brian Lee_4
Regular Advisor

Snapview session(snapshot) script

This scripts will be integrated with Oracle RMAN to ensure a consistent database copy on the Snaps. The Snaps will be mounted to a Linux host for backup via Legato Networker.

Upon completion of the Legato backup, the custom scripts will disable the Snap sessions

Does anyone have the script for this purpose?
I have never used Snaps nor created the script for this purpose.

FYI.
I will use Clariion for this snaps.

Please help me out.
brian lee
3 REPLIES 3
Yang Qin_1
Honored Contributor
Solution

Re: Snapview session(snapshot) script

I wrote some scripts on HP-UX for Snapview backup. As we keep Snapshot for 24 hours, we stop Snap just before the new backup start. So I have a script to stop last snap, a script to start snap session when Oracle is ready, a script to mount snap LUNs / file system and a script un-mount snap LUNs after backup completed.

I believe Navcli running on Linux will be the same as on HPUX but I have no idea how to "import" file system on linux. If you know how to do it, I can post my scripts here so that you can modify them.
Brian Lee_4
Regular Advisor

Re: Snapview session(snapshot) script

Please post the script for me.
I appreciate it in advance.
brian lee
Yang Qin_1
Honored Contributor

Re: Snapview session(snapshot) script

As I keep snapshot till next backup, so I run snapstop first in a backup schedule. Then bprdfin (deactivate snapshot), I stop Oracle DB here, then run startsnap, bprdact (activate snapshot), bprdmnt (mount snap luns), I start Oracle DB here, then run backup, bprdumt (umount snap luns).

Yang