iscsiadm: ... initiator error (02/01)

Pavel Just Pavel.Just na simac.cz
Středa Květen 27 17:29:32 CEST 2009


Používám iscsi pro vmware. Heslo mám na target, ale ne pro discovery 
session.
Funguje.

Pavel

Pavel Vedral napsal(a):
> Zdravim vas,
>
> nejak se mi nedari vygooglit jak na pripojeni iscsi targetu pres chap 
> autentizaci.
>
> - Mam Openfiler 2.3 aktualizovany na posledni dostupne verze:
> # conary updateall
> no new troves were found
>
> - Pokousim se odhalit nabizene iscsi targety z OpenFileru, iscsi 
> initiator je na CentOSu 5.3:
> # iscsiadm --mode discovery --type sendtargets --portal 
> <nejaka.domena.cz | ip adresa>
>
> - At delam co delam, vybehne se mnou hlasenim:
> iscsiadm: discovery login to 194.108.215.243 rejected: initiator error 
> (02/01), non-retryable, giving up
>
> Setkal jste se s tim nekdo a vyresili jste to nejak ? Jak ?
>
>
> Diky
>
> Pavel
>
> *- Konfigurace na strane iscsi initiatoru v /etc/iscsi/iscsid.conf:*
>
> ...
>
> #*****************
> # Startup settings
> #*****************
>
> # To request that the iscsi initd scripts startup a session set to 
> "automatic".
> # node.startup = automatic
> #
> # To manually startup the session set to "manual". The default is automatic.
> node.startup = automatic
>
> # *************
> # CHAP Settings
> # *************
>
> # To enable CHAP authentication set node.session.auth.authmethod
> # to CHAP. The default is None.
> node.session.auth.authmethod = CHAP
>
> # To set a CHAP username and password for initiator
> # authentication by the target(s), uncomment the following lines:
> node.session.auth.username = oracle
> node.session.auth.password = tajneheslo
>
> # To set a CHAP username and password for target(s)
> # authentication by the initiator, uncomment the following lines:
> node.session.auth.username_in = oracle
> node.session.auth.password_in = tajneheslo
>
> # To enable CHAP authentication for a discovery session to the target
> # set discovery.sendtargets.auth.authmethod to CHAP. The default is None.
> discovery.sendtargets.auth.authmethod = CHAP
>
> # To set a discovery session CHAP username and password for the initiator
> # authentication by the target(s), uncomment the following lines:
> discovery.sendtargets.auth.username = oracle
> discovery.sendtargets.auth.password = tajneheslo
>
> # To set a discovery session CHAP username and password for target(s)
> # authentication by the initiator, uncomment the following lines:
> discovery.sendtargets.auth.username_in = oracle
> discovery.sendtargets.auth.password_in = tajneheslo
> ...
>
> *- Konfigurace na strane iscsi target-u v /etc/iscsi/iscsid.conf:*
>
>   Fakt je, ze nevim, jestli ten konfigurak vubec OpenFiler pouziva, 
> protoze si pres webove rozhrani naklikam co se da a nijak se mi to 
> neprojevi v konfiguraku, takze myslim, nasledujici radky jsou asi zbytecne.
>
> #*****************
> # Startup settings
> #*****************
>
> # To request that the iscsi initd scripts startup a session set to 
> "automatic".
> # node.startup = automatic
> #
> # To manually startup the session set to "manual". The default is manual.
> node.startup = manual
>
> # *************
> # CHAP Settings
> # *************
>
> # To enable CHAP authentication set node.session.auth.authmethod
> # to CHAP. The default is None.
> #node.session.auth.authmethod = CHAP
>
> # To set a CHAP username and password for initiator
> # authentication by the target(s), uncomment the following lines:
> #node.session.auth.username = username
> #node.session.auth.password = password
>
> # To set a CHAP username and password for target(s)
> # authentication by the initiator, uncomment the following lines:
> #node.session.auth.username_in = username_in
> #node.session.auth.password_in = password_in
>
> # To enable CHAP authentication for a discovery session to the target
> # set discovery.sendtargets.auth.authmethod to CHAP. The default is None.
> #discovery.sendtargets.auth.authmethod = CHAP
>
> # To set a discovery session CHAP username and password for the initiator
> # authentication by the target(s), uncomment the following lines:
> #discovery.sendtargets.auth.username = username
> #discovery.sendtargets.auth.password = password
>
> # To set a discovery session CHAP username and password for target(s)
> # authentication by the initiator, uncomment the following lines:
> #discovery.sendtargets.auth.username_in = username_in
> #discovery.sendtargets.auth.password_in = password_in
> ...
>
>
> _______________________________________________
> Linux mailing list
> Linux na linux.cz
> http://www.linux.cz/mailman/listinfo/linux
>   




Další informace o konferenci Linux