Showing posts with label vsan. Show all posts
Showing posts with label vsan. Show all posts

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


Thursday, May 2, 2013

Zoning Configuration of Cisco Nexus 5000 Switches

 SAN-Zoning Configuration using Cisco NEXUS 5k Switch



for example pwwn # is 10:00:00:00:c9:62:82:36

fcid 0x01002e  get the id from show flogi database

fcalis name is sql02_hba2_p0
zonename ql02_hba2_p0_VMAX_4634_10E0
vsan database# 212

vsan 212 wwn 10:00:00:00:c9:62:82:36 fcid 0x01002d dynamic
fcalias name sql02_hba2_p0 vsan 212
    member pwwn 10:00:00:00:c9:62:82:76

zone name sql02_hba2_p0_VMAX_4634_10E0 vsan 212
   
    member fcalias vmbkp02_hba2_p0

zone name sqlp02_hba2_p0_TLB01_TAPE2 vsan 212
   
    member fcalias sqlp02_hba2_p0
zoneset name Zoneset_B_01242012 vsan 212


The procedure is
  • create zone
  • add members to zone
  • create zoneset
  • add multiple zones to a zoneset
  • activate the zone set
  • save the config


conf t

switch(config)# zone name sql02_hba2_p0_VMAX_4634_10E0 vsan 212
sswitch(config-zone)# member pwwn 10:00:00:00:c9:62:82:36
 switch(config-zone)# member fcid 0x01002e

(fcalias can be called accounting for easy undestanding)
switch(config-zone)# member fcalias sql02_hba2_p0

create ZONE set

conf t

switch(config)# zoneset name Zoneset_B_01242012 vsan 212
witch(config-zoneset)# member sql02_hba2_p0_VMAX_4634_10E0

(If the specified zone name was not previously configured,
 this command will return the Zone not present error message)


switch(config-zoneset)# zone name sqlp02_hba2_p0_TLB01_TAPE2 


Activate a Zone set

switch(config)# zoneset activate name zoneset_B_01242012 vsan 212



DISPLAY ZONE CONFIG


show zone vsan 212
show zoneset vsan 212
show zone member pwwn #
show zone active
 show zone status

it is better to have single Zoneset and several zones assigned to it.



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...

Turn off pop notifications in chrome browser from major news outlets