Hi Dheeroj,
Thanks for the information. I can't find saAmfCompInstantiationLevel in
safComp=CSGMSComp,safSu=SU-n2s2,safSg=HenbGw-SG,safApp=HenbGwApp.


Here is how your expectations will be met (I assume they are all SA-Aware
components.):
1. Configure saAmfCompInstantiationLevel (1, 2, 3, 4, etc as per your need)
in all the components of safSu=SU-n2s1,safSg=HenbGw-SG,safApp=HenbGwApp
2. Configure saAmfCompInstantiationLevel (1, 2, 3, 4, etc as per your need)
in all the components of safSu=SU-n2s2,safSg=HenbGw-SG,safApp=HenbGwApp

Then lock/lock-in/unlock-in/unlock
safSu=SU-n2s1,safSg=HenbGw-SG,safApp=HenbGwApp and
safSu=SU-n2s2,safSg=HenbGw-SG,safApp=HenbGwApp 

Sample configuration of components of
safSu=SU-n2s1,safSg=HenbGw-SG,safApp=HenbGwApp:
        <object class="SaAmfComp">
 
<dn>safComp=mds,safSu=SU-n2s1,safSg=HenbGw-SG,safApp=HenbGwApp</dn>
                <attr>
                        <name>saAmfCompType</name>
 
<value>safVersion=4.0.0,safCompType=CSGMSCompType</value>
                </attr>
                <attr>
                        <name>saAmfCompInstantiationLevel</name>
                        <value>1</value>
                </attr>..........

        <object class="SaAmfComp">
 
<dn>safComp=logMgr,safSu=SU-n2s1,safSg=HenbGw-SG,safApp=HenbGwApp</dn>
                <attr>
                        <name>saAmfCompType</name>
 
<value>safVersion=4.0.0,safCompType=CSGMSCompType</value>
                </attr>
                <attr>
                        <name>saAmfCompInstantiationLevel</name>
                        <value>2</value>
                </attr>..........

        <object class="SaAmfComp">
 
<dn>safComp=hamgr,safSu=SU-n2s1,safSg=HenbGw-SG,safApp=HenbGwApp</dn>
                <attr>
                        <name>saAmfCompType</name>
 
<value>safVersion=4.0.0,safCompType=CSGMSCompType</value>
                </attr>
                <attr>
                        <name>saAmfCompInstantiationLevel</name>
                        <value>3</value>
                </attr>..........

        <object class="SaAmfComp">
 
<dn>safComp=csgms,safSu=SU-n2s1,safSg=HenbGw-SG,safApp=HenbGwApp</dn>
                <attr>
                        <name>saAmfCompType</name>
 
<value>safVersion=4.0.0,safCompType=CSGMSCompType</value>
                </attr>
                <attr>
                        <name>saAmfCompInstantiationLevel</name>
                        <value>4</value>
                </attr>..........

        <object class="SaAmfComp">
 
<dn>safComp=lbs,safSu=SU-n2s1,safSg=HenbGw-SG,safApp=HenbGwApp</dn>
                <attr>
                        <name>saAmfCompType</name>
 
<value>safVersion=4.0.0,safCompType=CSGMSCompType</value>
                </attr>
                <attr>
                        <name>saAmfCompInstantiationLevel</name>
                        <value>5</value>
                </attr>..........

        <object class="SaAmfComp">
 
<dn>safComp=psm,safSu=SU-n2s1,safSg=HenbGw-SG,safApp=HenbGwApp</dn>
                <attr>
                        <name>saAmfCompType</name>
 
<value>safVersion=4.0.0,safCompType=CSGMSCompType</value>
                </attr>
                <attr>
                        <name>saAmfCompInstantiationLevel</name>
                        <value>6</value>
                </attr>..........

        <object class="SaAmfComp">
 
<dn>safComp=hma,safSu=SU-n2s1,safSg=HenbGw-SG,safApp=HenbGwApp</dn>
                <attr>
                        <name>saAmfCompType</name>
 
<value>safVersion=4.0.0,safCompType=CSGMSCompType</value>
                </attr>
                <attr>
                        <name>saAmfCompInstantiationLevel</name>
                        <value>7</value>
                </attr>..........


