on 04-15-2009 3:02 PM
Hello,
i have done a distributed installation CI on node A & DB on node B
details
CI - HOSTNAME - ECCCI
DB - HOSTNAME - ECCDB
SID - PRD
When i move DB vg on node A ,what command i have to use to catalogog a database
i have the command format. please suggest me the exact command
1. command to add the TCP/IP node to the node directory:
db2 catalog tcpip node node_alias_name remote DB2_server_host_name server DB2_port
2. command to catalog the database.
db2 catalog db database_name as database_alias at node node_alias_name
in my case what command should be used?
Thanks & Regards
First, you need to catalog the database on the local host, To do this, use
db2 uncatalog db <sid>
db2 catalog database <sid> on <path>
db2stop
db2start
As you obviously moved the DB to the CI, this should be sufficient to enable the CI to connect. On the SAP side, you might have to maintain the SAPDBHOST variable in the profiles.
Malte
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When i have to use this command
1. when CI is on node A and DB is on node B - sap is working
2. when Ci is on node B and DB is on node B - sap is working
3 when CI is on node A and DB is on node A - sap is not connected to database
do i have to use is this command in 3rd case is there any othere post activities to do.
Hi Uppal,
Instead of catalogging in CI host you can use Thin Client which will have a file in global directory sharing the details of db host and port(even thats y thin client was introduced)
If it is fat client as in your case.Please proceed with following two commands from CI host
--->db2 catalog TCPIP NODE ECCDB REMOTE ECCDB SERVER sapdb2PRD (sapdb2PRD should exists in services file reserving a port)
-
>db2 catalog db PRD at node ECCDB
This will make ur R3trans to work for sure once dscdb6.conf file exists in global directory.To create the same use dscdb6up utility of your kernel which will keep the password of your schema in an encrypted way
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Uppal,
Instead of catalogging in CI host you can use Thin Client which will have a file in global directory sharing the details of db host and port(even thats y thin client was introduced)
If it is fat client as in your case.Please proceed with following two commands from CI host
--->db2 catalog TCPIP ECCDB REMOTE ECCDB SERVER sapdb2PRD (sapdb2PRD should exists in services file reserving a port)
-
>db2 catalog db PRD at node ECCDB
This will make ur R3trans to work for sure once dscdb6.conf file exists in global directory.To create the same use dscdb6up utility of your kernel which will keep the password of your schema in an encrypted way
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.