No you were right, I had misconfigured it. :-)

regards,
Anders Widell

2013-10-03 10:35, Anders Widell skrev:
> I think it looks like you require IP addresses to be configured
> correctly in /etc/opensaf/dtmd.conf even when I am running with TIPC. Is
> this neccessary? It was not necessary before this patch...
>
> regards,
> Anders Widell
>
> 2013-10-03 05:53, A V Mahesh skrev:
>> Hi Anders Widell ,
>>
>> I didn't tested TIPC enabled in UML , But the below Syslog says
>> indicates a configuration issue .
>>
>> `--enable-tipc` configuration option will only builds  both TCP & TIPC
>> binaries , but  by default OpenSAF is configured (nid.conf ) to uses
>> MDS/TCP as  messaging protocol.
>> If we want bring up OpenSAF  with MDS/TIPC messaging protocol  ,we
>> need to enable MDS/TIPC configuration  ( please see the instruction 8
>> below) .
>>
>> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>>
>>      8) Enabling OpenSAF MDS to use TIPC transport protocol :
>> ==============================================================================================
>>
>>           # export MDS_TRANSPORT=TIPC     or    Change MDS_TRANSPORT to
>> "TIPC" in "nid.conf" file
>>           # Change TIPC_ETH_IF to your network interface name, e.g. eth3
>>           # Change TIPC_NET_ID to your TIPC net-id ,e.g 4711
>> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>>
>>
>> - AVM
>>
>> On 10/1/2013 7:09 PM, Anders Widell wrote:
>>> Hi!
>>>
>>> Did you test this with TIPC enabled in UML? I don't get the system up
>>> and running. Syslog says:
>>>
>>> Oct  1 15:35:29 SC-1 user.notice opensafd: Starting OpenSAF Services
>>> Oct  1 15:35:30 SC-1 local0.notice osafdtmd[341]: Started
>>> Oct  1 15:35:30 SC-1 local0.err osafdtmd[341]: ER DTM: Validation of
>>> IP address failed : 10.130.100.114
>>> Oct  1 15:35:30 SC-1 local0.err osafdtmd[341]: ER DTM: ip_addr cannot
>>> match available network interfaces with IPs of node specified in the
>>> dtm.conf file
>>> Oct  1 15:35:30 SC-1 local0.err osafdtmd[341]: ER DTM:Error reading
>>> /etc/opensaf/dtmd.conf.  errno : -1
>>> Oct  1 15:35:30 SC-1 local0.err opensafd[336]: ER Failed DESC:TRANSPORT
>>> Oct  1 15:35:30 SC-1 local0.err opensafd[336]: ER Going for recovery
>>> Oct  1 15:35:30 SC-1 local0.err opensafd[336]: ER Trying To RESPAWN
>>> /usr/local/lib/opensaf/clc-cli/osaf-transport attempt #1
>>> Oct  1 15:35:30 SC-1 local0.err opensafd[336]: ER Sending SIGKILL to
>>> TRANSPORT, pid=337
>>> Oct  1 15:35:30 SC-1 local0.err opensafd[345]: ER Failed to exec
>>> while forking script, err=No such file or directory
>>> Oct  1 15:35:31 SC-1 user.notice osafdtmd: osafdtmd Process down,
>>> Rebooting the node
>>> Oct  1 15:35:31 SC-1 user.notice opensaf_reboot: Rebooting local
>>> node; timeout=60
>>>
>>> I configured it with:
>>>
>>> ./configure --enable-tipc CFLAGS="-O2 -DRUNASROOT" CXXFLAGS="-O2
>>> -DRUNASROOT"
>>>
>>> regards,
>>> Anders Widell
>>>
>>> 2013-09-26 05:54, mahesh.va...@oracle.com skrev:
>>>> Summary:opensaf:make MDS/TCP as the default opensaf transport[#232]
>>>> Review request for Trac Ticket(s): #232
>>>> Peer Reviewer(s): Hans & Mathi
>>>> Pull request to: <<LIST THE PERSON WITH PUSH ACCESS HERE>>
>>>> Affected branch(es): defualt
>>>> Development branch: <<IF ANY GIVE THE REPO URL>>
>>>>
>>>> --------------------------------
>>>> Impacted area       Impact y/n
>>>> --------------------------------
>>>>    Docs                    n
>>>>    Build system            y
>>>>    RPM/packaging           y
>>>>    Configuration files     y
>>>>    Startup scripts         y
>>>>    SAF services            n
>>>>    OpenSAF services        n
>>>>    Core libraries          n
>>>>    Samples                 n
>>>>    Tests                   n
>>>>    Other                   n
>>>>
>>>>
>>>> Comments (indicate scope for each "y" above):
>>>> ---------------------------------------------
>>>> Before re-publishing this MDS/TCP the default patch, following has
>>>> been addressed compare to previously published patch :
>>>>         - Fixed some quality issues in TCP to improve performance and
>>>> stability (#273,#1799,#1993,#3116,#2707,#3113,#306,#2845,#2875).
>>>>       - 70 node setup bring up and switchover and fail-over are
>>>> tested ,test performance results are close to TIPC.
>>>>       - Addressed comments give by Hans in previously published patch.
>>>>      Following are the changes :
>>>>      1) Now no configuration change required in nodeinit.conf . The
>>>> nodeinit.conf contains a single osaf-transport entry ,
>>>>       in the MDS/TCP case, it calls "osaf-dtm start" and in MDS/TIPC
>>>> case, it calls "configure_tipc" ( nid_tipc renamed ).
>>>>      2) sed command of nodeinit.conf from the opensafd start script
>>>> is removed .
>>>>      3) Now all  configuration related to osaf-transport consolidated
>>>> in nid.conf, such as choosing
>>>>        MDS transport protocol (TIPC or TCP), when MDS_TRANSPORT is
>>>> chosen the TIPC the network interface name configuration
>>>>       (e.g. eth0/eth1/eth3) and TIPC net-id (e.g. 1234) has to be
>>>> configured appropriately.
>>>>      4) The old nid_tipc script  renamed to "configure_tipc" .
>>>>      5) mds log rotation is moved to nodeinit.conf common
>>>> "osaf-transport" script .
>>>>      6) Then dh_monitoring is renamed to "osaf-transport-monitor" to
>>>> match  osaf prefix.
>>>>      7) Build options  :
>>>>           i ) OpenSAF Build with  Only TCP Binaries & configuration.
>>>>             By default OpenSAFuses MDS/TCP as messaging protocol.
>>>> That simplifies things on Nodes where TIPC is
>>>>           NOT enabled in kernels .
>>>> ==================================================================
>>>>             #./bootstrap.sh
>>>>             #./configure                 (TIPC [default=no] )
>>>>             # make rpm
>>>> ==================================================================
>>>>           ii)  OpenSAF Build with TCP & TIPC Binaries  and with
>>>> default TCP is configured
>>>>           Even though both TCP & TIPC binaries Build , by default
>>>> OpenSAFconfigured to uses MDS/TCP as  messaging protocol.
>>>>         If user need to enable  TIPC Binaries need to enable and use
>>>> the  feature MDS/TIPC.
>>>> ==================================================================
>>>>             #./bootstrap.sh
>>>>             #./configure --enable-tipc   (TIPC [enable=yes] )
>>>>             # make rpm
>>>> ==================================================================
>>>>      8) Enabling OpenSAF MDS to use TIPC transport protocol :
>>>> ==============================================================================================
>>>>
>>>>           # export MDS_TRANSPORT=TIPC     or    Change MDS_TRANSPORT
>>>> to "TIPC" in "nid.conf" file
>>>>           # Change TIPC_ETH_IF to your network interface name, e.g. eth3
>>>>           # Change TIPC_NET_ID to your TIPC net-id ,e.g 4711
>>>> ==============================================================================================
>>>>
>>>>      9) OPENSAF_MANAGE_TIPC  check has been introduced in
>>>> "osaf-transport" before invoking nid_tipc.sh (new name
>>>> "configure_tipc start" )
>>>>        when acting upon insmod/rmmod of TIPC ,to fulfill
>>>> OPENSAF_MANAGE_TIPC="no" functionality complete (flag ) .
>>>>      10) Updated README ,INSTALL, 00-README.conf & 00-README.debug
>>>> accordingly.
>>>>      11) As an impact of point 3 , The Online installation SMF script
>>>> has to customized backup and restore of  TIPC Network interface name
>>>>       and TIPC net-id from  nodeinit.conf to nid.conf as a process of
>>>> upgrade.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> changeset 43bd9a5cccce0cebf5da23f2581b4dc0514d1597
>>>> Author:    A V Mahesh <mahesh.va...@oracle.com>
>>>> Date:    Thu, 26 Sep 2013 09:17:15 +0530
>>>>
>>>>      opensaf:make MDS/TCP as the default opensaf transport[#232]
>>>>
>>>> changeset df919d8ea0ae1bc071d1fc37e8eb76415175c1af
>>>> Author:    A V Mahesh <mahesh.va...@oracle.com>
>>>> Date:    Thu, 26 Sep 2013 09:18:11 +0530
>>>>
>>>>      opensaf:changes to README for MDS/TCP as the default
>>>> transport[#232]
>>>>
>>>>
>>>> Complete diffstat:
>>>> ------------------
>>>> 00-README.conf |   81 ++++++++++++++++++-----------
>>>> 00-README.debug |   75 +++++++++++++++++++-------
>>>> INSTALL |    6 +-
>>>> README |   41 ++++++--------
>>>> configure.ac |   11 ++-
>>>> opensaf.spec.in |   18 +----
>>>> osaf/libs/core/mds/mds_main.c |   43 ++++++++-------
>>>> osaf/services/infrastructure/dtms/dtm/dtm_main.c |    6 +-
>>>> osaf/services/infrastructure/dtms/scripts/Makefile.am |    3 +-
>>>> osaf/services/infrastructure/dtms/scripts/dh_monitoring.in | 28
>>>> ----------
>>>> osaf/services/infrastructure/dtms/scripts/osaf-dtm.in |    7 +--
>>>> osaf/services/infrastructure/dtms/scripts/osaf-transport-monitor.in
>>>> |   87 +++++++++++++++++++++++++++++++
>>>> osaf/services/infrastructure/dtms/scripts/osaf-transport.in | 173
>>>> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>>>> osaf/services/infrastructure/nid/config/Makefile.am |    5 -
>>>> osaf/services/infrastructure/nid/config/nid.conf |   10 +++-
>>>> osaf/services/infrastructure/nid/config/nodeinit.conf.controller
>>>> |    3 +-
>>>> osaf/services/infrastructure/nid/config/nodeinit.conf.payload |    3 +-
>>>> osaf/services/infrastructure/nid/scripts/Makefile.am |    2 +-
>>>> osaf/services/infrastructure/nid/scripts/configure_tipc.in | 211
>>>> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>>>> osaf/services/infrastructure/nid/scripts/nid_tipc.in |  225
>>>> ---------------------------------------------------------------------------------
>>>> osaf/services/infrastructure/nid/scripts/opensafd.in |   30 +---------
>>>> osaf/services/saf/immsv/README |    2 +-
>>>>    22 files changed, 655 insertions(+), 415 deletions(-)
>>>>
>>>>
>>>> Testing Commands:
>>>> -----------------
>>>> Bring up Opensaf
>>>>
>>>> Testing, Expected Results:
>>>> --------------------------
>>>> Opensaf should come-up with MDS/TCP  s the default transport
>>>>
>>>> Conditions of Submission:
>>>> -------------------------
>>>>    Ack form Hans & Mathi
>>>>
>>>>
>>>> Arch      Built     Started    Linux distro
>>>> -------------------------------------------
>>>> mips        n          n
>>>> mips64      n          n
>>>> x86         n          n
>>>> x86_64      y          y
>>>> powerpc     n          n
>>>> powerpc64   n          n
>>>>
>>>>
>>>> Reviewer Checklist:
>>>> -------------------
>>>> [Submitters: make sure that your review doesn't trigger any
>>>> checkmarks!]
>>>>
>>>>
>>>> Your checkin has not passed review because (see checked entries):
>>>>
>>>> ___ Your RR template is generally incomplete; it has too many blank
>>>> entries
>>>>       that need proper data filled in.
>>>>
>>>> ___ You have failed to nominate the proper persons for review and push.
>>>>
>>>> ___ Your patches do not have proper short+long header
>>>>
>>>> ___ You have grammar/spelling in your header that is unacceptable.
>>>>
>>>> ___ You have exceeded a sensible line length in your
>>>> headers/comments/text.
>>>>
>>>> ___ You have failed to put in a proper Trac Ticket # into your commits.
>>>>
>>>> ___ You have incorrectly put/left internal data in your comments/files
>>>>       (i.e. internal bug tracking tool IDs, product names etc)
>>>>
>>>> ___ You have not given any evidence of testing beyond basic build
>>>> tests.
>>>>       Demonstrate some level of runtime or other sanity testing.
>>>>
>>>> ___ You have ^M present in some of your files. These have to be
>>>> removed.
>>>>
>>>> ___ You have needlessly changed whitespace or added whitespace crimes
>>>>       like trailing spaces, or spaces before tabs.
>>>>
>>>> ___ You have mixed real technical changes with whitespace and other
>>>>       cosmetic code cleanup changes. These have to be separate commits.
>>>>
>>>> ___ You need to refactor your submission into logical chunks; there is
>>>>       too much content into a single commit.
>>>>
>>>> ___ You have extraneous garbage in your review (merge commits etc)
>>>>
>>>> ___ You have giant attachments which should never have been sent;
>>>>       Instead you should place your content in a public tree to be
>>>> pulled.
>>>>
>>>> ___ You have too many commits attached to an e-mail; resend as threaded
>>>>       commits, or place in a public tree for a pull.
>>>>
>>>> ___ You have resent this content multiple times without a clear
>>>> indication
>>>>       of what has changed between each re-send.
>>>>
>>>> ___ You have failed to adequately and individually address all of the
>>>>       comments and change requests that were proposed in the initial
>>>> review.
>>>>
>>>> ___ You have a misconfigured ~/.hgrc file (i.e. username, email etc)
>>>>
>>>> ___ Your computer have a badly configured date and time; confusing the
>>>>       the threaded patch review.
>>>>
>>>> ___ Your changes affect IPC mechanism, and you don't present any
>>>> results
>>>>       for in-service upgradability test.
>>>>
>>>> ___ Your changes affect user manual and documentation, your patch
>>>> series
>>>>       do not contain the patch that updates the Doxygen manual.
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>>
>>>> October Webinars: Code for Performance
>>>> Free Intel webinars can help you accelerate application performance.
>>>> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the
>>>> most from
>>>> the latest Intel processors and coprocessors. See abstracts and
>>>> register >
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
>>>>
>>>> _______________________________________________
>>>> Opensaf-devel mailing list
>>>> Opensaf-devel@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/opensaf-devel
>>>>
>>>>
>
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
> _______________________________________________
> Opensaf-devel mailing list
> Opensaf-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/opensaf-devel
>
>


------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
Opensaf-devel mailing list
Opensaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to