Hi Mohan Kanakam,
This is detail steps
1.start SCs
2.start PLs.
3.enable network delay betwen SC1 and PL4
run cmd in PL4
tc qdisc add dev eth0 root handle 1: htb default 0
tc class add dev eth0 parent 1: classid 1:1 htb rate 100mbit prio 2
tc filter add dev eth0 parent 1: protocol ip handle 800::1  prio 1 u32 flowid 
1:1 match ip dst 10.0.3.101
tc qdisc add dev eth0 parent 1:1  handle 100: netem delay 1000ms
4.block traffic SC1 and PL4 
-waiting for IMM State : IMM_SERVER_SYNC_PENDING --> IMM_SERVER_SYNC_CLIENT by 
using cmd on PL4 
eg: timeout 120 tail -n 0 -F /var/log/syslog  | (grep -m 1 "SERVER STATE: 
IMM_SERVER_SYNC_PENDING --> IMM_SERVER_SYNC_CLIENT"; pkill -P $$ timeout)
-block traffic SC1 and PL4 
5.disable network delay betwen SC1 and PL4
run cmd in PL4
tc filter del dev eth0  parent 1: prio 1 handle 800::1 u32
6.unblock traffic SC1 and PL4.

Note :SC1 and PL4 sycn very quickly cause cmd waiting for IMM State : 
IMM_SERVER_SYNC_PENDING --> IMM_SERVER_SYNC_CLIENT does not work so 
we need to step enable network delay betwen SC1 and PL4
I hope it could help you to reproduce this case.
Regards,
Tran Ngoc Son



---

** [tickets:#3323] imm: PL sync failed after reconnected with SC**

**Status:** assigned
**Milestone:** 5.22.11
**Created:** Wed Oct 05, 2022 09:37 AM UTC by Son Tran Ngoc
**Last Updated:** Fri Oct 07, 2022 11:17 AM UTC
**Owner:** Son Tran Ngoc


Active SC1 and PL4 lost connect suddenly ( may be due to the environment 
reason),they re-established contact but PL4 sync failed due to PL4 did not 
update active SC1 information and discard message from IMMD SC1
PL4 sync failed log
2022-09-22 04:07:05.230 DEBUG: Syncing node PL-4 (timeout=120)
2022-09-22 04:08:06.325 WARNING: waiting more than 60 sec for node PL-4 to sync

PL4 discard message from SC1 log
2022-09-22 04:07:08.406 PL-4 osafimmnd[354]: WA DISCARD message from IMMD 2010f 
as ACT:0 SBY:2020f
2022-09-22 04:07:09.013 PL-4 osafimmnd[354]: message repeated 243 times: [ WA 
DISCARD message from IMMD 2010f as ACT:0 SBY:2020f]
step to reproduce.
1.start SCs, PLs.
2.Block traffic SC1 and PL4 ( make sure block traffic after IMM State : 
IMM_SERVER_SYNC_PENDING --> IMM_SERVER_SYNC_CLIENT ).
3.Unblock traffic SC1 and PL4.


---

Sent from sourceforge.net because [email protected] is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to