Contents 1 Cofiguring Multipathing 1.1 Install Multipath Package. 1.2 Enable The Multipathing Service. 1.3 List Multipath Disks 2 Zoning FC On Linux 2.1 Find the WWN for the Ports 2.2 Issuing a LIP on the HBA 2.3 Fibre Channel Commands 3 Disk Configuration. 3.1 About Device Names And Paths In A Multipath Configuration 3.1.1 Physical […]
Tag: fc
How to force a FC refresh (forcelip) in Linux
How to force an FC refresh (forcelip) in Linux
1 |
echo '- - -' > /sys/class/scsi_host/host$i/scan |
How to remove SAN devices in Solaris
Contents 1 How to flap a SAN device path without rebooting in Solaris 2 How to remove SAN devices without rebooting in Solaris 2.1 Another way to offline luns 2.1.1 After the LUNs are unmapped using Array management or the command line, Solaris also displays the devices as either unusable or failing. 2.1.2 If the […]
Brocade FC switches commend line tips
Brocade CLI references tips Below is a lits of Brocade CLI commands commonly used Create a zone
1 2 |
zonecreate esx01c_9985_5e,20:00:00:25:B5:C1:10:0F zoneadd esx01c_9985_5e,50:06:0e:80:05:8c:ab:44 |
Verify the work
1 2 3 4 |
zoneshow # or alishow |
Add the config
1 2 3 4 |
cfgadd LSAN_CFG_20100826,esx01c_9985_5e # save your work cfgsave |
Verify the work
1 |
cfgshow |
Activate the config
1 |
cfgenable LSAN_CFG_20100826 |
Verify the work
1 |
cfgshow |
Modify Brocade Zones With The CLI
Modify Brocade Zones With The CLI Creating a new alias(s).
1 2 3 4 |
alicreate "cloud4_global_FAA","50:01:39:71:00:53:21:57" alicreate "cloud4_global_FAB","50:01:39:71:00:53:21:58" alicreate "hds_vsp_7a","50:06:0e:80:16:06:ac:60" |
Creating new zones, and adding to active zone set
1 2 3 4 |
zonecreate "cloud4_global_FA","hds_vsp_7a" zoneadd "cloud4_global_FA","cloud4_global_FAA" zonecreate "cloud4_global_FB","hds_vsp_7a" zoneadd "cloud4_global_FB","cloud4_global_FAB" |
Finally, Adding to the configuration, and enabling the config.
1 2 3 4 5 6 7 8 9 10 11 |
cfgadd "Active_zone_set","cloud4_global_FA" cfgadd "Active_zone_set","cloud4_global_FB" cfgenable Active_zone_set <pre> Example 2 Creating a new alias(s) <pre> alicreate "cloud4_global_FBA","50:01:39:71:00:52:E1:57" alicreate "cloud4_global_FBB","50:01:39:71:00:52:E1:58" alicreate "hds_vsp_8a","50:06:0e:80:16:06:ac:70" |
Creating new zones, and adding to active zone set
1 2 3 4 |
zonecreate "cloud4_global_FA","hds_vsp_8a" zoneadd "cloud4_global_FA","cloud4_global_FBA" zonecreate "cloud4_global_FB","hds_vsp_8a" zoneadd "cloud4_global_FB","cloud4_global_FBB" |
Finally, Adding to the configuration, and enabling the config.
1 2 3 |
cfgsave cfgenable Active_zone_set cfgactvshow |
How To Reset a Brocade FC Switch To Factory Default
To reset a brocade switch back to the factory default
1 |
configDefault |
Now that the switch is default, set a new IP address Switch:admin> ipAddrShow
1 2 3 |
Ethernet IP Address: 10.77.77.77 Ethernet Subnetmask: 255.0.0.0 Gateway Address: 10.77.77.1 |
Once I checked the existing settings, I ran the ipAddrSet command to update the network settings: Switch:admin> ipAddrSet
1 2 3 |
Ethernet IP Address [10.192.40.148]: 10.10.104.13 Ethernet Subnetmask [255.255.240.0]: 255.255.248.0 Gateway Address [10.192.40.254]: 10.10.104.1 |
Linux – Using systool To Easily Get HBA Info
Getting HBA detail information in Linux by using systool Lets get into the details with a few worked examples. First of, a command to show basic Fiber Channel info (actually quite useful when you’re getting the hang of what’s on a system).
1 |
systool -c fc_host -v |
which, on my test system (unconnected to a SAN fabric at the […]
McData 6140 port layout
Below is a list of McData 6140 Port Layout
9985 Port Layout
9985v fiber port layout 9985 physical fiber port layout
Brocade DCX-Mini Port Layout
DCX Mini Port Layout