SANRAD V-Switch manual Connecting an Identity and Target, Acl add, 132

Models: V-Switch

1 300
Download 300 pages 15.92 Kb
Page 138
Image 138

If you are working in

aV-Switch cluster, each Identity must be connected to the target(s) on both V- Switches.

All CLI names and aliases are case sensitive

Connecting an Identity and Target

Once created, an identity must be connected to a target to provide it with access control. An identity specifies which access rights the iSCSI initiators within the Identity have to the target.

When an identity is connected to a target, it is also given a position. The position of the identity determines its place in the V-Switch access rights evaluation. An identity with the position 0 (default identity) is the last identity evaluated when an initiator tries to access a volume. If the initiator meets the profile of the identity, it is granted that identity ‘s access rights. If not, the V-Switch continues to position 1. The V-Switch does not scan all identities to determine which most specifically fits the host. Therefore, identities must be positioned in decreasing specificity to function correctly. The V-Switch scans for the first fit and not the best fit.

An identity can be connected to more than one target to provide the same conditions for each target. Use the CLI command acl add to connect an identity to a target.

acl add

You need to define four parameters to connect an identity to a target:

SWITCH

PARAMETER

DEFINITION

STATUS

EXAMPLE

 

 

 

 

 

-ta

TARGET ALIAS

ALIAS OF TARGET

MANDATORY

finance

 

 

TO ATTACH TO

 

 

-id

IDENTITY

NAME OF ACL

MANDATORY

accounting

 

 

IDENTITY

 

 

-acc

ACCESS

ACCESS RIGHTS TO

OPTIONAL

rw

 

 

TARGET:

DEFAULT=RW

 

 

 

DEFAULT=RW

 

 

 

 

 

 

 

RW =READ-WRITE

 

 

 

 

RO = READ-ONLY

 

 

 

 

NA =NOT

 

 

 

 

ACCESSIBLE

 

 

-pos

POSITION

ACL RANK IN

OPTIONAL

1

 

 

ACCESS RIGHT

ASSIGNED LAST

 

 

 

EVALUATION SCAN

 

 

 

POSITION IF

 

 

 

 

 

 

 

 

NOT SPECIFIED

 

Example

The identity, accounting, is connected to the target finance. Accounting is the second identity scanned for an initiator match. Any initiator in the accounting identity is given read-only access. Later, an administrator identity can be created with read-write access and placed in position 0.

132

SANRAD V-Switch User Manual

Page 138
Image 138
SANRAD V-Switch manual Connecting an Identity and Target, Acl add, 132