Dell EqualLogic PS6210XS EqualLogic Host Integration Tools for Linux Version 1 - Page 61

Updating Access to a Group, asmcli update group-access Command Syntax

Page 61 highlights

Group name: IP address: User names: eqlgroup2 192.x.x.xy j_smith Group name: IP address: User names: eqlgroup8 192.x.x.zz John_Smith 3 Groups defined. Example 2: Listing Group Access Records for a Specific Group To list group access information for the group eqlgroup1, specify a group name: # asmcli list group-access --name eqlgroup1 Group name: IP address: User names: eqlgroup1 192.x.x.xx j_smith Updating Access to a Group Use the asmcli update group-access command to modify a group access file and its contents. asmcli update group-access Command Syntax The command syntax is as follows: # asmcli update group-access --name group-name | -n [--file file-location | -f] [--ip-address IP-address | -i] [--management-ip mng-IP-address | -I] [--new-name new-name | G] [--no-password] [--password password | -p] [--user-name user-name | -u] The following table describes the required and optional command parameters. Table 19. Update Group-Access Command Options Parameter Abbr. Required Parameter Argument --name -n group-name Optional Parameters --file -f file-location --ip-address -i IP-address --management-ip -I mng-IP-address --new-name --no-password -G none new-name none --password -p password Description Specifies the name of the PS Series group. Specifies the location of the nondefault group access file. Omit this parameter to use the default group. Specifies the permanent IP address of the PS Series group. Specifies the management IP address for the PS Series group Specifies the new name for the PS Series Group. Specifies not to store a password or this user. If you use this option, you are prompted to enter a password each time an ASMCLI command is run (for example, create smart-copy) and it will not be possible to run a scheduled operation. Specifies the password to be encrypted and stored. Auto-Snapshot Manager Command Line Interface 61

  • 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

Group name:
eqlgroup2
IP address:
192.x.x.xy
User names:
j_smith
Group name:
eqlgroup8
IP address:
192.x.x.zz
User names:
John_Smith
3 Groups defined.
Example 2: Listing Group Access Records for a Specific Group
To list group access information for the group eqlgroup1, specify a group name:
# asmcli list group-access --name eqlgroup1
Group name:
eqlgroup1
IP address:
192.x.x.xx
User names:
j_smith
Updating Access to a Group
Use the
asmcli update group-access
command to modify a group access file and its contents.
asmcli update group-access Command Syntax
The command syntax is as follows:
# asmcli update group-access
--name
group-name
| -n
[--file
file-location
| -f]
[--ip-address
IP-address
| -i]
[--management-ip
mng-IP-address
| -I]
[--new-name
new-name
| G]
[--no-password]
[--password
password
| -p]
[--user-name
user-name
| -u]
The following table describes the required and optional command parameters.
Table 19. Update Group-Access Command Options
Parameter
Abbr.
Argument
Description
Required Parameter
--name
-n
group-name
Specifies the name of the PS Series group.
Optional Parameters
--file
-f
file-location
Specifies the location of the nondefault group access file.
Omit this parameter to use the default group.
--ip-address
-i
IP-address
Specifies the permanent IP address of the PS Series
group.
--management-ip
-I
mng-IP-address
Specifies the management IP address for the PS Series
group
--new-name
-G
new-name
Specifies the new name for the PS Series Group.
--no-password
none
none
Specifies not to store a password or this user. If you use
this option, you are prompted to enter a password each
time an ASMCLI command is run (for example,
create
smart-copy
) and it will not be possible to run a
scheduled operation.
--password
-p
password
Specifies the password to be encrypted and stored.
Auto-Snapshot Manager Command Line Interface
61