madhavi.ravanan | 2 Aug 2004 08:10

SLP on Pegasus 2.4

Hi All,
    I'm running the TestSLPClient on Pegasus 2.4 . The CIMOM gets discovered, Howerver the Namespace field in the discovered output is empty, through there are a number of namespaces present in the repository. However on Pegasus 2.3.2 , this namespace field contains all the namespaces existing in the CIMOM's repository. We want to have SLP to discover 2.4 version of the CIMOMs completely, any help in this regard is appreciated.
 
Pls find the output of TestSLPClient on 2.4 and 2.3.2 below:
 
TestSLPClient on Pegasus 2.4:
 
[root <at> DEVPC1 pegasus-2.4]# TestSLPClient
 
======================================================
service:wbem:https://10.146.2.173:5989
======================================================
'template-url-syntax=https://10.146.2.173:5989'
'service-location-tcp=10.146.2.173'
'service-id=PEG:1091425952752-10-146-2-173'
'service-hi-name=Pegasus'
'service-hi-description=Pegasus CIM Server Version 2.4'
'template-type=wbem'
'template-version=1.0'
'template-description=This template describes the attributes used for advertising Pegasus CIM Servers.'
'InteropSchemaNamespace=root/PG_Interop'
'FunctionalProfilesSupported=Basic Read,Basic Write,Schema Manipulation,Instance Manipulation,Association Traversal,Qualifier Declaration,Indications'
'MultipleOperationsSupported=FALSE'
'AuthenticationMechanismsSupported=Basic'
'ProtocolVersion=1.0'
'Namespace='
'classinfo='
'RegisteredProfilesSupported=SNIA:Array:Cluster:Access Points:Disk Drive:Location:LUN Mapping and Masking:Pool Manipulation Capabilities and Settings:Extent Mapping:LUN Creation:Software'
 
======================================================
service:wbem:http://10.146.2.173:5988
======================================================
'template-url-syntax=http://10.146.2.173:5988'
'service-location-tcp=10.146.2.173'
'service-id=PEG:1091425952752-10-146-2-173'
'service-hi-name=Pegasus'
'service-hi-description=Pegasus CIM Server Version 2.4'
'template-type=wbem'
'template-version=1.0'
'template-description=This template describes the attributes used for advertising Pegasus CIM Servers.'
'InteropSchemaNamespace=root/PG_Interop'
'FunctionalProfilesSupported=Basic Read,Basic Write,Schema Manipulation,Instance Manipulation,Association Traversal,Qualifier Declaration,Indications'
'MultipleOperationsSupported=FALSE'
'AuthenticationMechanismsSupported=Basic'
'ProtocolVersion=1.0'
'Namespace='
'classinfo='
'RegisteredProfilesSupported=SNIA:Array:Cluster:Access Points:Disk Drive:Location:LUN Mapping and Masking:Pool Manipulation Capabilities and Settings:Extent Mapping:LUN Creation:Software'
+++++ passed all tests
[root <at> DEVPC1 pegasus-2.4]# Started SLP Provider thread.
 
 
The output from running TestSLPClient on 2.3.2 is as below:
 
[root <at> DEVPC1 pegasus-2.3.2]# TestSLPClient
 
======================================================
service:wbem:https://10.146.2.173:5989
======================================================
'template-url-syntax=https://10.146.2.173:5989'
'service-location-tcp=10.146.2.173'
'service-id=PEG:1091426585943-10-146-2-173'
'service-hi-description=Pegasus CIM Server Version 2.3.2'
'service-hi-name=Pegasus'
'template-type=wbem'
'template-version=1.0'
'template-description=This template describes the attributes used for advertising Pegasus CIM Servers.'
'InteropSchemaNamespace=root/PG_Interop'
'FunctionalProfilesSupported=Basic Read,Basic Write,Schema Manipulation,Instance Manipulation,Association Traversal,Qualifier Declaration,Indications'
'MultipleOperationsSupported=FALSE'
'AuthenticationMechanismsSupported=basic'
'ProtocolVersion=1.0'
'Namespace=root,root/PG_Internal,root/cimv2,root/PG_InterOp'
'classinfo='
'RegisteredProfilesSupported=SNIA:Array:Cluster:Access Points:Disk Drive:Location:LUN Mapping and Masking:Pool Manipulation Capabilities and Settings:Extent Mapping:LUN Creation:Software'
 
