P. 1
Solaris+10+and+Brocade+SAN+Setup

Solaris+10+and+Brocade+SAN+Setup

|Views: 218|Likes:
Published by unahb1

More info:

Published by: unahb1 on Aug 25, 2010
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less

03/26/2015

pdf

text

original

Solaris 10 and

Brocade SAN Setup
This is some information/walkthrough of getting Solaris 10 hooked up to a SAN.
Also info on SUN/STK NAS deices. ! think the SUN/STK NAS"s are wa# nicer
then NetApps. Also coers SUN $000 series arra# setup. A few Brocade notes
also. %oers U&S and 'eritas (m and (fs setup for new )UNs. This is a
walkthrough/notes ! created while setting up some e*uipment+ en,o#. ! am
seeing a good deal of isits to this page+ and ! am glad it is of serice.
Some info about author of this stuff. Drop me Questions at main site:
Creative Intent!
Click to read: Creative Intent!
Get Creative and Have Fun!!!
Brocade SilkWorm 4100 SAN Switch...............................................................2
Documentation for Brocade Silkworm 4100 Switch......................................2
Setting the IP Addre.....................................................................................!
"o et#change the Domain ID.........................................................................!
"o et#change witchname..............................................................................4
Setting the Date and "ime...............................................................................4
"o $nchroni%e local time with an e&ternal ource.....................................4
"o et the date and time manuall$..............................................................4
S'N (1!0 Arra$.................................................................................................)
S'N )!20 NAS...................................................................................................)
Documentation for S'N )!20 NAS...............................................................)
*nure the following +S ,ackage#,atche are intalled................................)
Patch intall order.......................................................................................)
-ounting NAS................................................................................................(
.rom Solari................................................................................................(
.rom Window............................................................................................(
/)00 "a,e /i0rar$..............................................................................................1
Documentation for /)00 "a,e /i0rar$...........................................................1
S'N#Solari........................................................................................................1
*nure the following +S ,ackage#,atche are intalled................................1
2iew 3BA4....................................................................................................1
Before aigning /'N4.................................................................................5
Aigning /'N4............................................................................................5
6onfigure New /'N4 on Solari...................................................................5
6reate /a0el for /'N.....................................................................................7
8un format command.................................................................................7
9et /'N Info for -ounting.........................................................................10
lu&adm ,ro0e............................................................................................10
6reate New .ile$tem on /'N#2olume.....................................................10
run newf...................................................................................................10
edit #etc#:fta0 to mount the new /'N.........................................................11
8un mount command................................................................................11
2erita 2olume Setu,...................................................................................12
If $ou ue 2erita follow thee te,........................................................12
; intruct :erita to can for new lun.......................................................12
; check for new lun on :erita le:el........................................................12
; initiali%e new dik.................................................................................12
; initiali%e new dik grou, with dik c!t!d!0..........................................12
;; if grou, alread$ e&it..........................................................................12
; check the tatu of the new dik...........................................................12
; 6heck free,ace of the dikgrou,..........................................................1!
;; Si%e can 0e gotten from :&dg free.......................................................1!
;; If not all ,ace i ued< or tak i to grow :olume...............................1!
; check the new :olume............................................................................1!
; create a file$tem on the new :olume..................................................1!
; make a mount ,oint................................................................................1!
; mount the new file$tem at the new mount ,oint................................1!
; :erif$ the new mounted file$tem........................................................1!
; :erif$ the i%e on olari le:el................................................................1!
; make ,ermenent.....................................................................................14
; tet :fta0 entr$......................................................................................14
6reati:e Intent 6lick to read= Introduction ...................................................14
Brocade Silk-orm .100 SAN Switch
####################################################################
############
Documentation for Brocade Silkworm 4100 Switch
All Brocade documentation downloaded to: \\srvapps02\tri
emplo!ee"s\#mi$ul$a\%uwait\Brocade
&as$s:
Assi'n ()
*han'e Domain (D
*han'e +ostname
Settin' the Date and &ime
A new switch ,before ()- will need to be confi'ured throu'h serial port.
Default username and password on new Brocade switch is:
username: admin
password: password
Domain (D must be different on each switch.
Default Domain (D is ..
/ne of the switches will need a different Domain (D.
&he current setup in non0classified:
122SA3S40.
(): .52..6.70.7
Domain: 8
122SA3S402
(): .52..6.70.6
Domain: .
# 3ote: Brocade will not allow a hostname lon'er then above.
A 9switchShow9 command will show confi' of switch
############################
Setting the IP Address
After connectin' with serial cable: use the 9ipaddrset9 command to set the () address.
,e;ample-
122SA3S40.:admin< ipaddrset .=2..6.70.7
#thernet () Address >.=2..6.70.7?:
#thernet Subnetmas$ >277.277.277.0?:
@ibre *hannel () Address >0.0.0.0?:
@ibre *hannel Subnetmas$ >0.0.0.0?:
atewa! () Address >.=2..6.70..?:
(ssuin' 'ratuitous AA)...Done.
() address is bein' chan'ed...Done.
*ommittin' confi'uration...Done.
1ust hit enter if correct.
3ot usin' fibre *hannel () setup in this confi'uration. Beave blan$.
3ow the switch can be telneted to.
############################
To set/change the Domain ID
.. *onnect to the switch and lo' in as admin.
2. #nter the switchdisable command to disable the switch.
8. #nter the 9confi'ure9 command.
C. #nter ! after the @abric )arameters prompt:
@abric parameters ,!es: !: no: n-: >no? !
7. #nter a uniDue domain (D at the Domain prompt. Ese a domain (D value from .
throu'h 285 for
normal operatin' mode ,@*S4 compatible-. @or e;ample:
Domain: ,...285- >.? 8
6. Aespond to the remainin' prompts ,or press *trl0d to accept the other settin's and
e;it-.
=. #nter the 9switchenable9 command to reenable the switch.
############################
To set/change switchname
#nter the 9switchname9 command at the command line: usin' the followin' s!nta;:
switchname FnewnameG
4here 9newname9 is the new name for the switch.
,e;ample-
122SA3S40.:admin< switchname 122SA3S40.
############################
Setting the Date and Time
To s#nchroni/e local time with an e(ternal source
.. *onnect to the switch and lo' in as admin.
2. #nter the followin' command:
tscloc$server ipaddr
,e;ample-
122SA3S40.:admin< tscloc$server .=2..6..0..
Epdatin' *loc$ Server confi'uration...done.
To set the date and time manuall#
.. *onnect to the switch and lo' in as admin.
2. #nter the date command at the command line usin' the followin' s!nta;:
date FHHDDhhmmIIG
&he values represent the followin':
J HH is the monthK valid values are 0. throu'h .2.
J DD is the dateK valid values are 0. throu'h 8..
J hh is the hourK valid values are 00 throu'h 28.
J mm is minutesK valid values are 00 throu'h 75.
J II is the !earK valid values are 00 throu'h 55 ,values 'reater than 65 are
interpreted as
.5=0 throu'h .555: and values less than =0 are interpreted as 200002065-.
#;ample
Iou can s!nchroniLe the local time
SUN $100 Arra#
All SE3 documentation downloaded to: \\srvapps02\tri
emplo!ee"s\#mi$ul$a\%uwait\Stor#d'e 6.80
SUN 1020 NAS
Documentation for SU !"#0 AS
All SE3 documentation downloaded to: \\srvapps02\tri
emplo!ee"s\#mi$ul$a\%uwait\Sun Stora'e&e$ 7820 3AS
$nsure the following %S &ackages/&atches are installed
TAB)3 142 5e*uired Sun StorageTek $100 Arra# Software and
&irmware
Software
'ersion
6minimum7 8atch !9
Sun Stora'e&e$ 6.80 arra!
mana'ement software
..8 ..M.6C0
06
*ontroller *AH0@ firmware 06..2.05..0 ..=M760
.M
Arra! firmware installer ..M.M70
.C
8atch install order
&he patches for the 3AS need to be installed in a specific order. Also note that newer
versions of some of these patches are available and were installed. &hose patch #Ns
are noted below.
&hese have been downloaded to: \\srvapps02\tri
emplo!ee"s\#mi$ul$a\%uwait\)atches needed for 3AS
(nstall order is:
..M.6C006
..M.M70.7
..=M760.5
11:1$.40$
..M.6C006 can be confusin'.
(n the Aeadme file the )roblem Description is
F*han'e the )&O +ost &!pe to a different value:Sun Stored'e 3AS atewa!G
&he ;ost T#pe for the 3AS should be selected as )&O. &he patch does not chan'e
that value: in the pulldown to Sun Stored'e atewa!. &he pull down menu sta!s )&O.
&he patch chan'es some parameters to that value but pulldown sta!s the same.
11:1:1411
&his install is strai'ht forward. &his installs a firmware installer for the 6.80 Arra!. &his
will be used to up'rade to latest microcode installed in 11<:1$41=.
11<:1$41=
&his is the latest firmware. After this patch is installed the firmware must be installed.
&his is covered in the A#ADH# file. &he firmware is install b!:
cd PvarPsadmPswima'esP..M.M70.7Pbin
.Pinstall
&he A#ADH# file covers this in detail.
(t can ta$e a few minutes to 'et a response durin' different steps of up'rade.
'ounting AS
(n this confi'uration the 3AS allows shared files!stems on the 6.80 to be shared over
() networ$.
&he Solaris servers ues 3@S.
&he 4indows servers mount shares on 3AS as shared folders.
&rom Solaris
&he Solaris servers are 3@S clients to the 3AS server.
@irst ma$e sure the 3AS is mountable manuall!.
Steps needed to mount NAS files#stems manuall#
ma$e local director! ,e;ample- PmntPadmin
mount Q20nas0.:Padmin PmntPadmin
Steps to make N&S files#stems automount at >ootup
&o ma$e this mount permanent: !ou must edit the PetcPvfstab for each files!stem.
#dit PetcPvfstab: ,Q20nas0.:Padmin 0 PmntPadmin nfs 0 !es rw-
The parameters in /etc/fsta> are listed
#device device mount @S fsc$ mount mount
#to mount to fsc$ point t!pe pass at boot options
A successful entr# consists of the following
Q20nas0.:Padmin 0 PmntPadmin nfs 0 !es rw
&rom -indows
Steps needed to mount NAS files#stems
)100 Tape )i>rar#
Documentation for (!00 Ta&e (i)rar*
htt,=##unol:e.un.com#hand0ook>,u0#S$tem#/)00#/)00.html
SUN/Solaris
####################################################################
############
$nsure the following %S &ackages/&atches are installed
&his one should be on the
first Solaris install DRD
SE34Dlc
&hese two dowload from SE3 if needed
.2056700.
..5.8.0.8
# 3ote: (f +BA"s are in server when Solaris is installed
these should all have been installed
############################
+iew ,BA-s
/nce the /S is updated and a reboot 00 0r has been done chec$ if SE3PSolaris is
seein' the +BA"s.
run the lu;adm command:
lu;adm 0e port
,e;ample-
lu;adm 0e port
PdevicesPpciS.d:=00000PSE34:DlcS2:.PfpS0:0:devctl */33#*&#D
PdevicesPpciS.d:=00000PSE34:DlcS2PfpS0:0:devctl */33#*&#D
Above is showin' two +BA"s 2 and 2:.
/%: 'ood to 'o.
############################
Before assigning (U-s
%ollect %urrent ;BA information
!t is good to collect this data for diff later
fcinfo h>a4port 4l ?grep ;BA
+BA )ort 443: 2.0000e0Mb.cM25a
+BA )ort 443: 2.0000e0Mb.c2857
%ollect )UNs Solaris alread# knows a>out
fcinfo remote0port 0sl 0p 2.0000e0Mb0c77.M < 2.0000e0Mb0c77.M.out
fcinfo remote0port 0sl 0p 2.0.00e0Mb2c77.M < 2.0.00e0Mb2c77.M.out
cf'adm 0al 0o show2S*S(2BE3 < currentBE3s.out
,3ote added BE3S when available will be seen here as 9unconfi'ured9
Scan deepl# )UNs attached to each ;BA
&his shows +BANs
lu;adm 0e port
PdevicesPpciS.c:600000PpciS.PSE34:DlcSCPfpS0:0:devctl */33#*&#D
PdevicesPpciS.c:600000PpciS.PSE34:DlcS7PfpS0:0:devctl */33#*&#D
5un following command on each %ontroller
lu;adm 0e dump2map PdevicesPpciS.c:600000PpciS.PSE34:DlcSCPfpS0:0:devctl
lu;adm 0e dump2map PdevicesPpciS.c:600000PpciS.PSE34:DlcS7PfpS0:0:devctl
Assigning (U-s
Now is the time to assign )UNs
Assi'n BE3s.
.onfigure ew (U-s on Solaris
)UNS should @Aust Show UpB on Solaris 10.
*'fadm Tal
Example output
c.::2200000c70C0.2== dis$ connected unconfi'ured un$nown
3ew BE3s show as unconfi'ured until cf'adm is used.
When LUNs appear configure them
cfgadm ?c c.::2200000c70C0.2==
Alo command can 0e done glo0all$ for each controller=
cfgadm ?c configure c1
cfgadm ?c configure c2
(t does not effect previousl! confi'ured BE3s.
!f the# do not+ a few things to tr# if )UNs don"t show up
*hec$ for le'ac! t;t in sd.conf. Solaris .0 does not need this: and it Qust slows up
bootin'.
&;t in this file Fm! theor! isG can mess findin' new BE3s in Solaris .0.
Update sd.conf
vi P$ernelPdrvPsd.conf
Add new BE3 (Ds created on +itachi
After Solaris 5: this should not be needed. .0 does not need this.
!nstruct Solaris to re4read sd.conf
update2drv 0f sd
5 and .0 can do this. M will failed.
scan scsi >us so Solaris can see the new luns
devfsadm
&ind new )UNs
cf'adm 0al 0o show2S*S(2BE3
,3ote added BE3S when available will be seen here as 9unconfi'ured9
!f )UNs do not appear+ serer re>oot will >e needed.
reboot 0r
############################
.reate (a)el for (U
This is all onl# alid if #ou Are Not running 'eritas
3ow run a format command
# 3ote: the dis$ onl! needs to be labeled on once. &he followin' servers onl! need
mount it
5un format command
format
A dis$ loo$in' li$e the followin' should show up.
c6t600A0BM0002.#MB50000786BC76B26B8d0 USE30*SH.002A2@*006.2 c!l
82=66 alt 2 hd 7.2 sec 6C<
Pscsi2vhciPssdS'600a0bM0002.eMb50000786bC76b26b8
Select the dis$ number. (t will need a volume name if it does not alread! have one.
Since this is the #;port director! for Solaris 9e;port9 is a 'ood volume name. Solaris
does
not li$e dis$s without a volume name ,label-.
Some commands in format to loo$ at are:
format< current
*urrent Dis$ V c6t600A0BM0002.#MB50000786BC76B26B8d0
USE30*SH.002A2@*006.2 c!l 82=66 alt 2 hd 7.2 sec 6C<
Pscsi2vhciPssdS'600a0bM0002.eMb50000786bC76b26b8
,SE3 and Solaris see this as a $nown dis$t!pe-
format< t!pe
select t!pe .5
format< volname
#nter M0character volume name ,remember Duotes->99?:9e;port9
Aead! to label dis$: continueW !
format< save
Savin' new dis$ and partition definitions
#nter file name>9.Pformat.dat9?:
format< Duit
&his onl! needs to be done from one machine
############################
/et (U Info for 'ounting
run the lu;adm command to 'et BE3 info
lu(adm pro>e
,e;ample-
rootSQ20apps0. # lu;adm probe
3o 3etwor$ Arra! enclosures found in PdevPes
@ound @ibre *hannel device,s-:
3ode 443:200C00a0bM2.eab. Device &!pe:Dis$ device
Bo'ical )ath:PdevPrds$Pc6t600A0BM0002.#MB50000786BC76B26B8d0s2
#ach server will have a different )ath: to the same BE3
############################
.reate ew 0iles*stem on (U/+olume
3ow create a new files!stem ,format-
run newfs command on BE3 found in lu;adm probe command:
newfs PdevPrds$Pc6t600A0BM0002.#MB50000786BC76B26B8d0s2
,e;ample-
rootSQ20apps0. # newfs PdevPrds$Pc6t600A0BM0002.#MB50000786BC76B26B8d0s2
newfs: construct a new files!stem
PdevPrds$Pc6t600A0BM0002.#MB50000786BC76B26B8d0s2: ,!Pn-W !
PdevPrds$Pc6t600A0BM0002.#MB50000786BC76B26B8d0s2: .0=86=62MM sectors
in 82=66 c!linders of 7.2 trac$s: 6C sectors
72C276.0HB in .0522 c!l 'roups ,8 cP': CM.00HBP': 7M2C iP'-
super0bloc$ bac$ups ,for fsc$ 0@ ufs 0o bV#- at:
82: 5MC00: .56=6M: 257.86: 85870C: C5.M=2: 7502C0: 6MM60M: =M65=6: MM78CC:
(nitialiLin' c!linder 'roups:
...............................................................................
...............................................................................
............................................................
super0bloc$ bac$ups for last .0 c!linder 'roups at:
.0=2=08720: .0=2M0.MMM: .0=2500276: .0=255M62C: .0=8056552: .0=8.57860:
.0=8258=2M: .0=8852056: .0=8C50C6C: .0=87MMM82:
3ow the dis$ is mountable and solaris can understand it
&his onl! needs to be done from one machine
A BE3 is a ph!sical dis$ to Solaris at this point
############################
edit /etc/1fsta) to mount the new (U
3ow edit PetcPvfstab to mount the new BE3
&he new BE3Pdis$ in this e;ample ,from lu;adm- is
c6t600A0BM0002.#MB50000786BC76B26B8d0s2
&he device path is:
PdevPrds$Pc6t600A0BM0002.#MB50000786BC76B26B8d0s2
Add the follin' line to PetcPvfstab:
PdevPds$Pc6t600A0BM0002.#MB50000786BC76B26B8d0s2
PdevPrds$Pc6t600A0BM0002.#MB50000786BC76B26B8d0s2 Pe;portPhome ufs
. !es lo''in'
#dit this to match BE3 (D of !our s!stem
&his will mount at boot
############################
5un mount command to test if BE3 mounts:
mount Pe;portPhome
&here is no output if it wor$s
Aun the mount command a'ain to see new BE3 and mount point
mount
,e;ample-
rootSQ20apps0. # mount X'rep e;port
Pe;portPhome on PdevPds$Pc6t600A0BM0002.#MB50000786BC76B26B8d0s2
readPwritePsetuidPdevicesPintrPlar'efilesPlo''in'P;attrPonerrorVpanicPdevV.dM0022 on
&ue 3ov 2M .7:88:06 2006
############################
+eritas +olume Setu&
!f #ou use 'eritas follow these steps
C instruct eritas to scan for new luns
vxdctl enable
C check for new luns on eritas leel
vxdisk -o alldgs list
c7t2d11s2 auto:none - - online
invalid
c7t1d12s2 auto:none - - online
invalid
C initiali/e new disks
/etc/vx/bin/vxdisksetup -i c7t2d11
C initiali/e new disk group with disk c0t0d00
vxdg init oraclelogs c7t2d11=c7t2d11
CC if group alread# e(ists
vxdg -g oraclelogs adddisk c7t1d12=c7t1d12
C check the status of the new disks
vxdisk -o alldgs list
C %heck freespace of the diskgroup
vxdg !ree
CC Si/e can >e gotten from (dg free
"ake a volu"e o! "ax si#e $%1&'()*)+
vxassist -g oraclelogs "ake oralogvol,1 %1&'()*)
CC !f not all space is used+ or task is to grow olume
-!ter "aking 1*g c.eck !ree space o! ne/ 0olu"e
vxassist -g oraclelogs "axgro/ oralogvol,1 0olu"e oralogvol,1
can be extended b1 2,,7,%, to: %1&'2*2& $2,%()2b+ gro/to
space available vxassist -g oraclelogs gro/to oralogvol,1
%1&'2*2&
C check the new olume
vxprint -.tr
C create a files#stem on the new olume
"k!s -F vx!s /dev/vx/rdsk/oraclelogs/oralogvol,1
"k!s -F vx!s /dev/vx/rdsk/oraclelogs/oralogvol,2
C make a mount point
"kdir /oralog,1
C mount the new files#stem at the new mount point
"ount -F vx!s /dev/vx/dsk/oraclelogs/oralogvol,1 /oralog,1
C erif# the new mounted files#stem
cd /oralog,1
ls
C erif# the si/e on solaris leel
d! -.
C make permenent
vi /etc/v!stab
/dev/vx/dsk/oraclelogs/oralogvol,1
/dev/vx/rdsk/oraclelogs/oralogvol,1 /oralog,1 vx!s 2 1es suid
C test fsta> entr#
u"ount /oralog,1
"ount /oralog,1
Support the info chec$out m! boo$:
%reatie !ntent
%lick to readD Introduction

..................... ............................................14 Brocade SilkWorm 4100 SAN Switch #################################################################### ############ Documentation for Brocade Silkworm 4100 Switch All Brocade documentation downloaded to: \\srvapps02\Gtri employee's\Emikulka\Kuwait\Brocade Tasks: Assign IP Change Domain ID Change Hostname Setting the Date and Time A new switch (before IP) will need to be configured through serial port.........13 # create a filesystem on the new volume..............................................13 ## If not all space is used..............................................................13 ## Size can be gotten from vxdg free....................................................14 Creative Intent Click to read: Introduction..........................13 # check the new volume.............................................12 # initialize new disk group with disk c3t3d30......................................................................................11 Run mount command...........................................13 # verify the size on solaris level..................14 # test vfstab entry....................................................................11 Veritas Volume Setup................. or task is to grow volume........................................................................................12 # instruct veritas to scan for new luns............. Default username and password on new Brocade switch is: username: admin password: password Domain ID must be different on each switch...................................................................................10 run newfs...........10 edit /etc/vfstab to mount the new LUN... One of the switches will need a different Domain ID..............................12 # check the status of the new disks...........................................12 # Check freespace of the diskgroup.........................................12 ## if group already exists........................13 # make a mount point.................................................................................................................................................Create New Filesystem on LUN/Volume.......................................................12 If you use Veritas follow these steps................................................................................12 # check for new luns on veritas level................................13 # verify the new mounted filesystem.....................................................13 # make permenent.........................................................................................................................................................................12 # initialize new disks..........................................13 # mount the new filesystem at the new mount point........................... Default Domain ID is 1.................................................

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->