A rules engine is provided to enhance management capability in storage
area networks and particularly within storage switches. Resulting state
and status information for virtual logical units can be maintained in a
database. The database can be indexed according to the current state
and/or status of members of a virtual logical unit. When an event
associated with a physical target of a virtual logical unit is detected,
the current state and status of members of the virtual logical unit can
be determined. The current state and status information can be maintained
in dynamic state and status indicator. The current state and status
information can be used to identify a corresponding entry in the rules
database. From the rules database, the proper resulting status and/or
state of the members and/or the virtual logical unit can be determined.