HP 3PAR StoreServ 7400 2-node HP 3PAR Command Line Interface Administrator& - Page 59

Viewing Domains, Modifying a Domain, Changing a Domain Name, Adding Comments to a Domain

Page 59 highlights

For a complete list of options available for the createdomainset command, see the HP 3PAR Command Line Interface Reference and HP 3PAR CLI Help. For additional information about domains, see the HP 3PAR StoreServ Storage Concepts Guide. Viewing Domains From time to time, you may wish to view the domains in your system. Additionally, when managing your domain objects as described in "Managing Domain Objects" (page 60), you may need to view the objects' domain associations. To view the domains in your system, issue the showdomain -d command. For details about the showdomain command, see the HP 3PAR Command Line Interface Reference. NOTE: To set your system output to display domain information, you must first set the TPDLISTDOM environment variable, the -listdom global option, or if you are working in a Tcl shell, issue the setclienv listdom 1 command. See "Listing Domains" (page 49) for further information. To view a system object's domain association, issue the showhost, showvv, or showcpg commands. Modifying a Domain For any existing domain, you can change the domain's name or add comments to that domain using the setdomain command. For details about the setdomain command, see the HP 3PAR Command Line Interface Reference. Changing a Domain Name To change a domain's name, issue the setdomain -name command, where: • is the new name you wish to assign the domain. • is the current name of the domain you are renaming. Once changed, users and comments previously belonging to the old domain name are displayed as belonging to the new domain name. All previous associations, objects, and settings (such as default settings) are also transferred. Adding Comments to a Domain If a comment was not added to a domain during its creation and you wish to add a note to that domain, issue the setdomain -comment command, where: • is the comment you are adding to the specified domain. • is the name of the domain to which you are adding a comment. The comment length is restricted to 511 characters and the comment text must be enclosed in quotation marks. Removing a Domain Prior to removing a domain, any users belonging to that domain must be removed (see "Removing Users From a Domain" (page 20)) and assigned to another domain, or must be removed completely (see "Adding Users to a Domain" (page 20)). Any objects belonging to the domain must be removed form the domain, or moved to another domain before removing the domain. Domain objects include virtual volumes, common provisioning groups (CPGs), and hosts. To remove a domain, issue the removedomain command, where is the domain you want to delete. Viewing Domains 59

  • 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
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204

For a complete list of options available for the
createdomainset
command, see the
HP 3PAR
Command Line Interface Reference
and HP 3PAR CLI Help. For additional information about
domains, see the
HP 3PAR StoreServ Storage Concepts Guide
.
Viewing Domains
From time to time, you may wish to view the domains in your system. Additionally, when managing
your domain objects as described in
“Managing Domain Objects” (page 60)
, you may need to
view the objects’ domain associations.
To view the domains in your system, issue the
showdomain -d
command. For details about the
showdomain
command, see the
HP 3PAR Command Line Interface Reference
.
NOTE:
To set your system output to display domain information, you must first set the TPDLISTDOM
environment variable, the
-listdom
global option, or if you are working in a Tcl shell, issue the
setclienv listdom 1
command. See
“Listing Domains” (page 49)
for further information.
To view a system object’s domain association, issue the
showhost
,
showvv
, or
showcpg
commands.
Modifying a Domain
For any existing domain, you can change the domain’s name or add comments to that domain
using the
setdomain
command. For details about the
setdomain
command, see the
HP 3PAR
Command Line Interface Reference
.
Changing a Domain Name
To change a domain’s name, issue the
setdomain -name <name> <domain_name>
command,
where:
<name>
is the new name you wish to assign the domain.
<domain_name>
is the current name of the domain you are renaming.
Once changed, users and comments previously belonging to the old domain name are displayed
as belonging to the new domain name. All previous associations, objects, and settings (such as
default settings) are also transferred.
Adding Comments to a Domain
If a comment was not added to a domain during its creation and you wish to add a note to that
domain, issue the
setdomain -comment <comment> <domain_name>
command, where:
<comment>
is the comment you are adding to the specified domain.
<domain_name>
is the name of the domain to which you are adding a comment.
The comment length is restricted to 511 characters and the comment text must be enclosed in
quotation marks.
Removing a Domain
Prior to removing a domain, any users belonging to that domain must be removed (see
“Removing
Users From a Domain” (page 20)
) and assigned to another domain, or must be removed completely
(see
“Adding Users to a Domain” (page 20)
). Any objects belonging to the domain must be removed
form the domain, or moved to another domain before removing the domain. Domain objects
include virtual volumes, common provisioning groups (CPGs), and hosts.
To remove a domain, issue the
removedomain <domain_name>
command, where
<domain_name>
is the domain you want to delete.
Viewing Domains
59