- **Milestone**: 4.5.2 --> 4.6.2


---

** [tickets:#525] when instantiating IMMND,  start_daemon is not staring the 
IMMND for the first time.**

**Status:** assigned
**Milestone:** 4.6.2
**Created:** Fri Jul 26, 2013 02:49 PM UTC by Neelakanta Reddy
**Last Updated:** Wed Jul 15, 2015 01:57 PM UTC
**Owner:** Neelakanta Reddy
**Attachments:**

- [logs.tgz](https://sourceforge.net/p/opensaf/tickets/525/attachment/logs.tgz) 
(1.2 MB; application/x-compressed-tar)
- 
[osafimmnd_SC1.bz2](https://sourceforge.net/p/opensaf/tickets/525/attachment/osafimmnd_SC1.bz2)
 (4.4 MB; application/x-bzip)


Description:

2-controllers and  1 -payload with #501 fix

1. start the two controller SC-1 and SC-2, which is loaded from the PBE with 
45K objects

2. start the payload

3. In the same time, issue the admin restart command at the active controller 
(SC-1)

        amf-adm restart safComp=IMMND,safSu=SC-1,safSg=NoRed,safApp=OpenSAF

4. There are logs added in imm clc-cli script, for instantiate() before and 
after start_daemon

ul 26 17:30:43 Slot-3 osafamfnd[7167]: NO Admin restart requested for 
'safComp=IMMND,safSu=SC-1,safSg=NoRed,safApp=OpenSAF'
Jul 26 17:30:43 Slot-3 osafimmnd[7063]: NO Received AMF component terminate 
callback, exiting
Jul 26 17:30:43 Slot-3 osafimmpbed: NO PBE received SIG_TERM, closing db handle
Jul 26 17:30:43 Slot-3 osafimmpbed: IN IMM PBE process EXITING...
Jul 26 17:30:43 Slot-3 osafimmnd: start /etc/opensaf/osafdir.conf, exiting.
Jul 26 17:30:43 Slot-3 osafimmd[7048]: WA IMMND coordinator at 2010f apparently 
crashed => electing new coord
Jul 26 17:30:43 Slot-3 osafimmd[7048]: NO New coord elected, resides at 2020f
Jul 26 17:30:43 Slot-3 osafimmnd: end /etc/opensaf/osafdir.conf, exiting.
Jul 26 17:30:51 Slot-3 dhclient: DHCPREQUEST on eth0 to 10.176.108.18 port 67
Jul 26 17:30:53 Slot-3 osafamfd[7152]: NO Re-initializing with IMM
Jul 26 17:30:53 Slot-3 osafamfnd[7167]: NO Instantiation of 
'safComp=IMMND,safSu=SC-1,safSg=NoRed,safApp=OpenSAF' failed
Jul 26 17:30:53 Slot-3 osafamfnd[7167]: NO Reason: component registration timer 
expired
Jul 26 17:30:53 Slot-3 osafimmnd: start /etc/opensaf/osafdir.conf, exiting.
Jul 26 17:30:53 Slot-3 osafimmnd: end /etc/opensaf/osafdir.conf, exiting.
Jul 26 17:30:53 Slot-3 osafimmnd[7592]: Started
Jul 26 17:30:53 Slot-3 osafimmnd[7592]: NO Persistent Back-End capability 
configured, Pbe file:imm.db
Jul 26 17:30:53 Slot-3 osafamfd[7152]: NO saImmOiAdminOperationResult for 
30064771073 failed 9
Jul 26 17:30:53 Slot-3 osafimmd[7048]: NO New IMMND process is on ACTIVE 
Controller at 2010f
Jul 26 17:30:53 Slot-3 osafimmnd[7592]: NO SERVER STATE: IMM_SERVER_ANONYMOUS 
--> IMM_SERVER_CLUSTER_WAITING
Jul 26 17:30:53 Slot-3 osafimmnd[7592]: NO SERVER STATE: 
IMM_SERVER_CLUSTER_WAITING --> IMM_SERVER_LOADING_PENDING
Jul 26 17:30:53 Slot-3 osafimmnd[7592]: NO SERVER STATE: 
IMM_SERVER_LOADING_PENDING --> IMM_SERVER_SYNC_PENDING
Jul 26 17:30:53 Slot-3 osafimmd[7048]: WA IMMND on controller (not currently 
coord) requests sync
Jul 26 17:30:53 Slot-3 osafimmnd[7592]: NO NODE STATE-> IMM_NODE_ISOLATED
Jul 26 17:30:53 Slot-3 osafimmd[7048]: NO Node 2010f request sync sync-pid:7592 
epoch:0
Jul 26 17:30:54 Slot-3 osafimmnd[7592]: NO NODE STATE-> IMM_NODE_W_AVAILABLE
Jul 26 17:30:54 Slot-3 osafimmd[7048]: NO Successfully announced sync. New 
ruling epoch:13
Jul 26 17:30:54 Slot-3 osafimmnd[7592]: NO SERVER STATE: 
IMM_SERVER_SYNC_PENDING --> IMM_SERVER_SYNC_CLIENT
Jul 26 17:31:04 Slot-3 dhclient: DHCPREQUEST on eth0 to 10.176.108.18 port 67
Jul 26 17:31:12 Slot-3 osafimmd[7048]: NO ACT: New Epoch for IMMND process at 
node 2020f old epoch: 12  new epoch:13
Jul 26 17:31:13 Slot-3 osafimmd[7048]: NO ACT: New Epoch for IMMND process at 
node 2030f old epoch: 0  new epoch:13
Jul 26 17:31:13 Slot-3 osafimmnd[7592]: NO NODE STATE-> 
IMM_NODE_FULLY_AVAILABLE 2171

5. when the above logs are analyzed, the amfnd is instantiating IMMND but the 
start_daemon for some reason is unable to start the immnd process.

Jul 26 17:30:43 Slot-3 osafimmnd: start /etc/opensaf/osafdir.conf, exiting.
Jul 26 17:30:43 Slot-3 osafimmd[7048]: WA IMMND coordinator at 2010f apparently 
crashed => electing new coord
Jul 26 17:30:43 Slot-3 osafimmd[7048]: NO New coord elected, resides at 2020f
Jul 26 17:30:43 Slot-3 osafimmnd: end /etc/opensaf/osafdir.conf, exiting.

6. After, 10 seconds when component registration timer expired then the amfnd 
tries to instantiate again and immnd got started.

Jul 26 17:30:53 Slot-3 osafimmnd: start /etc/opensaf/osafdir.conf, exiting.
Jul 26 17:30:53 Slot-3 osafimmnd: end /etc/opensaf/osafdir.conf, exiting.
Jul 26 17:30:53 Slot-3 osafimmnd[7592]: Started

7. IMMND and IMMD traces has no logging when the amfnd tries to instantiate for 
first time.

8. when analyzed from IMM perspective:

PL-3 sent the request for sync to SC-1
SC-1 IMMD sent SYN_REQ to both PL-3 and co-ordinator (to start sync)
SC-1 immnd marked SyncRequested as true, but in same second the IMMND at SC-1 
got terminated by admin-operation.Sync-request did not succeed.




---

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