Get information
1) the hardware and software by using CLI command "show version"
2) get HBA pwwn from server or storage administrators [note 1] and create a table
VSAN |
Zone Name |
Device Type |
Device pwwn |
10 |
production_zone_1 |
server (initiator) |
20:11:12:13:14:15:16:01 |
|
|
storage (target) |
50:11:12:13:14:15:16:11 |
|
|
storage (target) |
50:11:12:13:14:15:16:12 |
10 |
production_zone_2 |
server (initiator) |
20:11:12:13:14:15:16:02 |
|
|
storage (target) |
50:11:12:13:14:15:16:11 |
|
|
storage (target) |
50:11:12:13:14:15:16:12 |
20 |
backup_zone_1 |
server (initiator) |
21:11:12:13:14:15:16:01 |
|
|
storage (target) |
51:21:12:13:14:15:16:11 |
|
|
storage (target) |
51:21:12:13:14:15:16:12 |
20 |
backup_zone_2 |
server (initiator) |
21:11:12:13:14:15:16:02 |
|
|
storage (target) |
51:21:12:13:14:15:16:11 |
|
|
storage (target) |
51:21:12:13:14:15:16:12 |
[note 1]
what is pwwn, https://community.cisco.com/t5/storage-networking/pwwn-and-nwwn/td-p/499165
Configuration example:
configure terminal
vsan database
vsan 10 name production
vsan 20 name backup
zone mode enhanced vsan 10
zoneset distribute full vsan 10
zone smart-zone enable vsan 10
zone mode enhanced vsan 20
zoneset distribute full vsan 20
zone smart-zone enable vsan 20
zone name production_zone_1 vsan 10
member pwwn 20:11:12:13:14:15:16:01
member pwwn 50:11:12:13:14:15:16:11
member pwwn 50:11:12:13:14:15:16:12
zone name production_zone_2 vsan 10
member pwwn 20:11:12:13:14:15:16:02
member pwwn 50:11:12:13:14:15:16:11
member pwwn 50:11:12:13:14:15:16:12
zoneset name production_zs vsan 10
member production_zone_1
member production_zone_2
zoneset activate name production_zs vsan 10
zone commit vsan 10
zone name backup_zone_1 vsan 20
member pwwn 21:11:12:13:14:15:16:01
member pwwn 51:21:12:13:14:15:16:11
member pwwn 51:21:12:13:14:15:16:12
zone name backup_zone_2 vsan 20
member pwwn 21:11:12:13:14:15:16:02
member pwwn 51:21:12:13:14:15:16:11
member pwwn 51:21:12:13:14:15:16:12
zoneset name backup_zs vsan 20
member backup_zone_1
member backup_zone_2
zoneset activate backup_zs vsan 20
zone commit vsan 20
zoneset name backup_zs vsan 20
member member backup_zone_1
member member backup_zone_2
end