Please share db2diag.log so that I trace thoroughly.
Sr. Systems Engineer | Information Technology
Dollar Industries Pvt. Ltd. | D-85, S.I.T.E Area, Karachi
Original Message:
Sent: Tue December 19, 2023 04:02 AM
From: Guy Przytula
Subject: port and hadr
i do not see why adding an additional translation, by using /etc/services instead of hardcoded hadr svc would resolve the problem
I anyhow tested it and the problem remains the same as expected
------------------------------
Thanks for all answers
Best Regards,
Guy Przytula
------------------------------
Original Message:
Sent: Tue December 19, 2023 03:30 AM
From: Sarwar Javaid
Subject: port and hadr
I understand that you are facing problem. Now do the following steps:
- stop firewall and disable it.
[root@~] iptables-save -F
[root@~] iptables-save -X
[root@~] iptables-save -t nat -X
[root@~] systemctl stop iptables ................. or [root@~] systemctl stop firewalld
[root@~] systemctl disable iptables .............. or [root@~] systemctl disable firewalld
2. update /etc/services in both nodes [ primary and secondary]
For example:
db2_hadr_primises 50064/tcp
db2_hadr_drsite 50070/tcp
----------------------------------------------------------------------------------------------------------------------------------------
primary node: db2_hadr_primises
secondary node: db2_hadr_drsite
# sudo su - db2inst1
[db2inst1@~] db2 update db cfg for acc1 using HADR_LOCAL_SVC db2_hadr_primises
[db2inst1@~] db2 update db cfg for acc1 using HADR_REMOTE_SVC db2_hadr_drsite
..........................
Restart db2
Take new session for monitoring via putty., if you are familiar if windows desktop
[root@~] updatedb; locate db2diag.log
[root@~] sudo su - db2inst
[db2inst1@~] tail -f /home/db2inst1/sqllib/db2dump/db2diag.log
Do aforesaid mentioned steps and update us asp.
------------------------------
Sarwar Javaid
Sr. Systems Engineer | Information Technology
Dollar Industries Pvt. Ltd. | D-85, S.I.T.E Area, Karachi
Cell: (+92) 346 2595970
Original Message:
Sent: Tue December 19, 2023 02:27 AM
From: Guy Przytula
Subject: port and hadr
thanks for the comment
but the problem has nothing todo with db2 cfg/setup. this was done correctly
db2 is complaining about O/S error and get socket....
as the system person does not know what is wrong, I posted this question. maybe someone has seen this before and a hint could help to resolve
small remark : Just follow link .... the link is pointing to this entry and not to the video.
------------------------------
Thanks for all answers
Best Regards,
Guy Przytula
Original Message:
Sent: Fri December 15, 2023 02:24 AM
From: Sarwar Javaid
Subject: port and hadr
Just follow link and watch linked video [ complete advance level hadr setup step by step]. Hope it will resolve your issues after watch described link video
https://community.ibm.com/community/user/datamanagement/discussion/port-and-hadr#bme1080b6b-5e8d-43cd-9c92-ba1787628d1a
------------------------------
Sarwar Javaid
Sr. Systems Engineer | Information Technology
Dollar Industries Pvt. Ltd. | D-85, S.I.T.E Area, Karachi
Cell: (+92) 346 2595970