solaris 10 boot from SAN

This entry was posted in Solaris Administration and tagged , on June 17, 2012, by

shaybery

Posts:81

Registered: 9/14/06        solaris 10 boot from SAN

Apr 26, 2007 10:26 AM

I have Sparc server, V240, with 2 internal disks, HBA(QLA2342), connected to Storage type HDS AMS500.

There is any procedure how to megrate from internal scsi boot disk to a boot the solarin from LUN on the SAN? (with and without MPxIO)

thanks

bmacdo

Posts:163

Registered: 2/4/03          Re: solaris 10 boot from SAN

Apr 27, 2007 3:07 AM (reply 1 of 10)  (In reply to original post )

 

Top of my head answer, no.

Think about the drivers that need to be loaded to get the cards to be able to contact the SAN.

shaybery

Posts:81

Registered: 9/14/06        Re: solaris 10 boot from SAN

Apr 27, 2007 7:12 AM (reply 2 of 10)  (In reply to #1 )

So there is no option to do boot from LUN with STMS(multypath)?

 

If I have a server that running with MPxIO, the only way to do boot from SAN , is by using one lun that come via HBA that will be MPxIO-disable=yes.

 

?!?!?

torreysun

Posts:179

Registered: 8/4/06          Re: solaris 10 boot from SAN

Apr 28, 2007 2:15 PM (reply 3 of 10)  (In reply to #2 )

 

Present the SAN LUNs, use live upgrade to move the image, reboot.

There are some issues around multipathing in here – mpxio doesn’t support the AMS last I checked – but thats the easiest way to do it.

shaybery

Posts:81

Registered: 9/14/06        Re: solaris 10 boot from SAN

Apr 29, 2007 10:19 PM (reply 4 of 10)  (In reply to #3 )

 

What is your resources to say that AMS500 doesn’t support MPxIO?

I using MPxIO for data in V240 connactted to AMS500.

And now I try to do boot from SAN.

torreysun

Posts:179

Registered: 8/4/06          Re: solaris 10 boot from SAN

Apr 30, 2007 8:17 PM (reply 5 of 10)  (In reply to #4 )

I haven’t seen code go into mpxio that supports HDS midrange failover. It could be that the AMS supports TPGS multipathng but … I haven’t heard either way.

If you had to fake out mpxio by saying the AMD was symmetric then you are probably not in the proper config but HDS is the one that says yes or no.

shaybery

Posts:81

Registered: 9/14/06        Re: solaris 10 boot from SAN

May 2, 2007 3:29 AM (reply 6 of 10)  (In reply to #3 )

Why I cannot download the FCode into the HBA QLA2342????

I must download the FCODE qlc23xxFcode1.16 in order to see the Luns from the PROM.

NOTE : solaris10(11/06), server type V240.

Some outputs :

#>luxadm qlgc_s_download

Found Path to 0 FC100/P, ISP2200, ISP23xx Devices

Complete

 

#>luxadm -e port

/devices/pci@1d,700000/fibre-channel@1/fp@0,0:devctl CONNECTED

/devices/pci@1d,700000/fibre-channel@1,1/fp@0,0:devctl CONNECTED

 

#>fcinfo hba-port

HBA Port WWN: 210000e08b87bb76

OS Device Name: /dev/cfg/c3

Manufacturer: QLogic Corp.

Model: QLA2342

Firmware Version: 3.3.117

FCode/BIOS Version: No Fcode found

Type: N-port

State: online

Supported Speeds: 1Gb 2Gb

Current Speed: 2Gb

Node WWN: 200000e08b87bb76

HBA Port WWN: 210100e08ba7bb76

OS Device Name: /dev/cfg/c5

Manufacturer: QLogic Corp.

Model: QLA2342

Firmware Version: 3.3.117

FCode/BIOS Version: No Fcode found

Type: N-port

State: online

Supported Speeds: 1Gb 2Gb

Current Speed: 2Gb

Node WWN: 200100e08ba7bb76

 

 

 

#I Download FCODE from qlogic : qlc23xxFcode1.16.tar

 

#>luxadm qlgc_s_download -f isp2312.prom

Warning: System is not in single-user mode.

Loading FCode will reset the adapter and terminate I/O activity

Do you wish to continue ? (y/n) y

 

Found Path to 0 FC100/P, ISP2200, ISP23xx Devices

Complete

 

#the command DOING NOTHING!!!why??????

 

thanks!

torreysun

Posts:179

Registered: 8/4/06          Re: solaris 10 boot from SAN

May 2, 2007 8:07 AM (reply 7 of 10)  (In reply to #6 )

 

Because you’re trying to use the Sun fcode download utility with native Qlogic HBAs. (Not Sun branded Qlogic HBAs….)

shaybery

Posts:81

Registered: 9/14/06        Re: solaris 10 boot from SAN

May 2, 2007 11:51 AM (reply 8 of 10)  (In reply to #7 )

How can I put Fcode without luxadm command?

jaymike

Posts:9

Registered: 3/6/07          Re: solaris 10 boot from SAN

May 2, 2007 10:38 PM (reply 9 of 10)  (In reply to #8 )

 

How can I put Fcode without luxadm command?

This is really a question for QLogic support and not Sun support, as luxadm again is meant to be used with legacy Sun 2Gb HBAs and is not meant for a non-Sun HBA.

 

So I would use their support forum to get some insight on this:

http://solutions.qlogic.com/KanisaSupportSite/forum/forumshome.do?id=m3

In short though, you probably need QLogic’s SANsurfer CLI utility to flash the FCode on the HBA.

http://support.qlogic.com/support/os_detail.asp?productid=255&osid=22

shaybery

Posts:81

Registered: 9/14/06        Re: solaris 10 boot from SAN

May 3, 2007 10:50 AM (reply 10 of 10)  (In reply to #9 )

 

the problem was fixed 🙂

 

I download the Fcode version 1.16(found on the Qlogic website) by using the SANSurferCLI.

scli -> Update Flash -> reboot(init 6)

 

Then I suceeded to see the luns on PROM, by using probe-scsi-all, show-devs, show-disks.

the device path changed after the Fcode downloaded

from -> /pci@1d,700000/fibre-channel@1/fp@0,0

to -> /pci@1d,700000/QLGC,qlc@1/fp@0,0

 

So I suceed to do also boot from SAN, by creating new lun on this solaris, and by using Live Upgrade to lucreate the current rootdisk(and the swap) to the LUN root disk.

 

Then luactivate <Lun_root_file_system_lu>

init 6

Then the system is UP without local disks !!!!

🙂

thanks

Leave a Reply

Your email address will not be published. Required fields are marked *

Copyright 2017 ©Aceadmins. All rights reserved.