COMPUTER SYSTEM AND METHOD OF MONITORING COMPUTER SYSTEM
A computer system according to the present invention has: a switch configured to forward a received packet data to a destination in accordance with flow that is set in the switch; and a controller configured to set flow with respect to the switch, in response to first-packet receipt notification from the switch. The switch transmits the first-packet receipt notification to the controller and notifies the controller of a port number included in the received packet data. The controller obtains, from a server, an application name of an application using the port number and records, on a memory device, a correspondence relationship between the application name and the flow that is set with respect to the switch. It is thus possible to monitor statistical information with respect to each application, without being affected by a method of allocating port numbers to applications.
1 . A computer system comprising:
a switch configured to forward a received packet data to a destination in accordance with flow that is set in the switch;
a controller configured to set flow with respect to said switch, in response to first-packet receipt notification from said switch; and
a server having an application,
wherein if the received packet data does not match a rule indicated by the flow that is set in said switch, said switch transmits the first-packet receipt notification to said controller and notifies said controller of a port number included in said received packet data, and
wherein said controller obtains, from said server, an application name of an application using said port number and records, on a memory device, a correspondence relationship between said application name and the flow that is set with respect to said switch.
2 . The computer system according to claim 1 ,
wherein said server comprises an application identifying agent configured to use the port number notified from said controller as a key to identify an application to which said notified port number is allocated, and notify said controller of an application name of the identified application.
3 . The computer system according to claim 1 ,
wherein at a time of said first-packet receipt notification, said switch notifies said controller of the port number and an IP address included in the received packet, and
wherein said controller obtains the application name associated with said port number from the server determined based on said IP address.
4 . The computer system according to claim 1 ,
wherein said switch notifies said controller of statistical information regarding packet data corresponding to the flow that is set in the switch, and
wherein said controller records, on said memory device, a correspondence relationship between said statistical information and the application associated with the flow that is set with respect to said switch.
5 . The computer system according to claim 1 ,
wherein said controller determines, based on the application name obtained from said server, a destination line for said received packet of said switch and sets flow depending on said destination line with respect to said switch.
6 . The computer system according to claim 1 ,
further comprising: a client terminal configured to transmit a packet data to said server through said switch,
wherein said server dynamically allocates a port number to said application every time session with said client terminal is established.
7 . A controller that is used in the computer system according to claim 1 .
8 . A method of monitoring a computer system,
wherein said computer system comprises:
a switch configured to forward a received packet data to a destination in accordance with flow that is set in the switch; and
a controller configured to set flow with respect to said switch, in response to first-packet receipt notification from said switch,
wherein said method comprises:
transmitting, by said switch, the first-packet receipt notification to said controller and notifies said controller of a port number included in said received packet data, if the received packet data does not match a rule indicated by the flow that is set in said switch;
obtaining from a server, by said controller, an application name of an application using said port number; and
recording on a memory device, by said controller, a correspondence relationship between said application name and the flow that is set with respect to said switch.
9 . The method of monitoring the computer system according to claim 8 ,
wherein said obtaining said application name comprises:
using, by said server, the port number notified from said controller as a key to identify an application to which said notified port number is allocated; and
notifying, by said server, said controller of an application name of the identified application.
10 . The method of monitoring the computer system according to claim 8 , further comprising: notifying, by said switch, said controller of the port number and an IP address included in the received packet, at a time of said first-packet receipt notification,
wherein said obtaining said application name comprises: determining based on said IP address, by said controller, the server to which request for the application name is transmitted.
11 . The method of monitoring the computer system according to claim 8 , further comprising:
notifying, by said switch, said controller of statistical information regarding packet data corresponding to the flow that is set in the switch; and
recording on said memory device, by said controller, a correspondence relationship between said statistical information and the application associated with the flow that is set with respect to said switch.
12 . The method of monitoring the computer system according to claim 8 , further comprising:
determining based on the application name obtained from said server, by said controller, a destination line for said received packet of said switch; and
setting, by said controller, flow depending on said destination line with respect to said switch.
13 . The method of monitoring the computer system according to claim 8 , further comprising:
transmitting, by a client terminal, a packet data to said server through said switch; and
dynamically allocating, by said server, a port number to said application every time session with said client terminal is established.
14 . The computer system according to claim 2 ,
wherein at a time of said first-packet receipt notification, said switch notifies said controller of the port number and an IP address included in the received packet, and
wherein said controller obtains the application name associated with said port number from the server determined based on said IP address.
15 . The computer system according to claim 2 ,
wherein said switch notifies said controller of statistical information regarding packet data corresponding to the flow that is set in the switch, and
wherein said controller records, on said memory device, a correspondence relationship between said statistical information and the application associated with the flow that is set with respect to said switch.
16 . The computer system according to claim 3 ,
wherein said switch notifies said controller of statistical information regarding packet data corresponding to the flow that is set in the switch, and
wherein said controller records, on said memory device, a correspondence relationship between said statistical information and the application associated with the flow that is set with respect to said switch.
17 . The computer system according to claim 2 ,
wherein said controller determines, based on the application name obtained from said server, a destination line for said received packet of said switch and sets flow depending on said destination line with respect to said switch.
18 . The computer system according to claim 3 ,
wherein said controller determines, based on the application name obtained from said server, a destination line for said received packet of said switch and sets flow depending on said destination line with respect to said switch.
19 . The computer system according to claim 4 ,
wherein said controller determines, based on the application name obtained from said server, a destination line for said received packet of said switch and sets flow depending on said destination line with respect to said switch.
20 . The computer system according to claim 2 ,
further comprising: a client terminal configured to transmit a packet data to said server through said switch,
wherein said server dynamically allocates a port number to said application every time session with said client terminal is established.