cancel
Showing results for 
Search instead for 
Did you mean: 

Online Split and BrTools Setup

matthew_stroh
Explorer
0 Kudos

I am in the process of setting brtools and online split. When I was testing the split from the backup server it wants to use rsh to connect production host. So I configured rsh to work between the 2 servers, but my question is I already have ssh configured between the 2 user ids on the 2 servers. How do I tell brtools to use ssh and not remsh?

See the output below is where it is trying to connect to use rsh. But if I could it would nice to ssh. I did not see any parameter I could set in init<SID>.sap. Since I did the test I have upgraded to brtools 7.00 (32).

Thanks for the help.

See the backup log below

BR0051I BRBACKUP 7.00 (30)

BR0055I Start of database backup: bdxuahlm.anr 2008-04-25 17.45.26

BR0484I BRBACKUP log file: /oracle/R3P/sapbackup/bdxuahlm.anr

BR0278E Command output of '/oracle/R3P/102_64/bin/sqlplus':

remshd: Login incorrect.

BR0280I BRBACKUP time stamp: 2008-04-25 17.45.26

BR0279E Return code from '/oracle/R3P/102_64/bin/sqlplus': 1

BR0302E SQLPLUS call for database instance R3P failed

BR0303E Determination of Oracle version failed

BR0303E Determination of Oracle version failed

BR0056I End of database backup: bdxuahlm.anr 2008-04-25 17.45.26

BR0280I BRBACKUP time stamp: 2008-04-25 17.45.26

BR0054I BRBACKUP terminated with errors

Accepted Solutions (0)

Answers (3)

Answers (3)

matthew_stroh
Explorer
0 Kudos

I will give that trace a try. I have not done it before so thanks specifying the note that talks about it.

FYI, My first line of SAP support (Itelligence) said it was remote consulting and thus could not help me.

matthew_stroh
Explorer
0 Kudos

I thought the same thing but no luck. In my brbackup command I specify a specific initR3P.sap.split and not using the default. My command is brbackup -p initR3P.sap.split -d rman_util -r initR3P.utl -t online_split -m all -k no -l E. My initR3P.sap.split contains the lines below that deal wht ssh and scp.

  1. stage copy command [rcp | scp | ftp]

  2. default: rcp

stage_copy_cmd = scp

  1. pipe copy command [rsh | ssh]

  2. default: rsh

pipe_copy_cmd = ssh

When you look at the brbackup log below you will notice the error when it is trying to run sqlplus against the primary database. And not trying to copy something its trying to run executable on the primary database host. Maybe that feature has not been enabled to use ssh yet.

See the backup log below

BR0051I BRBACKUP 7.00 (30)

BR0055I Start of database backup: bdxuahlm.anr 2008-04-25 17.45.26

BR0484I BRBACKUP log file: /oracle/R3P/sapbackup/bdxuahlm.anr

BR0278E Command output of '/oracle/R3P/102_64/bin/sqlplus':

remshd: Login incorrect.

BR0280I BRBACKUP time stamp: 2008-04-25 17.45.26

BR0279E Return code from '/oracle/R3P/102_64/bin/sqlplus': 1

BR0302E SQLPLUS call for database instance R3P failed

BR0303E Determination of Oracle version failed

BR0303E Determination of Oracle version failed

BR0056I End of database backup: bdxuahlm.anr 2008-04-25 17.45.26

BR0280I BRBACKUP time stamp: 2008-04-25 17.45.26

BR0054I BRBACKUP terminated with errors

Former Member
0 Kudos

Hello again

Ok, just some more remarks:

- i can darkly remember, we had to activate remote shell access after a change of BRTools. Maybe it was after switching from 640-ers to BRTools 700.

- you can use -TRC 1 or set an env var BR_TRACE=1 to exactly find the command it is doing. Check SAP note 29321 for more details.

- it might be worth opening a OSS message as well, possibly support for ssh is already planned

Regards

Michael

Former Member
0 Kudos

Hi Matthew

I did not try this myself so far, we still use rcp, but please have a look at the stage_copy_cmd parameter:

http://help.sap.com/saphelp_nw70/helpdata/EN/5c/aa143f1d4a11d2a7620000e81bf4e4/frameset.htm

Regards

Michael