SANRAD V-Switch manual

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
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300

Ir para a página of

Bom manual de uso

As regras impõem ao revendedor a obrigação de fornecer ao comprador o manual com o produto SANRAD V-Switch. A falta de manual ou informações incorretas fornecidas ao consumidor são a base de uma queixa por não conformidade do produto com o contrato. De acordo com a lei, pode anexar o manual em uma outra forma de que em papel, o que é frequentemente utilizado, anexando uma forma gráfica ou manual electrónicoSANRAD V-Switch vídeos instrutivos para os usuários. A condição é uma forma legível e compreensível.

O que é a instrução?

A palavra vem do latim "Instructio" ou instruir. Portanto, no manual SANRAD V-Switch você pode encontrar uma descrição das fases do processo. O objetivo do manual é instruir, facilitar o arranque, a utilização do equipamento ou a execução de determinadas tarefas. O manual é uma coleção de informações sobre o objeto / serviço, um guia.

Infelizmente, pequenos usuários tomam o tempo para ler o manual SANRAD V-Switch, e um bom manual não só permite conhecer uma série de funcionalidades adicionais do dispositivo, mas evita a formação da maioria das falhas.

Então, o que deve conter o manual perfeito?

Primeiro, o manual SANRAD V-Switch deve conte:
- dados técnicos do dispositivo SANRAD V-Switch
- nome do fabricante e ano de fabricação do dispositivo SANRAD V-Switch
- instruções de utilização, regulação e manutenção do dispositivo SANRAD V-Switch
- sinais de segurança e certificados que comprovam a conformidade com as normas pertinentes

Por que você não ler manuais?

Normalmente, isso é devido à falta de tempo e à certeza quanto à funcionalidade específica do dispositivo adquirido. Infelizmente, a mesma ligação e o arranque SANRAD V-Switch não são suficientes. O manual contém uma série de orientações sobre funcionalidades específicas, a segurança, os métodos de manutenção (mesmo sobre produtos que devem ser usados), possíveis defeitos SANRAD V-Switch e formas de resolver problemas comuns durante o uso. No final, no manual podemos encontrar as coordenadas do serviço SANRAD na ausência da eficácia das soluções propostas. Atualmente, muito apreciados são manuais na forma de animações interessantes e vídeos de instrução que de uma forma melhor do que o o folheto falam ao usuário. Este tipo de manual é a chance que o usuário percorrer todo o vídeo instrutivo, sem ignorar especificações e descrições técnicas complicadas SANRAD V-Switch, como para a versão papel.

Por que ler manuais?

Primeiro de tudo, contem a resposta sobre a construção, as possibilidades do dispositivo SANRAD V-Switch, uso dos acessórios individuais e uma gama de informações para desfrutar plenamente todos os recursos e facilidades.

Após a compra bem sucedida de um equipamento / dispositivo, é bom ter um momento para se familiarizar com cada parte do manual SANRAD V-Switch. Atualmente, são cuidadosamente preparados e traduzidos para sejam não só compreensíveis para os usuários, mas para cumprir a sua função básica de informação