======================================================
service:wbem:http://10.146.2.173:5988
======================================================
'template-url-syntax=http://10.146.2.173:5988'
'service-location-tcp=10.146.2.173'
'service-id=PEG:1091426585943-10-146-2-173'
'service-hi-description=Pegasus CIM Server Version 2.3.2'
'service-hi-name=Pegasus'
'template-type=wbem'
'template-version=1.0'
'template-description=This template describes the attributes used for advertising Pegasus CIM Servers.'
'InteropSchemaNamespace=root/PG_Interop'
'FunctionalProfilesSupported=Basic Read,Basic Write,Schema Manipulation,Instance Manipulation,Association Traversal,Qualifier Declaration,Indications'
'MultipleOperationsSupported=FALSE'
'AuthenticationMechanismsSupported=basic'
'ProtocolVersion=1.0'
'Namespace=root,root/PG_Internal,root/cimv2,root/PG_InterOp'
'classinfo='
'RegisteredProfilesSupported=SNIA:Array:Cluster:Access Points:Disk Drive:Location:LUN Mapping and Masking:Pool Manipulation Capabilities and Settings:Extent Mapping:LUN Creation:Software'
+++++ passed all tests
[root <at> DEVPC1 pegasus-2.3.2]# Started SLP Provider thread.
 
 
  
Regards,
Madhavi R.
 
 
Confidentiality Notice The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender at Wipro or Mailadmin <at> wipro.com immediately and destroy all copies of this message and any attachments.
Tony C.T. Fan | 2 Aug 2004 09:56

回信: Re: 回信: 回信: Fwd: help for install OpenPegasus


Hi Konrad,
I got the source code from this link.
http://www.intel.com/design/servers/cdm/hp_cdm010604.zip

In the readme file didn't provide contact window,and just notice foliowing
page.
http://www.opengroup.org/pegasus,so I mail to you.

Could you help me and reading the following message?
I want you compile consumer program,and it has two parts.
one is library,and another is ui model.
I can compile library model, but I have problem in ui model.
the error message is in attache file.

(See attached file: pegasus-opencdm-consumer_compile_error_message.GIF)

Best Regards,
Tony

===============================
Tony Fan
Software Development
Foxconn/PCEG/TEC
Tel:+886(2)22683466 #3776
Email: tony.ct.fan <at> foxconn.com
===============================


                                                                                                                                       
                      Konrad Rzeszutek                                                                                                 
                      <konradr <at> us.ibm.c        收件人:  "Tony C.T. Fan" <tony.ct.fan <at> foxconn.com>                                     
                      om>                      副本抄送:      m.kirk <at> opengroup.org, pegasus-l <at> opengroup.org                           
                                               主旨:    Re: 回信: 回信: Fwd: help for install OpenPegasus                           
                      2004/07/31 12:04                                                                                                 
                      AM                                                                                                               
                                                                                                                                       
                                                                                                                                       




Tony:

What company released this package? As you might know, the OpenPegasus
code is repackaged by many other companies as their own (the license
allows it) and improved. Hence we have no idea how to fix your problem
since we don't even have access to the RPMs you mention.

Regarding the problem you have, have you tried to run these commands:

libtoolize --copy --force --automake
aclocal
autoheader
automake --add-missing --copy --foreign
autoconf


Tony C.T. Fan wrote:
> Hi Martin,
> About compiling the pegasus-opencdm-consumer,
> I use autogen.sh to generate the ui problem ,but It have error code:
> configure.in:40 error: m4_popdef: undefined macro: AC_Dest
> ....
> What can I do now ?
>
> Best Regard,s
> Tony
>
> ===============================
> Tony Fan
> Software Development
> Foxconn/PCEG/TEC
> Tel:+886(2)22683466 #3776
> Email: tony.ct.fan <at> foxconn.com
> ===============================
>
>
>

>                       Tony C.T. Fan

>                                                收件人:
pegasus-l <at> opengroup.org

>                       2004/07/28 07:52         副本抄送:     Martin Kirk
<m.kirk <at> opengroup.org>
>                       PM                       主旨:   回信: Fwd: help
for install OpenPegasus(Document link: Tony C.T. Fan)
>

>

