Dell EqualLogic PS6210XS EqualLogic Host Integration Tools for Linux Version 1 - Page 58
Examples: Creating Group Access, Example 1: Creating Group Access for Volumes on Multiple Groups
View all Dell EqualLogic PS6210XS manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 58 highlights
Parameter --name --user-name Optional Parameters --file --ip-address --management-ip --no-password --password Abbr. -n -u -f -i -I none -p Argument group-name user-name Description Specifies the name of the PS Series group. Specifies the user name on the PS Series group. file-location IP-address mgmt-IP-address none password Specifies the location of the group access file. Specifies the permanent IP address of the PS Series group. You must use parameter when creating a new entry for the PS Series group. Specifies the management IP address for the PS Series group Specifies not to store a password for this user. If you use this option, you will be prompted to enter a password each time an ASMCLI command is run (for example, create smartcopy) and you are not able to run a scheduled operation. Specifies the password to be encrypted and stored. Examples: Creating Group Access This section includes examples of creating group access records. Example 1: Creating Group Access for Volumes on Multiple Groups In this example, a system uses volumes on three different PS Series groups. You need to store credentials for all three PS Series groups to use ASM/LE for all of the volumes, as follows: # asmcli create group-access --name eqlgroup1 --ip-address 192.x.x.xx --user-name j_smith # asmcli create group-access --name eqlgroup2 --ip-address 192.x.x.xy --user-name j_smith # asmcli create group-access --name eqlgroup6 --ip-address 192.x.x.xz --user-name John_Smith If the /user1 and /user2 file system mount points are built by volumes on eqlgroup1 and if the credentials you provided are valid, you can create a Smart Copy for those file systems without specifying a user name and password for the operation: # asmcli create smart-copy --source /user1 /user2 If you try to perform an ASMCLI operation that requires administrator access to a PS Series group without providing valid credentials, you will get an error. For example, if the file system mount points /AccPay and /AccRecv are on a member that is not included in the group access file, ASMCLI does not have the necessary credentials to create Smart Copies for those volumes: # asmcli create smart-copy --source /AccPay /AccRecv Error: Cannot connect to PS Array 192.x.x.xx : No group entry for that IP address in the group access file. Example 2: Specifying a Management IP Address In this example, the --management-ip option is used to create a group access file for PS Series groups that are configured with separate IP addresses for management: asmcli create group-access --name eqlgroup1 --ip-address 192.x.x.xx --management-ip eqlmgmt1.mycompany.com --user-name j_smith Password for j_smith on eqlgroup4: Example 3: Managing Multiple Identities It might be necessary to use different credentials for different ASM/LE operations. You can manage multiple identities in two ways: 58 Auto-Snapshot Manager Command Line Interface