摘要:
An optimal configuration of Internet Small Computer Systems Interface (iSCSI) sessions is automatically determined. A number of iSCSI target ports and a number of iSCSI initiator ports in a configuration are determined, and an ideal session count is determined for each iSCSI initiator port in order to maximize efficiency. All iSCSI initiator ports are traversed, and a determination is made which iSCSI initiator ports have less than the ideal session count. For those iSCSI initiator ports that have less than the ideal session count, the iSCSI target ports that are currently not logged into an iSCSI initiator ports that have fewer sessions than the ideal sessions. The steps of finding and attempting are repeated until a current total number of active sessions equals the number of iSCSI target ports.