|
| Disk drive vendor and model |
 |
Thu, 22 Nov 2007 21:45:36 GMT |
Hi everybody,
Does anybody happen to know how to get vendor and model information of a
disk drive on Netware server. I am in a project of inventorying such
information.
Thanks in advance,
-Mike
|
| Post Reply
|
| Re: Disk drive vendor and model |
 |
Fri, 23 Nov 2007 07:22:55 GMT |
Again, I don't think LibC provides much assistance here. In CLIB use
the following functions:
NWGetActiveLANBoardList
NWGetLANConfigInfo
NWGetProtocolStackConfigInfo
NWGetProtocolStkNumsByLANBrdNum
NWGetProtocolStkNumsByMediaNum
These will allow you to enumerate the BoardIDs and also figure out which
protocol stacks are bound to what boards.
-- Bob
- - - - - - - - - - - - - - - - -
Robert Charles Mahar
Traffic Shaping Engine for NetWare
http://www.TrafficShaper.com
- - - - - - - - - - - - - - - - -
Michael Chen wrote:
> Hi everybody,
>
> Does anybody happen to know how to get vendor and model information of a
> disk drive on Netware server. I am in a project of inventorying such
> information.
>
> Thanks in advance,
>
> -Mike
>
|
| Post Reply
|
| Re: Disk drive vendor and model |
 |
Fri, 23 Nov 2007 15:29:38 GMT |
I have tried those functions already but they couldn't help a lot. My
interesting is on vendor and model information of network adapters and disk
drives, and the link speed of network connection in bytes as well. Is there
other ways to get them?
Thanks,
-Mike
"Robert Charles Mahar" <info@trafficshaper.com> wrote in message
news:jdv1j.404$k06.262@kovat.provo.novell.com...
> Again, I don't think LibC provides much assistance here. In CLIB use the
> following functions:
>
> NWGetActiveLANBoardList
> NWGetLANConfigInfo
> NWGetProtocolStackConfigInfo
> NWGetProtocolStkNumsByLANBrdNum
> NWGetProtocolStkNumsByMediaNum
>
> These will allow you to enumerate the BoardIDs and also figure out which
> protocol stacks are bound to what boards.
>
> -- Bob
>
> - - - - - - - - - - - - - - - - -
> Robert Charles Mahar
> Traffic Shaping Engine for NetWare
> http://www.TrafficShaper.com
> - - - - - - - - - - - - - - - - -
>
>
> Michael Chen wrote:
>> Hi everybody,
>>
>> Does anybody happen to know how to get vendor and model information of
a
>> disk drive on Netware server. I am in a project of inventorying such
>> information.
>>
>> Thanks in advance,
>>
>> -Mike
|
| Post Reply
|
| Re: Disk drive vendor and model |
 |
Fri, 23 Nov 2007 16:53:36 GMT |
First, sorry for confusing the two posts... too much turkey and gravy.
The problem is that the CDM's job is to abstract disk geometry so you
may have difficulty with getting that. I'll see if I can find anything
further that will help.
As for the LAN stuff...
You certainly can back track from a logical board ID to a LAN driver so
you should be able to use that to get the driver loaded that supports a
given logical board. I believe posted code snippets to the LAN / ODI
forum on how to do this - as my TSE project does this.
Also if you want the hardware description for a LAN card and HBA, you
would nedd to use the NBI API's to enumerate the hardware. This can be
an even more perplexing API to use than the NWPA. But that would given
you an enumeration of the PCI bus.
Sadly, Novell has already written 99% of what you want... used to get
the CONFIG.TXT report. If only they would share.
You COULD approach this by having the server generate a config report
and then parsing it. May be substantially easier.
-- Bob
- - - - - - - - - - - - - - - - -
Robert Charles Mahar
Traffic Shaping Engine for NetWare
http://www.TrafficShaper.com
- - - - - - - - - - - - - - - - -
Michael Chen wrote:
> I have tried those functions already but they couldn't help a lot. My
> interesting is on vendor and model information of network adapters and disk
> drives, and the link speed of network connection in bytes as well. Is there
> other ways to get them?
>
> Thanks,
>
> -Mike
>
>
> "Robert Charles Mahar" <info@trafficshaper.com> wrote in
message
> news:jdv1j.404$k06.262@kovat.provo.novell.com...
>> Again, I don't think LibC provides much assistance here. In CLIB use
the
>> following functions:
>>
>> NWGetActiveLANBoardList
>> NWGetLANConfigInfo
>> NWGetProtocolStackConfigInfo
>> NWGetProtocolStkNumsByLANBrdNum
>> NWGetProtocolStkNumsByMediaNum
>>
>> These will allow you to enumerate the BoardIDs and also figure out
which
>> protocol stacks are bound to what boards.
>>
>> -- Bob
>>
>> - - - - - - - - - - - - - - - - -
>> Robert Charles Mahar
>> Traffic Shaping Engine for NetWare
>> http://www.TrafficShaper.com
>> - - - - - - - - - - - - - - - - -
>>
>>
>> Michael Chen wrote:
>>> Hi everybody,
>>>
>>> Does anybody happen to know how to get vendor and model information
of a
>>> disk drive on Netware server. I am in a project of inventorying
such
>>> information.
>>>
>>> Thanks in advance,
>>>
>>> -Mike
>
|
| Post Reply
|
| Re: Disk drive vendor and model |
 |
