Hi,

I have installed opensaf 5.0.0 without the PLMS fine for node HA purpose
and it's works fine. Now I would like to use opensaf PLMS with the
openHPI.

My configure script is -

./configure CPPFLAGS=-DRUNASROOT OSAF_HARDEN_FLAGS="-fstack-protector-all
-D_FORTIFY_SOURCE=2" HPI_LIBS="-L/usr/local/lib -lopenhpimarshal
-lopenhpiutils -lopenhpi" --enable-hpi --with-openhpi
--with-hpi-interface=B03 --enable-tipc=yes --enable-imm-pbe=yes
--enable-ais-plm --enable-ais-smf --enable-ais-msg --enable-ais-lck
--enable-ais-evt --enable-ais-ckpt --enable-ntf-imcn

Issues am facing now is -

1. During opensafd startup, following error message is seen -

" ER dlopen() to load libplms_hpi.so failed with error
/usr/lib64/opensaf/libplms_hpi.so.0: undefined symbol: plms_plmc_error_cbk"

during the .so loading. Is this issue seen before or some configuration
issue from my end. I could see this is due to make file issue.

Temporarily this issue, i could fix by copying the following three methods
)with method name changing) from
opensaf-5.0.0/osaf/services/saf/plmsv/plms/plms_plmc.c to
opensaf-5.0.0/osaf/services/saf/plmsv/plms/hpi_intf/plms_hsm.c

void plms_os_information_free(PLMS_PLMC_EE_OS_INFO *os_info)
static SaUint32T plms_os_information_parse(SaInt8T *os_info,
                                        PLMS_PLMC_EE_OS_INFO *evt_os_info)
int32_t plms_plmc_error_callbk(plmc_lib_error *msg)
int32_t plms_plmc_connect_callbk(SaInt8T *ee_id,SaInt8T *msg)
int32_t plms_plmc_udp_callbk(udp_msg *msg)


Could you please check the make file for the
 opensaf-5.0.0/osaf/services/saf/plmsv/plms/hpi_intf/ where dependency is
there outside of the folder also.

2) opensaf-5.0.0/osaf/services/saf/plmsv/plms/plms_main.c the global
declaration is being masked out by the line 558 in
/opensaf-5.0.0/osaf/libs/common/plmsv/include/plms.h which declares the
same var. So with this, /osaf/services/saf/plmsv/plms/hpi_intf/hpi_hsm
getting NULL value for the plms_cb pointer.

Regards,
Subrata







Regards,
Subrata
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. http://sdm.link/zohodev2dev
_______________________________________________
Opensaf-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-users

Reply via email to