Patent ID: 7895322

Claim:
An iSCSI session management method for a computer system including an initiator, and a storage system coupled to the initiator via a network, the initiator including a first interface coupled to the network, a first processor coupled to the first interface, and a first memory coupled to the first processor, the storage system including a second interface coupled to the network, a second memory coupled to the second interface, and a second processor coupled to the second memory, the iSCSI session management method comprising the steps of: executing, by the initiator, health check for diagnosing a status of an iSCSI session, whose session ID is a first session ID, established between the initiator and the storage system, by sending an iSCSI command for health check, when an iSCSI command queue of the iSCSI session is empty for a first predetermined period; and executing, by the initiator, logout from the iSCSI session and then login to the iSCSI session so that the session ID of the iSCSI session is changed from the first session ID to a second session ID which is different from the first session ID, at a timing of executing the health check, when the iSCSI command queue of the iSCSI session is empty for a second predetermined period which is longer than the first predetermined period.