Displays or modifies an access control record for the replica placeholder for a volume’s manual transfer replication operation. (Used only with the CLI version of the Manual Transfer Utility.)
This command applies only to replica sets that were created for a manual transfer replication operation.
Format
partner select partner_name inbound-replicaset select set_name access select access_entry_id subcommand | parameter
Variables
|
partner_name |
Group name of a partner. |
|
set_name |
Name of an inbound replica set that represents a replica placeholder. |
|
access_entry_id |
Access control record identification number (from the output of the show subcommand; see partner select inbound-replicaset select access). |
Subcommand
|
show |
Displays detailed information about the specified access control record number. |
Parameters
|
authmethod chap|none |
Specifies whether the record uses CHAP authentication (chap) to restrict access to the volume. The default is none; CHAP authentication is not used. You must also specify the username chap_name parameter for CHAP authentication. |
|
initiator name |
Name of the iSCSI initiator to which access is restricted; for example: iqn.2000-05.com.qlogic.qla-4000.sn00044 |
|
ipaddress ip_address |
IP address to which access is restricted. An asterisk (*) in any of the four parts of an IP address is interpreted as a wildcard character; that is, any value is accepted for that 8-bit field. For example, specify *.*.*.* for unrestricted host access (not recommended except for testing). |
|
username chap_name |
Specifies the CHAP user name (up to 128 alphanumeric characters) to which access is limited. |
Examples
The following command displays detailed information about a particular access control record for an inbound replicaset:
primary> partner select secondary inbound-replicaset select vol-1.1 access select 1 show
___________________________ Access Information __________________________
Initiator: Ipaddress: *.*.*.*
AuthMethod: chap-local UserName: secondary
Apply-To: both
_________________________________________________________________________
The following commands modify the CHAP user name for an access control record, and show the detail information for the record before and after the change:
primary> partner select secondary inbound-replicaset select vol-1.1 access select 2 show
__________________________ Access Information ___________________________
Initiator: Ipaddress: *.*.*.*
AuthMethod: chap UserName: kabbott
Apply-To: snapshot
_________________________________________________________________________
primary> partner select secondary inbound-replicaset select vol-1.1 access select 2 username dbuser
primary> partner select secondary inbound-replicaset select vol-1.1 access select 2 show
__________________________ Access Information ___________________________
Initiator: Ipaddress: *.*.*.*
AuthMethod: chap UserName: dbuser
Apply-To: snapshot
_________________________________________________________________________