Sample configuration of components of
safSu=SU-n2s2,safSg=HenbGw-SG,safApp=HenbGwApp:
        <object class="SaAmfComp">
 
<dn>safComp=mds,safSu=SU-n2s2,safSg=HenbGw-SG,safApp=HenbGwApp</dn>
                <attr>
                        <name>saAmfCompType</name>
 
<value>safVersion=4.0.0,safCompType=CSGMSCompType</value>
                </attr>
                <attr>
                        <name>saAmfCompInstantiationLevel</name>
                        <value>1</value>
                </attr>..........

        <object class="SaAmfComp">
 
<dn>safComp=logMgr,safSu=SU-n2s2,safSg=HenbGw-SG,safApp=HenbGwApp</dn>
                <attr>
                        <name>saAmfCompType</name>
 
<value>safVersion=4.0.0,safCompType=CSGMSCompType</value>
                </attr>
                <attr>
                        <name>saAmfCompInstantiationLevel</name>
                        <value>2</value>
                </attr>..........

        <object class="SaAmfComp">
 
<dn>safComp=hamgr,safSu=SU-n2s2,safSg=HenbGw-SG,safApp=HenbGwApp</dn>
                <attr>
                        <name>saAmfCompType</name>
 
<value>safVersion=4.0.0,safCompType=CSGMSCompType</value>
                </attr>
                <attr>
                        <name>saAmfCompInstantiationLevel</name>
                        <value>3</value>
                </attr>..........

        <object class="SaAmfComp">
 
<dn>safComp=csgms,safSu=SU-n2s2,safSg=HenbGw-SG,safApp=HenbGwApp</dn>
                <attr>
                        <name>saAmfCompType</name>
 
<value>safVersion=4.0.0,safCompType=CSGMSCompType</value>
                </attr>
                <attr>
                        <name>saAmfCompInstantiationLevel</name>
                        <value>4</value>
                </attr>..........

        <object class="SaAmfComp">
 
<dn>safComp=lbs,safSu=SU-n2s2,safSg=HenbGw-SG,safApp=HenbGwApp</dn>
                <attr>
                        <name>saAmfCompType</name>
 
<value>safVersion=4.0.0,safCompType=CSGMSCompType</value>
                </attr>
                <attr>
                        <name>saAmfCompInstantiationLevel</name>
                        <value>5</value>
                </attr>..........

        <object class="SaAmfComp">
 
<dn>safComp=psm,safSu=SU-n2s2,safSg=HenbGw-SG,safApp=HenbGwApp</dn>
                <attr>
                        <name>saAmfCompType</name>
 
<value>safVersion=4.0.0,safCompType=CSGMSCompType</value>
                </attr>
                <attr>
                        <name>saAmfCompInstantiationLevel</name>
                        <value>6</value>
                </attr>..........

        <object class="SaAmfComp">
 
<dn>safComp=hma,safSu=SU-n2s2,safSg=HenbGw-SG,safApp=HenbGwApp</dn>
                <attr>
                        <name>saAmfCompType</name>
 
<value>safVersion=4.0.0,safCompType=CSGMSCompType</value>
                </attr>
                <attr>
                        <name>saAmfCompInstantiationLevel</name>
                        <value>7</value>
                </attr>..........


Hope it helps.
Thanks
-Nagendra
High Availability Solutions
- OpenSAF Support and Services
www.hasolutions.in
[email protected]
Hyderabad, India: +91-9866424860   |   Delaware, USA: +1 508-422-7725


-----Original Message-----
From: Dheeroj Ram [mailto:[email protected]] 
Sent: 08 November 2018 14:38
To: Nagendra Kumar; [email protected]
Subject: RE: [users] Process orders are not in sync between Controllers.

Hi Nagendra, 

Please ignore the last mail and consider this. Really sorry.

Hi Nagendra, 

Thank you so much for your help and quick response.

As per your input I have modified the saAmfCompInstantiationLevel , but
still issue is not fixed. 
Here is my ps output:

Controller -1 
= = = = = = = 
vm-n2s1:~# ps -eo pid,lstart,cmd | grep ins
 8664 Thu Nov  8 13:05:26 2018 /hegw/gsw/bin/mds instantiate
 8697 Thu Nov  8 13:05:28 2018 /hegw/gsw/bin/logMgr instantiate
 8722 Thu Nov  8 13:05:30 2018 /hegw/gsw/bin/hamgr instantiate
 8795 Thu Nov  8 13:05:37 2018 /hegw/gsw/bin/csgms instantiate
 8830 Thu Nov  8 13:05:39 2018 /hegw/gsw/bin/lbs instantiate
