on 10-09-2013 12:01 PM
I am trying to connect to DB2 databases to the dbacockpit in solution manager. The challenge is the databases are on numerous remote networks. We have SAP Routers on each network which we use for RFC connections allowing the managed systems to be connected to our solution manager.
I have searched and found methods to connect remote MAX DB and Oracle databases to solution manager dbacockpit but nothing for DB2.
Please advise if there is a method to achieve this, we are using Solution Manager 7.1 SP08.
Hi David ,
Please check SAP Note No. 1265134
DBA Cockpit: Connecting a remote database
BR
A tul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
anything new? we would know it too
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi David,
Could you connect to a remote Database successfully using SAP Router. If yes, can you please let me know how?
Thank you.
Best Regards,
Shilpa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Steps that we took:
Call transaction SOLMAN_SETUP > Select Managed System Configuration > Select Managed System with DB2 Database and Click the Configure System button> Go to step 5 Enter System Parameters> Mark Setup DBACockpit / DB extractors.
Specified the following for the database connection:
Database host = /H/<SAPROUTER HOST>/S/3299/H/<SAPROUTER HOST>/S/3299/H/<DB Host>
Database Name = <SID>
Port = <Listening Port of DB>
Database User = DB2<SID>
Password = *******
Then we get the below error.
Database connection <SID>: SQL error 1336- SQL 1336N The remote host “/H/<SAPROUTER HOST>/S/3299/H/<SAPROUTER HOST>/S/3299/H/<DB Host>” was not found. SQLSTATE=08001
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello David,
Below document may help.
http://scn.sap.com/docs/DOC-43039Connect to DB2 in dbacockpit via saprouter?
Monitoring IBM DB2 for Linux, UNIX, and Windows in SAP System Landscapes Using SAP Solution Manager 7.1
(Chapter 3: SAP Solution Manager Setup: Setup of Managed Systems)
Kind regards
Maria
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Maria
Thanks but document assumes the machines are on the same network or at least the solution manager or DB2 client can see the DB2 server. If we establish a VPN to the client this works, but we have multiple clients so establishing a VPN is not a viable solution, besides the network confusion caused by this. We are using the SAP Router and Web dispatcher to get past most of those issues.
MaxDB allows you to use a router string as the hostname for the database server. Oracle allows for RFC connections. when we try this on DB2 connection we get this:
Steps that we took:
Call transaction SOLMAN_SETUP > Select Managed System Configuration > Select Managed System with DB2 Database and Click the Configure System button> Go to step 5 Enter System Parameters> Mark Setup DBACockpit / DB extractors.
Specified the following for the database connection:
Database host = /H/<SAPROUTER HOST>/S/3299/H/<SAPROUTER HOST>/S/3299/H/<DB Host>
Database Name = <SID>
Port = <Listening Port of DB>
Database User = DB2<SID>
Password = *******
Then we get the below error.
Database connection <SID>: SQL error 1336- SQL 1336N The remote host “/H/<SAPROUTER HOST>/S/3299/H/<SAPROUTER HOST>/S/3299/H/<DB Host>” was not found. SQLSTATE=08001
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.