VMware Cloud Community
CFormage
Enthusiast
Enthusiast

Configure CHAP sw ISCSI

Hello, I am trying to set up software iscsi using kickstart on ESXi 4.1.

Trying to connect to an Equallogic

On previous version this would work

esxcfg-iscsi -A -c chapRequired -m CHAP -i 172.2.52.4  -u iscsiuser1 -w 2XWDWDWD232X vmhba34

Now in esxi I must do the following since there is no longer an esxcfg-iscsi

vim-cmd hostsvc/storage/iscsi_enable_chap vmhba34 iscsiuser1 2XWDWDWD232X

The above command does not seem to let me specify what target to apply the chap username and password to.

It seems to only be able to do it at the adapter level not the send target server level.

So if I have two send target servers and each needs a different username and password there does not seem to be a way to do this other than the GUI.

Does anyone have any ideas how to apply the chap credentials at the target level not the adapter level using the CLI?

Blog: www.dcinfrastructure.blogspot.com
0 Kudos
0 Replies