>
>
>
> Hi Martin,
> Thanks for your support.
> I had solved this problem,but I have another problem now.
>
> Hi Pegasus,
> What I should do , when I want to rebuild pegasus-opencdm-consumer and
> install it?
> I have the source code,but I don't know hwo to rebuild it.
>
> Best Regards,
> ===============================
> Tony Fan
> Software Development
> Foxconn/PCEG/TEC
> Tel:+886(2)22683466 #3776
> Email: tony.ct.fan <at> foxconn.com
> ===============================
>
>
>

>                       Martin Kirk

>                       <m.kirk <at> opengroup        收件人:
pegasus-l <at> opengroup.org

>                       .org>                    副本抄送:
tony.ct.fan <at> foxconn.com
>                                                主旨:    Fwd: help for
install OpenPegasus
>                       2004/07/28 05:49

>                       PM

>

>

>
>
>
>
>
>
>>Subject: help for install OpenPegasus
>>To: pegasus-admin <at> opengroup.org
>>From: "Tony C.T. Fan" <tony.ct.fan <at> foxconn.com>
>>Date: Wed, 28 Jul 2004 10:21:16 +0800
>>
>>Hi,
>>When I input the command: rpm -U pegasus-opencdm-01.01-04_rh73.i386.rpm
>>it return the error message as flowing:
>>libstdc++-lib6.2-2.so.3 is needed by pegasus-opencdm-01.01-04_rh73
>>libcrypto.so.2 is needed by pegasus-opencdm-01.01-04_rh73
>>libssl.so.2 is needed by pegasus-opencdm-01.01-04_rh73
>>
>>How can I do now?
>>
>>
>>Best Regards,
>>===============================
>>Tony Fan
>>Software Development
>>Foxconn/PCEG/TEC
>>Tel:+886(2)22683466 #3776
>>Email: tony.ct.fan <at> foxconn.com
>>===============================
>
>
>
>
----------------------------------------------------------------------------

>
>    T H E       MARTIN KIRK                           Apex Plaza, Forbury
> Road
>   O P E N      Program Director                       Reading, Berks, RG1
> 1AX
> G R O U P                                                     UNITED
> KINGDOM
>
> E-Mail: m.kirk <at> opengroup.org
> WWW:    www.opengroup.org                    www.opengroup.org/management

> Work:   Direct: +44 1463 248921                Switchboard: +44 118 950
> 8311
>          Fax:    +44 870 133 6521
>
> Mobile: GSM(UK/US/Europe): +44 7740 565783                     ICQ:
> 82721581
>
> UNIX is a registered trademark of The Open Group in the US and other
> countries
>
>
----------------------------------------------------------------------------

>
>
>
>
>
>
>
>




Picon
Favicon

aCC Compiler's Complain

Hi All,

 

I am trying to compile a C++ source using aCC available in pa vbe.

I am getting the error as below .I had a look at the header the operator

 

[] overloading looks fine. The declaration for overloading are as below in the header.

 

const Char16 operator[](Uint32 index) const; Char16& operator[](Uint32 index);

 

Any pointer or help or light would be highly appreciated.

 

Thanks and Regards

Gaurav.

 

 

Error 285: "/../include/Pegasus/Common/String.h", line

 212 #

     Functions that differ only in return type may not have same names;

 "Char16  String::operator [](unsigned int)" was previously declared to return

   Char16 & at ["/ux/vbe/pa/opt/wbem/include/Pegasus/Common/String.h",

 line

     204]  const Char16 operator[](Uint32 index) const;

 

madhavi.ravanan | 2 Aug 2004 13:11

RE: SLP on Pegasus 2.4

Hi All,
   The below change introduced in Pegasus 2.4 is preventing the SLP from obtaining the nameSpaces list from the cimom( Pls refer the last e-mail found below for the scenario description). This works fine in 2.3.2. Can someone pls confirm if this is the planned behaviour or if something has gone wrong in the implementation ?
 
    Pls find below the new and the old code snippet.
 
 
enumerateInstances method in CIMOMHandle.cpp - Pegasus- 2.4 :
 
Here the method calls the CIMOMHandleRep's enumerateInstances method which is a virtual method.
 
Array<CIMInstance> CIMOMHandle::enumerateInstances(
   const OperationContext & context,
   const CIMNamespaceName &nameSpace,
   const CIMName& className,
    Boolean localOnly,
    Boolean includeQualifiers,
    Boolean includeClassOrigin,
    const CIMPropertyList& propertyList)
{
    return _rep->enumerateInstances(
        context,
        nameSpace,
        className,
        deepInheritance,
        localOnly,
        includeQualifiers,
        includeClassOrigin,
        propertyList);
}
 
