Operating System - HP-UX
1753920 Members
7223 Online
108810 Solutions
New Discussion

Disconnecting/logging off an iscsi targer

 
Ajay S
Advisor

Disconnecting/logging off an iscsi targer

Hello everyone,

 

i have two iSCSI target coming from a single iSCSi discovery target (Equallogic array)  presented to a Integrity server running 11.31 Base OE. i want o logoff/dicconnect one out of these two targets.

In iscsiutil we have a option to delete a discovery target but i just want to get rid of one target coming out of the array ( not the whole array).

i tried to offline this volume from array side but the system started throwing errors and i had to bring it back online.

is there ar cleaner way to logoff/disconnect it from server side without affecting the rest of the targets?

 

 

Here is the output showing all the connected devices. i want to disconnect/loggout Target 1.

 

# /opt/iscsi/bin/iscsiutil -p -O

Operational Target Information ------------------------------

Target # 1 -----------         Target Name               : iqn.2001-05.com.equallogic:0-8a0906-2a387090c-80200198d61516dd-ignite-testvol         Target Alias              :         No. of Target Addresses   : 1

Target Address # 1 -------------------         IP Address                : 10.172.80.180         iSCSI TCP Port            : 3260         iSCSI Portal Group Tag    : 1

  User Configured:   ----------------

        Authenticaton Method      :         CHAP Method               : CHAP_UNI         Initiator CHAP Name       : hpignite         CHAP Secret               : PB2RJXXXJBRRP         Header Digest             : None,CRC32C (default)         Data Digest               : None,CRC32C (default)

Target # 2 -----------         Target Name               : iqn.2001-05.com.equallogic:4-52aed6-53b9e717c-bf6001817444fc91-ignite-vol1         Target Alias              :         No. of Target Addresses   : 1

Target Address # 1 -------------------         IP Address                : 10.172.80.180         iSCSI TCP Port            : 3260         iSCSI Portal Group Tag    : 1

  User Configured:   ----------------

        Authenticaton Method      :         CHAP Method               : CHAP_UNI         Initiator CHAP Name       : hpignite         CHAP Secret               : PB2RJXXXJBRRP         Header Digest             : None,CRC32C (default)         Data Digest               : None,CRC32C (default)

 

 

i appreciate your help in advance!

 

 

Regards/Ajay