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

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

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127

Parameter
Abbr.
Argument
Description
--name
-n
group-name
Specifies the name of the PS Series group.
--user-name
-u
user-name
Specifies the user name on the PS Series group.
Optional Parameters
--file
-f
file-location
Specifies the location of the group access file.
--ip-address
-i
IP-address
Specifies the permanent IP address of the PS Series group.
You must use parameter when creating a new entry for the PS
Series group.
--management-ip
-I
mgmt-IP-address
Specifies the management IP address for the PS Series group
--no-password
none
none
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 smart-
copy
) and you are not able to run a scheduled operation.
--password
-p
password
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