CIMOMHandleRep.h of Pegasus 2.4
virtual Array<CIMInstance> enumerateInstances(
        const OperationContext & context,
        const CIMNamespaceName& nameSpace,
        const CIMName& className,
        Boolean deepInheritance,
        Boolean localOnly,
        Boolean includeQualifiers,
        Boolean includeClassOrigin,
        const CIMPropertyList& propertyList) = 0;

enumerateInstances method in CIMOMHandle.cpp - Pegasus- 2.3.2 :
Array<CIMInstance> CIMOMHandle::enumerateInstances(
   const OperationContext & context,
   const CIMNamespaceName &nameSpace,
   const CIMName& className,
   Boolean deepInheritance,
   Boolean localOnly,
   Boolean includeQualifiers,
   Boolean includeClassOrigin,
   const CIMPropertyList& propertyList)
{
   PEG_METHOD_ENTER(TRC_CIMOM_HANDLE, "CIMOMHandle::enumerateInstances()");
 
#ifdef PEGASUS_OS_OS400
   // If this is running in user-state, then run the request
   // through the user-state layer
   if (_rep->_chOS400.hasKey())
   {
       return _rep->_chOS400.enumerateInstances(context,
                         nameSpace,
                         className,
                         deepInheritance,
                         localOnly,
                         includeQualifiers,
                         includeClassOrigin,
                         propertyList);
   }
#endif
 
   cimom_handle_op_semaphore opsem(_rep);
 
   // encode request
   CIMEnumerateInstancesRequestMessage * request =
      new CIMEnumerateInstancesRequestMessage(
         XmlWriter::getNextMessageId(),
         nameSpace,
         className,
         deepInheritance,
         localOnly,
         includeQualifiers,
         includeClassOrigin,
         propertyList,
         QueueIdStack(_rep->get_qid(), _rep->get_output_qid()));
 
   request->dest = _rep->get_output_qid();
 
#ifdef PEGASUS_OS_OS400
    // On OS/400, do not allow the provider set the user name for the request.
    // Get the user name from the current thread.
    char os400UserName[11];
    if (ycmGetCurrentUser(os400UserName) == 0)
    {
        throw CIMException(CIM_ERR_FAILED, MessageLoaderParms(
                                "Common.CIMOMHandleOS400UserState.UNKNOWN_ERROR",
                                "An internal error occurred during the processing of the CIMOM handle"));
    }
    EtoA(os400UserName);
    request->userName = String(os400UserName);
#endif
 
   CIMEnumerateInstancesResponseMessage * response;
   try
   {
      response =
         static_cast<CIMEnumerateInstancesResponseMessage *>(
            _rep->do_request(request,
                             CIM_ENUMERATE_INSTANCES_RESPONSE_MESSAGE,
                             context));
   }
    catch(CIMException &)
    {
       throw;
    }
 
    catch(...)
    {
       PEG_TRACE_STRING(TRC_CIMOM_HANDLE, Tracer::LEVEL4,
                        "Exception caught in CIMOMHandle");
                        //l10n
       //throw CIMException(CIM_ERR_FAILED, "Exception caught in CIMOMHandle");
       throw CIMException(CIM_ERR_FAILED, MessageLoaderParms(
                                "Provider.CIMOMHandle.CAUGHT_EXCEPTION",
                                "Exception caught in CIMOMHandle"));
    }
 
   Array<CIMInstance> cimInstances = response->cimNamedInstances;
 
   delete response;
   PEG_METHOD_EXIT();
   return(cimInstances);
}
 
 
 
Regards,
Madhavi R
 
 
 
 
-----Original Message-----
From: MADHAVI RAVANAN (WT01 - EMBEDDED & PRODUCT ENGINEERING SOLUTIONS)
Sent: Monday, August 02, 2004 11:40 AM
To: pegasus-l <at> opengroup.org
Subject: SLP on Pegasus 2.4

Hi All,
    I'm running the TestSLPClient on Pegasus 2.4 . The CIMOM gets discovered, Howerver the Namespace field in the discovered output is empty, through there are a number of namespaces present in the repository. However on Pegasus 2.3.2 , this namespace field contains all the namespaces existing in the CIMOM's repository. We want to have SLP to discover 2.4 version of the CIMOMs completely, any help in this regard is appreciated.
 
