How to Simplify Target CHAP Management Using a RADIUS Server

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.

  1. Become superuser.
  2. 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.
    # itadm modify-defaults -r <RADIUS-server-IP-address>
    Enter RADIUS secret: *********
    Re-enter secret: *********
    
  3. Configure the shared secret that is used for communications between the target system and the RADIUS server.
    # itadm modify-defaults -d
    Enter RADIUS secret: *********
    Re-enter secret: *********
    
  4. Configure the target system to require RADIUS authentication.
    This configuration can be done for an individual target or as a default for all targets.
    # itadm modify-target -a radius <target-iqn>
    
  5. 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.
Where to Go Next

Labels

task task Delete
smallsiteadmin smallsiteadmin Delete
configuring configuring Delete
storage storage Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

Sign up or Log in to add a comment or watch this page.


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