Tuesday, September 3, 2013

FCOE Configuration




Configuration of FCOE using Nexus 5k
·         Enable features
·         Set fiber ports for SAN
·         Create VSAN
·         Create SAN port channel
·         Create VSAAN VLAN mapping
·         QOS for FCOE

·         ZONING config- http://callmanager111.blogspot.com/2013/05/zoning-configuration-of-cisco-nexus.html



Conf t

feature fcoe
feature npiv
feature fport-channel-trunk

qos
class-map type qos class-fcoe
class-map type queing class-fcoe
match qos-group 1
class-map type network-qos class-fcoe
  match qos-group 1
policy-map type network-qos fcoe
  class type network-qos class-fcoe
    pause no-drop
    mtu 2158
system qos
service-policy type network-qos fcoe

( the QOS steps are
Start qos by creating class- map   class-map type qos
Use class-map type queing for BW assignment
Create policy-map, policy-map type qos CLASS-MAP
Class-map type network-qos – create network-qos group
Policy-map type network-qos xxxx
Apply all QOS to system QOS)


SAN port channels are utilized for the aggregation of multiple physical interfaces into one logical interface to provide higher aggregated bandwidth, load balancing, and link redundancy.
Create SAN Port channel
interface san-port-channel 13
  channel mode active
  switchport mode F
  switchport speed 8000







Interface fc 1/46
Switchport speed 8000

Interface fc 1/46
Channel-group 13 fcoe
No shutdown
Switchport description XXX server 1 FCOE port

Interface fc 1/25-27
Switchport mode F
No shutdown


Create VSAN

vsan database
Add the SAN-Port-channel and FC to VSAN
  vsan 20 interface san-port-channel 13
vsan 20 interface fc1/25
  vsan 20 interface fc1/26
  vsan 20 interface fc1/27

create fcalias
fcalias name VMAX_01 vsan 20
member pwwn:50:00:09:77:01:69:44:72
fcalias esx01_1
member pwwn:20:00:00:15:07:b4:0b:af 


Create Zoning for the vsan- Need WWN for the host CNA and SAN

show zone member command for host and storage to verify that they are both in the same zone.
 If they are not in the same zone create the  zone name
zone name esx01_1  vsan 20
member fcalias VMAX_01   -  SAN side
member fcalias exs01_1      HOST CAN side
or
zone name esx01_1  vsan 20
member pwwn 21:00:00:20:37:9e:02:3e
member pwwn 21:00:00:c0:dd:12:04:ce

check the zone by command to verify both host and storage are in same zone.
SHOW ZONE VSAN 20

Add Zone members to zoneset
Zoneset name SAN-ESXi_server vsan 20
Member VMAX_01
Member esx01_1
(You can add other servers and SAN ports)

Activate the zoneset

Zoneset activate name SAN-ESXi_server

You can run show fcns database which gives the PWWN of the adapter
The hosts are type scsi-fcp:init
And SAN ports are scsi-fcp:target

Useful commands
Show zone status vsan 20
To clear lock, clear zone lock command
show vsan membership  - to check host and SAN in same VSAN
show zone member
show zoneset active vsan 20   to check the active zone.


show fcns database
VSAN 20:
--------------------------------------------------------------------------
FCID        TYPE  PWWN                    (VENDOR)        FC4-TYPE:FEATURE
--------------------------------------------------------------------------
0x9c0000    N     21:00:00:e0:8b:08:96:22 (EMC)        scsi-fcp:init
0x9c0100    N     10:00:00:05:30:00:59:1f (Clarion)       ipfc
0x9c0200    N     21:00:00:e0:8b:07:91:36 (Company 3)        scsi-fcp:init
0x9c03d6    NL    21:00:00:20:37:46:78:97 (Company 4)       scsi-fcp:target


Turn off pop notifications in chrome browser from major news outlets

 On Chrome browser, go to settings select privacy and security select site settings select Java Script Select Don't allow sites to use J...