Pls find the output of TestSLPClient on 2.4 and 2.3.2 below:
 
TestSLPClient on Pegasus 2.4:
 
[root <at> DEVPC1 pegasus-2.4]# TestSLPClient
 
======================================================
service:wbem:https://10.146.2.173:5989
======================================================
'template-url-syntax=https://10.146.2.173:5989'
'service-location-tcp=10.146.2.173'
'service-id=PEG:1091425952752-10-146-2-173'
'service-hi-name=Pegasus'
'service-hi-description=Pegasus CIM Server Version 2.4'
'template-type=wbem'
'template-version=1.0'
'template-description=This template describes the attributes used for advertising Pegasus CIM Servers.'
'InteropSchemaNamespace=root/PG_Interop'
'FunctionalProfilesSupported=Basic Read,Basic Write,Schema Manipulation,Instance Manipulation,Association Traversal,Qualifier Declaration,Indications'
'MultipleOperationsSupported=FALSE'
'AuthenticationMechanismsSupported=Basic'
'ProtocolVersion=1.0'
'Namespace='
'classinfo='
'RegisteredProfilesSupported=SNIA:Array:Cluster:Access Points:Disk Drive:Location:LUN Mapping and Masking:Pool Manipulation Capabilities and Settings:Extent Mapping:LUN Creation:Software'
 
======================================================
service:wbem:http://10.146.2.173:5988
======================================================
'template-url-syntax=http://10.146.2.173:5988'
'service-location-tcp=10.146.2.173'
'service-id=PEG:1091425952752-10-146-2-173'
'service-hi-name=Pegasus'
'service-hi-description=Pegasus CIM Server Version 2.4'
'template-type=wbem'
'template-version=1.0'
'template-description=This template describes the attributes used for advertising Pegasus CIM Servers.'
'InteropSchemaNamespace=root/PG_Interop'
'FunctionalProfilesSupported=Basic Read,Basic Write,Schema Manipulation,Instance Manipulation,Association Traversal,Qualifier Declaration,Indications'
'MultipleOperationsSupported=FALSE'
'AuthenticationMechanismsSupported=Basic'
'ProtocolVersion=1.0'
'Namespace='
'classinfo='
'RegisteredProfilesSupported=SNIA:Array:Cluster:Access Points:Disk Drive:Location:LUN Mapping and Masking:Pool Manipulation Capabilities and Settings:Extent Mapping:LUN Creation:Software'
+++++ passed all tests
[root <at> DEVPC1 pegasus-2.4]# Started SLP Provider thread.
 
 
The output from running TestSLPClient on 2.3.2 is as below:
 
[root <at> DEVPC1 pegasus-2.3.2]# TestSLPClient
 
======================================================
service:wbem:https://10.146.2.173:5989
======================================================
'template-url-syntax=https://10.146.2.173:5989'
'service-location-tcp=10.146.2.173'
'service-id=PEG:1091426585943-10-146-2-173'
'service-hi-description=Pegasus CIM Server Version 2.3.2'
'service-hi-name=Pegasus'
'template-type=wbem'
'template-version=1.0'
'template-description=This template describes the attributes used for advertising Pegasus CIM Servers.'
'InteropSchemaNamespace=root/PG_Interop'
'FunctionalProfilesSupported=Basic Read,Basic Write,Schema Manipulation,Instance Manipulation,Association Traversal,Qualifier Declaration,Indications'
'MultipleOperationsSupported=FALSE'
'AuthenticationMechanismsSupported=basic'
'ProtocolVersion=1.0'
'Namespace=root,root/PG_Internal,root/cimv2,root/PG_InterOp'
'classinfo='
'RegisteredProfilesSupported=SNIA:Array:Cluster:Access Points:Disk Drive:Location:LUN Mapping and Masking:Pool Manipulation Capabilities and Settings:Extent Mapping:LUN Creation:Software'
 
