Showing posts with label CISCO MDS. Show all posts
Showing posts with label CISCO MDS. Show all posts
Sunday, May 31, 2015
Thursday, March 12, 2015
MDS Series Switch Zoning via CLI
Zones are configured within VSANs. The Logical tab displays the VSANs configured in the currently discovered fabric.
Note: zone information must always be identical for all the switches in the network fabric.
To configure a zone and assign a zone name, follow these steps:
Configuring an Alias
To create an alias using the fcalias command, follow these steps:
Command |
||
Creating Zone Sets
A zone set consists of one or more zones. A zone can be a member of more than one zone set and consists of multiple zone members. Members in a zone can access each other; members in different zones cannot access each other. Devices can belong to more than one zone.
A zone set can be activated or deactivated as a single entity across all switches in the fabric. Only one zone set can be activated at any time. If zoning is not activated, all devices are members of the default zone. If zoning is activated, any device that is not in an active zone (a zone that is part of an active zone set) is a member of the default zone.
Zoning can be administered from any switch in the fabric. When you activate a zone (from any switch), all switches in the fabric receive the active zone set. Additionally, full zone sets are distributed to all switches in the fabric, if this feature is enabled in the source switch.
Activating a Zone Set
Changes to a zone set do not take effect to a full zone set until you activate it.
To activate a zone set, follow these steps:
Cisco MDS Series Swich Zoning
Fundamentally below flow
chart should be followed for zoning:
Before we begin zoning please make sure you have cabled each HBA to both switches assuring the host is connected to each switch. Now let’s get started …
Configuring and Enabling Ports
with Cisco Device Manager:
Once your HBAs are connected we
must first Enable and Configure the ports.
1. Open Cisco Device Manager to
enable port:
2. Type in the IP address,
username and password of the first switch:
Cisco allows the usage of
multiple VSANs (Virtual Storage Area Network). If you have created a VSAN other
than VSAN 1 you must configure the port for the VSAN you created.
1. To do this, right-click the
port you enabled and select “Configure”:
2. When the following screen appears, click on Port VSAN and select your VSAN, then click “Apply”:
3. Save your configuration by
clicking on “Admin” and selecting “Save Configuration”, once the “Save Configuration” screen pops up and requests you to select “Yes”:
Click "Yes"
Once you have enabled and
configured the ports, we can now zone your Hosts HBAs to the SAN.
Login to Cisco Fabric Manager:
1. Let’s begin by opening Cisco
Fabric Manager:
2. Enter FM server username and
password (EMC Default admin; password) , then clock “Login”:
3. Highlight the switch you
intend to zone and select “Open”:
4. Expand the switch and right-click
“VSAN”, then select “Edit Local Full Zone Database”:
Creating An FC Alias:
In order to properly manage your
zones and HBAs, it is important to create an “FC Alias” for the WWN of each
HBA. The following screen will appear:
1. When it does, right-click
“FC-Aliases” and select “Insert”, once selected the next screen will appear.
Type in the name of the host and HBA ID, example: SQL_HBAO. Click the down
arrow and then select the WWN that corresponds to your server, finally click
“OK”:
Now that we have created
FC-Aliases, we can now move forward creating zones. Zones are what isolates
connectivity among HBAs and targets. Let’s begin creating zones by:
1. Right-clicking on “Zones”.
2. Select “Insert” from the drop
down menu. A new screen will appear.
3. Type in the name of the
“Zone”, for management purposes use the following format <name of FC-Alias
host>_<Name of FC Alias Target> Example: SQL01_HBAO_VNX_SPAO.
4. Click “OK”:
Note: These steps must be
repeated to zone the hosts HBA to the second storage controller. In our case,
VNX_SPB1.
Adding Members to Zones:
Once the Zones names are created,
insert the aliases into the Zones:
5. Right-click on the Zone you
created.
6. Select “Insert”, and a new
screen will appear.
7. Select “FC-Alias”, click on
“…” box then select Host FC Alias.
8. Select the target FC Alias,
click “OK”, and click “Add”:
Also Read cisco-mds-fabric-switch-command-line
Happy Learning!
Subscribe to:
Posts (Atom)