Video Screencast Help

sgscan showing same tape drive & robot twice in solaris

Created: 08 Aug 2012 | 22 comments

Actually I had to reinstall one of my media server. I installed netbackup successfully & when i tried to configure tape drive, sgscan is showing same tape drive & robot twice in solaris. I tried to unconfigure it using cfgadm & it is giving me Configuration administration not supported.

Comments 22 CommentsJump to latest comment

Will Restore's picture

multipathing enabled?  that could do it.  we had a setup that way & it worked just fine.

 

Will Restore -- where there is a Will there is a way

Marianne's picture

Please show us output of 
ls -l /dev/rmt/*cbn

This will confirm paths to devices.

Multipathing is fine as long as the device wizard is used for configuration.

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

sysahamed's picture

 

Output of /dev/rmt/*cbn
 
/dev/rmt/0cbn -> ../../devices/pci@0/pci@0/pci@8/pci@0/pci@1/SUNW,qlc@0/fp@0,0/st@w500104f000b86275,0:cbn
 /dev/rmt/1cbn -> ../../devices/pci@0/pci@0/pci@8/pci@0/pci@1/SUNW,qlc@0/fp@0,0/st@w500104f000b8627b,0:cbn
/dev/rmt/2cbn -> ../../devices/pci@0/pci@0/pci@8/pci@0/pci@1/SUNW,qlc@0,1/fp@0,0/st@w500104f000b86278,0:cbn
/dev/rmt/3cbn -> ../../devices/pci@0/pci@0/pci@8/pci@0/pci@1/SUNW,qlc@0,1/fp@0,0/st@w500104f000b8627e,0:cbn
/dev/rmt/4cbn -> ../../devices/pci@0/pci@0/pci@8/pci@0/pci@9/SUNW,qlc@0,1/fp@0,0/st@w500104f000b86275,0:cbn
/dev/rmt/5cbn -> ../../devices/pci@0/pci@0/pci@8/pci@0/pci@9/SUNW,qlc@0,1/fp@0,0/st@w500104f000b8627b,0:cbn
 
My finding is that highlighted ones are the duplicated ones & this is getting detected thru another HBA. 
 
Multipathing
#mpathadm list mpath-support
mpath-support:  libmpscsi_vhci.so
#mpathadm list lu
I observed this error at the last after listing logical units.
mpathadm:  Error: Unable to get configuration information.
mpathadm: Unable to complete operation
 

 

Marianne's picture

Solaris multipathing is meant for disk, not tape. 

Is your media server Solaris SPARC or x86?

Extract from Device Config Guide

Configuring Solaris 10 x86 for multiple drive paths

To use multiple paths to the same tape drive, NetBackup requires that Solaris
Multiplexed I/O (MPxIO) be disabled. MPxIO is enabled by default on Solaris 10
x86 systems.
 

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

sysahamed's picture

Media server is Solaris SPARC & another thing i noticed is four HBAs online in this server compared to two online in other media servers. 

mph999's picture

Fix your zoning - I suspect you have the drives zoned in twice.

Martin

 

Regards,  Martin
 
Setting Logs in NetBackup:
http://www.symantec.com/docs/TECH75805
 
mph999's picture

It'll just configure with mutiple paths as long as you use the wizard.

BUT

Clearly this is not how the system was designed, as you have rasied the concern.  So you should fix the problem, not ignore it.

It is not difficult to check zoning and unzone drives.

I think you need to sit down and lok at the design documets to see how the drives are meant to be attached, and see what the design document for the zoning says.

Martin

 

 

Regards,  Martin
 
Setting Logs in NetBackup:
http://www.symantec.com/docs/TECH75805
 
Marianne's picture

Yes, just use the wizard to config.

I was involved in big customer installation about a year ago with multiple Solaris Sparc media servers.
They had dual paths to the tape drives - /dev/rmt entries as well as sgcan showed 2 paths.

All worked fine using the wizard to config.

With more and more media servers being added to the 'mix' and due to the amount of devices and paths, the GUI wizard started to timeout.
We then opted for command line config where timeout can be specified:

 

vmoprcmd -h <media-server-name> -timeout 3600 -autoconfig  -a

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

sysahamed's picture

In the wizard i just removed the duplicate path for the tape drives & went ahead but the wizard finally get hanged at restarting device manager daemon.

Marianne's picture

If you don't want multipathing on your tape drives, fix the zoning.

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

sysahamed's picture

How to proceed as the wizard has got hanged? Shall i delete the drives & reconfigure...

mph999's picture

You could try that.

Is the OS still seeing each drive twice ?

Martin

 

Regards,  Martin
 
Setting Logs in NetBackup:
http://www.symantec.com/docs/TECH75805
 
mph999's picture

You removed the paths in the wizard, as clearly, you don't want multiplathing.

In my advice before, I said to remove the zoning if you don't want multiplathing.

What you will end up with, potentially, is drives configured on one path, buth that have an extra' unused path.

Can you images how confusing this will be to the next TSE who looks at this system.

This is the perfect example of how not to do things - it leads to systems in such a mess that future troubleshooting gets very complex, and very very time consuming.

I asked a previous question:

What does you design document/ system documentation show for this system ?

You never gave an answer to this.  You need to know what should be there.

Martin

 

Regards,  Martin
 
Setting Logs in NetBackup:
http://www.symantec.com/docs/TECH75805
 
Marianne's picture

In support of Martin's question:

What does you design document/ system documentation show for this system ?

Does each device actually have 2 fiber ports? Each zoned to different hba?
Or one drive connection zoned to 2 hba's?

 

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

Marianne's picture

Nope. Fix zoning to one hba only.

NBU Device Multipathing is meant for connectivity to dual-port devices.

I can unfortunately not find any documentation with requirements/instructions - just know this from experience.

I have asked a couple of Symantec gurus (including Martin) to help find such documentation.

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

sysahamed's picture

Thanks Marianne...I need some couple of days to fix this as i am not a SAN admin. 

Marianne's picture

Just received confirmation from Martin that single connection zoned to two hba's is supported.

Martin will hopefully post details of his findings.

So, it seems your config should work, but please, do not select devices manually in the wizard. Just accept all devices that are found and continue with config...

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

mph999's picture

Not too much to report really, on checking, it seems that it should bepossible to configure a drive, that is connected to a media server via 2 HBAs, thus giving 'dual' paths.

As Marianne suggested, allow the wizard to configure all the paths - it should work ...

Martin

 

Regards,  Martin
 
Setting Logs in NetBackup:
http://www.symantec.com/docs/TECH75805
 
Will Restore's picture

yup, as indicated in my first post. 

should work fine presuming there is no trouble with the hardware & san zoning.

 

Will Restore -- where there is a Will there is a way