Vous êtes sur la page 1sur 8

SunStorEdge3000FamilyInstallation,Operation,andService

Manual

APPENDIX

ConfiguringaSolarisServer
ThisappendixprovidesthefollowingSolarisspecificinformation:
SectionD.1,AccessingtheFirmwareApplicationOnaSolarisHost
SectionD.2,Editingthesd.confFile
SectionD.3,EnablingaSolarisHosttoRecognizeNewDevicesandLUNs
SectionD.4,LabelingaVolume
SectionD.5,MakingJBODsVisibletoSolarisHosts

D.1AccessingtheFirmwareApplicationOnaSolarisHost
Thissectionprovidesinformationonredefiningthebaudratefortheserialportconnection,andusingthetipcommandtoaccess
thearrayremotely.Formoreinformationaboutthebaudrateandothercommunicationsettings,seeSection4.11.2,Configuring
theRS232SerialPortConnection.

NoteYoucanalsomonitorandconfigureaRAIDarrayoveranIPnetworkusingthefirmwareapplicationortheSun
StorEdgeConfigurationServiceprogramafteryouassignanIPaddresstothearray.Fordetails,seeSection4.12,SettingUp
OutofBandManagementOverEthernetorrefertotheSunStorEdge3000FamilyConfigurationServiceUsersGuide.

Youcanspecifythebaudrateof38,400whenyoutypethetipcommand.
1.ConnecttheRAIDarrayCOMporttoaserialportofaSolarisworkstation(seeFIGURED1).

2.Usethetipcommandtoaccessthearraylocally.

FIGURED1 RAIDArrayCOMPortConnectedLocallytotheCOMPortofaWorkstationorComputerTerminal
#tip38400/dev/ttyn

wherenistheCOMportidentifier.Forinstance,ifyouhaveconnectedthearraytotheCOMportidentifiedasttyb,use
thiscommand:

#tip38400/dev/ttyb

3.RefreshyourscreenbyholdingdowntheControlkeyonyourkeyboard(thisisabbreviatedCtrlonsome
keyboards)andpressingtheletterLkeyonyourkeyboard.

D.2Editingthesd.confFile
Editthe/kernel/drv/sd.conffiletoaddmoretargetsandLUNs,upto128LUNs,whichcanbeusedinasingleSun
StorEdge3320SCSIarray.Thenrebootthehost.
YoumightwanttoallowafewextraLUNsforflexibilityoverthecomingmonths,butgenerallymostadministratorsminimizethe
numberofunusedLUNsbecauseeachLUNcausesasevenseconddelaywhenyourebootthehost.

NoteThemaximumnumberofLUNspertargetis32.

CautionAfteryoueditsd.conf,youmustrebootthehosttoenablethenewLUNassignments.

Thefollowingexamplefilesetsuptargets1and3withatotalof41LUNs(LUNs0through31ontarget0,andLUNs0through8
ontarget3).DefaultLUNsarelistedfirst,followedbynewLUNs.

#Copyright(c)1992,bySunMicrosystems,Inc.
#
#ident "@(#)sd.conf
1.9
98/01/11SMI"

name="sd"class="scsi"class_prop="atapi"
target=0lun=0
.
.
name="sd"class="scsi"
target=15lun=0

#NEWLUNshavebeenappendedtothedefaultsettingsinthefile,startinghere.


name="sd"class="scsi"
target=1lun=1

name="sd"class="scsi"
target=1lun=2

name="sd"class="scsi"
target=1lun=3

name="sd"class="scsi"
target=1lun=4

name="sd"class="scsi"
target=1lun=5

name="sd"class="scsi"
target=1lun=6
name="sd"class="scsi"
target=1lun=7
.
.
.
name="sd"class="scsi"
target=1lun=31

name="sd"class="scsi"
target=3lun=1

name="sd"class="scsi"
target=3lun=2

name="sd"class="scsi"
target=3lun=3

name="sd"class="scsi"
target=3lun=4

name="sd"class="scsi"
target=3lun=5

name="sd"class="scsi"
target=3lun=6

name="sd"class="scsi"
target=3lun=7

name="sd"class="scsi"
target=3lun=8

#ENDadditionallunentries

D.3EnablingaSolarisHosttoRecognizeNewDevicesand
LUNs
Bydefault,aSolarishostisconfiguredforonehostLUNperSCSItarget,whichisnotenoughLUNsforaSunStorEdge3320
SCSIarray.YoumustedittheappropriateonboardHBAdriverconfigurationfiletoaddmoretargetsandLUNs,upto32LUNs
perlogicaldrive,andamaximumof128LUNsperSunStorEdge3320SCSIarray.
Driverconfigurationfilesinclude/kernel/drv/qus.confand/kernel/drv/glm.conf.Youcandeterminewhether
thequsorglmdriverisloadedonyourSolarishostviathemodinfocommand.Forexample:

#modinfo|grepiscsi

1711ae74522a23321sd(SCSIDiskDriver1.408)
1811cf1308b911scsi(SCSIBusUtilityRoutines)
2211f52ea100bb501glm(GLMSCSIHBADriver1.182.)