======================================================
service:wbem:http://10.146.2.173:5988
======================================================
'template-url-syntax=http://10.146.2.173:5988'
'service-location-tcp=10.146.2.173'
'service-id=PEG:1091426585943-10-146-2-173'
'service-hi-description=Pegasus CIM Server Version 2.3.2'
'service-hi-name=Pegasus'
'template-type=wbem'
'template-version=1.0'
'template-description=This template describes the attributes used for advertising Pegasus CIM Servers.'
'InteropSchemaNamespace=root/PG_Interop'
'FunctionalProfilesSupported=Basic Read,Basic Write,Schema Manipulation,Instance Manipulation,Association Traversal,Qualifier Declaration,Indications'
'MultipleOperationsSupported=FALSE'
'AuthenticationMechanismsSupported=basic'
'ProtocolVersion=1.0'
'Namespace=root,root/PG_Internal,root/cimv2,root/PG_InterOp'
'classinfo='
'RegisteredProfilesSupported=SNIA:Array:Cluster:Access Points:Disk Drive:Location:LUN Mapping and Masking:Pool Manipulation Capabilities and Settings:Extent Mapping:LUN Creation:Software'
+++++ passed all tests
[root <at> DEVPC1 pegasus-2.3.2]# Started SLP Provider thread.
 
 
  
Regards,
Madhavi R.
 
 
Confidentiality Notice The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender at Wipro or Mailadmin <at> wipro.com immediately and destroy all copies of this message and any attachments.
Confidentiality Notice The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender at Wipro or Mailadmin <at> wipro.com immediately and destroy all copies of this message and any attachments.
Picon
Favicon

RE: aCC Compiler's Complain

Hi All,

 

I just figured out , it was because of this –Dconst=  flag as part of CFLAGS in my makefile. A similar scenario might occur if u also have a “#define const

“ .

 

Thanks anyways,

 

Regards,

Gaurav Chhaunker.

 

 

From: CHHAUNKER, GAURAV (SE,HP-UX SCSI CPE) [mailto:gaurav.chhaunker <at> hp.com]
Sent: Monday, August 02, 2004 1:36 PM
To: pegasus-l <at> opengroup.org
Subject: aCC Compiler's Complain
Importance: High

 

Hi All,

 

I am trying to compile a C++ source using aCC available in pa vbe.

I am getting the error as below .I had a look at the header the operator

 

[] overloading looks fine. The declaration for overloading are as below in the header.

 

const Char16 operator[](Uint32 index) const; Char16& operator[](Uint32 index);

 

Any pointer or help or light would be highly appreciated.

 

Thanks and Regards

Gaurav.

 

 

Error 285: "/../include/Pegasus/Common/String.h", line

 212 #

     Functions that differ only in return type may not have same names;

 "Char16  String::operator [](unsigned int)" was previously declared to return

   Char16 & at ["/ux/vbe/pa/opt/wbem/include/Pegasus/Common/String.h",

 line

     204]  const Char16 operator[](Uint32 index) const;

 

Matthew Hamre | 2 Aug 2004 14:16
Favicon

Re: [os-attach] ICTP test-suite error

Saptarshi Chakraborty wrote:
ICTP test-suite error

Sending to a wider audience...

All,

I am getting the following error when trying to run the ICTP test suite against my HBA provider. Please see my inline comments/questions below. I am sort of stuck at this point. Any ideas what I am missing would be very helpful.

comments below...

I am using the latest HBA.xml and also patched the test-suite with the latest smitest.jar. I also rebuilt Pegasus by getting the latest source code from CVS today. Per Steve Hand, Karl Schopmeyer should have included the SLP fixes into Pegasus a couple of days back.

Thanks,
Rishi


SNIA SMI-S CTP Test Harness Version: 1.0.0c-Interim1 (C) 
Copyright SNIA 2003   All rights reserved.
Opened vendor configuration file : C:\SMIS-TestSuite-06302004\bin\vendor.xml 
Starting the Test Harness. This takes a few seconds...

Service Template is not available or Service Template is invalid for vendor device "10.3.1.110"
Check whether service template is returned :  FAIL
[Question: What is it referring to? How can I avoid this error? What should I be looking for?]

CTP is making a request for advertised WBEM SLP Templates, then looking for the one that corresponds to the device configuration information you specified in vendor.xml. this failure indicates that you are not properly advertising support for the HBA Profile via SLP.

