vtechie
Contributor
Contributor

how to find out iSCSI connection status

I have configured iSCSI initators and established connection to target ports.

I would like to know if there is any utility command to find out iscsi connection status , such as log on or log off.

Also is there a way we can log on or log off iscsi session from ESX server

Thanks

0 Kudos
2 Replies
lmonaco
Hot Shot
Hot Shot

For software iscsi

esxcfg-swisci -q

esxcfg-swisci -e

esxcfg-swisci -d

azn2kew
Champion
Champion

# esxcfg-swiscsi -help

Usage: esxcfg-swiscsi options

-e, --enable Enable sw iscsi

-d, --disable Disable sw iscsi

-q, --query Check if sw iscsi is on/off

-s, --scan Scan for disk available through sw iscsi interface

-k, --kill Try to forcibly remove iscsi sw stack

-r, --restore Restore sw iscsi configuration from file

(FOR INTERNAL USE ONLY)

-h, --help Show this message

If you found this information useful, please consider awarding points for "Correct" or "Helpful". Thanks!!!

Regards,

Stefan Nguyen

iGeek Systems Inc.

VMware, Citrix, Microsoft Consultant

If you found this information useful, please consider awarding points for "Correct" or "Helpful". Thanks!!! Regards, Stefan Nguyen VMware vExpert 2009 iGeek Systems Inc. VMware vExpert, VCP 3 & 4, VSP, VTSP, CCA, CCEA, CCNA, MCSA, EMCSE, EMCISA