21656 Thu Nov  8 13:21:51 2018 /hegw/gsw/bin/psm instantiate
21712 Thu Nov  8 13:21:54 2018 /hegw/gsw/bin/hma instantiate

Controller-2 
=  = = = = = =

vm-n2s2:~# ps -eo pid,lstart,cmd | grep ins
 6439 Thu Nov  8 13:24:59 2018 /hegw/gsw/bin/mds instantiate
 6474 Thu Nov  8 13:25:01 2018 /hegw/gsw/bin/csgms instantiate
 6495 Thu Nov  8 13:25:04 2018 /hegw/gsw/bin/hamgr instantiate
 6520 Thu Nov  8 13:25:06 2018 /hegw/gsw/bin/hma instantiate
 6551 Thu Nov  8 13:25:08 2018 /hegw/gsw/bin/lbs instantiate
 6580 Thu Nov  8 13:25:10 2018 /hegw/gsw/bin/logMgr instantiate
 6613 Thu Nov  8 13:25:12 2018 /hegw/gsw/bin/psm instantiate

Please find the below part of code from imm.xml,  for your reference.

        <object class="SaAmfComp">
 
<dn>safComp=CSGMSComp,safSu=SU-n2s1,safSg=HenbGw-SG,safApp=HenbGwApp</dn>
                <attr>
                        <name>saAmfCompType</name>
 
<value>safVersion=4.0.0,safCompType=CSGMSCompType</value>
                </attr>
                <attr>
                        <name>saAmfCompInstantiationLevel</name>
                        <value>6</value>
                </attr>
                <attr>
                        <name>saAmfCompCmdEnv</name>
                        <value>AMF_DEMO_VAR2=COMP1_OVERLOAD_VALUE2</value>
                        <value>AMF_DEMO_VAR3=COMP1_VALUE3</value>
                        <value>AMF_DEMO_VAR4=COMP1_VALUE4</value>
                </attr>
        </object>
        <object class="SaAmfCompCsType">
 
<dn>safSupportedCsType=safVersion=4.0.0\,safCSType=CSGMSCompType,safComp=CSG
MSComp,safSu=SU-n2s1,safSg=HenbGw-SG,safApp=HenbGwApp</dn>
        </object>
        <object class="SaAmfComp">
 
<dn>safComp=CSGMSComp,safSu=SU-n2s2,safSg=HenbGw-SG,safApp=HenbGwApp</dn>
                <attr>
                        <name>saAmfCompType</name>
 
<value>safVersion=4.0.0,safCompType=CSGMSCompType</value>
                </attr>
                <attr>
                        <name>saAmfCompCmdEnv</name>
                        <value>AMF_DEMO_VAR2=COMP2_OVERLOAD_VALUE2</value>
                        <value>AMF_DEMO_VAR3=COMP2_VALUE3</value>
                        <value>AMF_DEMO_VAR4=COMP2_VALUE4</value>
                </attr>
        </object>


Please help. 

Thanks And Regards
Dheeroj


-----Original Message-----
From: Dheeroj Ram <[email protected]> 
Sent: 08 November 2018 14:01
To: Nagendra Kumar <[email protected]>;
[email protected]
Subject: Re: [users] Process orders are not in sync between Controllers.

Hi Nagendra, 

Thank you so much for your help and quick response.

As per your input I have modified the saAmfCompInstantiationLevel , but
still issue is not fixed. 
Here is my ps output:

Controller -1 
= = = = = = = 
vm-n2s1:~# ps -eo pid,lstart,cmd | grep ins
 8664 Thu Nov  8 13:05:26 2018 /hegw/gsw/bin/mds instantiate
 8697 Thu Nov  8 13:05:28 2018 /hegw/gsw/bin/logMgr instantiate
 8722 Thu Nov  8 13:05:30 2018 /hegw/gsw/bin/hamgr instantiate
 8795 Thu Nov  8 13:05:37 2018 /hegw/gsw/bin/csgms instantiate
 8830 Thu Nov  8 13:05:39 2018 /hegw/gsw/bin/lbs instantiate