Interop namespace discovery failed for vendor CIMOM
Using the namespace in vendor config file as interop namespace
[Question: There is a root#PG_InterOp namespace under $PEGASUS_HOME/repository. Why is it not being able to find it?]

because the SLP Template is not being advertised. if it were, the interop namespace would be determined from an attribute value in that template and used as the starting point in CTP testing.

Service Template is not available or Service Template is invalid for vendor device "10.3.1.110"
Check whether service template is returned :  FAIL
No access point is available for vendor CIMOM 10.3.1.110 for http or https schemes
Please set the SLP attribute "template-url-syntax" to one of the access point(s) for the CIMOM
Using server access point "http://10.3.1.110/root/qlogic" from vendor config file Server Access Point : http://10.3.1.110/root/qlogic 

the above essentially states that we're using the vendor-specified (i.e. vendor.xml) host/namespace information to proceed with testing. this is to say that even if you fail the SLP test case, CTP is still able to proceed with testing.

Service Template is not available or Service Template is invalid for vendor device "10.3.1.110"  
Check whether service template is returned :  FAIL  
enumerateInstances operation failed for CIM_RegisteredProfile  
The CIM Exception is CIM_ERR_INVALID_NAMESPACE  
No instances of the class CIM_RegisteredProfile present in the interop namespace /root/qlogic
[Question: I do not create any static instance of CIM_RegisteredProfile in root/qlogic. Why would I need to do this? However, for implementation of the server profile, a subclass of CIM_RegisteredProfile is mof-ed in root#qlogic/classes.]

note that CIM_RegisteredProfile is part of the Server Profile, which is a requirement of all other SMI-S Profiles. the instance of CIM_RegisteredProfile for HBA MUST exist in the interop namespace. i believe Pegasus uses /root/pg_interop as the interop namespace so this is where your subclass of CIM_RegisteredProfile and related instance needs to be define - not /root/qlogic/classes.
Jared Checkley | 2 Aug 2004 15:56

Indication Subscriptions

Dear all,

 

I am using Pegasus 2.3.2 and trying to get AlertIndications working for a provider (this provider is a subclass of AlertIndication and is registered as an indication provider). When I create a filter, handler, and subscription, no indications are generated.  The problem appears to be that Pegasus never calls the createSubscription function in my provider.  Any ideas what the problem could be?  It would be useful to know the correct steps in order to implement an AlertIndication provider. 

 

Many thanks,

 

Jared Checkley

Xyratex UK

 

Tim Potter | 3 Aug 2004 01:08
Picon
Favicon

Re: Indication Subscriptions

On Mon, 2004-08-02 at 23:56, Jared Checkley wrote:

> I am using Pegasus 2.3.2 and trying to get AlertIndications working
> for a provider (this provider is a subclass of AlertIndication and is
> registered as an indication provider). When I create a filter,
> handler, and subscription, no indications are generated.  The problem
> appears to be that Pegasus never calls the createSubscription function
> in my provider.  Any ideas what the problem could be?  It would be
> useful to know the correct steps in order to implement an
> AlertIndication provider.  

There really are quite a number of things that can go wrong getting an
indication subscription working.  The first step is creating the filter,
handler and subscription class instances which it sounds like you have
done (the CreateInstance calls will fail if you have made some obvious
typo in the class names for example).

A trick is to check that your WQL is matching against the class
definition.  Again the CreateInstance call will fail if you get this
wrong in an obvious way.  Last time I tried I couldn't get 'SELECT *
from CIM_Foo' working so had to select an individual property like
'SELECT FooProperty from CIM_Foo' to get indication delivery working.

Finally if you are really stuck you may need to turn on tracing at the
highest level and spend a while poring over the trace logs and the
source code to find out what is going wrong.

Tim.
Elke Stuerzel | 2 Aug 2004 17:01
Picon
Favicon

CIM C++ Client build


Hi,

I want to just build the C++ CIM client to be able to do some queries on my
CIMOM.
Can anybody tell me what C++ libs to build for only client applications ?
Thanks.

Mit freundlichen Gruessen / best regards,

   Elke Stuerzel

------------------------------------------------------------------------------------------------

IBM DB2 PM, Böblingen
Phone : 49-7031-162750

Roger Kumpf | 2 Aug 2004 19:34
Picon
Favicon

Re: SLP on Pegasus 2.4

Madhavi,

>    The below change introduced in Pegasus 2.4 is preventing the SLP from
> obtaining the nameSpaces list from the cimom

Why do you believe the change to the CIMOMHandle structure has caused this
problem?

-Roger

--

-- 
==============================================
 Roger W. Kumpf            roger_kumpf <at> hp.com
 Hewlett-Packard Company   408-447-3215
==============================================


Gmane