ONTAP Discussions

NetApp Plug-in for Oracle RMAN - sbttest fails coredump.

FKLIPPENNETAPP
5,742 Views

$ env

 

ORACLE_SID=fp03

BACKUP_DIR=/u01/oracle/product/11204/config

ORACLE_HOME_LISTNER=/u01/oracle/product/11204

ORACLE_HOME=/u01/oracle/product/11204

ORACLE_BASE=/u01/oracle

DELETETYPE=snap

RESTORETYPE=volume

CONF=rman_ntap_nfs_sdb.conf

LD_LIBRARY_PATH=/u01/oracle/product/11204/lib

 

$ sbttest /u002/oradata/fp03/ddtest -dbname fp03 -no_regular_backup_restore -proxy_file /u002/oradata/fp03/ddtest ntapbackupcheck.bk -libname $ORACLE_HOME/lib/libobk.so

 

The sbt function pointers are loaded from /u01/oracle/product/11204/lib/libobk.so library.

-- sbtinit succeeded

-- sbtinit (2nd time) succeeded

sbtinit: vendor description string=WARNING: Oracle Test Disk API

sbtinit: Media manager is version 8.1.3.0

sbtinit: Media manager supports SBT API version 2.0

sbtinit: allocated sbt context area of 31536 bytes

sbtinit: proxy copy is supported

-- sbtinit2 succeeded

-- sbtcommand succeeded

-- proxy_backup starts ................................

*** glibc detected *** sbttest: malloc(): memory corruption (fast): 0x00000000017c3420 ***

Segmentation fault

 

 

cat /etc/redhat-release

Red Hat Enterprise Linux Server release 6.5 (Santiago)

 

cat /proc/version

Linux version 2.6.32-431.17.1.el6.x86_64 (mockbuild@x86-027.build.eng.bos.redhat.com) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC) ) #1 SMP Fri Apr 11 17:27:00 EDT 2014

 

Running any backupscript results in ORA-3113

7 REPLIES 7

nkarthik
5,742 Views

Hello,

change the RESTORETYPE=file and try sbttest.


still if you have the problem, can you please send us the following result:

1. cd $ORACLE_HOME/lib

2. ldd libobk.so

3. cat /u01/oracle/product/11204/config/rman_ntap_nfs_sdb.conf

4. did you encrypt the password and updated the FILER and FILERPASS_ENCRYPTED parameters in "/u01/oracle/product/11204/config/rman_ntap_nfs_sdb.conf" file?

regards,

Karthikeyan.N

FKLIPPENNETAPP
5,742 Views

1.

oracle@tsl0flexpod-oracle01:[fp03]# pwd

/u01/oracle/product/11204/lib

2.

oracle@tsl0flexpod-oracle01:[fp03]# ldd libobk.so

        linux-vdso.so.1 =>  (0x00007fff1039e000)

        libnetappmgmt.so => /u01/oracle/product/11204/lib/libnetappmgmt.so (0x00007fbb633e0000)

        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fbb631b7000)

        libnsl.so.1 => /lib64/libnsl.so.1 (0x00007fbb62f9e000)

        libz.so.1 => /lib64/libz.so.1 (0x00007fbb62d88000)

        libm.so.6 => /lib64/libm.so.6 (0x00007fbb62b03000)

        libclntsh.so.11.1 => /u01/oracle/product/11204/lib/libclntsh.so.11.1 (0x00007fbb60096000)

        libc.so.6 => /lib64/libc.so.6 (0x00007fbb5fd02000)

        /lib64/ld-linux-x86-64.so.2 (0x00007fbb63ae8000)

        libnnz11.so => /u01/oracle/product/11204/lib/libnnz11.so (0x00007fbb5f933000)

        libdl.so.2 => /lib64/libdl.so.2 (0x00007fbb5f72f000)

        libaio.so.1 => /lib64/libaio.so.1 (0x00007fbb5f52e000)

3.

oracle@tsl0flexpod-oracle01:[fp03]# cat /u01/oracle/product/11204/config/rman_ntap_nfs_sdb.conf

FILER=10.255.253.41:rman/1v1y1x1K1y1x0y0R

FILERPASS_ENCRYPTED=YES

VOLUMES=10.255.253.41:v_oracledata_tsl0flexpod;10.255.253.41:v_oracleredo_tsl0flexpod;10.255.253.41:v_oraclefra_tsl0flexpod

PROTOCOL=nfs

DB_MOUNTPOINT=10.255.253.41:v_oracledata_tsl0flexpod:/u002;10.255.253.41:v_oracleredo_tsl0flexpod:/u003;10.255.253.41:v_oraclefra_tsl0flexpod:/u004

4.

Yes password was encrypted using mml_pass_encrypt_decrypt_x64.o on the client. and  FILERPASS_ENCRYPTED=YES.

But I also tried with =NO and the plaintext password, same result. (since sbttest seem to update and encrypt on run)

nkarthik
5,742 Views

Hello,

Please change the VOLUMES parameter in config to 10.255.253.41:v_oracledata_tsl0flexpod,v_oracleredo_tsl0flexpod,v_oraclefra_tsl0flexpod. Current MML version only  supports backup and restore database files.

regards,

Karthikeyan.N

FKLIPPENNETAPP
5,742 Views

Hi¨

I tried with only datafile volume like this, but error still remain the same :

FILER=10.255.253.41:rman/1v1y1x1K1y1x0y0R

FILERPASS_ENCRYPTED=YES

VOLUMES=10.255.253.41:v_oracledata_tsl0flexpod

PROTOCOL=nfs

DB_MOUNTPOINT=10.255.253.41:v_oracledata_tsl0flexpod:/u002

nkarthik
5,742 Views

let's have a call to fix it. Please let me know your convenient time.

In the meantime, can you try the backup from rman and send me the sbtio.log to nkarthik@netapp.com to troubleshoot the problem.

Regards,

Karthikeyan.N

FKLIPPENNETAPP
5,742 Views

I now have this working on a fresh installation, thanks for all your help.

nkarthik
5,742 Views

Great. that is Nice. Please let me  know you need any help.

Regards,

Karthikeyan.N

Public