Tue, 29 Jan 2008 19:32:23 GMT |
Where can I find the documentation of those NBI API's?
Thanks,
-Mike
"Robert Charles Mahar" <info@trafficshaper.com> wrote in message
news:kAD1j.530$k06.478@kovat.provo.novell.com...
> First, sorry for confusing the two posts... too much turkey and gravy.
>
> The problem is that the CDM's job is to abstract disk geometry so you may
> have difficulty with getting that. I'll see if I can find anything
> further that will help.
>
> As for the LAN stuff...
>
> You certainly can back track from a logical board ID to a LAN driver so
> you should be able to use that to get the driver loaded that supports a
> given logical board. I believe posted code snippets to the LAN / ODI
> forum on how to do this - as my TSE project does this.
>
> Also if you want the hardware description for a LAN card and HBA, you
> would nedd to use the NBI API's to enumerate the hardware. This can be
> an even more perplexing API to use than the NWPA. But that would given
> you an enumeration of the PCI bus.
>
> Sadly, Novell has already written 99% of what you want... used to get the
> CONFIG.TXT report. If only they would share.
>
> You COULD approach this by having the server generate a config report and
> then parsing it. May be substantially easier.
>
> -- Bob
>
> - - - - - - - - - - - - - - - - -
> Robert Charles Mahar
> Traffic Shaping Engine for NetWare
> http://www.TrafficShaper.com
> - - - - - - - - - - - - - - - - -
>
>
> Michael Chen wrote:
>> I have tried those functions already but they couldn't help a lot. My
>> interesting is on vendor and model information of network adapters and
>> disk drives, and the link speed of network connection in bytes as well.
>> Is there other ways to get them?
>>
>> Thanks,
>>
>> -Mike
>>
>>
>> "Robert Charles Mahar" <info@trafficshaper.com> wrote
in message
>> news:jdv1j.404$k06.262@kovat.provo.novell.com...
>>> Again, I don't think LibC provides much assistance here. In CLIB
use
>>> the following functions:
>>>
>>> NWGetActiveLANBoardList
>>> NWGetLANConfigInfo
>>> NWGetProtocolStackConfigInfo
>>> NWGetProtocolStkNumsByLANBrdNum
>>> NWGetProtocolStkNumsByMediaNum
>>>
>>> These will allow you to enumerate the BoardIDs and also figure out
which
>>> protocol stacks are bound to what boards.
>>>
>>> -- Bob
>>>
>>> - - - - - - - - - - - - - - - - -
>>> Robert Charles Mahar
>>> Traffic Shaping Engine for NetWare
>>> http://www.TrafficShaper.com
>>> - - - - - - - - - - - - - - - - -
>>>
>>>
>>> Michael Chen wrote:
>>>> Hi everybody,
>>>>
>>>> Does anybody happen to know how to get vendor and model
information of
>>>> a disk drive on Netware server. I am in a project of
inventorying such
>>>> information.
>>>>
>>>> Thanks in advance,
>>>>
>>>> -Mike
>>
|
| Post Reply
|
|
|
|
|
|
|
|
|
|