Home > Linux > making rman backups available to standby server

making rman backups available to standby server

primary server: linuxdbpr

dr server: linuxdbdr

Create an NFS mount from the target (primary) server to the standby (auxiliary) database server

Logged in as root on the primary server

edit /etc/exports

Add the following for themachine you want to be able to mount

/dbbackup/dbpr01    linuxdbpr(rw,no_root_squash)

After making chages to the /etc/export file , you need to restart the NFS daemon  on the primary server


[root@linuxdbpr init.d]# /etc/init.d/nfs restart
Shutting down NFS mountd:                                  [FAILED]
Shutting down NFS daemon:                                  [FAILED]
Shutting down NFS quotas:                                  [FAILED]
Shutting down NFS services:                                [FAILED]
Starting NFS services:                                     [  OK  ]
Starting NFS quotas:                                       [  OK  ]
Starting NFS daemon:                                       [  OK  ]
Starting NFS mountd:                                       [  OK  ]

log on to the standby server as the root user


#mkdir -p /dbbackup/dbpr01

[root@linuxdbdr dbpr01]# /etc/init.d/nfs start
Starting NFS services:                                     [  OK  ]
Starting NFS quotas:                                       [  OK  ]
Starting NFS daemon:                                       [  OK  ]
Starting NFS mountd:                                       [  OK  ]

[root@linuxdbpr init.d]# mount -t nfs linuxdbpr:/dbbackup/dbpr01  /dbbackup/dbpr01

[root@linuxdbdr dbpr01]# ls -lrt
total 1497016
-rw-rw---- 1 10617 dba 1401839616 Apr 11 21:00 53laspf4_1_1
-rw-rw---- 1 10617 dba   99670016 Apr 11 21:00 56laspgb_1_1
-rw-rw---- 1 10617 dba    9994240 Apr 11 21:01 c-757662351-20100411-01
-rw-r----- 1 10617 dba    9912320 Apr 12 09:31 snapcf_STRIPEPR.f
-rw-r----- 1 10617 dba    9994240 Apr 12 09:31 c-757662351-20100412-00
Advertisements
Categories: Linux
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: