RE: SLP configuration issue
"Deshpande, Rohini \(STSD\)" <[email protected]>
| Newsgroups | gmane.network.open-pegasus.general |
|---|---|
| Message-ID | <8C960127410A8847873958DE25FE3FED9C7751@G9W0755.americas.hpqcorp.net> |
PEGASUS_USE_OPENSLP is depreciated. See the comment in config.mak below. # PEGASUS_USE_OPENSLP ## NOTE: This variable has been deprecated and superceeded by the use of ## PEGASUS_USE_EXTERNAL_SLP. The use of this variable may be ## removed from Pegasus in future releases. It is converted to the ## PEGASUS_USE_EXTERNAL_SLP variable in the following function. PEGASUS_USE_EXTERNAL_SLP is not mentioned in BuildReleaseOptions.htm and there is a bug for it. I think this failure is expected as pegasus assumes SLP is running. See this comment in config.mak for PEGASUS_USE_EXTERNAL_SLP. # Pegasus assumes that the external SLP defined is installed on the platform # and running when pegasus is started. Regards, Rohini -----Original Message----- From: Devchandra Leishangthem [mailto:[email protected]] Sent: Wednesday, October 12, 2011 2:29 PM To: Yaligar, Veeresh S (USD SRDL) Cc: [email protected] Subject: Re: SLP configuration issue The text were embedded and not visible easily "We do not come across the PEGASUS_EXTERNAL_SLP_HOME environment variable in BuildAndReleaseOptions.html under the doc section. Did you try with PEGASUS_OPENSLP_HOME values set properly?" Regards Devchandra Meetei L IBM India System and Technology Lab EGL -D,Bangalore, India From: Devchandra Leishangthem/India/IBM@IBMIN To: "Yaligar, Veeresh S \(USD SRDL\)" <[email protected]> Cc: "[email protected]" <[email protected]> Date: 10/12/2011 02:16 PM Subject: Re: SLP configuration issue From: "Yaligar, Veeresh S \(USD SRDL\)" <[email protected]> To: "[email protected]" <[email protected]> Date: 10/12/2011 01:39 PM Subject: SLP configuration issue Hi All I am building CIMOM with SLP enabled for windows platform. I used the following build options. set PEGASUS_ENABLE_SLP=true set PEGASUS_USE_OPENSLP=true set PEGASUS_EXTERNAL_SLP_HOME=C:/smis-op-provider/src/openslp-1.2.1/openslp-1.2.1/win32/libslp We do not come across the PEGASUS_EXTERNAL_SLP_HOME environment variable in BuildAndReleaseOptions.html under the doc section. Did you try with PEGASUS_OPENSLP_HOME values set properly? While building I was not able to build SLPProvider.dll as it was not able to link . I guess the make file was not correct for windows. So I changed the make find as below. --------- SOURCES = peg_slp_agent.cpp include $(ROOT)/mak/library.mak ifeq ($(OS_TYPE),windows) SYS_LIBS = ws2_32.lib advapi32.lib SYS_LIBS += /libpath:$(PEGASUS_EXTERNAL_SLP_HOME)/lib slp.lib <Ã This is the line added to makefile for build to succeed.**** endif run: Server $(REPOSITORY_ROOT) ------------------- With this I am able to build CIMOM with slp enabled. Now, If I start the CIMOM service when the SLP service is running . Everything works just fine. The CIMOM registers to SLP and able to see the ports of CIMOM service running through slptool But , If I start the CIMOM service when SLP service is not running then I see the CIMOM service is stopping immediately . Wondering why CIMOM service should stop if SLP is not running. I cannot send the traces as attachment due to size limit. 1. Is this makefile change required for building SLP on Windows platform? I guess its working fine on Linux platforms. 2. Is it mandatory to run SLP service if SLP is enabled in CIMOM? Or is it a bug in CIMOM on windows platform. Thank in advance Veeresh