Hello, everyone!
This is a case about the number of iSCSI initiators exceeds the limit(128) on port.
Symptoms
The storage device reports an alarm indicating that the number of iSCSI initiators exceeds the limit of 128 on portX.
Failed to add an iSCSI initiator to the host.
2020-04-02 16:39 0x100F010C0030 Fault Major Unrecovered None The number of ISCSI initiators exceeds the limit (128) on port (Controller Enclosure CTE0, -- controller B, port number H1).As a result, the hosts cannot access the storage array. |
Cause
The maximum number of iSCSI connections on a single iSCSI host port exceeds 128.
An alarm is reported when an initiator is added to the port.
(This alarm is cleared when the number of connections is less than 128.)
Remarks
1. In V300R006C60 and later versions, the maximum number of iSCSI connections (per port) is changed to 256 (5300 5500 V3) or 512 (5600 5800 6800 V3).
2. In V500R007C60 and later versions, the maximum number of iSCSI connections (per port) is changed to 512.
Analysis
1. Run the following command to query the maximum number of iSCSI sessions supported by a single port.
The maximum number of iSCSI sessions supported by a port is 128 (MaxSessNumPerPort).
admin:/>change user_mode current_mode user_mode=developer developer:/> developer:/>debug admin:/diagnose>drvist showconfig *********config in file********* -------------------------- MaxPortNum : 50 MaxSessNumPerPort : 128 MaxCmdNumPerPort : 1500 MaxChapIniNum : 2048 |
2. The collected logs show that the number of session connections on the port reaches 128.
Take CTE0.A.H0 as an example.
(1) Find the iSCSI target IP address of port CTE0.A.H0 is 172.28.32.6 from config.txt
ID: CTE0.A.H0 Health Status: Normal Running Status: Link Up Type: Host Port IPv4 Address: 172.28.32.6 IPv4 Mask: 255.255.240.0 |
(2) Open the DataCollect\System_log\log_controller_0A_MAIN\Other\ pangea_mmlinfo file of the controller where CTE0.A.H0 resides and search for the keyword Local[172.28.32.6] of the target IP address.
There are 128 connection records.
The IP address in the peer field is the IP address of the initiator port of the corresponding host.
Peer[172.28.33.14/33808]Local[172.28.32.6/3260] Peer[172.28.33.24/47628]Local[172.28.32.6/3260] Peer[172.28.33.2/54008]Local[172.28.32.6/3260] Peer[172.28.33.32/41526]Local[172.28.32.6/3260] …. |
Solution
Remove the connected initiators that are not required and then add new initiators.
Test adding an iSCSI initiator to the host.
That's all, thanks!