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

Setting the TPDCSVTABLE Environment Variable on Solaris and Linux, Using the -csvtable Option

Page 49 highlights

Setting the TPDCSVTABLE Environment Variable on Solaris and Linux To set the TPDCSVTABLE environment variable in Solaris and Linux, see the following system output example: $ TPDCSVTABLE=1 $ export TPDCSVTABLE $ cli Setting the TPDCSVTABLE Environment Variable on Windows To set the TPDCSVTABLE environment variable in Windows: 1. Perform Step 1 through Step 4 of the procedure for setting the TPDSOCKSSL environment variable in Windows as described in "Using SSL" (page 44). 2. In the Environment Variable dialog box, enter TPDCSVTABLE in the Variable box. 3. Enter 1 in the Value box. 4. Click OK. Using the -csvtable Option To set the -csvtable global option, see the following example: $ cli -csvtable Listing Domains If you are using HP 3PAR Virtual Domains, you can configure data output to display a domain column. You can configure the output by using the following: • The -listdom global option. • The TPDLISTDOM environment variable. • The setclienv-listdom command (if changing within the Tcl shell; for details about this command, see the HP 3PAR Command Line Interface Reference). The following example displays CLI output with and without the domain column: CLI% showvv -listdom ---Rsvd(MB)--- -(MB)- Id Name Domain Prov Type CopyOf BsId Rd -Detailed_State- Adm Snp Usr VSize_MB 0 admin Dom001 full base --- 0 RW normal 0 0 10240 10240 ... 30 V3 - full base --- 30 RW normal 96 256 1024 1024 31 V3.ro - snp vcopy V3 30 RO normal -- -- -- 1024 29 VV5 - full base --- 29 RW normal 96 256 1024 1024 32 VV5.ro - snp vcopy VV5 29 RO normal -- -- -- 1024 17 VV_TeamCPG_1 Dom001 full base --- 17 RW normal 0 0 2048 2048 18 VV_TeamCPG_2 Dom001 full base --- 18 RW normal 0 0 2048 2048 8 vvfromcpg2.0 Dom001 full base --- 8 RW normal 0 0 2048 2048 9 vvfromcpg2.1 Dom001 full base --- 9 RW normal 0 0 2048 2048 22 total 960 1536 42752 48896 NOTE: If you previously did not use domains and have pre-existing scripts in place, you may not wish to configure your output to display domains because your scripts may be adversely affected. Global Options and Environment Variables 49

  • 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

Setting the TPDCSVTABLE Environment Variable on Solaris and Linux
To set the TPDCSVTABLE environment variable in Solaris and Linux, see the following system output
example:
$ TPDCSVTABLE=1
$ export TPDCSVTABLE
$ cli
Setting the TPDCSVTABLE Environment Variable on Windows
To set the TPDCSVTABLE environment variable in Windows:
1.
Perform
Step 1
through
Step 4
of the procedure for setting the TPDSOCKSSL environment
variable in Windows as described in
“Using SSL” (page 44)
.
2.
In the
Environment Variable
dialog box, enter
TPDCSVTABLE
in the
Variable
box.
3.
Enter
1
in the
Value
box.
4.
Click
OK
.
Using the -csvtable Option
To set the
-csvtable
global option, see the following example:
$ cli -csvtable
Listing Domains
If you are using HP 3PAR Virtual Domains, you can configure data output to display a domain
column. You can configure the output by using the following:
The
-listdom
global option.
The TPDLISTDOM environment variable.
The
setclienv-listdom
command (if changing within the Tcl shell; for details about this
command, see the
HP 3PAR Command Line Interface Reference
).
The following example displays CLI output with and without the domain column:
CLI% showvv -listdom
---Rsvd(MB)--- -(MB)-
Id Name
Domain
Prov Type
CopyOf
BsId Rd -Detailed_State- Adm Snp Usr VSize_MB
0 admin
Dom001
full base ---
0 RW normal
0
0 10240 10240
...
30 V3
-
full base ---
30 RW normal
96 256 1024 1024
31 V3.ro
-
snp vcopy V3
30 RO normal
-- --
-- 1024
29 VV5
-
full base ---
29 RW normal
96 256 1024 1024
32 VV5.ro
-
snp vcopy VV5
29 RO normal
-- --
-- 1024
17 VV_TeamCPG_1 Dom001
full base ---
17 RW normal
0
0
2048 2048
18 VV_TeamCPG_2 Dom001
full base ---
18 RW normal
0
0
2048 2048
8 vvfromcpg2.0
Dom001
full base ---
8 RW normal
0
0
2048 2048
9 vvfromcpg2.1
Dom001
full base ---
9 RW normal
0
0
2048 2048
---------------------------------------------------------------------------------------
22 total
960 1536 42752 48896
NOTE:
If you previously did not use domains and have pre-existing scripts in place, you may not
wish to configure your output to display domains because your scripts may be adversely affected.
Global Options and Environment Variables
49