An apparatus and method for a Generic Service locking mechanism that
enables a Host to lock the Fibre Channel Switching Fabric of a storage
area network while applying changes across the Switching Fabric of the
network is disclosed. The apparatus includes a network interface
configured to send and receive Fibre Channel frames across the Fabric, a
session element, responsive to the network interface, and configured to
establish sessions with the Fabric; and a locking element configured
issue commands to establish a lock over the Fabric so that replicated
information across the Fabric can be consistently updated when the
session element establishes a session with the Fabric. In one embodiment
of the invention, the network interface, session element and the locking
element are all implemented on each Switch of the Fabric.