21656 Thu Nov  8 13:21:51 2018 /hegw/gsw/bin/psm instantiate
21712 Thu Nov  8 13:21:54 2018 /hegw/gsw/bin/hma instantiate

Controller-2 
=  = = = = = =

vm-n2s2:~# ps -eo pid,lstart,cmd | grep ins
 6439 Thu Nov  8 13:24:59 2018 /hegw/gsw/bin/mds instantiate
 6474 Thu Nov  8 13:25:01 2018 /hegw/gsw/bin/csgms instantiate
 6495 Thu Nov  8 13:25:04 2018 /hegw/gsw/bin/hamgr instantiate
 6520 Thu Nov  8 13:25:06 2018 /hegw/gsw/bin/hma instantiate
 6551 Thu Nov  8 13:25:08 2018 /hegw/gsw/bin/lbs instantiate
 6580 Thu Nov  8 13:25:10 2018 /hegw/gsw/bin/logMgr instantiate
 6613 Thu Nov  8 13:25:12 2018 /hegw/gsw/bin/psm instantiate

Please find the below part of code from imm.xml,  for your reference.

Controller-1:
= = = = = = = 

        <object class="SaAmfComp">
 
<dn>safComp=CSGMSComp,safSu=SU-n2s1,safSg=HenbGw-SG,safApp=HenbGwApp</dn>
                <attr>
                        <name>saAmfCompType</name>
 
<value>safVersion=4.0.0,safCompType=CSGMSCompType</value>
                </attr>
                <attr>
                        <name>saAmfCompInstantiationLevel</name>
                        <value>6</value>
                </attr>
                <attr>
                        <name>saAmfCompCmdEnv</name>
                        <value>AMF_DEMO_VAR2=COMP1_OVERLOAD_VALUE2</value>
                        <value>AMF_DEMO_VAR3=COMP1_VALUE3</value>
                        <value>AMF_DEMO_VAR4=COMP1_VALUE4</value>
                </attr>
        </object>
        <object class="SaAmfCompCsType">
 
<dn>safSupportedCsType=safVersion=4.0.0\,safCSType=CSGMSCompType,safComp=CSG
MSComp,safSu=SU-n2s1,safSg=HenbGw-SG,safApp=HenbGwApp</dn>
        </object>
        <object class="SaAmfComp">
 
<dn>safComp=CSGMSComp,safSu=SU-n2s2,safSg=HenbGw-SG,safApp=HenbGwApp</dn>
                <attr>
                        <name>saAmfCompType</name>
 
<value>safVersion=4.0.0,safCompType=CSGMSCompType</value>
                </attr>
                <attr>
                        <name>saAmfCompCmdEnv</name>
                        <value>AMF_DEMO_VAR2=COMP2_OVERLOAD_VALUE2</value>
                        <value>AMF_DEMO_VAR3=COMP2_VALUE3</value>
                        <value>AMF_DEMO_VAR4=COMP2_VALUE4</value>
                </attr>
        </object>

Controller-2
= = = = = = = 

        <object class="SaAmfComp">
 
<dn>safComp=CSGMSComp,safSu=SU-n2s2,safSg=HenbGw-SG,safApp=HenbGwApp</dn>
                <attr>
                        <name>saAmfCompType</name>
 
<value>safVersion=4.0.0,safCompType=CSGMSCompType</value>
                </attr>
                <attr>
                        <name>saAmfCompInstantiationLevel</name>
                        <value>6</value>
                </attr>
                <attr>
                        <name>saAmfCompCmdEnv</name>
                        <value>AMF_DEMO_VAR2=COMP1_OVERLOAD_VALUE2</value>
                        <value>AMF_DEMO_VAR3=COMP1_VALUE3</value>
                        <value>AMF_DEMO_VAR4=COMP1_VALUE4</value>
                </attr>
        </object>
        <object class="SaAmfCompCsType">
 
<dn>safSupportedCsType=safVersion=4.0.0\,safCSType=CSGMSCompType,safComp=CSG
MSComp,safSu=SU-n2s1,safSg=HenbGw-SG,safApp=HenbGwApp</dn>
        </object>
        <object class="SaAmfComp">
 
