View Source

h1. How to Simplify Target CHAP Management Using a RADIUS Server

You can use a third-party RADIUS server that acts as a centralized authentication service to simplify CHAP secret management. When using this method, the recommended practice is to use the default CHAP name for each initiator node. In the common case when all initiators are using the default CHAP name, you do not have to create initiator-contexts on the target.
# Become superuser.
# Configure the target node with the IP address and port of the RADIUS server.
The default port is 1812. This configuration is done once for all iSCSI targets on the target system.
{code}
# itadm modify-defaults -r <RADIUS-server-IP-address>
Enter RADIUS secret: *********
Re-enter secret: *********
{code}
# Configure the shared secret that is used for communications between the target system and the RADIUS server.
{code}
# itadm modify-defaults -d
Enter RADIUS secret: *********
Re-enter secret: *********
{code}
# Configure the target system to require RADIUS authentication.
This configuration can be done for an individual target or as a default for all targets.
{code}
# itadm modify-target -a radius <target-iqn>
{code}
# Configure the RADIUS server with:
#* The identity of the target node (for example, its IP address)
#* The shared secret the target node uses to communicate with the RADIUS server
#* The initiator CHAP name (for example, initiator iqn name) and initiator CHAP secret for each initiator that needs to be authenticated.

h5. Where to Go Next
* [How to Simplify Initiator CHAP Management Using a RADIUS Server]

The individuals who post here are part of the extended Sun Microsystems community and they might not be employed or in any way formally affiliated with Sun Microsystems. The opinions expressed here are their own, are not necessarily reviewed in advance by anyone but the individual authors, and neither Sun nor any other party necessarily agrees with them.

Copyright 1994-2009 Sun Microsystems, Inc.
Powered by Atlassian Confluence
Sun Guidelines on Public Discourse Privacy Policy Terms of Use Trademarks Site Map Employment Investor Relations Contact