Intheprecedingexample,theglmdriverisloadedonthehost.
Editthe.conffilethatisappropriateforyourHBA.

CautionDonoteditthe/etc/systemfiletoaccomplishthesamepurpose.Whilethiscanhavethedesiredeffect,it
canalsocauseinterferencewithotherstoragedevicesattachedtothesamehost.

NoteRefertothedriver.conf(4)manpageforinformationandsyntaxtouse.RefertoyourHBAreleasenotesandyour
HBAinstallationguideforspecificconfigurationinformation.

Onceyouhaveeditedtheconfigurationfile,rebootthehostforthechangestotakeeffect.
1.Editthe/kernel/drv/qus.confor/kernel/drv/glm.conffile(whicheverisappropriatetoyour
HBA)toaddmoretargetsandLUNs(upto32LUNsperlogicaldrive,andamaximumof128LUNsperSun
StorEdge3320array).

NoteIfthefiledoesnotexist,createitusingtheformatintheexamplebelow.AllowfiveblankspacesbetweenSunand
StorEdgeonthefirstline.

InanenvironmentwhereonlySunStorEdge3320SCSIdevicesareused,anexampleoftexttoaddto
/kernel/drv/qus.confor/kernel/drv/glm.confis:

devicetypescsioptionslist=SUNStorEdge3320,
SE3320scsioptions
SE3320scsioptions=hexadecimaladdress

InanenvironmentwherebothSunStorEdge3310andSunStorEdge3320SCSIdevicesareused,anexampleoftexttoadd
to/kernel/drv/qus.confor/kernel/drv/glm.confis:

devicetypescsioptionslist=

"SUNStorEdge3310","SE33x0scsioptions",

"SUNStorEdge3320","SE33x0scsioptions"

SE33x0scsioptions=hexadecimaladdress

Formoreinformationaboutmultipledevicetypes,refertothescsi_get_device_type_scsi_options(9F)manpage.
2.Rebootthehosttoimplementthefilechanges.
TheSolaris8OSrequiresareconfigurationreboottocreatedevicefilesandimplementsd.confchangesbutyoudonot
needareconfigurationrebootfortheSolaris9or10OS.

rebootr

FortheSolaris9or10OS,usethefollowingcommandstocreatedevicefilesafteryouhaveeditedsd.conf.Norebootis
necessarywiththiscommand:

update_drvfsd
devfsadm

ThenewLUNsaredisplayedwhenyouperformtheformatcommand.
3.TodisplaythenewLUNs,performthefollowingcommand:

format

D.4LabelingaVolume
FortheSolarisOStorecognizeavolume,itmustbelabeledwiththeformatcommand.Wheneveryoucreateavolume,labelit
usingthefollowingprocedure.Formoreinformationontheformatcommand,seetheformat(1M)manpage.

Tolabelavolume,performthefollowingsteps.
1.Onthedatahost,typeformatattherootprompt.
2.Specifythedisknumberwhenprompted.
Inthisexample,thearrayisshownasdisknumber3.YoucanidentifyitbytheSUNStorEdge3320412Dlabel.

Ifthevolumehadnotbeenlabeledpreviouslyusingtheformatcommand,thefollowingconfirmationpromptisdisplayed:

Disknotlabeled.Labelitnow?

3.(Optional)Ifyouseethisconfirmationprompt,typeyandpressReturntodisplaytheFORMATMENU.
TheFORMATMENUisdisplayed.
4.Typetypetoselectadrivetype:

FORMATMENU:

diskselectadisk
typeselect(define)adisktype
partitionselect(define)apartitiontable
currentdescribethecurrentdisk
formatformatandanalyzethedisk
repairrepairadefectivesector
labelwritelabeltothedisk
analyzesurfaceanalysis
defectdefectlistmanagement
backupsearchforbackuplabels
verifyreadanddisplaylabels
savesavenewdisk/partitiondefinitions
inquiryshowvendor,productandrevision
volnameset8charactervolumename
!<cmd>execute<cmd>,thenreturn0
quit
format>type

5.Type0tochoosetheAutoconfigureoption.
SelecttheAutoconfigureoptionregardlessofwhichdrivetypesaredisplayedbythetypeoption.

6.Typelabelandanswerywhenpromptedtocontinue.

format>label
Readytolabeldisk,continue?y

NoteForfurtherinformationonpartitioning,seetheSolarisformat(1M)manpage.

D.5MakingJBODsVisibletoSolarisHosts
IftheJBODcablingiscorrectandthedrivesarestillnotvisible,runthedevfsadmutilitytorescanthedrives.Thenewdiskscan
beseenwhenyouperformtheformatcommand.
Ifthedrivesarestillnotvisible,rebootthehost(s)withtherebootrcommandsothatthedrivesarevisibletothehost.

SunStorEdge3000FamilyInstallation,Operation,and
ServiceManual

Copyright2009SunMicrosystems,Inc.Allrightsreserved.

819127414

Vous aimerez peut-être aussi