Allowing a CHAP user to access the compute port

Virtual Storage Platform One SDS Block System Administrator Guide

Version
1.16.x
Audience
anonymous
Part Number
MK-24VSP1SDS001-03

Allow the CHAP user to access the compute port through CHAP authentication as follows.

CAUTION:

If you add a storage node after you grant access to the compute port of an existing storage node based on CHAP authentication, also grant CHAP users access to the compute port of the added storage node.

  • Required role: Security

  1. Verify the ID of the applicable compute port.

    If you use the CLI to specify a compute port by iSCSI name, check the iSCSI name of the compute port.

    REST API: GET /v1/objects/ports

    CLI: port_list

  2. Verify the ID of the CHAP user.

    If you use the CLI to specify a CHAP user with a CHAP user name, check the CHAP user name.

    REST API: GET /v1/objects/chap-users

    CLI: chap_user_list

  3. Allow the CHAP user to access the compute port.

    Run either of the following commands with the ID of the compute port and the ID of the CHAP user specified.

    If you use the CLI, you can specify the iSCSI name instead of the compute port ID, or the CHAP user name instead of the CHAP user's ID.

    REST API: POST /v1/objects/port-auth-settings/<id>/chap-users

    CLI: port_auth_setting_chap_user_create

    Verify the job ID which is displayed after the command is run.

  4. Verify the state of the job.

    Run either of the following commands with the job ID specified.

    REST API: GET /v1/objects/jobs/<jobId>

    CLI: job_show

    If the job state is "Succeeded", the job is completed.

  5. (Bare metal) Back up the configuration information.

    Perform this step by referring to Backing up the configuration information (Bare metal).

    If you continue operations with other procedures, you must back up the configuration information after you have completed all operations.