<dn>safComp=CSGMSComp,safSu=SU-n2s2,safSg=HenbGw-SG,safApp=HenbGwApp</dn>
                <attr>
                        <name>saAmfCompType</name>
 
<value>safVersion=4.0.0,safCompType=CSGMSCompType</value>
                </attr>
                <attr>
                        <name>saAmfCompCmdEnv</name>
                        <value>AMF_DEMO_VAR2=COMP2_OVERLOAD_VALUE2</value>
                        <value>AMF_DEMO_VAR3=COMP2_VALUE3</value>
                        <value>AMF_DEMO_VAR4=COMP2_VALUE4</value>
                </attr>
        </object>

Please help. 

Thanks And Regards
Dheeroj 


-----Original Message-----
From: Nagendra Kumar <[email protected]> 
Sent: 07 November 2018 17:13
To: Dheeroj Ram <[email protected]>;
[email protected]
Subject: RE: [users] Process orders are not in sync between Controllers.

Hi Dheeroj,
Please check saAmfCompInstantiationLevel of the components. I assume that
they are all in the same SU.

Thanks
-Nagendra
High Availability Solutions
- OpenSAF Support and Services
www.hasolutions.in
[email protected]
Hyderabad, India: +91-9866424860   |   Delaware, USA: +1 508-422-7725


-----Original Message-----
From: Dheeroj Ram [mailto:[email protected]]
Sent: 07 November 2018 15:42
To: [email protected]
Subject: [users] Process orders are not in sync between Controllers.

Hi All,

I am using Opensaf - 5.17.07.
I have 2 controllers (Active/Standby) and 20 payloads. Opensaf is running
fine in all the modules.

But problem is :
I have applications (mds logMgr hamgr hma psm csgms lbs )running on
Controllers.
In Controller-1 the applications are running on expected order but in
Controller-2 the applications  orders are different.
Here is the ps output of both the controllers:

Controller-1
=  =   =   =   =

vm-n2s1:~#  ps -eo pid,lstart,cmd | grep ins
4194 Wed Oct 31 11:06:03 2018 /hegw/gsw/bin/mds instantiate
4217 Wed Oct 31 11:06:06 2018 /hegw/gsw/bin/logMgr instantiate
4243 Wed Oct 31 11:06:08 2018 /hegw/gsw/bin/hamgr instantiate
4295 Wed Oct 31 11:06:10 2018 /hegw/gsw/bin/hma instantiate
4316 Wed Oct 31 11:06:12 2018 /hegw/gsw/bin/psm instantiate
4367 Wed Oct 31 11:06:14 2018 /hegw/gsw/bin/csgms instantiate
4392 Wed Oct 31 11:06:16 2018 /hegw/gsw/bin/lbs instantiate

Controller-2
=    =    =   =  =
vm-n2s2:~# ps -eo pid,lstart,cmd | grep ins
21379 Wed Nov  7 09:14:13 2018 /hegw/gsw/bin/psm instantiate
21416 Wed Nov  7 09:14:15 2018 /hegw/gsw/bin/lbs instantiate
21439 Wed Nov  7 09:14:17 2018 /hegw/gsw/bin/hma instantiate
21460 Wed Nov  7 09:14:19 2018 /hegw/gsw/bin/csgms instantiate
21499 Wed Nov  7 09:14:21 2018 /hegw/gsw/bin/mds instantiate
21528 Wed Nov  7 09:14:23 2018 /hegw/gsw/bin/logMgr instantiate
21563 Wed Nov  7 09:14:26 2018 /hegw/gsw/bin/hamgr instantiate

I am expecting , processes should execute in desire order for controller-2
as well .

Please help.

Thanks & Regards
Dheeroj
============================================================================
================================================

Disclaimer:  This message and the information contained herein is
proprietary and confidential and subject to the Tech Mahindra policy
statement, you may review the policy at
http://www.techmahindra.com/Disclaimer.html
<http://www.techmahindra.com/Disclaimer.html> externally
http://tim.techmahindra.com/tim/disclaimer.html
<http://tim.techmahindra.com/tim/disclaimer.html> internally within
TechMahindra.

============================================================================
================================================

_______________________________________________
Opensaf-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-users



_______________________________________________
Opensaf-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-users



_______________________________________________
Opensaf-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-users

Reply via email to