HP 6G Virtual SAS Manager User Guide

Assigning a zone group to a server device bay
Server device bays cannot access external storage connected to the switch until assigned a zone
group.
IMPORTANT:
For an existing zone group, when changing the assignment to move the zone group to a
different server device bay, you must first stop all associated I/O with the zone group and
power off the server blades. After completing the assignments and saving all changes in the
VSM, restart the servers and resume I/O.
Syntax <TARGET> add [zg=<name>]
Parameters The exact name of the zone group to assign to the target blade
bay.
zg=<name>
NOTE: The following example demonstrates assigning a switch-port zone group to a server.
When assigning a drive-bay zone group to a server, the display differs, but underlying principles
remain the same.
1. [Optional] Verify the status of the enclosure server device bays. Use the show command to
display all configured zone groups.
As shown in this example, information for the zone group, Ports_1, created in “Creating a
switch-port zone group” (page 65), and information for the zone group created in “Creating
a drive-bay zone group” (page 67) is displayed. As shown, Ports_1 and zone5 have not yet
been assigned to a server.
=> switch loc=local zg all show detail
Blade Enclosure At BottomC7000
Switch: Local (VSM Active)
Zone Group: Ports_1 (Unassigned)
Zoned Blade Switch Port: 54
Zoned Blade Switch Port: 64
Storage Connection Status: Online
Overall Status: OK
Zone Group: zone5 (Unassigned)
Connected Expander: Expander 1
Zoned Storage Enclosure Bay: 51:1:29 - Occupied
Zoned Storage Enclosure Bay: 51:1:30 - Occupied
Zoned Storage Enclosure Bay: 51:1:31 - Empty
Zoned Storage Enclosure Bay: 51:1:32 - Empty
Zoned Storage Enclosure Bay: 51:1:33 - Occupied
Zoned Storage Enclosure Bay: 51:1:34 - Occupied
Zoned Storage Enclosure Bay: 51:1:35 - Occupied
Storage Connection Status: Online
Overall Status: OK
2. Assign the zone group to the server device bay.
This example shows how to assign the zone group “Ports_1” created in “Creating a switch-port
zone group” (page 65) to BladeSystem device server bay 1.
=> switch loc=local startupdate
Success
=> bladeport id=1 add zg=Ports_1
Success
=> switch loc=local saveupdate
Assigning a zone group to a server device bay 69