Host-specific event notification registration
A computer-implemented method for effectively delivering notifications in data storage environments includes, receiving, by a storage controller from a host system, a request to register the host system with the storage controller to receive notifications. These notifications may be associated with a selected type of event detected by the storage controller. In certain embodiments, the selected type of event is a space-related condition associated with a particular storage resource controlled by the storage controller. The computer-implemented method registers the host system with the storage controller. In response to detecting an event of the selected type on the storage controller, the computer-implemented method transmits a notification from the storage controller to the host system to provide notice of the event. A corresponding system and computer program product are also disclosed.
1 . A computer-implemented method for effectively delivering notifications in data storage environments, the method comprising:
receiving, by a storage controller from a host system, a request to register the host system with the storage controller to receive notifications associated with a selected type of event detected by the storage controller;
registering, by the storage controller, the host system;
detecting an event of the selected type on the storage controller associated with a storage resource that is offline with respect to the host system; and
notifying, by the storage controller, the host system of the event associated with the storage resource that is offline with respect to the host system.
2 . The method of claim 1 , wherein receiving the request from the host system comprises receiving the request from an application on the host system.
3 . The method of claim 1 , wherein an application manages the storage resource.
4 . The method of claim 1 , wherein the event is a space-related condition associated with the storage resource.
5 . The method of claim 4 , wherein the event is an out-of-space condition associated with the storage resource.
6 . The method of claim 1 , wherein the request comprises at least one parameter that designates types of events for which the host system is to receive notifications.
7 . A computer program product comprising:
one or more computer readable storage media; and
program instructions stored on the one or more computer readable storage media to perform operations comprising:
receiving, by a storage controller from a host system, a request to register the host system with the storage controller to receive notifications associated with a selected type of event detected by the storage controller;
registering, by the storage controller, the host system;
detecting an event of the selected type on the storage controller associated with a storage resource that is offline with respect to the host system; and
notifying, by the storage controller, the host system of the event associated with the storage resource that is offline with respect to the host system.
8 . The computer program product of claim 7 , wherein receiving the request from the host system comprises receiving the request from an application on the host system.
9 . The computer program product of claim 8 , wherein an application manages the storage resource.
10 . The computer program product of claim 7 , wherein the event is a space-related condition associated with the particular storage resource.
11 . The computer program product of claim 7 , wherein the event is an out-of-space condition associated with the storage resource.
12 . The computer program product of claim 7 , wherein the request comprises at least one parameter that designates types of events for which the host system is to receive notifications.
13 . A system for effectively delivering notifications in data storage environments, the system comprising:
processor set;
one or more computer readable storage media; and
program instructions stored on the one or more computer readable storage media to cause the processor set to perform operations comprising:
receiving, by a storage controller from a host system, a request to register the host system with the storage controller to receive notifications associated with a selected type of event detected by the storage controller;
registering, by the storage controller, the host system;
detecting an event of the selected type on the storage controller associated with a storage resource that is offline with respect to the host system; and
notifying, by the storage controller, the host system of the event associated with the storage resource that is offline with respect to the host system.
14 . The system of claim 13 , wherein receiving the request from the host system comprises receiving the request from an application on the host system.
15 . The system of claim 13 , wherein an application manages the storage resource.
16 . The system of claim 13 , wherein the event is a space-related condition associated with the storage resource.
17 . The system of claim 13 , wherein the request comprises at least one parameter that designates types of events for which the host system is to receive notifications.