Fibre Channel & cinder.conf
Cinder includes a Fibre Channel zone manager facility for configuring
zoning in Fibre Channel fabrics, specifically supporting Cisco and
Brocade Fibre Channel switches. The user is required to configure the
zoning parameters in the Cinder configuration file (cinder.conf). An
example configuration using Brocade is given below:
zoning_mode=fabric
[fc-zone-manager]
fc_fabric_names=fabricA,fabricB
zoning_policy=initiator-target
brcd_sb_connector=cinder.zonemanager.drivers.brocade.brcd_fc_zone_client_cli.BrcdFCZoneClientCLI
fc_san_lookup_service=cinder.zonemanager.drivers.brocade.brcd_fc_san_lookup_service.BrcdFCSanLookupService
zone_driver=cinder.zonemanager.drivers.brocade.brcd_fc_zone_driver.BrcdFCZoneDriver
[fabricA]
fc_fabric_address=hostname
fc_fabric_user=username
fc_fabric_password=password
principal_switch_wwn=00:00:00:00:00:00:00:00
[fabricB]
fc_fabric_address=hostname
fc_fabric_user=username
fc_fabric_password=password
principal_switch_wwn=00:00:00:00:00:00:00:00
This option will need to be set in the
DEFAULTconfiguration stanza and its value must befabric.Be sure that the name of the stanza matches one of the values given in the
fc_fabric_namesoption in thefc-zone-managerconfiguration stanza.Be sure that the name of the stanza matches the other value given in the
fc_fabric_namesoption in thefc-zone-managerconfiguration stanza.