Índice do manual

  • Página 1

    SANRAD V -S witch User Manual MIG – 002 – 02 A ugust 2004[...]

  • Página 2

    SANRAD V-Switch User Manu al Notice This manual contains infor mation that i s proprietar y to SAN RAD. No part of this publica tion may be reprodu ced in a ny form wha tsoever wi thout prior written approval by SANRAD. Right, title and interest, all information, copyrights, pa tents , know- how, trade secrets and other intellec tual property or ot[...]

  • Página 3

    SANRAD V-Switch User Manu al Limited Warranty SANRAD warrant s to the CUSTOMER that the h ardware in the V-Swit ch to be delivered hereunder shall be free of defects in material an d workmansh ip under normal use and service for a period of tw elve (12) months following the date of shipment to the CUS TOMER. If, dur ing the warr anty period , any c[...]

  • Página 4

    SANRAD V-Switch User Manu al relating to this Agreem ent and the V-Switch shall not exceed th e sum paid to SANRAD for the purch ase of the Product. In no event s hall SANRA D be liable for any indirect, inciden tal, consequential, special, or exemplary damage s or lost pr ofits, ev en if S ANRAD ha s been a dvised of the possibility of such d amag[...]

  • Página 5

    SANRAD V-Switch User Manu al Safety Notices Read and und erstand the following notices before installing the V-Switch. The power plug must be accessible at all times because it serves as the main disconnecting vehicle. Unplug the V-Switch power cord before performing maintenance procedures. The V-Switch contains two power supply units. To disconnec[...]

  • Página 6

    SANRAD V-Switch User Manu al User Notes[...]

  • Página 7

    SANRAD V -S witch User Manual MIG – 002 – 02 A ugust 2004[...]

  • Página 8

    SANRAD V-Switch User Manu al Notice This manual contains infor mation that i s proprietar y to SAN RAD. No part of this publica tion may be reprodu ced in a ny form wha tsoever wi thout prior written approval by SANRAD. Right, title and interest, all information, copyrights, pa tents , know- how, trade secrets and other intellec tual property or ot[...]

  • Página 9

    SANRAD V-Switch User Manu al Limited Warranty SANRAD warrant s to the CUSTOMER that the h ardware in the V-Swit ch to be delivered hereunder shall be free of defects in material an d workmansh ip under normal use and service for a period of tw elve (12) months following the date of shipment to the CUS TOMER. If, dur ing the warr anty period , any c[...]

  • Página 10

    SANRAD V-Switch User Manu al relating to this Agreem ent and the V-Switch shall not exceed th e sum paid to SANRAD for the purch ase of the Product. In no event s hall SANRA D be liable for any indirect, inciden tal, consequential, special, or exemplary damage s or lost pr ofits, ev en if S ANRAD ha s been a dvised of the possibility of such d amag[...]

  • Página 11

    SANRAD V-Switch User Manu al Safety Notices Read and und erstand the following notices before installing the V-Switch. The power plug must be accessible at all times because it serves as the main disconnecting vehicle. Unplug the V-Switch power cord before performing maintenance procedures. The V-Switch contains two power supply units. To disconnec[...]

  • Página 12

    SANRAD V-Switch User Manu al User Notes[...]

  • Página 13

    Table of Conte nts 7 T T able of Contents CHAPTER 1 : V-SWITCH ........................................... ............................. 15 V-S WITCH O VERVIEW ............................................................... ...................................... 16 O RDER OF O PERATIONS ..............................................................[...]

  • Página 14

    8 SANRAD V-Switch User Manu al R ACK M OUNTING ............................................................... ............................................ 36 S TORAGE P ORT C ONNECTIONS ............................................................... ........................ 37 N ETWORK P ORT C ONNEC TIONS ..........................................[...]

  • Página 15

    Table of Conte nts 9 Working with SCSI Storage Devic es 78 Maintaining Cluster Communications 78 Enabling and Disabling Failover 79 Further V-Switch Cluster Configurations 79 Viewing V-Switch Neighbor Detail s 80 M ANAG IN G A C LUSTER ............................................................... .................................... 81 CHAPTER 6 [...]

  • Página 16

    10 SANRAD V-Switch User Manu al C OPYING A V OLUME (O FF - LINE C OPY ) .............................................................. ............ 139 S YNCHRONIZING A V OLUME ............................................................... ........................... 140 A DDING A C HILD TO A M IRROR (O N - LINE C OPY ) ...........................[...]

  • Página 17

    Table of Conte nts 11 D ISKS AND S UBDISKS ............................................................... .................................... 181 Discovering Storage Devices 181 Renaming a Storage Device 182 Removing a Storage Device 183 Renaming a Subdisk 183 Removing a Subdisk 183 C LUSTERS ......................................................[...]

  • Página 18

    12 SANRAD V-Switch User Manu al neighbor set 209 neighbor show 209 neighbor details 210 neighbor remove 210 cluster show 210 cluster set 211 cluster failover enable 211 cluster failover disable 211 ft show 212 ft upload software 212 ft download 212 ft export problem 213 system boot 213 system set 213 system copy 214 system show 214 V OLUME C ONFIGU[...]

  • Página 19

    Table of Conte nts 13 volume retract 230 volume expand 230 volume create snapshot 230 volume snapshot show 231 volume snapshot list 231 V OLUME E XPOSURE ............................................................... ...................................... 232 iscsi portal show 233 iscsi portal create 233 iscsi portal remove 233 iscsi target show 2[...]

  • Página 20

    14 SANRAD V-Switch User Manu al INDEX .......................................................... ........................................ 285[...]

  • Página 21

    Chapter 1: V-Switch 15 1 V - Switch IN THIS CHAPTER V-S WITCH O VERVIEW O RDER OF O PERATIONS M ANUAL O RGANIZATION CLI - C OMMAND L INE I NTERFACE T ECHNICAL A SSISTANCE The V-Switch is a storage virtualization and management solutio n that allows you to pool physical storage resources and re-parti tion the total storage capacity into virtual volu[...]

  • Página 22

    16 SANRAD V-Switch User Manu al V-Switch Overview The V-Switc h provides pr otocol bridging, routing, switching an d volume manageme nt in a single platfor m. Figure 1, page 17, d etails a standard V-Switch network topology . Two V- Switches sit in the center of the ne twork, providing load bala n ci ng and failover ability. Above the V-Switches ar[...]

  • Página 23

    Chapter 1: V-Switch 17 10236 Tower box Tower box Towe r box Host V-Switch 1 V-Swi tch 2 Host Host Clien ts Management Term inal Cloud IP Cloud Cloud IP Cloud Clien ts RAID JBOD Man agement Termin al Towe r box Host Cloud FC Cloud SCSI Connection SCSI Connection RAID RAID RAI D Figure 1. V-Switch Network Topology Order of Operations Whether being us[...]

  • Página 24

    18 SANRAD V-Switch User Manu al Manual Organization This manual is designed to guide you step- by-step through V-Swi tch installation, configura tion, virtualization, maintena nce and tr oubleshooting. The chapters are set up as follows: Table 1: Manual Chapter Organization Chapter Title Description Chapter 2 “Installing the V-Switch 2000,” pag[...]

  • Página 25

    Chapter 1: V-Switch 19 Chapter Title Description Appendix A “Sample Configurations, ” page 251 Provides working examples of common V-Switch configurations. CLI - Command Line Interface The Command Line Interfac e (CLI) is used to implement a ll V-Swi tch manageme nt functions, including switching, virtualiza tion and s ecurity. The CLI is avail[...]

  • Página 26

    20 SANRAD V-Switch User Manu al Command Description ! RETURN TO MAIN ME NU Esc ABORT CURRENT COMM AND # DISPLAY LAST COMMA ND T O VIEW C OMMAND HISTORY Tab COMPLETE A COMMAND TO THE POINT OF AMBIGU ITY Technical Assistance SANRAD is continually striving to provid e top-of-the-line produ cts. If you have questions, comments or r equire technic al as[...]

  • Página 27

    Chapter 2: Installing the V-Switch 2000 21 2 Installing the V - Switch 2000 IN THIS CHAPTER C HASSIS S URFACE M OUNTING R ACK M OUNTING S TORAGE P ORT C ONNECTIONS N ETWORK P ORT C ONNECTIONS C ONSOLE P ORT C ONNECTION P OWERING U P The V-Switch 2000 is a 1U high performance storage networking appliance that can be surface or rack mounted. After mo[...]

  • Página 28

    22 SANRAD V-Switch User Manual Chassis The V-Swit ch 2000 is a 1 U surface or rack -mountable st orage n etwork appliance. Its front pan el includes the console port, n etwork ports, storage ports, system in dicator LEDs and reset button. Its back panel includes the fans a nd power supply. Front Panel 1. RS232 cons ole port 2. Two 1 Gb copper Eth e[...]

  • Página 29

    Chapter 2: Installing the V-Switch 2000 23 Back Panel 5. Fans 6. Power supply 10214 5 6 Figure 4. V-Switch 2000 Back Panel Sy stem Indicator LEDs Table 4 lists the V-Switch 2000 indicator LEDs as sho wn in Figu re 5, page 24. Table 4: V-Sw itch 2000 LEDs No LED Stat us Indicat ion Color 1 ACT N ETWORK PORT IS ACTIVE G REEN SLOW BLINK : ACTIVE FAST [...]

  • Página 30

    24 SANRAD V-Switch User Manual 10204 1 2 1 2 3 3 5 4 Figure 5. V-Switch 2000 LEDs – SCSI 10210 1 2 1 2 5 4 3 3 Figure 6. V-Switch 2000 L EDs – FC[...]

  • Página 31

    Chapter 2: Installing the V-Switch 2000 25 Surface Mounting The V-Swit ch 2000 chassis is manufactured with four chassis fee t. The V- Switch 2000 i s ready to be moun ted on any secu re flat surface. If you plan to rack m ount the V-Sw itch 2000, contin ue with “R ack Mounting .” Rack Mounting The V-Switch 2000 chassis can be m ounted on a 19-[...]

  • Página 32

    26 SANRAD V-Switch User Manual STEP 4. A TTACH TH E REAR L- BRACKET If a single V-S witch is bein g mounted, attach the rear L-bracke t to the left side of the V-S witch. If dual V- Switch es are being moun ted, attach a sec ond rear L-br acket to the right side of th e right V-Sw itch as well. STEP 5. A TTACH THE V-S WITCH 2000 TO THE RACK MOUNTIN[...]

  • Página 33

    Chapter 2: Installing the V-Switch 2000 27 Storage Port Connections Connect the SAN storage devices or fabric to the V-Switch 2000 using the FC/SCSI storage ports. The stora ge ports a re locate d on the f ront right of the V-S witc h 2000. The type of storage ports on yo ur V-Switch 2000 will vary depending on your V- Switch 2000 o rder specificat[...]

  • Página 34

    28 SANRAD V-Switch User Manual 10211 FC Stora ge Ports Figure 8. V-Swit ch 2000 FC Storag e Ports Table 6: FC Storage Por t Connection T ypes F IBRE C HANNEL 1 G BIT /2 G BIT NL_ PORT OR N_ PORT OF EITHER L ENGTH S F P  S HORT - WAVE LASE R FOR MULTIMODE FIBER U P TO 550 M SHORT - WAVE SFP  L ONG - WAVE LAS ER FOR SINGLE - MODE FIBER U P TO 1[...]

  • Página 35

    Chapter 2: Installing the V-Switch 2000 29 Network Port Connections The copper netwo rk ports, labeled Eth 1 and 2, are located on t he fr ont left of the V-Switch 2000. Use the 1Gb Ethernet ports to connect to the network or dire ctly to the host station. When configur ing your network topology, keep in mind that the c urrent initiator tec hnology[...]

  • Página 36

    30 SANRAD V-Switch User Manual Console Port Connection The console port, la beled C onsole, is loca ted on the front lef t of the V- Switch 2000. Us e this RS232 port and included male -female stra ight ca ble to connect a console or dumb terminal to the V-Switch 2000 for ini tial system configura tion and loca l manage ment. 10207 Console Port Fig[...]

  • Página 37

    Chapter 2: Installing the V-Switch 2000 31 10213 Pow er Switch Figure 11. V-S w itch 2000 Power Supplies Reconfirm that all s torage devices are powered up. Plug the po wer ca ble into t he V-Switch 2000 pow er supply and then into the pow er sou rce. Push the power s witch to the O N position. Th e V-Switch 2000 powers up.  The Pow er indicator[...]

  • Página 38

    32 SANRAD V-Switch User Manual User Notes[...]

  • Página 39

    Chapter 3: Installing the V-Switch 3000 33 3 Installing the V - Switch 3000 IN THIS CHAPTER C HASSIS S URFACE M OUNTING R ACK M OUNTING S TORAGE P ORT C ONNECTIONS N ETWORK P ORT C ONNECTIONS C ONSOLE P ORT C ONNECTION M ANAGEMENT P ORT C ONNECTION LCD C OMPACT F LASH (CF) S LOT S CALABILITY P ORT P OWERING U P The V-Switch 3000 is a 1U high perfor[...]

  • Página 40

    34 SANRAD V-Switch User Manu al Chassis The V-Swit ch 3000 is a 1 U surface or rack -mountable st orage n etwork appliance. Its front pan el includes the LCD display and progra mming buttons, system indicator LEDs and network ports. Its back pan el includes the storage ports , redundant power supplies, com pact flash and console port. Front Panel 1[...]

  • Página 41

    Chapter 3: Installin g the V-Switch 3000 35 Sy stem Indicator LEDs Table 8 lists the V-Switch 3000 indicator LEDs as sho wn in Figu re 14. Table 8: V-Sw itch 3000 LEDs No LED Stat us Indicat ion Color 1 P OWER A LL POWER SUPPLI ES FUNCTIO NING G REEN 2 S YS OK A LL SYSTEMS FUNCTIONING PROP ERLY G REEN 3 S CALE S CALABILITY PORT IS FU NCTIONING CURR[...]

  • Página 42

    36 SANRAD V-Switch User Manu al Surface Mounting The V-Swit ch 3000 chassis is manufactured with four chassis fee t. The V- Switch 3000 i s ready to be moun ted on any secu re flat surface. If you plan to rack m ount the V-Sw itch 3000, contin ue with “R ack Mounting .” Rack Mounting The V-Swit ch 3000 chassis can be m ounted on a 19-i nch rack[...]

  • Página 43

    Chapter 3: Installin g the V-Switch 3000 37 Slide the V-Switch 3000 into the ra c k mak ing sure to p osition t he V-Switch 3000 to rest on the rear moun ts. The rea r mounts may turn inwa rd slightly b efore the V-witch 300 0 is inserted. If the V-S witch do es not ent er easily, push the m ount lips o utw ard slightly while inserting the V-Switch[...]

  • Página 44

    38 SANRAD V-Switch User Manu al receiving the same default storage number on both V- Switches du ring their auto-discovery cycles. Thi s, in turn, makes cluster configuration easier. The V-Switch 3000 supports up to four storage port s in any com b inations in pairs of the following: Table 9: Storage Por t Connection T ypes F C C ONNECTOR L ENGTH F[...]

  • Página 45

    Chapter 3: Installin g the V-Switch 3000 39 Network Port Connections The network po rts, labeled Eth 1, 2 & 3, are located on the fro nt right of the V-Switch 3000. Use the 1Gb Ethernet ports to connect to the ne twork or directly to the host sta tion. Each net work port ha s both a fibe r optic and copper conne ctor b ut only one cable, either[...]

  • Página 46

    40 SANRAD V-Switch User Manu al C ABLE L ENGTH S F P 1000BAS E-TX ( TWISTED - PAIR ) OVER C ATEGORY 5 UTP U P TO 100 M __ 10218 Ethernet (Netw ork) Ports Fiber Optic SFP Copper RJ45 Figure 17. V-Swit ch 3000 Netw ork Ports Each ne twork port has two LE Ds:  act – indicates whether the port is connected and active: slow bl ink – active; fast [...]

  • Página 47

    Chapter 3: Installin g the V-Switch 3000 41 Management Port Connection The managem ent port, labeled 10/100 m gmt, is locat ed on the fro nt center of the V-Switch 3000. Use this 10/100 port to connect a host s tation either directly or via a network to the V-Switch 3000. When connectin g directly to th e V-Switch 3000 via 10/ 100, use a male-femal[...]

  • Página 48

    42 SANRAD V-Switch User Manu al LCD The LCD is l ocated on the fro nt left of the V-Sw itch 3000. The LCD has two rows of 16 ch aracters each in addition to six con trol buttons. Use the LCD button s and display fo r initial V-Sw itch 3000 config urations im mediately after power up. For more in formation on configurin g the V-Swit ch 3000 via LCD,[...]

  • Página 49

    Chapter 3: Installin g the V-Switch 3000 43 Scalability Port The scalability port is for future use and is not supported cur rently. The scalability port, labeled S calability, is located on the back l ower left side of the V-Switch 3000. The scalability port is a V-Switch 3000 int erconnect ivity port. Using SANRAD’s proprietary scalability cabl[...]

  • Página 50

    44 SANRAD V-Switch User Manu al Powering Up You can power up the V-Switch 3000 once you have connected and powered up th e storage devices. Th e V-Switch 3000 cont ains a s torage auto-dis covery function . At power- up the V-Swi tch 3000 automa tically scans for an d registers all attached and powered up netwo rk sto rage devices. Therefore, pow e[...]

  • Página 51

    Chapte r 4: V- Switch Conf iguration 45 4 V - Switch Conf igur ation IN THIS CHAPTER I NTRODUCTION TO M ANAGING THE V- S WITCH C ONFIGURING THE V- S WITCH 3000 M ANAGEMENT P ARAMETERS VIA LC D C ONFIGURING THE M ANAGEMENT C ONSOLE I NITIALIZI NG THE V- S WITCH C HANGING M ANAGEMENT P ARAMETERS C ONFIGURING THE S TORAGE P ORTS C ONFIGURING THE N ETW[...]

  • Página 52

    46 SANRAD V-Switch User Manu al Introduction to Managing the V-Switch After powering up the V-Sw itch you must configure its managem en t parame ters bef ore doing a ny other conf iguration opera tions, nam ely creating virtual disks. This basic configuration can be d one using the V-Switch L CD pan el or via a console or dumb terminal to open a di[...]

  • Página 53

    Chapte r 4: V- Switch Conf iguration 47 10223 Out -of -Band M anagement In- Ban d M anagement Clo ud I P Cl oud RS 232 port Client s M anagem ent Ter m inal Clie nts Cons ole M odem F as t E thernet N etw o rk 10/100 port 10/100 port Gb port Gb port RS 232 port M odem A C C B Clien ts Cons ole Telnet S tation Figure 25 . V-Switch Management Options[...]

  • Página 54

    48 SANRAD V-Switch User Manu al Configuring the V-Switch 3000 Management Parameters via LCD After successfully powering up, the V-Switch 3000 LCD display p anel displays: V-Switch 3000 Status: OK Using the Enter and arrow buttons, you toggle between LCD scree ns and input the V-Switch m anagement parameters. The Back and Forward buttons toggle betw[...]

  • Página 55

    Chapte r 4: V- Switch Conf iguration 49 Enter the management port IP mas k using the arrow buttons. Mask _ _ _._ _ _._ _ _._ _ _ 2 5 5.2 5 5.2 5 5.0 0 0 Press Enter to enter the IP m ask and return to th e main V-Switch Status screen. V-Switch 3000 Status: OK After initializing the V- Switch via the LCD display panel and b uttons, you are r eady to[...]

  • Página 56

    50 SANRAD V-Switch User Manu al After configuring t he console, you can now log in to the V-Swit ch using your installed terminal emula tion application and conf igure the basic V- Switch parameters. You will then be able to mana ge the V-Switc h via the 1 Gb Ethern et port, Eth1 (in -band) or the 10/100Mb man agement por t (out- of-band). Contin u[...]

  • Página 57

    Chapte r 4: V- Switch Conf iguration 51 Enter the default use r name, sanrad , and passw ord, sanrad , and press Ente r on you r keyboard. T he CLI prompt > appears. Yo u are now logged in and ready to begin co nfiguri ng your V-S witch f or volum e virtualizat ion an d exposure. STEP 3. I NITIALIZE THE V-S WITCH Use the CLI command init to conf[...]

  • Página 58

    52 SANRAD V-Switch User Manu al Changing Management Parameters After logging in to the V-Switch, you can cha nge the general ma na gement parameters and Telnet co mmunications po rt as well as add user l ogin profiles. Changing General Management Parameters You can change V-Switc h management parameters (IP address an d m ask) or UDP p ort number a[...]

  • Página 59

    Chapte r 4: V- Switch Conf iguration 53 S WITC H P ARAMETER D EFINITION S TATUS E XAMPLE -loc LOCATION LO CATION OF THE CONTACT PERSON OPTIONAL ext4838 -rld REPORT LUN DISCO VERY MODE FOR DISCOVERING DEVIC E LUN S OPTIONAL YES OR NO DEFAU LT : YES no -telnet TELNE T PORT PORT FOR V- S WITCH COMMUNICAT IONS OPTIONAL DEFAU LT : 23 1597 -rcom READ COM[...]

  • Página 60

    54 SANRAD V-Switch User Manu al Parameter Value Object ID 1.3.6.1.4.1 10059 1.1.2 Time Since Last Reset 12 days 17 hours 29 min 32 sec Mgmt IP Address 212.199.43.47 Mgmt UDP Port 161 Date & Time [DD/MM/YY] 21/04/02 13:33 Telnet Port 23 Eth Up FC Up Read Community Public Write Community Private Changing the Telnet Communications Port If your T e[...]

  • Página 61

    Chapte r 4: V- Switch Conf iguration 55 S WITC H P ARAMETER D EFINITION S TATUS E XAMPLE -rcom READ C OMMUNITY CO MMUNITY TO GET INFORM ATION OPTIONAL DEFAU LT : PUBLIC public -wcom WRITE C OMMUNITY CO MMUNITY TO SET INFORMATION OPTIONAL DEFAU LT : PRIVATE private -trap TRAP TO S END TRAPS TO MANAGER OPTIONAL YES : SEND NO : DO NOT SEND DEFAU LT : [...]

  • Página 62

    56 SANRAD V-Switch User Manu al For information on changing or removing user profiles, please s ee “User Profil es,” page 178.[...]

  • Página 63

    Chapte r 4: V- Switch Conf iguration 57 Configuring the Storage Ports If your V- Switch configura tion contains S CSI device s, you can s et the storage port bus ID. If yo ur V-Switch configuration contain s F C storage ports, you c an change the def ault configur ation of e ach port. Use the CLI command interface show to show a ll storage port con[...]

  • Página 64

    58 SANRAD V-Switch User Manu al S WITC H P ARAMETER D EFINITION S TATUS E XAMPLE -if INTERFACE ST ORAGE PORT NUMBER MANDATO RY pscsi3 -id IDENTI TY S C S I BUS IDENTI TY OPTIONAL DEFAU LT : 7 12 Example Storage port 3, pscsi3, is assigned SCSI bus ID 12. pscsi set busid –if pscsi3 –id 12 Viewing the FC Port Information Use the CLI command fc in[...]

  • Página 65

    Chapte r 4: V- Switch Conf iguration 59 S WITC H P ARAMETER D EFINITION S TATUS E XAMPLE -cm CONNECTION MODE OPTIONAL FAB : FABRIC PRL : PRIVATE LOOP PUL : PUBLIC LOOP private Example fc set –if fc2 –sp 1 –pt nl –cm prl Viewing the V-Sw itch World Wide Node Name Use the CLI command fc node show to view the V-Swi tch World Wide Node Name (WW[...]

  • Página 66

    60 SANRAD V-Switch User Manu al Configuring the Network Ports Each network port must be located on a separate subnet. Each network port can have more than one IP address. To connect the V-S witch to the ne twork you nee d to assign IP pa rameters to each 1Gb Ethernet network port connected to a network. Each network port must be located o n a separ[...]

  • Página 67

    Chapte r 4: V- Switch Conf iguration 61 10224 212.199.43.56 Figure 28. Ethernet Po rt 1 IP A dd ress Checking the IP Configurations After setting the ma nagement and network port IP addr esses, you can use the CLI command ip config show to access the IP Configur ation Table and view all assigned port IP ad dresses. ip config show Table 13: V-Switch[...]

  • Página 68

    62 SANRAD V-Switch User Manu al ip config remove You need to defin e one parameter to remove a netw ork port IP ad d ress: S WITC H P ARAMETER D EFINITION S TATUS E XAMPLE -ip IP ADDRESS I P ADDRESS TO REMOVE FROM THE NETWORK INTERF ACE PORT MANDATO RY 212.199.12.70 Example: The IP address 212.199.12.70 is removed from Et h3 leaving the p ort with [...]

  • Página 69

    Chapte r 4: V- Switch Conf iguration 63 Discovering iSCSI Targets iSCSI target discovery is performed across the IP-SAN by th e iS CSI initia tor located on the s erver. The V-Switch supports three metho ds for repor ting iSCSI targets in the IP-SAN to iSCSI initiato rs:  iSCSI Discovery S ession  SLP  iSNS iSCSI Discove ry Session The V-S[...]

  • Página 70

    64 SANRAD V-Switch User Manu al ip isns show Tabl e 14: iSNS Servers 212.199.56.45 Deleting an iSNS Ser ver Use the CLI command ip isn s remove to remove an iSNS server fro m the V- Switch i SNS client. ip isns remove You need to define one par ameter to remove a n iSNS se rver ad dre ss: S WITC H P ARAMETER D EFINITIO N S TATUS E XAMPLE -ip IP ADD[...]

  • Página 71

    Chapte r 4: V- Switch Conf iguration 65 iscsi portal create –ip 212.199.43.66 Viewing iSCSI Portals You can view all created portals using th e CLI command iscsi portal show . iscsi portal show Table 15: iSCSI Portals Protocol Address Type Address Port 6 ipv 4 212.199.43.56 3260 6 ipv 4 212.199.43.57 3260 6 ipv 4 212.199.43.66 5003 6 ipv 4 212.19[...]

  • Página 72

    66 SANRAD V-Switch User Manu al Configuring IP Routing To enable communications b etween the V-Switch a nd IP networ ks l oc ated outside the V-Switch LAN, you must conf igure IP routing paths f or each external network po rt. The IP route begins with a specified ne twork port on the V-Switch and en ds at the external network IP address. Just as ea[...]

  • Página 73

    Chapte r 4: V- Switch Conf iguration 67 A dding an IP Route You can e nable communic ations to networ ks outside of your LAN b y configuring an IP rou ting path. This allows volum e access to h osts located on external netw orks. Use the CLI command ip route add to add an IP routing path to your V-Sw itch. If you are working in a V-Switc h c luster[...]

  • Página 74

    68 SANRAD V-Switch User Manu al ip route default –gw 20.20.10.20 Checking IP Routes After creating a n IP routing p ath, you ca n ping any IP- connecte d device from the V-Switch Eht1 to che ck that the routing is conf igured correctly. Use the CLI command ping to ping an IP address from the V-Switch. Make sure that the route is defined on the ot[...]

  • Página 75

    Chapte r 4: V- Switch Conf iguration 69 ip route remove You need three par ameters t o remove a n IP routing pa th. S WITC H P ARAMETER D EFINITIO N S TATUS E XAMPLE -dip DESTINATION IP IP OF HOST STATION MANDATO RY 10.12.40.0 -dmask DESTINATION MASK IP MASK OF HOST STATION MANDATO RY 255.255.255.0 -if INTERFACE ALIAS NETWORK PORT T O OPEN COMMUNIC[...]

  • Página 76

    70 SANRAD V-Switch User Manu al User Notes[...]

  • Página 77

    Chapte r 5: V-S witch Clust er Configura tion 71 5 V - Switch Cluster Conf igur ation IN THIS CHAPTER I NTRODUCTION TO V- S WITCH C LUSTERS C ONFIGURING A V- S WITCH C LUSTER M ANAGING A C LUSTER You can configure a V-Switch clus ter using two V-Switches of th e same type. A clust er is a group of storage units and switches that function as one uni[...]

  • Página 78

    72 SANRAD V-Switch User Manu al Introduction to V-Switch Clusters Two V-Switc hes can b e concurr ently connecte d to the sa me FC sto rage devices to balance volum e exposure thus creating a V-Switch clu ster. In a cluster, each V-Switch int eracts in an active-active, peer-to-p ee r fashion with the oth er V-Switch, or neighbor , in the cluster. [...]

  • Página 79

    Chapte r 5: V-S witch Clust er Configura tion 73 . When creating a cluster, it is recommended that the same port on each V-Switch is used to connect to the same FC storage device. This increases the chance of the storage device receiving the same default storage number on both V- Switches during their auto-discovery cycles. This, in turn, makes clu[...]

  • Página 80

    74 SANRAD V-Switch User Manu al In Figure 33, V-Switch 1 has gone off-line. V-Switch 2 activates V-Switch 1’s IP address and takes over expo sure of Volume 1 to Host 1, repre sented by the orange dashed line. Host 1 cont inues to access Volume 1 through the same IP address as it did before its V-Switch w ent off-line. Host 1 has no way of kn owin[...]

  • Página 81

    Chapte r 5: V-S witch Clust er Configura tion 75 Configuring a V-Switch Cluster Setting the V-Switch ID When you con figure a cluster, you must give each V-Switch a dif ferent device ID for proper cluster fun ctioning. Use the CLI com mand device set to configur e the V- Switch ID f or each V-Switch. device set S WITC H P ARAMETER D EFINITION S TAT[...]

  • Página 82

    76 SANRAD V-Switch User Manu al neighbor add You need to define two para meters to notify a V- Switch of a nei ghbor. S WITC H P ARAMETER D EFINITION S TATUS E XAMPLE -nb NEIGHBOR ALIAS OF NEIGHBOR TO ADD TO CLUSTER MANDATO RY VSwitch2 -ip IP ADDRESS I P ADDRESS OF MGMT PORT ON NEIGHBOR MANDATO RY 212.199.43.75 Example: A V-Switch is info rmed that[...]

  • Página 83

    Chapte r 5: V-S witch Clust er Configura tion 77 All V-Switch database configurations must be replicated in both V-Switches when creating a V-Switch cluster, including IP addresses, portals, IP routes, volumes and targets. 10230 Clou d IP SAN IP1-a ctive: 2 12.199.43.90 IP2-inac tive: 212. 199.43.75 IP2-ac tive: 212. 199.43. 75 IP1-in active: 21 2.[...]

  • Página 84

    78 SANRAD V-Switch User Manu al Working with SCSI Storage Devices The V-Switch default SCSI bus ID is 7. If your storage cluster includes SCSI storage devices, on e of the V-Switch’s default SCSI bus ID must be changed. They cannot both be 7 on the same SCS I bus. Use the CLI comman d pscsi set busid to change the SCS I bus ID on one of the V-Swi[...]

  • Página 85

    Chapte r 5: V-S witch Clust er Configura tion 79 Example: Every 2 seconds V-Switch 1 sends out a keep alive signal. If, after 6 seconds from the last keep alive sign al, V-Switch 1 does not receive an other keep alive signal from its neighbor, it enters a suspicious interva l . If, after 10 seconds from the last keep alive signal, V-Switch 1 enters[...]

  • Página 86

    80 SANRAD V-Switch User Manu al Viewing V-Sw itch Neighbor Details Use the CLI command neighbor show to view the neighbor configured on a V-S witch. neighbor show Table 16: Neighbors in a Cluster Name IP Address UDP SNMP Timeout (msec) SNMP # of Retries VSwitch2 212.199.43.75 161 Use the CLI command neighbor details to list the details of a neighbo[...]

  • Página 87

    Chapte r 5: V-S witch Clust er Configura tion 81 Managing a Cluster If you modify a V-Switch alias or management IP address , you mu st implement the updates in the neighboring V-Switch. Use th e CLI comma nd neighbor set to update a V-Switch on changes in its neighbor. neighbor set You need to defin e the parameter(s) to modify to reset a n eighb [...]

  • Página 88

    82 SANRAD V-Switch User Manu al Use the CLI command cluster set to modify th e default keep alive intervals. cluster set You need to defi ne the pa ramete rs you want to modify in the kee p alive interval. S WITC H P ARAMETER D EFINITION S TATUS E XAMPLE -kai KEEP ALIVE INTERVAL TIME B ETWEEN ALIVE SIGNALS FROM NEIGHBOR S OPTIONAL DEFAU LT : 2 SEC [...]

  • Página 89

    Chapte r 6: Vol ume Configurat ion 83 6 V olume Conf igur ation IN THIS CHAPTER I NTRODUCTION TO V OLUME C ONFIGURATION I DENTIFYING A VAILABLE S TORAGE D EVICES C REATING A T RANSPARENT V OLUME C REATING A S UBDI SK (LUN C ARVING ) C REATING A S I MPLE V OLUME C REATING A C ONCATENATED V OLUME C REATING A S TRI PED V OLUME C REATING A M IRRORED V [...]

  • Página 90

    84 SANRAD V-Switch User Manu al Introduction to Volume Configuration This chapter describes ho w to identify the SAN storage devices and use them to create subdisk s and virtual volumes. Each description includes:  A general description and gen eric diagram.  The basic command, sw itches and parameters needed to execute the comma nd.  An e[...]

  • Página 91

    Chapte r 6: Vol ume Configurat ion 85 Identifying Available Storage Devices The V-Switch supports a maximum of 512 disks. Before beginning to c onfigure vir tual volumes, you need to know which storage devices are available. Use th e CLI command storage show to show the ava ilable stora ge device s and their corresponding alia ses needed to configu[...]

  • Página 92

    86 SANRAD V-Switch User Manu al storage blink activate –s Stor_1 –t 120 Use the CLI command storage blink abort to stop the blinking before the end of the set time. storage blink abort You need to define one pa rameter to stop blinking a storage dev ice: S WITC H P ARAMETER D EFINITIO N S TATUS E XAMPLE -s STORAGE DEVICE ALAIS OF D EVICE TO BLI[...]

  • Página 93

    Chapte r 6: Vol ume Configurat ion 87 The V-Switch also recognizes all write- protected storage device s. Use the CLI command storage details to view a device’s details, in cluding if it is write-protected. storage details You need to defin e one parameter to view a disk’s details: S WITC H P ARAMETER D EFINITIO N S TATUS E XAMPLE -s STORAGE AL[...]

  • Página 94

    88 SANRAD V-Switch User Manu al Creating a Transparent Volume Transparent volumes cannot be used in further volume hierarchies. Tape devices must be virtualized as transparent volumes. You can take a physica l disk and its existing configured storag e data and convert it to a directly accessi ble, or transparent, virtual vo lume using the CLI comma[...]

  • Página 95

    Chapte r 6: Vol ume Configurat ion 89 10101 Tras par ent Volu me 1 RAID C ont rol le r Disk 1, LUN 0 Figure 36. Transparent V olume 1 After creating the trans parent volume, you can use th e CLI comm and volume show to verify the volume creation. volume show Table 20: Volume Details Alias Vol Type # of Blocks Block Size State Trans1 Transpar 1024 5[...]

  • Página 96

    90 SANRAD V-Switch User Manu al Creating a Subdisk (LUN Carving) The V-Switch supports a maximum of 512 subdisks. You can create on e or more subdisks on a ph ysical disk. The su bd isks can then be converted to sim ple volumes to be used for creating con catena ted, striped and mirro red virtual volumes. When you create a subdis k, only the define[...]

  • Página 97

    Chapte r 6: Vol ume Configurat ion 91 Disk 3 Disk 7 Disk 8 10066 JBOD 1 JBOD 2 Disk 4 Disk 2 Di s k 5 Disk 6 Disk 1 Figure 38. Disk 1 be fore Subdisk If you are working in a V-Switch cluster, this volume must be configured on both V-Switches. In Figure Error! Bookma rk not defin ed. , page E rror! Bookmark not defined. , Subdisk 1 has been created [...]

  • Página 98

    92 SANRAD V-Switch User Manu al You need to define one par ameter to view subdisks. S WITC H P ARAMETER D EFINITION S TATUS E XAMPLE -d DISK ALIA S ALIAS OF D ISK TO SHOW SUBDISKS FROM OPTIONAL USE THIS SWITCH TO LIST ONLY THE DETAILS OF A SPECIFIC DISK Disk1 This command calls up the following ta ble. Table 21: Details of all Subdisks Disk Subdisk[...]

  • Página 99

    Chapte r 6: Vol ume Configurat ion 93 Creating a Simple Volume The V-Switch supports a maximum of 512 volumes. Before you can build co ncatenated, mirrored and striped volum es , you must create sim ple volumes from each disk or subdis k in your st or age network. A physical disk or subdisk is converted directly to a virtual s imple volume. A simpl[...]

  • Página 100

    94 SANRAD V-Switch User Manu al If you are working in a V-Switch cluster, this volume must be configured on both V-Switches. Assigning a volum e alias is optional. If you do not include a volume alias in the command, the volume alias will d efault to the subdisk al ias in which the volum e is located. For example, a simple volume crea ted on Subdis[...]

  • Página 101

    Chapte r 6: Vol ume Configurat ion 95 Creating a Concatenated Volume The V-Switch supports a maximum of 512 volumes. To accommodate lar ge volumes of data or to best utilize sma ll v olumes spread over several disks , you can concatenate physical vo lumes across storage devices to create a larger virtual vo lume. In Figure 43, the volume is divided[...]

  • Página 102

    96 SANRAD V-Switch User Manu al The system d efault f or the number of childr en being conca tenate d is two. Therefore, you on ly need to specify the number of children for numbers greater than two. Example: If you are working in a V-Switch cluster, this volume must be configured on both V-Switches. In Figure 44, Simple Volume 5 a nd Simple Volume[...]

  • Página 103

    Chapte r 6: Vol ume Configurat ion 97 Creating a Striped Volume The V-Switch supports a maximum of 512 volumes. A striped vol ume has data writt en equitably acro ss two or mo re disks to provide higher read/w rite rates. Subdisks within a striped vol ume need to be on d ifferent disks to re alize the benefits of striping. Throughput increases with[...]

  • Página 104

    98 SANRAD V-Switch User Manu al S WITC H P ARAMETER D EFINITION S TATUS E XAMPLE –ch CHILD FIR ST VOLUME ( CHILD ) TO WRITE TO MANDATO RY Simple2 –ch CHILD SECOND VOLUM E ( CHILD ) TO WRITE TO MANDATO RY Simple4 –ch CHILD THIRD VOLU ME ( CHILD ) TO WRITE TO MANDATO RY Simple8 –ch CHILD FOUR TH VOLUM E ( CHILD ) TO WRITE TO MANDATO RY Simple[...]

  • Página 105

    Chapte r 6: Vol ume Configurat ion 99 Disk 3 Disk 4 Simp le 2 Disk 1 Simp le 1 Simple 4 Simple 3 Disk 2 Simple 8 Disk 5 Simple 7 Simple 10 Disk 6 Simple 9 Disk 7 Disk 8 10060 Simple 5 Simple 6 Simple 11 Simple 12 JBOD 1 JBOD 2 Striped Volume 1 Figure 46. Striped Volume 1[...]

  • Página 106

    100 SANRAD V-Switch User Manu al Creating a Mirrored Volume Use mirroring to create data backups. The V-Switch supports a maximum of 512 volumes. A mirror ed volume i s synchronously writte n into two or mor e vol umes. Mirrored volumes provide protection aga inst data loss from a ph ysical disk crash. To be a true m irror and realize the full pote[...]

  • Página 107

    Chapte r 6: Vol ume Configurat ion 101 Example: If you are working in a V-Switch cluster, this volume must be configured on both V-Switches. In Figure 48, a mirrored volume, M irrored 1, is created using t wo children, Simple 6 and Simple 11. volume create mirror –vol Mirrored1 –ch Simple6 –ch Simple11 Disk 3 Disk 4 Simp le 2 Disk 1 Simp le 1[...]

  • Página 108

    102 SANRAD V-Switch User Manu al See the working exam ple of off-line data replication “Replicati ng Dat a Off- line,” pag e 264. volume mirror sync You need to defin e two parameters to synchro nize a volume: S WITC H P ARAMETER D EFINITION S TATUS E XAMPLE -src SOURCE VOLUME ORIGINAL VOLUME TO SY NCHRONI ZE TO MANDATO RY Simple3 -dst DESTINAT[...]

  • Página 109

    Chapte r 6: Vol ume Configurat ion 103 Creating a RAID 10 and RAID 0+1 You will need two separate comma nds to create a RAID 1 0 or 0+1 volume. RAID 10 first creates mirrored vo lumes and then creates a striped volume of the mirrored volum es. This gives the advantage of both high performance an d data redundancy. In Figure 49, page 104, in the fir[...]

  • Página 110

    104 SANRAD V-Switch User Manu al Example: If you are working in a V-Switch cluster, this volume must be configured on both V-Switches. In Figure 51, page 105, to begin creating a R AID 10 volume, a m irrored volume, Mirror 2, is created using two child ren: Simple 1 and S imple 7. volume create mirror –vol Mirror2 –ch Simple1 –ch Simple7 Disk[...]

  • Página 111

    Chapte r 6: Vol ume Configurat ion 105 Disk 3 Disk 4 Simp le 2 Disk 1 Simp le 1 Simp le 4 Simp le 3 Disk 2 Simp le 8 Disk 5 Simp le 7 Simp le 1 0 Disk 6 Simp le 9 Disk 7 Disk 8 10062 Sim ple 5 Sim ple 6 Simple 11 Sim ple 12 JB O D 1 JB O D 2 M i rrored Vol u me 2 M irror ed Vol u me 3 Figure 51. Second Mirrored Volume of RA ID 10 If you are working[...]

  • Página 112

    106 SANRAD V-Switch User Manu al Disk 3 Disk 4 Simple 2 Disk 1 Simple 1 Simple 4 Simple 3 Disk 2 Simple 8 Disk 5 Simple 7 Simpl e 10 Disk 6 Simpl e 9 Disk 7 Disk 8 10063 Simple 5 Simple 6 Simple 11 Simple 12 JBOD 1 JBOD 2 Stri ped Volum e 2 Mir rored Volum e 2 Mirror ed Volum e 3 Figure 52. Striped Volume of RA ID 10 To create a RAID 0+1 vol ume, i[...]

  • Página 113

    Chapter 7: Volu me Exposu re and Security 107 7 Vo l u m e E x p o s u r e & S e c u r i t y IN THIS CHAPTER I NTRODUCTION TO V OLUME E XPOSURE & S ECURITY C REATING AN I SCSI T ARGET C HANGING THE D EFAULT I DENTITY C REATING AN I DENTI TY A DDING I NITI ATORS TO AN I DENTITY A SSIGNING I DENTI TY C REDENTIALS C ONNECTING AN I DENTITY AND [...]

  • Página 114

    108 SANRAD V-Switch User Manu al Introduction to Volume Exposure & Security iSCSI Targets Data is able to be transf erred via iSCS I when an iSCSI initiato r establishes a TCP connec tion with an iS CSI tar get.  The iSCSI initiator resides in the host computer a nd is configu red by the system admin istrator.  The iSCSI target resides in[...]

  • Página 115

    Chapter 7: Volu me Exposu re and Security 109 10124n iSCSI Targe t 3 wwui3 Vol 3 Vol 4 LU0 LU1 Vol 2 LU0 iSCSI Target 2 wwui2 Vol 1 LU0 iSCSI Target 1 wwui1 V-Switch Figure 53. iSCSI Target A ccess Once a volum e has a LUN and is attached to a target, it is acce ssible to iSCSI initiators. Each initiato r can access, read and write into the volume.[...]

  • Página 116

    110 SANRAD V-Switch User Manu al An iSCSI initiator can be listed in multiple identities. 10149 Ident A wwui2 wwui1 ww ui10 wwui9 wwui8 wwui7 wwui4 wwui3 Ident B wwui6 wwui5 Figure 55. Identity B’s iSCSI Initiators In Figure 55, there are six iSCSI initiators in Identity B: WW UI 3, 4, 6, 7, 8 and 9. Note that iSCSI in itiator 8 is in both Identi[...]

  • Página 117

    Chapter 7: Volu me Exposu re and Security 111 An identity can be used with more than one target. 10151 wwui 2 wwui 1 wwui10 wwui 9 wwui 8 wwui 7 wwui 4 wwui 3 Ident B wwui 6 wwui 5 iSCSI Target 1 wwui21 iSCSI Target 2 wwui22 iSCSI Target 4 wwui24 iSCSI Target 3 wwui23 Ident A Ident C Ident B Vol 1 Vol 4 Vol 2 Vol 3 Vol 5 Vol 6 Figure 57. Identities[...]

  • Página 118

    112 SANRAD V-Switch User Manu al 10152 wwui 2 wwui 1 wwui10 wwui 9 wwui 8 wwui 7 wwui 4 wwui 3 Ident B wwui 6 wwui 5 iSCSI Target 1 wwui21 iSCSI Target 2 wwui22 iSCSI Target 4 wwui24 iSCSI Target 3 wwui23 Ident A Ident C Ident B Vol 1 Vol 4 Vol 2 Vol 3 Vol 5 Vol 6 R e a d - W r i t e R e a d - W r i t e R e a d - O n l y R e a d - W r i t e Figure [...]

  • Página 119

    Chapter 7: Volu me Exposu re and Security 113 read-only, depending on the positionin g of the identities. If Identity A is assigned position 1 a nd Identity B is assigned position 2, Id en tity B is scanned first by th e V-Switch. A match is made and the scan is stopped. No further identities will be scanned. Therefore, iSCSI initia tor WWU I8 will[...]

  • Página 120

    114 SANRAD V-Switch User Manu al initiators. The default identity is assigned position 0, meani ng it is the last scanned. Unlike user-created identities, the default identity cannot be uncoupled from a target. Its access can only be modified. 10156n V-Switch Cloud IP SAN Tower box Tower box wwui1 iSCS I initiato r iSCS I initiato r wwui 2 Vol 1 LU[...]

  • Página 121

    Chapter 7: Volu me Exposu re and Security 115 If iSCSI initiator WWUI1 tries to lo gin to Target 2, the V-Swit ch first scans Identity B. It does not fin d the initiator listed so it contin ues to scan the next identity, the default identity. The default ident ity blocks al l iSCSI initiators, including WWUI1. The scan s tops and the initiator is d[...]

  • Página 122

    116 SANRAD V-Switch User Manu al Example: If you are working in a V-Switch cluster, each target must be configured on both V- Switches. The target finance is created o n V-Switch 1. The WWUI of Finan ce is billing.sanrad, as shown in Figure 6 2. iscsi target create –ta finance –tn sanrad.billing – device VSwitch1 10177n V-Swi tch1 Cloud IP SA[...]

  • Página 123

    Chapter 7: Volu me Exposu re and Security 117 Table 22: iSCSI Targ ets Target Alias Target Name # of LUs Exposed On: finance sanrad.billing 0 Not exposed musicbox musicbox.sanrad 1 VSwitch1 Viewing iSCSI Target Details Use the CLI command iscsi target details to view the details of an iSCSI target. iscsi target details S WITC H P ARAMETER D EFINITI[...]

  • Página 124

    118 SANRAD V-Switch User Manu al Table 24: Default Id entity Targ et A ccess Target Position Identity Access finance 0 DEF_ALL read-write musicbox 0 DEF_ALL not accessible musicbox 1 musicdept read-write[...]

  • Página 125

    Chapter 7: Volu me Exposu re and Security 119 Changing the Default Identity If you are working in a V-Switch cluster, the default access rights must be disabled on both V- Switches. In the event of a failover, if the default access rights are not modified on both V- Switches, all volumes attached to the target will be read-write accessible to all i[...]

  • Página 126

    120 SANRAD V-Switch User Manu al Creating an Identity If you are working in a V-Switch cluster, each identity must be configured on both V- Switches. If you are working with an iSNS server, all hosts are able to see the target but only those hosts with access rights are able to connect to the target. If you want to lim it host, meaning iSCSI ini ti[...]

  • Página 127

    Chapter 7: Volu me Exposu re and Security 121 10178n V-Swi tch1 Cloud IP SAN Tower box Tower box iqn .1991-05. microso ft:steve n.sanr ad iSCS I initiato r iSCS I initiato r fina nce sanrad.bil ling Defaul t all NA iqn.co m.cisco .steve n iqn .1991-05. microso ft:wilb ur.sanr ad accoun ting Figure 63. Creating an Id entity[...]

  • Página 128

    122 SANRAD V-Switch User Manu al Adding Initiators to an Identity If you are working in a V-Switch cluster, each initiator must be added on both V- Switches. After creating an identity, you can begin adding hosts by their iSCSI initiator WWUIs to the identity. Th e identity is a group of iS CSI initiators. It is not enough for an authorized host to[...]

  • Página 129

    Chapter 7: Volu me Exposu re and Security 123 Example The host, steven , is added to the identity accounting acco rding to his iS CSI initi ator wwui, iq n.1991-05.microso ft:steven.sanrad. acl identity add name –id accounting –name iqn. 1991-05. microsoft: steven.sanrad 10179n V-Swi tch1 Cloud IP SAN Tower box Tower box iqn .1991-05. microso f[...]

  • Página 130

    124 SANRAD V-Switch User Manu al If a host has more than one iSCSI initia tor installe d, both ini tiators can be included in the identity. acl identity add name –id accounting –name iqn.com. cisco.steven 10180n V-Swi tch1 Cloud IP SAN Tower box Tower box iqn .1991-05. microso ft:steve n.sanr ad iSCS I initiato r iSCS I initiato r fina nce sanr[...]

  • Página 131

    Chapter 7: Volu me Exposu re and Security 125 Assigning Identity Credentials If you are working in a V-Switch cluster, the identity authentication method(s) must be added on both V- Switches. You can require initiator authentication bef ore allowing access to a target and its underlying volume(s). The V-Switch supports CHAP and S RP authentication [...]

  • Página 132

    126 SANRAD V-Switch User Manu al Example The user name, s teven, with user password, on everyhotdude, is a ssigned CHAP cr edential ve rification in the identity accounting. acl identity add chap –id accounting –us steven –pw oneveryhotdude 10181n V-Swi tch1 Cloud IP SAN Tower box Tower box iqn .1991-05. microso ft:steve n.sanr ad iSCS I init[...]

  • Página 133

    Chapter 7: Volu me Exposu re and Security 127 If a host has more than one iSCSI initia tor installe d, both ini tiators can be included in the identity and given auth entication methods. The user name and pa ssword do not ne ed to be the same for diff erent initia tor s on the same host. acl identity add chap –id accounting –us steven –pw ilo[...]

  • Página 134

    128 SANRAD V-Switch User Manu al After assigning iSCS I initiators and assigning credentia ls to a n identity, use the CLI command acl identity details to view the list o f iSCSI initiators. acl identity details You need to defin e one parameter to view an identity’s details: S WITC H P ARAMETER D EFINITION S TATUS E XAMPLE -id IDENTI TY NAME OF [...]

  • Página 135

    Chapter 7: Volu me Exposu re and Security 129 10261 V-Switch1 Cloud IP SA N Tower box Tower box iSCSI init iator iSCSI init iator finance sanrad.billing Default all NA iqn.1991-05.microsoft:wilbur.sanrad accounting steven oneveryhotdude microsoft:steven cisco.steven Tower box RADIUS Serv er Yes RADIUS Authent icat ion? No CHAP Authent ication iqn.c[...]

  • Página 136

    130 SANRAD V-Switch User Manu al Example: In Figure 69, the V-Switch is conf igured to relay CHAP challeng es to the identity, accounting , from the user, steven, to the RADIUS s erv er. The V- Switch is conf igured to communicate with the RADIUS server thr o ugh port 1812 to IP addres s 212.199.43.2. The V-Switch – RADIUS key is DataTurnsM eOn. [...]

  • Página 137

    Chapter 7: Volu me Exposu re and Security 131 Viewing Configured RADIUS Serv ers Use the CLI command ip radius show to view all configured RADIUS server IP addresses. ip radius show Table 26: Config ured RA DIUS IP Addresses Address Port 212.199.43.2 1812 212.199.56.134 1812[...]

  • Página 138

    132 SANRAD V-Switch User Manu al Connecting an Identity and Target If you are working in a V-Switch cluster, each Identity must be connected to the target(s) on both V- Switches. All CLI names and aliases are case sensitive Once cre ated, an identity must be connected to a ta rget to pr ov ide it with access control. An identity specifies which acc[...]

  • Página 139

    Chapter 7: Volu me Exposu re and Security 133 acl add –ta finance –id accounting –acc rw –pos 1 10184n V-Switc h1 Cloud IP SAN Tower box Tower box iqn. 1 991-05.micros oft:steven.sanrad iSCS I initiator iSCS I initiator Financ e billing .s anrad Default all NA iq n.com.c isco.St even iqn. 1 991-05.micros oft:wilbur.sanrad Acco unting steven[...]

  • Página 140

    134 SANRAD V-Switch User Manu al Exposing an iSCSI Target and LUN The first LUN assigned to an iSCSI target must be LU 0 . A LUN value cannot be larger than 255. All CLI names and aliases are case sensitive. A snapshot volume must be exposed on the same V-Switch as the source volume. To make a volume acces sible to a host, you need to assign a LUN [...]

  • Página 141

    Chapter 7: Volu me Exposu re and Security 135 S WITC H P ARAMETER D EFINITION S TATUS E XAMPLE -device DEVICE AL IAS OF V- S WITCH TO EXPO SE TARGE T ON MANDATOR Y ON A NEW T ARGET VSwitch1 Example 1: The target finance already exist s. The WWUI of finance has alr eady been assigned to the target. Th e volume Vol1 is assigned LU0 and at tached to t[...]

  • Página 142

    136 SANRAD V-Switch User Manu al Example 2: If you are working in a V-Switch cluster, this target and LUN must be configured on both V-Switches. The target musicbox is created. Th e WWUI of musicbox is sanrad.musicbox. The volume Concat1 is automatically assigned LU0 and attached to the target musicbox on VSwitch1 . volume expose -new –vol Concat[...]

  • Página 143

    Chapter 8: Advan ced Volum e Operations 137 8 Adv anced V olume Oper ations IN THIS CHAPTER I NTRODUCTION TO A DVANCED V OLUME C ONFIGURATIONS C OPYING A V OLUME (O FF - LINE C OPY ) S YNCHRONIZING A V OLUME A DDING A C HI LD TO A M IRROR (O N - LINE C OPY ) C REATING A S NAPSHOT B REAKING A M I RROR R ESIZING A V OLUME E XPANDING A V OLUME Once yo[...]

  • Página 144

    138 SANRAD V-Switch User Manual Introduction to Advanced Volume Configurations The V-Switch suppo rts several advanced volume operation s. Som e do the same or similar fun ctions. Each has its own advantages so it i s important to understa nd their d iffere nces to best choose the f unction most a ppropriate for you SAN. Data Replication: Off-line [...]

  • Página 145

    Chapter 8: Advan ced Volum e Operations 139 Copying a Volume (Off-line Copy) Data from any volume type can be replica ted offline using the C LI command volume copy create . Off-line repl ication is faster th an on- line replication but both the source and destina tion volumes mu st be off- line which ca n crea te an inte rruption of service to the[...]

  • Página 146

    140 SANRAD V-Switch User Manual Synchronizing a Volume If one child of a m irrored volume, the source, already co ntains data, the data can be replicated to the secon d child, the destination, us ing the CLI command volume mirror sync . This can be done o n-line while the source volume is still exposed or off-line while both the sourc e and destina[...]

  • Página 147

    Chapter 8: Advan ced Volum e Operations 141 Adding a Child to a Mirror (On-line Copy) If you are working in a V-Switch cluster, the child must be added on both V- Switches. To perform on-line data replica tion, either by increasing the n umber of children in a mirro red volume or creating a mirrored copy o f an y other type of volume, except trans [...]

  • Página 148

    142 SANRAD V-Switch User Manual For more information on attaching volume s to LUNs, “Exposing an iSCSI Target and LUN,” pag e 134. Creating a mirror fro m a single volume creates data redundanc y. Adding an extra child to a mi rror does not create data redundan cy. It increases the existing redundancy. 10190 Con Vol X LU0 LU0 Mir Con Ch 2 LU0 L[...]

  • Página 149

    Chapter 8: Advan ced Volum e Operations 143 Example: In Figure 74, the simple volume, Sim6, is a dded as the third ch ild to mirrored volum e Mir4. volume mirror add –vol Mir4 –ch Sim6 10248 Mir4 Sim6 1T Sim 2 1T Sim4 1T 1T Mir4 Sim6 1T Sim 2 1T Sim4 1T 1T Figure 74. A dding Sim6 to Mir4 Use the CLI command volume mirror show to view the status[...]

  • Página 150

    144 SANRAD V-Switch User Manual Creating a Snapshot You can create a snapshot , a point-in-time copy, of any vo lume at the top of a hierarchy using the CLI command volume create snapshot . A snapshot does not create a full copy of its source vo lume. It is a dynamic and dependent volume tha t stores the original data fr om a sourc e volume when ch[...]

  • Página 151

    Chapter 8: Advan ced Volum e Operations 145 10264 Snapshot 1 QA Testi ng MM AO AS NH AN SS UN PT Snapshot 1 S QA Testi ng MM AO AS NH AN B S UN PT B Figure 76. 1 st Write to Sour ce and Update to 1 st Snapshot The more active the w rite operations are to a source volume, th e more capacity its snapshot s need to have. SANRAD requires a beginn ing s[...]

  • Página 152

    146 SANRAD V-Switch User Manual volume create snapshot You need four para meters to create a snapshot volume : S WITC H P ARAMETER D EFINITION S TATUS E XAMPLE -vol VOLUME SNAPSHOT NAME MANDATORY -src SOURCE SOURCE OF SNAPSHOT MANDATO RY -ch CHILD SNAPSHOT CHILD MANDATORY -lt LOAD T HRESHOLD PERCENTAGE FU LL AT DES TINATION TO TRIG GER AN ALARM OPT[...]

  • Página 153

    Chapter 8: Advan ced Volum e Operations 147 10255 Snapshot 1 QA Testi ng MM AO AS NH AN SS UN PT Snapshot 1 S QA Testi ng MM AO AS NH AN B S UN PT Figure 78. Update to 1 st Snapshot & 1 st Wri te to Source Figure 79, page 148 shows the creatio n of a second snapshot and a second write operation to the source volume. The original data, N, A and [...]

  • Página 154

    148 SANRAD V-Switch User Manual 10256 Snapshot 1 QA Testi ng MM AO AS NH AN SS UN PT QA Testi ng MM E O AS B H AN BS UN B T Snapshot 1 S Snapshot 1 A N S P Snap shot 2 A N P QA Testi ng MM AO AS NH AN B S UN PT Figure 79. 2 nd Snapshot Crea ted, Update to 1 st Snapshot & 2 nd Snapshot and Wr ite to Source Figure 80, page 149, shows the creatio [...]

  • Página 155

    Chapter 8: Advan ced Volum e Operations 149 10257 QA Testi ng MM E A AS B S AN B D UN B S Snapshot 1 QA Testi ng MM AO AS NH AN SS UN PT QA Testi ng MM E O AS B H AN BS UN B T Snapshot 1 S Snapshot 1 AO NH SS PT QA Te sting AO NH S PT QA Testi ng O H S T Snapshot 1 A N S P Snap shot 2 A N P QA Testi ng MM AO AS NH AN B S UN PT Figure 80. 3 rd Snaps[...]

  • Página 156

    150 SANRAD V-Switch User Manual You can vie w all snap shots of a single source volume using the CLI command volume snapshot list . volume snapshot list You need on e parameter to view a volume’s snapshot s: S WITC H P ARAMETER D EFINITION S TATUS E XAMPLE -vol VOLUME SNAPSHOT SOURCE VOLUME MANDATO RY Mirror7 Example: Table 2 8 lists the only sna[...]

  • Página 157

    Chapter 8: Advan ced Volum e Operations 151 1019 1 Mir Ch3 1T Ch1 1T Ch2 1T 1T Mir Vol X 1T Ch1 1T Ch2 1T 1T Able to be exposed as an independe nt volume Figure 81. Removing a Ch ild from a M irror In Figure 82, a child is removed from a mirrored volume with tw o children. This breaks the mi rror. If the mirrored volume is expos ed or a ttached to [...]

  • Página 158

    152 SANRAD V-Switch User Manual volume mirror break You need to defin e two parameters to break a mirror: S WITC H P ARAMETER D EFINITION S TATUS E XAMPLE -vol VOLUME VOLUME MIRROR IS ADDING TO MANDATO RY Mirror5 -ch CHILD CHIL D T O BREAK FROM MI RROR MANDATO RY Simple10 Example: In Figure 83, the simple volume Sim5 is removed from mirrored v olum[...]

  • Página 159

    Chapter 8: Advan ced Volum e Operations 153 Resizing a Volume If you are working in a V-Switch cluster, a volume must be resized on both V Switches. You can increase a virtual vo lume’s p otential capacity using the CLI command volume resize . This is the first s tep in increasing a virtual volume’s actual capacity . Potential capacity is the m[...]

  • Página 160

    154 SANRAD V-Switch User Manual 10252 Mir Ch 2 1T 1T Ch 1 2T Sim3 1T XCh 2 Figure 85. Creating a Cube In Figure 86, Sim2 a nd Sim3 have been concatenated under the cu be to a potential volume o f two terabytes. Mir 1T Ch 1 2T 10253 Sim3 1T Ch 2 1T XCh 2 2T Figure 86. Resized Volume Only one cube is created per res ized simple or snapshot volum e. A[...]

  • Página 161

    Chapter 8: Advan ced Volum e Operations 155 Mir 1T Sim1 2T 10258 Sim3 1T Sim2 1T XSim 2 3T Sim4 1T Figure 87. Further Res izing on the Same Volume If a volume to be res ized is a concatenated volume, a cube is n ot created and any volume type can be us ed except transparent or snapsho t. In Figure 8 8, a concaten ated volume wit h a potential capac[...]

  • Página 162

    156 SANRAD V-Switch User Manual volume resize You need to define three pa ramete rs to resiz e a v olume: S WITC H P ARAMETER D EFINITION S TATUS E XAMPLE -vol VOLUMEE VOLUME T O RESIZE MANDATORY Ch2 -a ALIAS ALIAS OF RESIZED VOLUME OPTIONAL I F NO NAME IS GIVEN , THE PREFIX X IS ADDED TO TH E SOURCE NAME XCh2 -with VOLUME VOLUME T O RESIZE WITH MA[...]

  • Página 163

    Chapter 8: Advan ced Volum e Operations 157 Mir Sim2 1T 1T Sim1 2T Sim3 1T Mir 1T Sim1 2T 10259 Sim3 1T Sim2 1T XSim 2 2T Figure 89. Resizing Mirrored Child Retracting a Volume After resizing a vol ume but before expanding its hierarchy , you can use the CLI command volume retract to delete the added volum e(s) used to resize the original volume. T[...]

  • Página 164

    158 SANRAD V-Switch User Manual Expanding a Volume If you are working in a V-Switch cluster, a volume must be expanded on both V- Switches. You must expand a volume’s actual capacity, its capacity as ide ntified by the file server, to match its resized potential capacity using the CLI command volume expand . If you do not expan d the resized volu[...]

  • Página 165

    Chapter 8: Advan ced Volum e Operations 159 Mir 1T Sim1 2T Sim3 1T Sim2 1T XSim 2 2T Mir5 2T Sim1 2T 10260 Sim3 1T Sim2 1T XSim 2 2T Figure 91. Expanding a Mirrore d Volume volume expand You need to defi ne one pa rameter to expa nd a volume: S WITC H P ARAMETER D EFINITION S TATUS E XAMPLE -vol VOLUME VOLUME T O EXPAND MANDATORY XSim2 Example: In [...]

  • Página 166

    160 SANRAD V-Switch User Manual Mir 1T Sim1 2T Sim3 1T Sim2 1T XSim 2 2T Mir5 2T Sim1 2T 10260 Sim3 1T Sim2 1T XSim 2 2T Figure 92. Expanding XS im2[...]

  • Página 167

    Chapter 8: Advan ced Volum e Operations 161 User Notes[...]

  • Página 168

    Chapter 9: Rou tine Volume Main tenance 161 9 R outine V olume Maintenance IN THIS CHAPTER V OLUMES T ARGETS AND E XPOSURE Once you have begun creating volumes and managing your storage, you may want to adjust or change certain parameters for more effective storage management and utilization. This chapter explains how to rename or remove volumes, L[...]

  • Página 169

    162 SANRAD V-Switch User Manu al Volumes Renaming a Volume If you are working in a V-Switch cluster, the volume must be renamed on both V- Switches. After creating a volume yo u can rename it. Renaming a volum e w ill have no negative effec t on the volume hierarchie s built on the renam ed volume. volume set You need to defin e two parameters to r[...]

  • Página 170

    Chapter 9: Rou tine Volume Main tenance 163 Example: The top-level volume Stripe 1 is removed while the component vo lumes, Simple 2, 4, 8 & 10, remain in tact. volume remove –vol Stripe1 Disk 3 Disk 4 Simp le 2 Disk 1 Simp le 1 Simple 4 Simple 3 Disk 2 Simple 8 Disk 5 Simple 7 Simple 10 Disk 6 Simple 9 Disk 7 Disk 8 10092 Simple 5 Simple 6 S[...]

  • Página 171

    164 SANRAD V-Switch User Manu al Removing all Volumes in a Hierarchy If you are working in a V-Switch cluster, the volume must be removed on both V- Switches. You can r emove a volume and all of its component volumes in a v olume hierarchy. The vo lume must be at the top of th e hierarchy. The volume cannot be exposed; the volume LUN must be inacti[...]

  • Página 172

    Chapter 9: Rou tine Volume Main tenance 165 Disk 3 Disk 4 Simp le 2 Disk 1 Simp le 1 Simple 4 Simple 3 Disk 2 Simple 8 Disk 5 Simple 7 Simple 10 Disk 6 Simple 9 Disk 7 Disk 8 10093 Simple 5 Simple 6 Simple 11 Simple 12 JBOD 1 JBOD 2 Striped Volume 1 Figure 94. Stripe 1 Volume and Supporting Hierar chy Removed Replacing a Volume If you are working i[...]

  • Página 173

    166 SANRAD V-Switch User Manu al Sy nchronizing a Volume You can replace a failed volum e in a mirror. You must th en syn c hronize the new volume to the original mirrored volumes. See the worki ng example: “Repl acing a Mirrored Volu me,” page 256. volume mirror sync You need to defin e two parameters to synchro nize a volume: S WITC H P ARAME[...]

  • Página 174

    Chapter 9: Rou tine Volume Main tenance 167 Targets and Exposure Removing an LU If you remove LU 0 from a target, you will inactivate the target even if the target has other attached LUs. Before you can rem ove a volume, you must remo ve any attached LU . lu remove You need to define two parameters to remove an LU: S WITC H P ARAMETER D EFINITION S[...]

  • Página 175

    168 SANRAD V-Switch User Manu al Removing an iSCSI Target If you are working in a V-Switch cluster, the target must be removed on both V- Switches. You can remo ve an iSCSI target provided it has no attached LU. Use the CLI command lu remove to first remo ve any LUs from a target. iscsi target remove You need to define one par ameter to remove a n [...]

  • Página 176

    Chapter 10: Routine V-Switch Mai ntenance 169 10 R outine V -S witch Maintenance IN THIS CHAPTER G ENERAL C ONFIGURATION P ARAMETERS T ELNET P ORT SNMP M ANAGER I SNS S ERVER U SER P ROFILES V-S WITCH N ETWORK I NTERFACES IP R OUTING D ISKS AND S UBDI SKS C LUSTERS V-S WITCH 3000 P OWER S UPPLY U PGRADING THE V- S WITCH S OFTWARE V-S WITCH 3000 C O[...]

  • Página 177

    170 SANRAD V-Switch User Manu al General Configuration Parameters This command is available only after the V-Switch is initialized with the init command. After the initial V-S witch configuration, you may want to chang e one or more of the V-Sw itch parameters. For example: You may need to change the system clock to adjust to Daylight Savings Time.[...]

  • Página 178

    Chapter 10: Rou tine V-Switch Maintenan ce 171 S WITC H P ARAMETER D EFINITION S TATUS E XAMPLE -rld REPORT LUN DISCO VERY MODE FOR DISCOVERING DEVIC E LUN S OPTIONAL YES OR NO DEFAU LT : YES no -telnet TELNET PO RT PORT FOR V- S WITCH COMMUNICAT IONS OPTIONAL DEFAU LT : 23 1597 -rcom READ COMMU NITY COMMU NITY TO GET INFORM ATION OPTIONAL DEFAU LT[...]

  • Página 179

    172 SANRAD V-Switch User Manu al Table 29: V-Switch Configuration Parameter Value Name VSwitch1 Description SDC HW 1.0 SW 1.0 Contact Anna Levin Location Ext. 4838 Status OK Object ID 1.3.6.1.4.1 10059 1.1.2 Time Since Last Reset 12 days 17 hours 29 min 32 sec Mgmt IP Address 212.199.43.47 Mgmt UDP Port 161 Date & Time [DD/MM/YY] 21/04/04 13:33[...]

  • Página 180

    Chapter 10: Rou tine V-Switch Maintenan ce 173 SNMP Manager Setting an SNMP M anager This command modifies pa rameters of existing managers. snmp manager set S WITC H P ARAMETER D EFINITION S TATUS E XAMPLE -ip IP ADDRESS M ANAGER IP ADDRESS MANDATO RY 212.199.43.96 -p UPD PORT P ORT TO RE CEIVE TRAPS TH ROUGH OPTIONAL DEFAU LT : 162 150 -np NEW PO[...]

  • Página 181

    174 SANRAD V-Switch User Manu al iSNS Server The V-Switch supports In ternet Storage Name Service (iSNS) prot ocol f or advertising its targets and porta ls on the iSNS server to enabl e iSCSI initiators in the IP-SAN to loca te the V-Switch targets automa t ically. A dding an iSNS Server Use the CLI command ip isns add to add an iSCSI s erver to t[...]

  • Página 182

    Chapter 10: Rou tine V-Switch Maintenan ce 175 A dding a User Profile All CLI names and aliases are case sensitive. A total of ten user profiles ca n be configur ed on a V-Switch. Use the CLI command admin add to add a user login profile admin add You must define two parameters to add a user profile: S WITC H P ARAMETER D EFINITION S TATUS E XAMPLE[...]

  • Página 183

    176 SANRAD V-Switch User Manu al V-Switch Resetting a V-Switch You can pe rform a remote sof t reset on the V-Switch u sing the C LI reset command. All configuration databa ses will be maintained on the V-Switch, including user nam es and passwords; network po rt aliases; con f igured volumes and iSCSI ta rgets. reset Saving (Uploading) a V-Switch [...]

  • Página 184

    Chapter 10: Rou tine V-Switch Maintenan ce 177 Downloading a V-Sw itch Configuration File Download the database file to the V-Switch before attaching it to the storage devices. The V-Switch must be reset for the downloaded database to become operational. After replacing a failed V-Switch, you can downloa d the replace d V- Switch database file from[...]

  • Página 185

    178 SANRAD V-Switch User Manu al Changing an Interface A lias All CLI names and aliases are case sensitive. You can c hange the a lias of a V-Switc h interfa ce for user conve nience. Leaving the new alia s field blank will return the alias to its default setting interface set You need to define two parameters to change an interface alias: S WITC H[...]

  • Página 186

    Chapter 10: Rou tine V-Switch Maintenan ce 179 Example: IP address 212.199.43.57 i s added to interface eth 1 for a total of two IP addresses a ssigned to interface eth1 . ip config set –if eth1 –ip 212.199.43.57 10225 212.199.12.67 212.199.12.70 212.199.75.66 212.199.43.46 212.199.43.56 212.199.43.57 Figure 95. A ddin g an Interface IP Address[...]

  • Página 187

    180 SANRAD V-Switch User Manu al IP Routing A dding an IP route If you are working in a V-Switch cluster, the IP route must be added on both V- Switches. You can add an IP ro ute to a network port. ip route add You need to define four par ameters to add a n IP route: S WITC H P ARAMETER D EFINITIO N S TATUS E XAMPLE -dip DESTINATION IP IP OF HOST S[...]

  • Página 188

    Chapter 10: Rou tine V-Switch Maintenan ce 181 -gw GATEWAY IP ADDRESS IP ADDRESS OF THE G ATEWAY ROUTE R MANDATO RY 30.30.20.20 -if INTERFACE ALIAS I NTERFACE ALIAS ROUTING PATH MAPS TO MANDATO RY eth2 Example: The IP route from networ k port Eth2 to exter nal network 10.1 0.2 0.20, with IP mask 255.255.255.0 is removed from Eth2. ip route remove ?[...]

  • Página 189

    182 SANRAD V-Switch User Manu al device set You need to def ine one pa ramete r to cha nge the V- Switch stora ge device discovery mode: S WITC H P ARAMETER D EFINITIO N S TATUS E XAMPLE -rld REPORT LUN DISCO VERY MODE FOR DISCOVERING DEVIC E LUN S MANDATO RY YES OR NO DEFAU LT : YES no See “device set,” pa ge 200, for the full list of switch p[...]

  • Página 190

    Chapter 10: Rou tine V-Switch Maintenan ce 183 Removing a Storage Dev ice If you are working in a V-Switch cluster, the disk must be removed on both V- Switches. You can remo ve a disk from the V-Switch database. Th e disk mus t be defined as missing to remove it. storage remove You need to defin e one parameter to remove a disk: S WITC H P ARAMETE[...]

  • Página 191

    184 SANRAD V-Switch User Manu al S WITC H P ARAMETER D EFINITION S TATUS E XAMPLE -sd SUBDISK AL IAS ALIAS OF SUBDISK TO DEL ETE MANDATO RY Subdisk4 Clusters Modifying Neighbor Parameters You can modify n eighbor parameters in a cluster. neighbor set You need to defin e up to two parameters to modify a neighbo r’s parameters in a cluster: S WITC [...]

  • Página 192

    Chapter 10: Rou tine V-Switch Maintenan ce 185 Modifying a Cluster Both V-Switches in the cluster must be modified. You can mo dify a cluster’s parameters. cluster set You need to defin e three parameters to modify a cluster’s param eters: S WITC H P ARAMETER D EFINITION S TATUS E XAMPLE -kai KEEP ALIVE INTERVAL TIME B ETWEEN ALIVE SIGNALS FROM[...]

  • Página 193

    186 SANRAD V-Switch User Manu al V-Switch 3000 Power Supply The V-Swit ch 3000 is standard-iss ued with two hot-swappable AC power supplies. If one of th e power supplies fail, its red LED on th e back panel turns off. If both of the power supplies fail, the Power LED o n the f ront panel turns of f. STEP 1. D ISCONNECT THE POWER CABLE Disco nnect [...]

  • Página 194

    Chapter 10: Rou tine V-Switch Maintenan ce 187 Upgrading the V-Switch Software The V-Switch must be reset for the new software to begin functioning. You can upgrade the V-Sw itch software via CLI. The software up grade files are first downlo aded from the TFTP server. You can th en use the CLI command ft update to upgrade the V-Switch software. The[...]

  • Página 195

    188 SANRAD V-Switch User Manu al V-Switch 3000 Compact Flash The V-Switch 3000 includes a compact flash for backing up the d atabase to provide re dundancy a nd for b acking up the application be fore up grading the soft ware. The V-Switch 3000 h as two permanent memory devic es: flash and compact flash . The V-Switch can work with only the flash. [...]

  • Página 196

    Chapter 10: Rou tine V-Switch Maintenan ce 189 system copy You need to defin e two parameters to copy a file between th e fl ash an d compact fl ash: S WITC H P ARAMETER D EFINITIO N S TATUS E XAMPLE -from FROM WHERE TO COP Y FROM MANDATO RY FLASH CFLASH cflash -type TYPE TYPE OF FILE T O COPY MANDATO RY DB : DATABA SE AF : APPLICATION FILE CF : CO[...]

  • Página 197

    190 SANRAD V-Switch User Manu al Safe Mode The V-Switch operating status includes the a bility to enter int o saf e mode in the event of booting problems or in an attempt to clear signifi cant amounts of a V-Switch con figuration. There are two ways to en ter safe mode:  Automatically during a reboot.  Manually via CL I. There are four safe m[...]

  • Página 198

    Chapter 10: Rou tine V-Switch Maintenan ce 191 reboots with the last good configuration, all da ta written on t he third child will be lost. The suspicious database is saved and can then be exported to SA NRAD technical support for examination using the CLI command ft export problem after initializing the V-Switch. Please see “Level 4: Level 5: I[...]

  • Página 199

    192 SANRAD V-Switch User Manu al Exporting a Corrupted Database After you reboot th e V-Switch from safe mode level 1 o r 2, you can use the CLI command ft export problem to export the potentially corrupted databa se to SA NRAD technic al support for examina tion. If you re booted in sa fe mode level 1 (last good configuration), the last good datab[...]

  • Página 200

    Chapter 10: Rou tine V-Switch Maintenan ce 193 S WITC H P ARAMETER D EFINITION S TATUS E XAMPLE -sm SAFE MODE SAFE MODE LEVEL MANDATORY 0: NORMAL 1: LAST GOOD CONFIGURATION 2: DEFA ULT DATABA SE 3: DEFA ULT FACTORY SYSTEM 1 Level O: Normal Mode This is the same as res etting the V-Switch. No change is m ade to the V- Switch conf iguration. Level 1:[...]

  • Página 201

    194 SANRAD V-Switch User Manu al User Notes[...]

  • Página 202

    Chapter 11: Com mand L ine Interface 195 11 Command Line Interf ace IN THIS CHAPTER V S WITCH C ONFIGURATION V OLUME C ONFIGURATION V OLUME E XPOSURE The CLI is available via:  Console port with a direct RS232 connection.  1Gbit Ethernet network port (eth1) with a Telnet session.  10/100 Ethernet Management port with a Telnet session. The [...]

  • Página 203

    196 SANRAD V-Switch User Manual The CLI supports the use of the following hot keys for the list ed functions: Table 30: Hot Keys Command Description ? LIST OF COMMANDS WITH A SHORT DESCRIPTION OF EACH ! RETURN TO MAIN ME NU Esc ABORT CURRENT COMM AND # DISPLAY LAST COMMA ND T O VIEW C OMMAND HISTORY Tab COMPLETE A COMMAND TO THE POINT OF AMBIGU ITY[...]

  • Página 204

    Chapter 11: Com mand L ine Interface 197 V Switch Configuration These comma nds enable you to conf igure and view the ba sic V Swi tch parameters needed to operate th e V Switch C OMMAND C OMMAND INIT IP CONFIG REMOVE ADMIN SHOW IP ROUTE ADD ADMIN ADD IP ROUTE SHOW ADMIN REMOVE IP ROUTE REMOVE ADMIN PASSWORD IP ISNS SHOW RESE T IP ISNS ADD INFO IP [...]

  • Página 205

    198 SANRAD V-Switch User Manual init This command initializes t he most basic V Switch par ameters nee ded to begin managing the V Switch operations via the ma nagement port. This command is executed via RS232 connection to a console. This comm and can only be executed once. This co mmand is unavai lable once the basic V Switch parameters are set. [...]

  • Página 206

    Chapter 11: Com mand L ine Interface 199 User Name MI5 CUL8R C6H12O6 admin add This command adds a us er name to the list of valid user login n ames for the V Switch. A user nam e can be from 1 to 20 characters lon g, inc lud ing spaces. A passw ord can be from 6 to 12 characters lo ng, includ ing spaces. admin add S WITC H P ARAMETER D EFINITION S[...]

  • Página 207

    200 SANRAD V-Switch User Manual reset This comm a nd performs a remote soft reset of the V Switch. All configuration data bases will be maintained on the V S witch, inc luding user names and passw ords; network port aliases; co nfigured volumes and iSCSI targets. reset info This command displays the current V Switch c onfiguration, inclu ding whom [...]

  • Página 208

    Chapter 11: Com mand L ine Interface 201 S WITC H P ARAMETER D EFINITION S TATUS E XAMPLE -p UDP PORT PORT THRO UGH WHICH ALL UDP COMMUNICAT IONS WILL FLOW – NAMELY FOR SNM P OPTIONAL DEFAU LT : 161 -d DATE LOC AL DATE OPTIONAL 21/04/2002 -t TIME LOC AL TIME OPTIONAL 13:30 -c CONTACT CONTACT P ERSON IN THE EVENT OF A SYSTEM MALFUNC TION OPTIONAL [...]

  • Página 209

    202 SANRAD V-Switch User Manual fc node show This comman d shows the V Switch World Wide Node Nam e (WWNN). fc node show Name V Switch1 Description SW Version 1.5, build 5,patch 0 Board version 1, PCB version WWNN 20:00:20:10:58:00:10:46 Function Gateway fc set speed This command allo ws you to set the speed of the FC com municatio n. fc set speed [...]

  • Página 210

    Chapter 11: Com mand L ine Interface 203 interface details This command lists the interface deta ils of a specified interfa ce. interface details S WITC H P ARAMETER D EFINITION S TATUS E XAMPLE -if INTERFACE ALIAS ALIAS OF INTERF ACE TO SHOW MANDATO RY eth1 Table 34: Interface Det ails Parameter Details Name: eth1 Alias: eth1 Index: 9 Type: ETHERN[...]

  • Página 211

    204 SANRAD V-Switch User Manual Table 35: Parallel SCSI Dev ice Bus IDs Alias BusID pscsi3 12 pscsi4 7 pscsi set busid This command assigns a bus ID to a parallel SCSI device. pscsi set busid S WITC H P ARAMETER D EFINITION S TATUS E XAMPLE -if INTERFACE ST ORAGE PORT NUMBER / ALIAS MANDATO RY pscsi3 -id ID P SCSI ID NUMBER BETWEEN 0 AND 15 MANDATO[...]

  • Página 212

    Chapter 11: Com mand L ine Interface 205 S WITC H P ARAMETER D EFINITION S TATUS E XAMPLE -wcom WRITE C OMMUNITY CO MMUNITY TO SET INFORMATION OPTIONAL DEFAU LT : PRIVATE -trap TRAP TO S END TRAPS TO MANAGER OPTIONAL Y : SEND N : DO NOT SEND DEFAU LT : Y snmp manager set This command modifies pa rameters of existing managers. snmp manager set S WIT[...]

  • Página 213

    206 SANRAD V-Switch User Manual ip config show This command displays the V S witch IP configurations. ip config show Table 37: V Switch IP Configurations If Name IP Address Net Mask Activity mgmt 212.199.43.46 255.255.255.0 Active eth1 212.199.43.56 255.255.255.0 Active eth1 212.199.43.57 255.255.255.0 Inactive eth2 212.199.75.66 255.255.255.0 Acti[...]

  • Página 214

    Chapter 11: Com mand L ine Interface 207 S WITC H P ARAMETER D EFINITION S TATUS E XAMPLE -ip IP ADDRESS I P ADDRESS TO REMOVE FROM THE NETWORK INTERF ACE PORT MANDATO RY 212.199.43.70 Example ip config remove –ip 212.199.43.70 ip route add This command adds an IP route to a ne twork port. ip route add S WITC H P ARAMETER D EFINITIO N S TATUS E X[...]

  • Página 215

    208 SANRAD V-Switch User Manual ip route remove This command removes a n IP route f rom a ne twork port. ip route remove S WITC H P ARAMETER D EFINITIO N S TATUS E XAMPLE -dip DESTINATION IP IP OF HOST STATION MANDATO RY 10.12.40.40 -dmask DESTINATION MASK IP MASK OF HOST STATION MANDATO RY 255.255.255.0 -gw GATEWAY GATEWA Y TO HO ST STATION IP ADD[...]

  • Página 216

    Chapter 11: Com mand L ine Interface 209 ip isns remove This comm and removes an iSNS server’s IP address fro m the V-Swi tch iS NS client. ip isns remove S WITC H P ARAMETER D EFINITIO N S TATUS E XAMPLE -ip IP ADDRESS I P ADDRESS OF I SNS SERVER MANDATO RY 212.199.43.1 neighbor add This comm a nd adds a neighbo r to a cluster. neighbor add S WI[...]

  • Página 217

    210 SANRAD V-Switch User Manual Table 39: Neighbors in a Cluster Name IP Address UDP SNMP Timeout (msec) SNMP # of Retries VSwitch2 212.199.43.75 161 1500 3 neighbor details This command lists the details of a neighbor in a cluster. neighbor details S WITC H P ARAMETER D EFINITION S TATUS E XAMPLE -nb NEIGHBOR ALIAS OF NEIGHBOR IN CLUSTER MANDATO R[...]

  • Página 218

    Chapter 11: Com mand L ine Interface 211 Last Keep Alive: 1 Dead Int(s): 10 Failover: Enabled State: Running cluster set This command allo ws you to modify a cluster’s param eters. cluster set S WITC H P ARAMETER D EFINITION S TATUS E XAMPLE -kai KEEP ALIVE INTERVAL TIME B ETWEEN ALIVE SIGNALS FROM NEIGHBOR S MANDATO RY IF CHANGING 5 -sint SUSPIC[...]

  • Página 219

    212 SANRAD V-Switch User Manual ft show This command displays the configura tion for file transfe r. ft show Table 42: File Transfer Configuration Host IP: 212.199.43.46 File Name: /usr/VSwitch/images/im1234.run File Type: af Time Out 15 Number of Retries 3 Command download Status Transferring Error ok ft upload software This comm a nd uploads a V [...]

  • Página 220

    Chapter 11: Com mand L ine Interface 213 S WITC H P ARAMETER D EFINITION S TATUS E XAMPLE -ft FILE TYPE FORM AT TO SAVE DATA IN OPTIONAL DB – DATA BA SE db -tmo TIME B EFORE TIMEOU T NUMBER OF SECONDS BEFORE TIMEOU T OPTIONAL 5 –3600 SEC 15 -nor NUMBER OF RETRIE S NUMBER OF RETRIE S TO CONNECT OPTIONAL 0 – 10 3 ft export problem This command [...]

  • Página 221

    214 SANRAD V-Switch User Manual S WITC H P ARAMETER D EFINITIO N S TATUS E XAMPLE -rep REPLIC ATE REPLICAT ION OF THE DA TABASE MANDATO RY YES : REPLIC ATE NO : DO NOT REPLIC ATE yes sy stem copy This comm a nd copies th e database from either the flash or com pa ct flash to either the compact flas h or flash. system copy S WITC H P ARAMETER D EFIN[...]

  • Página 222

    Chapter 11: Com mand L ine Interface 215 Volume Configuration These comma nds enab le you to conf igure and view di sks and volum es via the V Switch. C OMMAND C OMMAND STORAGE DISCOVER Y VOLU ME CREA TE MIRROR STORAGE BLINK ACT IVATE VOLUM E CREATE CONCATENATED STORAGE BLINK AB ORT VOLUME C REATE STRIPE D STORAGE SHOW VOLUM E SET STORAGE DISK SHOW[...]

  • Página 223

    216 SANRAD V-Switch User Manual storage discove ry This command resets the Fiber Channel loop and reregisters all attached storage devices. Thi s command is used after adding or rem oving storage devices from the V Swi tch topography. Because this co mmand res ets the FC loop, it will cause a fa ilure of any I/O operations being ex ecuted when the [...]

  • Página 224

    Chapter 11: Com mand L ine Interface 217 Alias Entity Name LUN Oper. Status Type disk4 0102030405060708 0 Storage is missing entire storage disk show This command shows all stor age disks connected to the V S witch. storage disk show Table 44: Storage Disks Alias Entity Name LUN Oper. Status Subdisk disk1 01:02:03:04:05:06 :07:08 0 Disabled entire [...]

  • Página 225

    218 SANRAD V-Switch User Manual storage details This command shows all stora ge device s attache d to the V Switch . storage details S WITC H P ARAMETER D EFINITION S TATUS E XAMPLE -s STORAGE ALIAS ALIAS OF STORAGE TO VI EW MANDATO RY disk1 Table 46: Storage Details Alias: Disk2JBOD5 Entity Name: 2000002037a9551e LUN(Logical Unit Number) 000000000[...]

  • Página 226

    Chapter 11: Com mand L ine Interface 219 storage remove This comm and removes a storage device from the databas e only if the storage devi ce state is defined as StorageIsMissing . storage remove S WITC H P ARAMETER D EFINITION S TATUS E XAMPLE -s STORAGE ALIAS OF STORAGE TO REMO VE MANDATO RY Stor_1 subdisk create This comman d creates a subdisk a[...]

  • Página 227

    220 SANRAD V-Switch User Manual subdisk show S WITC H P ARAMETER D EFINITION S TATUS E XAMPLE -d DISK ALIA S ALIAS OF D ISK TO SHOW SUBDISKS FROM OPTIONAL USE THIS SWITCH TO LIST ONLY THE DETAILS OF A SPECIFIC DISK Table 47: Details of all Subdisks Disk Subdisk Start Address Length Vol disk1 split1 0 512 yes disk1 split2 512 512 yes disk2 split1 0 [...]

  • Página 228

    Chapter 11: Com mand L ine Interface 221 subdisk alias Table 49: Subdisk Aliases Disk Length Alias Disk3 1024 split1disk3 Disk7 1024 split1disk7 Disk7 1024 split2mirror subdisk set This comm a nd renames a s ubdisk and allows you to edit th e subdi sk information. subdisk set S WITC H P ARAMETER D EFINITION S TATUS E XAMPLE -sd SUBDISK AL IAS ALIAS[...]

  • Página 229

    222 SANRAD V-Switch User Manual Table 50: Volume Details of all Volumes Alias Type Act # of Bl Pot # of Bl Bl Size State Simple1 Simple 17999999 17999999 512 Internal RLU1 Simple 17999999 17999999 512 Exposed Mir1 Mirror 8388608 8388608 512 Exposed RLU3 Simple 16777216 16777216 512 Internal volume details This command shows all de tails of a specif[...]

  • Página 230

    Chapter 11: Com mand L ine Interface 223 Alias Snp3Stripe1 Child vol2 volume alias This command allow s you to view all volume aliases in full. Th e c ommand volume show has a ten-chara cter display limit so volume aliases may be ambiguous in the volume show ta ble. volume alias Table 52: Volume Aliases Volume Type Alias striped MusicBoxTop40 conca[...]

  • Página 231

    224 SANRAD V-Switch User Manual S WITC H P ARAMETER D EFINITION S TATUS E XAMPLE -sd SUBDISK AL IAS ALIAS OF SUBDISK TO US E MANDATO RY IF USING A SUBDISK -d DISK ALIAS OF DISK TO USE MANDATO RY IF USING A DISK volume create transparent This comm and creates a transparent volume ou t of a disk. volume create transparent S WITC H P ARAMETER D EFINIT[...]

  • Página 232

    Chapter 11: Com mand L ine Interface 225 S WITC H P ARAMETER D EFINITION S TATUS E XAMPLE -vol VOLUME ALIAS OF VOL UME TO CRE ATE MANDATO RY Concat1 -nbc NUMBER OF CHILDR EN NUMBER OF VOLUMES TO CONCATENAT E ACROSS OPTIONAL DEFAU LT : 2 2 -ch CHILD AL IAS OF EACH VOLUME TO INCLUDE IN CONCATENAT ED VOLUME MANDATO RY Simple1 -ch CHILD AL IAS OF EACH [...]

  • Página 233

    226 SANRAD V-Switch User Manual S WITC H P ARAMETER D EFINITION S TATUS E XAMPLE -vol VOLUME ALIAS OF VOL UME TO CHANGE MANDATO RY Subdisk7 -na NEW ALIAS NEW ALIAS FOR VOLUME MANDATO RY IF CHANGING ALIAS Simple7 -lt LOAD T HRESHOLD PERCENTAGE FU LL AT DES TINATION TO TRIG GER AN ALARM MANDATO RY IF CHANGING LOAD THRES HOLD 70 volume remov e This co[...]

  • Página 234

    Chapter 11: Com mand L ine Interface 227 volume replace S WITC H P ARAMETER D EFINITION S TATUS E XAMPLE -vol VOLUME VOLUME ON FAIL ED DISK MANDATO RY Simple4 -nvol NEW VOLUME REPL ACEMENT VOLUME MANDATO RY Simple6 volume mirror show This command shows the sta tus of all synchronized mirrored volu mes in the V Switch. volume mirror show Volume Alia[...]

  • Página 235

    228 SANRAD V-Switch User Manual S WITC H P ARAMETER D EFINITION S TATUS E XAMPLE -src SOURCE ALIAS OF SOUR CE VOLUME TO COPY MANDATO RY Mirror2 -dst DESTINATION ALIAS OF VOLUME TO CO PY TO MANDATO RY Mirror8 volume copy create This command creates an of f-line volume copy. volume copy create S WITC H P ARAMETER D EFINITION S TATUS E XAMPLE -src SOU[...]

  • Página 236

    Chapter 11: Com mand L ine Interface 229 volume mirror add This comman d adds an on-line volume copy to a m irror or the hea d of a hierarc hy. volume mirror add S WITC H P ARAMETER D EFINITION S TATUS E XAMPLE -vol VOLUME SOURCE VOLUME TO ADD MIRROR TO MANDATO RY Mirror5 -ch CHILD NEW CHILD TO A DD TO MIRRO R MANDATO RY Simple10 -dst DESTINATION A[...]

  • Página 237

    230 SANRAD V-Switch User Manual S WITC H P ARAMETER D EFINITION S TATUS E XAMPLE -with SIMPLE VOLUME VOLUME T O RESIZE WITH MANDATO RY volume retract This command retracts a volume by deleting all added volumes us e to resize the volum e. This command only wo rks if the resized volu me has not been expanded. The head o f the volume hierarchy is ret[...]

  • Página 238

    Chapter 11: Com mand L ine Interface 231 volume snapshot show This command shows all sour ce volumes and their snapshot volume s. volume snapshot show Source Snapshot Date & Time Utilization Mirror3 Snp1Mir3 11/01/04 8:34:28 60% Mirror2 Snp7Mir2 09/01/04 15:53:07 100% volume snapshot list This comm a nd sho ws all snapshot volum es for a specif[...]

  • Página 239

    232 SANRAD V-Switch User Manual Volume Exposure These comman ds enable you to expose volumes us ing iSCSI protoco l to network hosts a nd control a ccess the exposed volume s. C OMMAND C OMMAND ISCSI PORTAL SHOW AC L IDENTITY A DD NAME ISCSI PORTAL CREAT E ACL IDENT ITY REM OVE NAME ISCSI PORTAL R EMOVE ACL I DENTITY ADD C HAP ISCSI TARGET SHOW ACL[...]

  • Página 240

    Chapter 11: Com mand L ine Interface 233 iscsi portal show This command shows the porta ls define d for iS CSI on the V Switc h with which you ar e communicating. iscsi portal show Table 54: iSCSI Portals Protocol Address Type Address Port 6 IPv4 172.17.200.156 5003 6 IPv4 172.17.200.150 5003 iscsi portal create This command creat es an iS CSI port[...]

  • Página 241

    234 SANRAD V-Switch User Manual Table 55: iSCSI Targ ets Target Alias Target Name # of LU Exposed On: wind wwui 1 VSwitch1 fire wwui 2 VSwitch2 water wwui 1 VSwitch1 Presiden*~ wwui 1 VSwitch2 Presiden*~ wwui 1 VSwitch2 iscsi target create This comm a nd creates an iSCSI target with out creating LU0, atta ching volumes or expos ing the target. Targ[...]

  • Página 242

    Chapter 11: Com mand L ine Interface 235 iscsi target set S WITC H P ARAMETER D EFINITIO N S TATUS E XAMPLE -ta TARGE T ALIAS ALIAS OF TARGET TO REN AME MANDATO RY Pilote -n NEW ALIAS NEW ALIAS FOR TARGE T MANDATO RY Buffy iscsi target remove This comm and removes an iSCSI target. iscsi target remove S WITC H P ARAMETER D EFINITIO N S TATUS E XAMPL[...]

  • Página 243

    236 SANRAD V-Switch User Manual Target Position Identity Access Finance 1 Identity5 read-only Finance 2 Identity2 read-write SQL 0 DEF_ALL not-accessible SQL 1 Identity7 read-write Library 0 DEF_ALL not-accessible Library 1 Identity4 read-only Library 2 Identity7 read-write acl details This command shows the a ccess contr ol for a target. acl detai[...]

  • Página 244

    Chapter 11: Com mand L ine Interface 237 S WITC H P ARAMETER D EFINITIO N S TATUS E XAMPLE -pos POSITIO N ACCESS PRIOR ITY LEVEL OPTIONAL DEFAU LT : 1 1 acl set This command ch a nges the access rights of an existing identity as it is linked with a specific target. acl set S WITC H P ARAMETER D EFINITIO N S TATUS E XAMPLE -ta TARGE T ALIAS ALIAS OF[...]

  • Página 245

    238 SANRAD V-Switch User Manual Alias Definition health_club members library_staff all library employees acl identity details This command lists the details of a specific identity. acl identity details S WITC H P ARAMETER D EFINITIO N S TATUS E XAMPLE -id IDENTI TY NAME OF ACL MANDATORY Library Table 60: Identity Details Description: All library em[...]

  • Página 246

    Chapter 11: Com mand L ine Interface 239 S WITC H P ARAMETER D EFINITIO N S TATUS E XAMPLE -id IDENTI TY NAME OF ACL MANDATORY Med_School acl identity add name This command adds a n iSCSI initiator to an id entity. acl identity add name S WITC H P ARAMETER D EFINITIO N S TATUS E XAMPLE -id IDENTI TY NAME OF ACL MANDATORY Med_School -name INITIATOR [...]

  • Página 247

    240 SANRAD V-Switch User Manual S WITC H P ARAMETER D EFINITION S TATUS E XAMPLE -pw USER PASSWORD HOST PASSWORD MANDATORY WITHOU T RADIU S 12 – 16 PRINTABLE CHARACTER S O PTIONA L WITH RADIU S scalpelblades -radius RADIUS SERVER USE RADIUS SERVER OPTIONAL YES OR NO DEFAU LT : NO no acl identity remove chap This comm a nd removes a CHAP authentic[...]

  • Página 248

    Chapter 11: Com mand L ine Interface 241 S WITC H P ARAMETER D EFINITION S TATUS E XAMPLE -id IDENTI TY NAME OF ACL MANDATORY Med_School -un USER NAM E HOST N AME MANDATORY Robert acl identity set This command allows cha nges to a n identity. acl identity set S WITC H P ARAMETER D EFINITION S TATUS E XAMPLE -id IDENTITY NA M E OF ACL MANDATO RY Med[...]

  • Página 249

    242 SANRAD V-Switch User Manual S WITC H P ARAMETER D EFINITION S TATUS E XAMPLE -ta TARGET TARG ET ALAI S MANDATORY sql -id IDENTITY NA M E OF ACL MANDATO RY Med_School -n JUM P SI ZE NUMBER OF PLACES TO MOVE DOWN OPTIONAL DEFAU LT : 1 2 ip radius show This comm and shows all IP addresses for R ADIUS servers configur e d on the V Switch RADIUS cli[...]

  • Página 250

    Chapter 11: Com mand L ine Interface 243 S WITC H P ARAMETER D EFINITIO N S TATUS E XAMPLE -key KEY SHARED SECR ET BETWEEN V- S WITCH AND RADIU S SERV OPTIONAL Xqjz1m7s9rjb ip radius remove This comm and removes a RADIUS server IP addres s from the V Swit ch RADIUS client. S WITC H P ARAMETER D EFINITIO N S TATUS E XAMPLE -ip IP ADDRESS I P ADDRESS[...]

  • Página 251

    244 SANRAD V-Switch User Manual S WITC H P ARAMETER D EFIN ITION S TATUS E XAMPLE -vol VOLUME ALIAS OF VOLUME TO CRE ATE LU0 AND T ARGET FOR MANDATO RY Stripe1 -ta TARGE T ALIAS ALIAS OF NEW TARGET TO CR EATE MANDATO RY music.sanrad -lun L OGICAL U NIT N UMBER NUMBER TO ASSIGN TO VO LUME FO R EXPOSURE MANDATO RY 0 -p PROTOCOL EXPOSING PROTOCOL OPTI[...]

  • Página 252

    Chapter 11: Com mand L ine Interface 245 lu details S WITC H P ARAMETER D EFINITION S TATUS E XAMPLE -ta TARGE T AL IAS OF TAR GET OF LUN MANDATO RY Spirou -lun LOGICAL UNI T NUMBER LUN TO SHOW MA NDATORY 1 Example: lu details –ta Spirou –lun 1 Table 63: LUN Details Target Alias Spirou Target Type iSCSI LUN 1 Volume Mir1 Status active Virtual L[...]

  • Página 253

    246 SANRAD V-Switch User Manual User Notes[...]

  • Página 254

    Sam ple Configura tions 247 r A Sample Conf igurations IN THIS CHAPTER S AMPLE I NTRODUCTION I NSTALLING AND U SING THE V-S WITCH 3000 R EPLACING A M IRRORED V OLUME R EPLICATING D ATA O FF - LINE C ONFIGURING THE V- S WITCH WITH A S INGLE IP R OUTING P ATH C ONFIGURING A C LUSTER This chapter details working examples of how to install, config ure [...]

  • Página 255

    248 SANRAD V-Switch User Manual Sample Introduction This chapter provides workin g examples of standard procedures a nd configurations you will use in owning and opera ting your V-Swit ch. Each example uses on e basic storage network consis ting of:  One JBOD applian ce with four disks of equ al capacity (the actua l capacity is not important) c[...]

  • Página 256

    Sam ple Configura tions 249 Installing and Using the V-Switch 3000 You h ave just purchased a V-Sw itch 3000 and want t o begin manag ing your company’s small but growing storage network. So far you have:  One JBOD applian ce with four disks of equ al capacity (the actua l capacity is not important) connected to the 3000.  One PC act ing as[...]

  • Página 257

    250 SANRAD V-Switch User Manual 10232 Clie nt s Disk 1 Disk 2 Disk 4 Disk 3 V Sw itch Mana ger and Host St ation RS232 Connec tion Fibre Ch annel Conne ction W indows 2000 Micros oft Initiator 1 2 1 Gbit E thernet, RJ45 Cop per Conn ection 3 JBOD 1 Figure 98. System Overview STEP 2. P OWER UP STORAGE DEVICE Power up the JBOD applian ce first to all[...]

  • Página 258

    Sam ple Configura tions 251 Open your ter minal emulation program and set th e system paramet ers as follows: Table 64: Console Configuration Pa rameters P ARAMETER S YSTEM R EQUIREMEN T C ONFIG S ER IAL P ORT C OM B ITS P ER SECOND 115200 D ATA B ITS 8 P ARITY NONE S TOP B ITS 1 F LOW C ONTROL NONE STEP 5. L OGIN TO THE MANAGEMENT PORT From the o [...]

  • Página 259

    252 SANRAD V-Switch User Manual STEP 7. C ONFIGURE I SCSI PORTAL The port number you set in the CLI must coincide with the port number you set in your iSCSI initiator configuration. Use the CLI c omman d iscsi portal create to con figure the iSCS I portal on network po rt Eth 1 fo r iSCSI c ommuni cations between t he V-Switch and the host station.[...]

  • Página 260

    Sam ple Configura tions 253 volume create mirror –vol Mirror1 –nbc 2 –ch Simple1 –ch Simple2 Use the CLI c omman d volume create mirror to create a mirrored volume, Mirror2, from s imple volumes Simp le3 and Simple4. volume create mirror –vol Mirror2 –nbc 2 –ch Simple3 –ch Simple4 STEP 11. C REATE S TRIPED VOLU ME (RAID 0) Use the C[...]

  • Página 261

    254 SANRAD V-Switch User Manual Figure 100. M icrosoft iSCSI Initiato r Click Add from the Target Portals tab. Th e Add Target Portal dialog box opens . Figure 101. Po rtal Configuratio n Enter the IP address of Eth1, 172.17.200.174 and select the s oc ket for the IP address. Click OK . The M icrosof t initiator auto matically disco vers all availa[...]

  • Página 262

    Sam ple Configura tions 255 Figure 102. A vailable T arget STEP 14. B EGIN USING V OLUME The new disk should be configured as a basic disk only. You can a ccess Windows’ Disk Manage ment applicat ion by right cl icking on My Computer an d selecting Manage . Select Disk Management from the Compu ter Managemen t win dow. Figure 103. Disk M anagemen[...]

  • Página 263

    256 SANRAD V-Switch User Manual Replacing a Mirrored Volume After configuring the above s etup, you notice that Disk 4 in yo ur JBOD has gone offline. Simulate th is by removing a physical disk from t he JBOD cas e. You must replace the disk with a new one an d reconstruct the vo lume hierarchy built with th e simple volume on Di sk 4. Your mirrore[...]

  • Página 264

    Sam ple Configura tions 257 10233 Clie nt s Disk 1 Disk 2 Disk 4 V Switch Mana ger and Host St ation RS232 Connec tion Fibre Ch annel Conne ction W indows 2000 Micros oft Initiator 1 2 1 Gbit E thernet, RJ45 Cop per Conn ection 3 Disk 3 Disk 5 JBOD 1 Figure 104. Replacing a Failed Disk STEP 1. S ELECT A R EPLACEMENT DISK Insert a replac ement blade[...]

  • Página 265

    258 SANRAD V-Switch User Manual STEP 2. C HECK ST ORAGE DEVICES Use the CLI c omman d storage show to view the n ew disk’s alias. Yo u will need this alias t o create a replac ement simple vo lume. No te th at th e failed disk still appears in the t able of storage disks. Table 67: Storage Dev ices Alias Entity Name LUN Oper. Status Subdisk Stor_[...]

  • Página 266

    Sam ple Configura tions 259 STEP 6. S YNCHRONIZE MI RROR Use the CLI c omman d volume mirror synch to sy nchronize the new volume data wi th its intact mir rored volu me, Simple3. Once you exec ute this command, the new mirrored volume will be fully functional. volume mirror synch –src Simple3 –dst Simple5 The sy nchronization is finished when [...]

  • Página 267

    260 SANRAD V-Switch User Manual Replicating Data Off-line You have a four-dis k legacy JBOD. You want to upgrade to a new JBOD and nee d to replic ate the contained data f rom the old device to the new device as expediently as poss ible. None of the disks are virtu alized or exposed. You m ust virtualize all of the physical disks to sim p le volume[...]

  • Página 268

    Sam ple Configura tions 261 STEP 1. A TTACH AND VI EW STORAGE DEVI CES Attach the legac y JBOD to the V-S witch and c onfigure th e storag e po rt comm unicatio ns as needed. See “C onfigu ring the Sto rage Ports,” page 57. Use the CLI c omman d storage show to view the attac hed storage. Table 69: Legacy JBOD Disks Alias Entity Name LUN Oper. [...]

  • Página 269

    262 SANRAD V-Switch User Manual STEP 3. REPLICAT E DATA Use the CLI c omman d volume copy create to begin replicating th e data. The legacy vo lume is the so urce volu me. The n ew volum e is the destination volume. volume copy create –src OS1 –dst NS1 volume copy create –src OS2 –dst NS2 volume copy create –src OS3 –dst NS3 volume copy[...]

  • Página 270

    Sam ple Configura tions 263 Configuring the V-Switch with a Single IP Routing Path You have just pur chased a V-Switch to manage your company’s sto rage network. A section of your company’s employees is located in y our loca l branch off ices and a section is stationed in your oversea s offi ces. You need to configure volume ac cess for both th[...]

  • Página 271

    264 SANRAD V-Switch User Manual 10234 Disk 1 Disk 2 Disk 4 Disk 3 1 2 Netw ork B 212.199.43.70 Init iat or Ta rget: 212.199.43.56 Eth 1: 100.100.100.2 Eth 2: 212.199.43.56 1 Gbit Ethernet, RJ45 Copper Connections R 10.10.0.0 3 Wi ndows 2000 V Swi tch Management Stati on Microsoft Initia tor Fibre Channel Connection Tow er bo x Tower box Host 1 IP a[...]

  • Página 272

    Sam ple Configura tions 265 STEP 1. ATTACH CABLES Attach an HSSDC- DB9 fibre channel cable from your JBOD applianc e to o ne of the storage po rts on the bac k panel of the V -Switch . See #1 in Figure 106, page 264. Depend ing on your a ppliance, you need to p lug a terminator into one of the JBOD ports. Attach an RJ45 co pper 1 Gbit Ethernet cabl[...]

  • Página 273

    266 SANRAD V-Switch User Manual  Press Enter to en ter the IP mask and retu rn to the main V -Switc h Status sc reen. V-Switch 3000 Status: OK STEP 5. L OGIN TO THE MANAGEMENT PORT From you r management term inal, open a Telnet session with the m anagement port.  From the W indows Star t menu, selec t Run.  In the Open window, e nter: teln[...]

  • Página 274

    Sam ple Configura tions 267 Use the CLI c omman d ip route add to create an IP routing path to the external host n etwork IP address f rom netw ork port Eth 2 . This will allo w communications b etween the local V-Switch and Network B’s hos t stations. ip route add –dip 10.10.0.0 –dmask 255.255.255.0 –gw 212.199.43.70 –if eth2 STEP 9. C H[...]

  • Página 275

    268 SANRAD V-Switch User Manual Use the CLI c omman d volume create striped to create a striped volume, Stripe1 . volume create striped –vol Stripe1 –nbc 2 –sus 64 –ch Mirror1 –ch Mirror2 STEP 13. C REATE I SCSI TARGET AND LUN After creating the final virtua l volume configuration that you want to expo se to the netwo rk hosts, yo u need [...]

  • Página 276

    Sam ple Configura tions 269 Figure 109. Po rtal Configuratio n Enter the IP address of Eth1, 172.17.200.174 and select the s oc ket for the IP address. Click OK . The M icrosof t initiator auto matically disco vers all availabl e targets fo r this p ortal (IP + TCP). Toggle to th e Availab le Targets tab to view all available targets. Figure 110. A[...]

  • Página 277

    270 SANRAD V-Switch User Manual STEP 15. B EGIN USING V OLUME The new disk should be configured as a basic disk only. You can a ccess Windows’ Disk Manage ment applicat ion by right cl icking on My Computer an d selecting Manage . Select Disk Management from the Compu ter Managemen t win dow. Figure 111. Disk M anagement Window[...]

  • Página 278

    Sam ple Configura tions 271 Configuring a Cluster You have just pur chased two V-Switches a nd are ready to configu re your host/s torage network. Your com pany has one LAN for storage acc ess and V-Switch ma nagement connec tions. Your m anagement s tation IP address is 212.199.43.40. You have one FC JB OD that conta ins four d isks. Because you h[...]

  • Página 279

    272 SANRAD V-Switch User Manual 1 Eth 1: 212.1 99.43.4 1 Eth 1: 212.1 99.43.5 6 10235 V Switch 1 V Switch 2 Fib re Chan nel Conn ection Eth 1: 212.1 99.43.42 2 Cloud IP a ddre ss: 212. 199.43. 40 Eth 1: 212.1 99.43.75 Disk 1 Disk 2 Disk 4 Disk 3 22 1 Initiator T arget: 212.1 99.43 .56 Ether ne t LAN B Init iator T arget s: 212. 199.4 3.75 212. 199.[...]

  • Página 280

    Sam ple Configura tions 273 STEP 3. POWER UP V-S WITCHES Connec t the power c ord to V-S witch 1 and then to the elec tric s ocket. The V- Switch powers up. The fa n assembly is running a nd the LCD p ane l displays: V-Switch 3000 Status: OK Connec t the power c ord to V-S witch 2 and then to the elec tric s ocket. The V- Switch powers up. The fa n[...]

  • Página 281

    274 SANRAD V-Switch User Manual STEP 5. I NITIAL IZE V-S WITCH 2 Use the LCD displa y and control buttons on V-Switch 2 to config ur e the V- Switch management po rt IP address and mask.  Toggle to the IP Co nfigure ET H1 Por t screen.  Press Enter . The IP Confi guration screen appears. IP CONFIG  Press Enter again . The IP Conf ig ETH1 P[...]

  • Página 282

    Sam ple Configura tions 275 Figure 113. V-Switch 3000 Login Screen  Enter the default use r name, sanrad , and passw ord, sanrad , and press Enter on your keyboard. Th e CLI prompt > appears. Yo u are now logge d in and re ady to b egin configuring your V-Switch for volume virtualization and exposure. STEP 7. NAME V-S WITCH 1 Use the CLI c om[...]

  • Página 283

    276 SANRAD V-Switch User Manual keyboard. T he CLI prompt > appears. Yo u are now logged in and ready to begin co nfiguri ng your V-S witch f or volum e virtualizat ion and exposure. STEP 9. NAME V-S WITCH 2 Use the CLI c omman d init to name V-S witch 2 . You will n eed this name later for expos ing volumes. init –n VSwitch2 STEP 10. C REATE [...]

  • Página 284

    Sam ple Configura tions 277 Use the CLI c ommand again t o con figure the iS CSI port al for the inac tive IP address on Eth 2 to allow iSCS I comm unication s via this IP on V Switch1 in the event of V Switch 2 failover. iscsi portal create –ip 212.199.43.75 –p 5003 STEP 13. C ONFIGURE V-S WITCH 2 N ETWORK PO RT E TH 1 IP ADD RESSES Use the CL[...]

  • Página 285

    278 SANRAD V-Switch User Manual storage show Table 73: Storage Disks as seen through V-Sw itch 1 Alias Entity Name LUN Oper. Status Subdisk Stor_1 2000002037f88fb8 0 Enabled entire Stor_2 500507606058c90 0 Enabled entire Stor_3 2000002037c32b1f 0 Enabled entire Use the unique disk entity names (WWUIs) and NOT the default disk aliases to duplicate v[...]

  • Página 286

    Sam ple Configura tions 279 volume create mirror –vol Mirror1 –nbc 2 –ch Simple1 –ch Simple2 Use the CLI c omman d volume create mirror to create a mirrored volume, Mirror2, from s imple volumes Simp le3 and Simple4. volume create mirror –vol Mirror2 –nbc 2 –ch Simple3 –ch Simple4 STEP 18. C REATE I SCSI TARGET AND LUN After creatin[...]

  • Página 287

    280 SANRAD V-Switch User Manual STEP 21. C REATE I SCSI TARGET AND LUN After creatin g the final virtual volu me that you w ant to expose to the network host, you need to create an iSCS I target for th e volumes as well as a ttac h LUN0 to each target volume. Use the CLI co mmand volume expose -new to create eac h iSCSI target a nd attach LUN0 to e[...]

  • Página 288

    Sam ple Configura tions 281 Figure 116. Po rtal Configuratio n Enter the IP address of Eth1, 212.199.43.56 and select the s ock et fo r the IP address. Click OK . The M icrosof t initiator auto matically disco vers all availabl e targets fo r this p ortal (IP + TCP). Toggle to th e Availab le Targets tab to view all available targets fo r the confi[...]

  • Página 289

    282 SANRAD V-Switch User Manual STEP 23. C ONFIGURE HOST STATION 2 INITIATO R Open the Mic rosoft iS CSI initiator program on host station 2 . Figure 118. M icrosoft iSCSI Initiato r Click Add from the Target Portals tab. Th e Add Target Portal dialog box opens . Figure 119. Po rtal Configuratio n Enter the IP address of Eth1, 212.199.43.56 and sel[...]

  • Página 290

    Sam ple Configura tions 283 Figure 120. A vailable T arget[...]

  • Página 291

    284 SANRAD V-Switch User Manual Because ho st 2 has acc ess to two targets, you need to add th e s ec ond initiator to access the target, s anrad.musicbox. Figure 121. 2 nd Microsoft iSCSI Initiator Configuration for Host Station 2 Toggle to th e Availab le Targets tab to view all available targets fo r the host 2 initiator. Figure 122. All A v ail[...]

  • Página 292

    Index 285 I Index 1 10/1 00 ...............................19 A AC power supplies .............. 186 ACL add ........................................ 236 details .................................... 236 down ...................................... 241 identi ty add chap ..................... 239 identi ty add name .................... 239 identi ty [...]

  • Página 293

    286 SANRAD V-Switch User Manual Break mirror ............................. 150, 229 Bridging switch .................... 16 Bus ID ........................ 57, 204 C Capacity actual ............................. 153, 158 potential ......................... 153, 158 Change password ................................ 175 user profi le .................[...]

  • Página 294

    Index 287 volume ................................... 222 Device set .......... 46, 52, 75, 170, 182, 200 set Telnet ................... 54, 171, 201 Disable cluster fail over ............ 79, 185, 211 Discover storage ................................... 216 Discover LUNs ........... 181, 201 Disk alias ....................................... 217 de[...]

  • Página 295

    288 SANRAD V-Switch User Manual Initiate V-Switch ................................. 251 Interface details .................................... 203 set ................................. 178, 203 show ................................ 57, 202 show fc ................................... 201 Internet St orage Name Service ...............................[...]

  • Página 296

    Index 289 MIB .................................... 20 Mirror add ........................................ 229 add volume ............................. 142 break ............................. 150, 229 dummy synchonize volume 166, 227 synchoni ze volume ................... 227 volume ................................... 224 volume show ...............[...]

  • Página 297

    290 SANRAD V-Switch User Manual all vol umes.............................. 164 disk ................................ 183, 219 IP confi g ...................................62 IP confi guration ............... 179, 206 IP route ..................... 69, 180, 208 iSCSI portal ............................. 233 iSCSI target .................... 168, 23[...]

  • Página 298

    Index 291 SLP ....................................6 3 Snapshot .......................... 144 show ...................................... 149 SNMP ................................. 20 manager add ..................... 54, 204 manager remove ............. 173, 205 manager set .................... 173, 205 manager show ......................... 204 S[...]

  • Página 299

    292 SANRAD V-Switch User Manual break mirror ............................ 229 concatenated ..................... 95, 224 copy creat e ............................. 262 create .......................................88 create acti vate snapshot ........... 146 create sim ple ................... 258, 261 details .................................... 22[...]

  • Página 300

    Index 293[...]