cancel
Showing results for 
Search instead for 
Did you mean: 

hwmgr in tru64

Shehan
Super Advisor

hwmgr in tru64

Hi all
How to use hwmgr in tru64 to change model of tape from SDT-9000 to AIT-50.

Thanks
Nirukshitha
13 REPLIES
Chris Ellam
Advisor

Re: hwmgr in tru64

I am assuming that you have either replaced the SDT-9000 or added an AIT-50 tape device. I am presuming that you want to use tape0 as your device name.

First the hardware model identification is read from the actual devices attached. This means that you should not mess with the database entries to change it.

I suspect that when you use hwmgr that you will now see more than 1 tape device. If not perform an scsi scan now, i.e. hwmgr -scan scsi. You should now see tape0 your original SDT-9000 and tape1 your new AIT-50 drive. If you want to continue using tape0 as the prefered device name you can swap the device names, i.e.

dsfmgr -e tape0 tape1.

Check this with hwmgr -view dev
Shehan
Super Advisor

Re: hwmgr in tru64

Thanks lot.Actually I got the "hwmgr v d" output.It shows only "SDT-9000" tape drive.but not shows "SDX-500C(AIT-50)" from this command.
Also used the "hwmgr scan scsi" command,but it doesn't show the AIT-50.

but when we run "mt -f /dev/tape/tape2 status" command ,it gave something else.

So will I be able to use "dsfmgr -e tape0 tape2" command to solve my issue.

Thanks
Niru
Chris Ellam
Advisor

Re: hwmgr in tru64

Yes, I believe this should work for you.

It also appears to me that your device database is not up to date. Try a grep for SDX in /etc/ddr.dbase

If the SDX-500C etc... entries are not found then you are not up to date and will need to install the appropriate NHD kit or patch kit.
Shehan
Super Advisor

Re: hwmgr in tru64

I checked "dsfmgr -e tape0 tape2".but It didn't solve my issue.Problem is SDX-500 is not appearing from the OS.Still I coluln't grep SDX in the /etc/ddr.dbase.I will let you know it.Probbly it might be the problem for not detecting SDX .Also I deleted the exisisting DAT tape drive & re-scan the scsi device.But again it detected only the DAT drive.It seems to be Hardware problem in the server or OS issue.

Please advice me about the NHD kit or related patch kit for SDX.


Thanks
Nirukshitha

Mark Garrett
Advisor

Re: hwmgr in tru64

Bit confused by that thread was not sure if you had or had not seen the AIT-50 on hwmgr and if the SDT-9000 was disconnected from the bus? or if the AIT-50 was on the same SCSI Bus Target Lun?

What I suggest you do is hwmgr -v d | grep tape
then hwmgr -delete -id xxx for anything thats a tape.
hwmgr -show scsi should have no unconfigured devices.
Then hwmgr -scan scsi ; hwmgr -v d If you dont see the tape now its got connection issues. now dfsmgr -m tapeN tape0
Shehan
Super Advisor

Re: hwmgr in tru64

SDT-9000 is still connected to the server.I already followed your procedue ,but we show only SDT-9000 after scan again.I am planining to shutdown server to SRM level & see whether it is detected from the SRM level.Then we can sure about the HW.IF you have any idea about NHD kit or patches ,pls let me know.

Thanks
Nirukshitha
Mark Garrett
Advisor

Re: hwmgr in tru64

I'm assuming they both on a direct SCSI bus? Nothing in a hardware delivery kit would be an issue unless the Host bus adpapter was of a different type than you had and you needed a driver for the card? We should still be able to see the device on the bus. I dont think this is what you have? Assuming its SCSI what does the old scu show edt tell you, can I see the output of

hwmgr view hierarchy
hwmgr -show scsi -full
hwmgr -v d
scu show edt
DCBrown
Frequent Advisor

Re: hwmgr in tru64

Its hard to tell, but is sounds like the device is broken and not recognized when you do a hwmgr scan.

If this is on a parallel scsi bus, then you can simulate part of the hwmgr scan by using scu in an attempt to talk directly to the device:

# scu
scu> sbtl
scu> tur
scu> show inquiry

Is the tape a direct attach via parallel scsi, at what b/t/l, and what does the above commands return?
Rob Leadbeater
Honored Contributor

Re: hwmgr in tru64

Hi,

Try checking that the AIT drive has a unique SCSI ID on the bus.

That would probably stop it from being seen...

Cheers,

Rob
Shehan
Super Advisor

Re: hwmgr in tru64

Please find the attched output.

Thanks
Shehan
Super Advisor

Re: hwmgr in tru64

Here AIT is a hotplug Tape drive.But DAT drive is a internel tape drive.Is it possible to get same SCSI ID for both.

If we remove DAT ,is it possible to get AIT ?


Thanks
Nirukshitha
Steven Schweda
Honored Contributor

Re: hwmgr in tru64

You might start again with some basic
information:

What is the system? ("ES40", I assume, now.)

What are the SCSI adapters in the system?

I see only one:

153: scsi_adapter isp0
154: scsi_bus scsi1
with one device:
209: tape bus-1-targ-6-lun-0 tape7
which appears to be at SCSI ID 6. And it
appears to be the SDT-9000:

209: 11 adbm02 tape none 0 1 tape7 [1/6/0]

WWID:03100032:"SDT-9000 SONY SDT-9000 0003082610"


To which SCSI adapter is each tape drive
connected?

What are the SCSI ID values for each tape
drive?

I see no evidence of a second tape drive.

> I am planining to shutdown server to SRM
> level & see whether it is detected from the
> SRM level.

Well, what happened?
Rob Leadbeater
Honored Contributor

Re: hwmgr in tru64

OK. So you've got an ES40, and you're trying to plug in a hot plug AIT drive, presumably into the internal 6 bay drive cage...

I would sanity check that the drive cage is plugged into a SCSI card.

Cheers,

Rob