on 04-29-2008 8:54 PM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
stage copy command [rcp | scp | ftp]
default: rcp
stage_copy_cmd = scp
pipe copy command [rsh | ssh]
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.