Rman for Sap Brtools

4
RMAN for SAP BRTOOLS Important point needs to be consider while configuring RMAN for SAP BRTOOLS. I had to configure RMAN for taking incremental backup of our SAP database by using RMAN. Here i have mentioned point which helped me to connect BRTOOLS to RMAN. create following link first after installing TSM service at OS host cd $ORACLE_HOME/rdbms/lib ln -s /usr/tivoli/tsm/tdp_r3/ora64/libtdp_r3. /usr/lib/libobk. ln -s /usr/lib/libobk.so $ORACLE_HOME/lib/libobk.so Mentione device type as for taking backup through RMAN backup_dev_type=rman_util Set rman_parms to identify brtools for TSM parameters. rman_parms="ENV=(XINT_PROFILE=/init.utl,PROLE_PORT=,&BR_INFO)" Locate the appropriate ProLE port number in the /etc/services file. Look for port name tdpr3ora64 Below parameters also need to set in initsid.sap parameter file saveset_members = 1 rman_channels = 6 : This parameter defines the number of parallel channels used by RMAN with an external backup library, that is, backup_dev_type = rman_util rman_filesperset = 8 Make sure /usr/lib is specified in the library path environment

description

RMAN via brtools

Transcript of Rman for Sap Brtools

RMAN for SAP BRTOOLS

Important point needs to be consider while configuring RMAN for SAP BRTOOLS.

I had to configure RMAN for taking incremental backup of our SAP database by using RMAN.Here i have mentioned point which helped me to connect BRTOOLS to RMAN.

create following link first after installing TSM service at OS host

cd $ORACLE_HOME/rdbms/libln -s /usr/tivoli/tsm/tdp_r3/ora64/libtdp_r3. /usr/lib/libobk.ln -s /usr/lib/libobk.so $ORACLE_HOME/lib/libobk.so

Mentione device type as for taking backup through RMANbackup_dev_type=rman_util

Set rman_parms to identify brtools for TSM parameters.

rman_parms="ENV=(XINT_PROFILE=/init.utl,PROLE_PORT=,&BR_INFO)"

Locate the appropriate ProLE port number in the /etc/services file. Lookfor port name tdpr3ora64

Below parameters also need to set in initsid.sap parameter file

saveset_members = 1rman_channels = 6 : This parameter defines the number of parallel channels used by RMAN with an external backup library, that is, backup_dev_type = rman_utilrman_filesperset = 8

Make sure /usr/lib is specified in the library path environment of yoursystem.

Backing up SAP data with RMAN

Backup Exec integrates with RMAN, an Oracle utility that does the following: Manages backup operations Creates backups of database filesTo back up SAP data using RMAN, the Backup Exec Oracle Agent is required, and the Remote Agent Utility must be run first.You must modify the rman_send parameters in the Init.sap file as follows:rman_send = ( "channel sbt_1 'NBBSA_SAP_AGENT_CONFIG_PATH='")where is the full path for the biparam.ini. For example: C:\oracle\ora92\database\biparam.ini.See Configuring biparam.ini for the SAP Agent.Ensure that the ini file path mentioned in the parameter 'util_par_file' in the init.sap is the same path specified in the rman_send command.For backups and restores jobs done using RMAN, Symantec Backup Exec does not honor the configuration parameter (-r option) passed from BRBACKUP or BRRESTORE.Update init.ora as follows:control_file_record_keep_time , (say n = 45)This parameter controls the minimum number of days that a reusable record is kept in the control file.To do an online backup, type the following command: brbackup -d rman_util -t online -m allTo do an offline backup, type the following command: brbackup -d rman_util -t offline -m allNote:Before doing restores make sure that the database is in the mount state.

Before running online backup jobs, run the following scripts:$ORACLE_HOME\rdbms\admin\catalog.sql$ORACLE_HOME\rdbms\admin\catspace.sql$ORACLE_HOME\rdbms\admin\catproc.sqlThese scripts will configure the database for an online backup. If the database is not configured properly, the job could fail.If you get the following error:RMAN-00571: ===========================================================RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============RMAN-00571: ===========================================================ORA-06550: line 1, column 7:

PLS-00201: identifier 'DBMS_BACKUP_RESTORE.SET_CHARSET' must be declared

ORA-06550: line 1, column 7:

PL/SQL: Statement ignored

RMAN-04015: error setting target database character set to WE8MSWIN1252Run the following scripts:$ORACLE_HOME\rdbms\admin\catalog.sql$ORACLE_HOME\rdbms\admin\catspace.sql$ORACLE_HOME\rdbms\admin\catproc.sqlAfter running the scripts, run the backup job again.

Legacy ID

v12013697_be2010_admArticle URL http://www.symantec.com/docs/HOWTO23251 Terms of use for this information are found in Legal Notices