Académique Documents
Professionnel Documents
Culture Documents
FC-1
- 8/10 Encoding and decoding.
FC-2
- For framing and flow control.
- Frame(2148 bytes) structure: SOF(4bytes)-Header(24bytes)-Payload(2112bytes)-CR
C(4bytes)-EOF(4bytes).
- SOF wil l have name of frame
- Header will have complete data like sender and receiver details and index of a
ctual data.
- Payload is the actual data.
- CRC will be data to decode the data at receiver end.
- EOF will have the acknowledgement to sender.
- End to end credits and buffer to buffer credits are the flow controls.
FC-3
- This layer will have common services like internal services which we are not u
sing in SAN.
FC-4
- Upper layer transfer protocol. Sender and receiver should same protocols at FC
-4.
Well Known Addresses :
- Flogi, Plogi & PRlogi
- Flogi is used to allocating pids to the device by the fabric., is nothing but
Zoning (FFFFFE),
- Plogi is nothing but mapping(Lun allocation to server)
- PRlogi is nothing but masking(Authentication given to particular server so tha
t only that server can access particular lun).
BROCADE SWITCHES.
Hardware structure of the switch.
- Switch will have ports with naming e-port, f-port, n-port, g-port, u-port, flport, nl-port.
- nl port from from devices are connected to fl ports from switches.
- g-port is generic port, this g-ports can operate as e-port somtimes or f-port
sometime.
- u-port is universal port, this can port can be converted into e-port, f-port
or as g-port.
- e-port is nothing but expansion, it is used to connect to connect to another
switch.
- f-port is used to connect to the nodes(n-ports)
- n-port is direct attached device used to.
- ex-port is expansion is used to connect two fabrics.
FCID in zonning
- FCID is 24 bit addressing used to identify devices in zoning.
- 24 bits are divided into 3 parts of 8 bits.
- first 8 bits is for domain id, next 8 bits for port and last 8 bits is address
which is alpha.
***24/02/2016***
Switch
processor
ram
harddisk.
operating system
apps
Brocade swith
ASIC processor(Applicatin specificaton integrated circuit)
depending upon the model, processor models are stitch(512), loom(1gbps), bloom
(2gbps), bloom-2(4gbps), golden eye(4gbps), golden eye-2(8gbps), condour(8), con
dour-2(18).
will contain entire functional logic of switch.
below parameters will differentiate between processors:
Time taken to process frame,
speed of the switch,(1gbs, 2 gbs. etc....)
# of ports
RAM:
contains SD Ram, synchronous dymanic RAM.
Harddish :
FP ROM, Flash programmable readonly memory.
this compact flash it will hold OS and the apps(fabric os/small firmwares).
OS:
Realtime OS (RT OS).
Diffrent for unix and windows.
will never crash and files will be very thin in size.
Brocade switch modules
3200(bloom processor, 8 ports)
3800(bloom processor, 16 ports)
3900(bloom processor, 32 ports)(midrange)
3900(bloom processor, 64 ports)(higher lever)
200E(GE processor, 16 ports)(low)
4900(GE Processor, 32 ports)(mid)
4900(GE processor, 8X48 ports)(high)
4100(Condour processor, 16 ports)(low)
4100(Condour processor, 32 to 64 ports)(mid)
4100(Condour processor, Director switch)(high)
300E(GE-2, 16 ports)(low)
5911(ge-2, 64 ports)(mid)
5911(GE-2, DSS)(High)
5100(C-2, 32 ports(low))
5100(C-2, DS switch)(mid)
What are the operations we can do in switches:
- Health check of switch(2 types GUI, CLI)(CLI most common), through GUI we can
use web tools like fabric manager, basic command for Health checks are :
- Login to switch through putty by giving name or IP address.
- than we need to do version of the switch by giving command 'version' or 'firmw
areshow'.
- The result will show 7 points like OS, versions and all.
- Next we can do is licence show by giving command 'licenseshow'.
- after know the version, we need to know weather switch is online or offline ho
w devices are connected how many ports are active which device is conneceted to
wich port by giving 'switchshow' command.
- to check the power supply we need to give 'psshow'command.
- next is status of fan in switch by giving 'fanshow' command.
- next to know temperature of switch by giving 'tempshow'command.
- next to know sensor reading we need to give 'sensorshow' command.
- to know complete information we need to give 'switchstatusshow' command.
- command 'hashow' to know high availability of links in switch like standby is
there or not which is active link which is not, also to know two switches status
.
- command 'porterrshow'one of the most important command to know transmitting of
frames, to everything about frames, encryption status, crc status, anylink fa
ils, lost of sync, lost signature, loss of signal.
- command 'fabstatshow' whenever we execute this command we get complete descrip
tion of port, zoning information, whether ports are active or passive, any ove
rlapping.
- command 'statsclear' than will get the all clear all previous data loss.
- if I want to know about me in switch than give 'whoami' command, it will give
all id details.
- If I want to know SFP details, we need to give 'sfpshow' it will check status
of all SFP adapters.
- If I want to know IP of switch, need to give 'ipaddrshow' it will give ip of s
witch.
- 'slotstatclear'
Trunking :
- We will combine the ISL links for load balancing is call trunking.
- Fabric is nothing but collection switches, all are connected through ISL links
.
- e-port of one switch will connect to e-port of another switch.
- speed of switches will be vary for example first switch port will have 1gbps i
t will connect to 1gbps speed only not more than that.
***26/02/2016***
Initilization of new switch :
-Default IP would be '10.77.77.77'
-Default subnet mask would be '255.255.255.0'.
-in windows hipher terminals used to configure
-in unix tip hardware.
-for windows available for comport,
-for unix available in serialport.
-required addl serial cable to configure switch.
-connect laptop provided in box in DB9 port
-than enter command called 'ifmodeshow eth0', it will show link if link is ok th
an give 'ifmodeset eth0'.
-than it will ask do you really want this yes/no ; give yes
-Auto negotiate ; no
-full deplex/half duplex : no
-than give ip by command 'ipaddrset'.
-ehernet subnet mask there we need to give subnet mask.
-than fibre channel addresses come which we dont need to give.
-one more option will come bits per sec, than give 9600
-than data bits : 8
-parity : none.
-stop bits : 1
-flow control : none.
-installation is complete now, now disconnect cable from DB9 port.
-web tool and fabric manager is used in GUI to work with switch.
Four logins
user
admin
factory
root.
-user can only monitor and read the data in switch.
-admin will some rights, he will some change rights, he will create, edit, del
ete user ids.
-factory will have more rights than user and admin, he can able work, monitor,
edit.
-root means complete rights, read, write & execute.
-first we need to check lisense by 'lisenseshow' command, than it will give list
of lisense. lisense is important for zoning.
-'lisenseadd name' to add lisense in switch for zoning.
-This lisense are valid for several levels like zoning lisense, fabric lisense,
switch lisenses.
-all switches will have their domain Ids, zoning will take place in domain id or
port id, only domain or only port.
-use the command 'fabricshow', it will gives the ip, names, wwn# and domains an
d it will have greater than symbol '>' to principal switch.
-to give name to the switch use command 'switchname xyz'.
-to manually changing the principal switch give command 'fabricprinciple -f6'
-'switchcfgspeed 2' to assign speed to switch.
-trunking command 'portcfgtrunkport'
-'portcfgshow' to know the speed of the port, show port setting, speed, trunking
, distance, l port, b2b credit.
-'portcfgspeed port#,%16' and we use the command 'portcfgshow' to cross check.
-'portdisable port#'/ 'portenable port#' to disable enable any port.
-'uptime' or 'switchuptime' to check since how many days it in up state.
-'switchshow' will give complete details of switch, how many devices connected
to it, if we have multiple vendors switch than our switch mode will be interrup
t mode, native mode in case of single vendor switches. becon: green is ok, oran
ge warning, red already faulted, distance of switch, all the ports #m ids, onli
ne, no light, no sync(sync is not taking place.), in sync(everything is fine), n
o cord, no module(no sfp). if its online than it will have wwpn of node.
-firmware upgration.
***29/02/2016***
Zoning
-Zoning is for security purpose in fabric.
-its the limiting scope of initiator with respect to target box(storage)
-or creating virtual bus within the physical SAN network.
-process to implement zoning we need prepare, define, we need to analyze, enable
the zone configuration, verify there is a accessibility between zone members.
Types of zoning:
-soft zoning.
-hard zoning.
-mixed zoning.
Soft zoning:
-its based on wwn numbers of initiator and target with port numbers of the fabri
c.
Hard zoning:
-Hard zoning is done by domain ids and port ids of the switch.
Mixed zoning:
-Combination of both zonings soft and hard zoning.
-main disadvantage of if zone configuration is needs to be changed whenever HBA
or port fails, if single port also fails we need to change zone details.
Soft Zoning:
-most prefable method is CLI, we use the command 'aliascreate' we create the ali
as, 'alidelete' to delete the alias, to add onemore alias give 'aliadd', 'alirem
ove' to remove it.
-'Alishow' to know the current status of what we have created.
-'zonecreate' to create, 'zonedelete' to delete zone, 'zoneadd' to add zone, 'zo
neremove' to remove, 'zoneshow *name' to show details of particular zone.
-'cfgcreate' creating the configuration, 'cfgdelete' to delete that particular z
one configuration, 'cfgadd' to add, 'cfgremove' to remove that particular zone c
onfiguration, 'cfgshow *name' to show details of that particular zone configurat
ion.
-'cfgsave *name' to save configuration, 'cfgenable *name' than it will be active
, 'cfgactvshow' will automatically enable the configurationa nd shows the detail
s of it.
Preparing soft zone.
-first we collect wwpn of initiator and targets.
-than we need to create alias for server, 'alicreate "S1","222"'
-'alicreate "B1","666"'
-to check alias details, execute 'alishow' it will shows both alias details.
-to create zone 'zonecreate "SB1","S1:B1"'.
-now create configuration by 'cfgcreate "CFG1","SB1"'.
-now we can check zone configuration, we can check by 'cfgshow CFG1', to check z
one 'zoneshow SB1'.
-to active configuration give command 'cfgenable CFG1'.
-'alicreate "S2","444"'
-'alicreate "B2","888"'
-'zonecreate "SB2","S2:B2"'
-than we can add SB2 zone in 'CFG1' effective configuration by 'cfgadd CFG1,SB2'
.
-than again we need to execute 'cfgenable CFG1' to changes to take place in 'CFG
1'
Redundancy.
-'alicreate "S1","111;222"'
-'alicreate "B1","333;444"'
-'zonecreate "SB1","S1;B1"'
-'cfgadd CFG1,SB1'
-'cfgenable CFG1'
-if HBA fails, 'aliremove "S1","111"'
-new one wee need to add 'aliadd "S1","111a"'
-'cfgenable "CFG1","S1;B1"'
der version of firmware by again giving 'configupload' in switch and give backup
server ip, username, password, and filepath to download old version.
***10/03
/2016***
STORAGE DEVICE
-DS4K
-DS4100
-DS4300
-DS4500
DS4100
-Dec8 2006 onwards these 4100 has came in market.
-compact 3U rack mountable.
-Controller has 2Gbps raid controller.
-It supports Raid0, Raid1,Raid3, Raid5, & Raid10.
-Cache memory is of controller is 512MB(BtoB credit)
-it has hot swappable power supply.
-one 1 expansion port per controller.
-Exp100, Exp710, Exp810 ports only DS4100 supports.
-consist of 4 host ports.
-Exp100 cannot be attached to single controller model.
-Each controller having one ethernet port.
-each will have one powersupply.
-each part will have one fan.
-each side have one expansion port.
-on/off switch on each controller.
-DS4100 consist 14DDMs (diskdrivemodules).
-These 14DDms supports Raid0,1,3,5,10.
DS4300
-It is also having Compact 3U rack mountable.
-its 2Gbps Raid controller.
-hot swappable powersuppy.
-Support raid0,1,3,5,10
-each expansion port for one controller.
-Exp100, Exp710 & Exp810.
-These are all SATA disk
-4 host ports(2 per controller).
-Exp100 model cannot to attached to single controller model.
-it supports 14DDMS.
-1GB cache memory(B2B credit).
DS4500
-4U Rack mountable enclosure.
-Intel P3 in each raid controller.
-dual redunce 2Gbps raid controllers.
-raid0,1,3,5,10.
-it support 4 host sides mini hubs.
-it support 4 drive side mini hubs.
-upto 16 expansion drives it supports.
-Exp100 & Exp710.
-Exp 100 cannot be connected to single controller model.
-it will have alarm switch, for any hardware issues it will give alarm call/mail
.
-Cache memory is 1Gbps per controller.
-it consist of controller blades.
DS8800
- Now in Base frame we will have 10 Disc enclosures
- In IO Enclosure, 2 slots for HA and 2 for DA.
- HA slots will have 8 ports with 8Gbps speed and DA slot 4 ports with 8Gbps spe
ed.
- It will have Power6 processor with 5.2 Gigahertz.
- It will have 3 expansion frames.
- First expansion will have 14 DE.
- Second & third expansion will have 20 DEs.
- If rack size is 2.5 inches than enclosure will have 24DDMs per enclosure.
- If rack size is 3.5 inches than enclosure will have 12DDMs per enclosure.
- First will have RPC, Cooling pinum
DS8870
- It will have P7 processor.
- First xpansion 14, 2nd xpansion 20 DEs, & 3rd xpansion 20 DEs.
- It will hae DC UPS Direct current uninruupteable power supply.
- There it consumes 20% less power than other models.
- Cache Memory will be 1024GB.
- PCIE Connectivity(RIOG is looping connectivty where PCIE is point to point con
nectivity)
- Main advantage of PCIE there is no single point of failure.
VIRTULIZATION :- It is the abstraction process from actual physical disc to logical volume pres
ented to host.
VIRTULIZATION STEPS :- Frome DDMs first we need to create Array site.
- From there we need to create Array.
- From array we need to create rancs.
- From rancs we need to create extend pool.
- From extand pool we need to create volume.
- In DS8K volume will rotate volume or rotate extend.
- Frome volumes we need to create volume groups.
- Than map to host.
- 'mstsc' than we will get command prompt than it will go to remote desktop conn
ection
- there we need to give ip and than click connect.
- It will as username and password,
- There in command prompt I need to type 'dscli', there hmc ip username and pass
word.
- For GUI we have link, double click and it will open box directly, There is co
nnects to XIV storage management.
- There like speakers are drives and under that we have monitor and under that w
e have volumes and under that we have LUN and after that we have host connectivi
ty.
- Next we have replications
- There is limit in read and write operations like for example if it goes above
14k to 15k than its critical.
- Need to allocate storage to the host, for that we need to create host from tha
t we need to create storage pools, to do all we have options on tops like file,
edit, view, etc.
- We need to connect view, than it will displays all system, pools, volumes, hos
t, & luns, there select pools.
- it will display storage poolm, if we right click than it will give option for
add pool, now pool has been created based on requiredment.
- Select the newly created pool than there it will have number of volumes to add
, select numbers of volumes, size of volume and name of volumes.
***08/04/2016***
svc : SAN VOLUME CONTROLLER :
- The SVC is an storage virtulization device by IBM.
- It is used to virtulize the back-end storage space and to present it as a logi
cal volumes to the server.
- Its just a device does not contain any storage or controllers.
- Gives us a centralized management of the storage.
- Common replication service for all difference boxes using SVC.
ARCHITECTURE OF SVC :
- It is an eight node cluster.
- It considers as 4 pair cluster, one pair is having 2 nodes.
- Each node has processor Intel Zeon 5600 Quadcore processor.
- Each node will have own cache of 24GB.
- 4 FC ports and 2 iSCSI port for each node.
:
storage we can migrate.
IO groups we can migrate.
storage pools.
ize" -"IOgroup#"'.
- Fourth create host with command 'mkhost -"hbawwpn" -"name"'.
- Fifth map vdisk to host with command "mkvdiskhostmap -"host" -"vdiskname"'.
- we use '-force' in command when we want vdisk to be mapped to multiple host,
"mkvdiskhostmap -force -"host" -"vdiskname"'.
- We can max 8192 vdisk(extent 16MB)
COPY SERVICES.
- Flash copy.
- Metro mirror.
- Global mirror.
FLASH COPY : Snapshot, clone, cascade, backup.
- command to map is 'mkfcmap "sourcevidsk":"targetvdisk" "fcmapname"'.
- to start service 'stratfcmap "fcmapname"'.
METRO MIRROR :
- 'mkpartnership -"bandwidth" "remoteclusterid"'
- 'mkrcrelationship -"master" -"aurid" -"clusterid" -"rccopyname"'.
- 'startrcrelationship -"rccopyname"'.
GLOBAL MIRROR :
- Same as metro mirroring.
- 'mkrcrelationship -"master" -"aurid" -"consistgroup#" -"clusterid" -"globalcop
yname"
- 'startrcrelationship -"primary":"auxilary" -"globalcopyname"'.
multipathing software in linux is sddpcxm(sub device driver path control module)
sdddsm(sussystem device driver data storage management) for windows
migrate extents take place between storage pool
migrate images take plase between storage pool
migrate vdisk take place between storage pool
map host to IO groups give ndvm(non distructive volume move) means without any d
own time and data loss we need to move data between controllers.
- 'movevdisk'
- 'addvdiskaccess'
- 'rmvdiskaccess'
BASIC HEALTHCHECKs PERFORMED IN SVC :
- 'lshbaportcandidate'
//Will display
he devices connected to that SVC
- 'lshost'
//will display
ion connected to SVC.
- 'lshostvdiskmap'
//will display
ormation.
- 'lsddm -usage -unconfigured -stgid'
//will display
sk in that controller
- 'lssi'
//will display
ans logical sub system. one lss have 0 to 255 luns.
- each address group has 16 lss(each lss have 0 to 255 luns)
- 'lsda stgid'
//will display
Trublishooting steps.
- first check lun id of that lun.
- second check lun is online or not.
//list f
//list i
//will l
//list a
//list a
//list a
//list a
//list a
//list a
//list a
//list a
//list a
//list a