Operating System - HP-UX
1835068 Members
2328 Online
110073 Solutions
New Discussion

CSTM Device Types & Qualifier Types

 
SOLVED
Go to solution
Paul Middleton
Frequent Advisor

CSTM Device Types & Qualifier Types

Greetings All,
.
I'm not able to find a listing of Device Types & Qualifier Types for CSTM. I've tried every book I can find, gone thru the books at the HP Documents web site, No Joy.
.
What I'm trying to do is seperate internal disks and disk array disks when I run CSTM to an output file.
.
I have found that the Seagate Model numbers, like ST39173WC appear as both an Internal Drive Model A3629A and in a Nike Mod 20 Array as Model A3703A.
.
After trying selclass type disk;info;wait;infolog | cstm > disk.txt ,
I searched the forums for information regarding CSTM and found references to -
selclass type qualifier ;info;wait;infolog.
.
Where can I find a complete (or nearly complete) set of Device Types and Qualifier Types?
.
What I want to do is something like -
selclass type disk qualifier array;info;wait;infolog | cstm > disk.txt
.
Any and all help will be appreciated.
Don't let Eugeny take all the points. (just kidding Eugeny)
.
Paul Middleton
Dilligad - Do I Look Like I Give A Damn
5 REPLIES 5
Paul Middleton
Frequent Advisor

Re: CSTM Device Types & Qualifier Types

Well, I'll be damned. (just ask my wife),
that last command worked.
echo "selclass type disk qualifier array;info;wait;infolog" | cstm > disk.txt
.
Worked like a charm.
.
I would still like to know if there is a list of possible or correct Device Types and Qualifier Types. I can't depend on luck.
.
Regards,
Paul Middleton
Dilligad - Do I Look Like I Give A Damn
S.K. Chan
Honored Contributor
Solution

Re: CSTM Device Types & Qualifier Types

It depends on what STM sees on your system and also I think the version os STM installed. One way to find out what are the available class type and qualifiers is to run it interactive .. for example on my 11.0
# cstm
cstm>selclass
-- Select Class of Devices --
Select only Device Type:
* 1 All
2 Adapter
3 Disk
4 Interface
5 Memory
6 Processor
7 system
Enter selection [1]:

Select only Qualifier Type:
* 1 All
2 Array
3 Bus
4 CPU
5 DVDROM
6 Hard
7 LAN
8 Memory
9 RS-232
10 SCSI
11 system
Enter selection [1]:

So if you wanted to say select all the hard disks you would go ..
cstm> selclass type disk qualifier hard

On my 10.20 this shows up ..
cstm>selclass
-- Select Class of Devices --
Select only Device Type:
* 1 All
2 Adapter
3 Disk
4 Interface
5 MUX
6 Memory
7 Processor
Enter selection [1]:

Select only Qualifier Type:
* 1 All
2 Array
3 Bus
4 CPU
5 Centronics
6 Hard
7 Keyboard
8 LAN
9 Memory
10 NIO
11 SCSI
Enter selection [1]:

Hope that answers your question.
Paul Middleton
Frequent Advisor

Re: CSTM Device Types & Qualifier Types

Top Points, S.K.
That was just what I was looking for.
.
Now another question.
.
On the Current Device Status Screen, it starts with Product Id :, just underneath that is,
Qualifier : .
.
The information in Qualifier ranges from, HPC5447A for an Mod 20 Array, to numbers like 14, 15, 580, 500, 2f, 5a9, 7b.
.
Do you know if there is a relationship between the Qualifier and the Card or Interface it's refering to?
.
For instance, could I tell the Model of a card by referencing
Product Id: SCSI Interface
Qualifier : 15
and know if it's A2969A or something?
.
I know it's a weird question, and if you think I'd wandering off in a wrong direction, please say so. I don't want to waste your time on ideas that don't go anyplace.
.
If you do think it's worth looking into, any hints, tips would be appreciated.
.
Paul Middleton
Dilligad - Do I Look Like I Give A Damn
S.K. Chan
Honored Contributor

Re: CSTM Device Types & Qualifier Types

Thanks Paul ..
mmm .. I don't see any Qualifier field in my cstm screen after I've selected a particular scsi interface and did an "infolog" on it. How are you running it ?
Back to your question .. if you want to examine say all PCI SCSI interface you can run ..
cstm> selclass type interface qualifier scsi
cstm> map
And you would see all the "PCI SCSI Interface" are selected (marked by asterisks).

For the Nike model 20, this is what I got from infolog ..
cstm>infolog
Hardware path: 8/4.2
..
it gives me 3 sections ..
1- MAPS
2- CONFIGURATION
3- DISKS
and if I select the scsi interface it's on it gives me ..
Hardware path: 8/4


Product ID: SCSI Interface
Hardware Path: 8/4
Module Type: Type-A DMA I/O
Hardware Model: 0x13
Hardware Revision Number: 0x1
Software Revision Number: 0
Software Model Number: 0x89
Software Option: 0x80
Hard Physical Address: 0xfbf44000
Slot Number: 1
IODC Revision: 0xffffff98
If all you wanted is the model or description of the card ioscan would suffice, wouldn't it ?


Paul Middleton
Frequent Advisor

Re: CSTM Device Types & Qualifier Types

Ah, there's the rub. (sorry, Shakespeare fan)
.
I forgot to mention how I found this other "Qualifier". Instead of typing cstm, I just typed stm. Then highlighted a line, went to "Device" and the first item under "Device" is "Current Device Status". It shows another "Qualifier" which, along with the "Product Id:" I was hoping to find more about the cards model.
.
Yes, ioscan does show "some"information, but, as and example, in ioscan you might see a interface board with "GSC Add-On Fast Wide Interface" or something like that. What I want to do is, with the Qualifier, determine if that "GSC Add-on Fast Wide Interface" is a A2969A interface card.
.
Quite ambitious isn't it.
.
Well, you can't be a nerd if you don't try to find a way to do something no ones thought of before.
.
Regardless, thanks for your help and thanks for all the time you devoted to this.
.
Regards,
Paul Middleton
Dilligad - Do I Look Like I Give A Damn