Go to page of
A good user manual
The rules should oblige the seller to give the purchaser an operating instrucion of SANRAD I3.1.1205, along with an item. The lack of an instruction or false information given to customer shall constitute grounds to apply for a complaint because of nonconformity of goods with the contract. In accordance with the law, a customer can receive an instruction in non-paper form; lately graphic and electronic forms of the manuals, as well as instructional videos have been majorly used. A necessary precondition for this is the unmistakable, legible character of an instruction.
What is an instruction?
The term originates from the Latin word „instructio”, which means organizing. Therefore, in an instruction of SANRAD I3.1.1205 one could find a process description. An instruction's purpose is to teach, to ease the start-up and an item's use or performance of certain activities. An instruction is a compilation of information about an item/a service, it is a clue.
Unfortunately, only a few customers devote their time to read an instruction of SANRAD I3.1.1205. A good user manual introduces us to a number of additional functionalities of the purchased item, and also helps us to avoid the formation of most of the defects.
What should a perfect user manual contain?
First and foremost, an user manual of SANRAD I3.1.1205 should contain:
- informations concerning technical data of SANRAD I3.1.1205
- name of the manufacturer and a year of construction of the SANRAD I3.1.1205 item
- rules of operation, control and maintenance of the SANRAD I3.1.1205 item
- safety signs and mark certificates which confirm compatibility with appropriate standards
Why don't we read the manuals?
Usually it results from the lack of time and certainty about functionalities of purchased items. Unfortunately, networking and start-up of SANRAD I3.1.1205 alone are not enough. An instruction contains a number of clues concerning respective functionalities, safety rules, maintenance methods (what means should be used), eventual defects of SANRAD I3.1.1205, and methods of problem resolution. Eventually, when one still can't find the answer to his problems, he will be directed to the SANRAD service. Lately animated manuals and instructional videos are quite popular among customers. These kinds of user manuals are effective; they assure that a customer will familiarize himself with the whole material, and won't skip complicated, technical information of SANRAD I3.1.1205.
Why one should read the manuals?
It is mostly in the manuals where we will find the details concerning construction and possibility of the SANRAD I3.1.1205 item, and its use of respective accessory, as well as information concerning all the functions and facilities.
After a successful purchase of an item one should find a moment and get to know with every part of an instruction. Currently the manuals are carefully prearranged and translated, so they could be fully understood by its users. The manuals will serve as an informational aid.
Table of contents for the manual
-
Page 1
[...]
-
Page 2
SPCLI3.1.1205 SANRAD V-Swit ch CLI User Manual Notice This manual cont ains inform ation that is p roprietary to SANRAD. No part of this publication may be reproduced in any form whatsoev er without prior written approval by SANRAD. Right, title and interest, all informatio n, copyrights, patents, know-how, trade secrets and other intellectual prop[...]
-
Page 3
SANRAD V-Switch CLI User Manual Limited Warranty SANRAD warrants to the CUSTOMER that the hardware in the V-Switch to be delivered hereunder sh all be free of defects in m aterial and workmanship under norm al use and service for a period of twelve (12) months following the date of shipment to the CUSTO MER. If, during the warr anty period, an y co[...]
-
Page 4
SPCLI3.1.1205 SANRAD V-Swit ch CLI User Manual liable for any indirect, incidental, co nsequential, specia l, or exemplary damages or lost profits, even if SANR AD has been advised of the possibility of such damages. This Agreement shall be construed and governed in accordance w ith the laws of the State of Israel. Regulatory Information FCC-15 Use[...]
-
Page 5
SANRAD V-Switch CLI User Manual Safety Notices Read and un derstand the following notices before instal ling the V-Sw itch. The power plug must be accessible at all ti mes because it serves as the main disconnecting vehicle. Unplug the V-S witch power cord before per forming maintenance proce dures. The V-Switch contains two power supply uni ts. To[...]
-
Page 6
SPCLI3.1.1205 SANRAD V-Swit ch CLI User Manual[...]
-
Page 7
Table of Contents i T T able of Contents CHAPTER 1: V-Swit ch ............................................................................. 1-1 V-Switch Overview............................................................................................................. 1 -2 Order of Operations.......................................................[...]
-
Page 8
ii SANRAD V-Switch CLI User Manual CHAPTER 3: Installing the V- Switch 300 0 ............................................. 3-1 Chassis ........................................................................................................................ ....... 3-2 Front Panel ......................................................................[...]
-
Page 9
Table of Contents iii iscsi discovery rportal set .................................................................................................... ..................................... 4-21 iscsi discovery rportal discover ............................................................................................... ...........................[...]
-
Page 10
iv SANRAD V-Switch CLI User Manual Creating an iSCSI Target................................................................................................. 7-10 Viewing iSCSI Targets ............................................................................................................................................. 7-13 Viewing iSCSI Targe[...]
-
Page 11
Table of Contents v Changing iSCSI Target Parameters ............................................................................................... ........................... 9-6 Removing an iSCSI Target ....................................................................................................... .................................9-7 Rem[...]
-
Page 12
vi SANRAD V-Switch CLI User Manual CHAPTER 11: Command Line In terface ............................................... 11-1 V Switch Configuration ................................................................................................... 11-2 admin show .......................................................................................[...]
-
Page 13
Table of Contents vii system set ..................................................................................................................... ......................................... 11-21 system copy .................................................................................................................... ......................[...]
-
Page 14
viii SANRAD V-Switch CLI User Manual Volume Exposure .......................................................................................................... 11-42 iscsi portal show .............................................................................................................. ....................................... 11-43 iscsi por[...]
-
Page 15
Table of Contents ix lu details ..................................................................................................................... ............................................ 11-66 lu remove ...........................................................................................................................................[...]
-
Page 16
x SANRAD V-Switch CLI User Manual CHAPTER 13: Sample Config urations ..................................................... A-1 Sample Introduction .......................................................................................................... A- 2 Installing and Using the V-Switch 3000 ....................................................[...]
-
Page 17
Table of Contents xi Figure 5-2. Re-routing Storage Access wi th Off-line V- Switch ...................................................... 5-4 Figure 5-3. Cluster with Neighbor IP Addresses ............................................................................ 5-7 Figure 6-1. Physical Storage used in Exampl es ................................[...]
-
Page 18
xii SANRAD V-Switch CLI User Manual Figure 8-12. Removing Sim5 from Mir1 ....................................................................................... 8-19 Figure 8-13. Asymetrical Mirrored Volu me .................................................................................. 8-20 Figure 8-14. Creating a Cube..........................[...]
-
Page 19
Table of Contents xiii List of T ables Table 1-1: Manual Chapter Or ganizati on ....................................................................................... 1-4 Table 1-2: CLI Comman d ............................................................................................................... 1-5 Table 1-3: Hot Keys ..................[...]
-
Page 20
xiv SANRAD V-Switch CLI User Manual Table 11-15: Storage Di sks ........................................................................................................ 11-25 Table 11-16: Storage Alia ses ..................................................................................................... 11-25 Table 11-17: Storage Deta ils .......[...]
-
Page 21
Table of Contents xv Table 12-8: UDP Statis tics............................................................................................................ 12-7 Table 12-9: iSCSI Sessi ons .......................................................................................................... 12-7 Table 12-10: Basic iSCSI Sessi on Details ......[...]
-
Page 22
xvi SANRAD V-Switch CLI User Manual[...]
-
Page 23
Chapter 1: V-Switch 1-1 1 V- S w i t c h IN THIS CHAPTER The V-Switch is a storage virtualization and management solution that allows you to pool physical storage resources and re-partition the total storage capacity into virtual volumes that best meet your storage needs. The V-Switch is a high performance appliance that operates in the data-path o[...]
-
Page 24
1-2 SANRAD V-Switch CLI User Manual V-Switch Overview The V-Switch provides prot ocol bridging, routing, s witching and volume management in a single platform. Figure 1-1, de tails a st andard V-Swit ch network topology. Two V-Switches sit in the center of the networ k, providing load b alancing and failove r ability. Above the V-Switches are IP cl[...]
-
Page 25
Chapter 1: V-Switch 1-3 10236 Tower box Tower box Tower box Host V-Sw itch 1 V-Switch 2 Host Host Clients Management Termina l Cloud IP Cloud Cloud IP Cloud Clients RAID JBOD Management Terminal Tower box Host Cloud FC Cloud SCSI Connection SCSI Connection RAID RAID RAID Figure 1-1. V-Switch Network Topology Order of Operations Whether being used a[...]
-
Page 26
1-4 SANRAD V-Switch CLI User Manual Manual Organization This manual is designe d to guide you step-by-step th rough V-Switch installation, config uration, virtuali zation, maintenance and troubleshooting. The chapters are set up as follows: Table 1-1: Manual Chapter Organization Chapter Title Description Chapter 2 “Installing the V-Switch 2000”[...]
-
Page 27
Chapter 1: V-Switch 1-5 CLI - Command Line Interface The Command Line Interface (CLI) is used to implement all V-Swit ch management functions, includ ing switching, virtualization and sec urity. The CLI is avai lable via: Console port via an RS232 connection. 10/100 Ether net Management port via a Telnet se ssion (V-Switch 3000 onl y). [...]
-
Page 28
1-6 SANRAD V-Switch CLI User Manual The CLI supports the use of the followin g hot keys for the listed fun ctions: Table 1-3: Hot Keys Command Description ? LIST OF C OMMANDS WIT H A SHORT DE SCRIPTION OF EACH ! RETURN TO MAIN MENU Esc ABORT CURRENT COMMAND # DISPLAY LAST COMMAND TO VIEW COMMAND HISTORY Tab COMPLETE A COMMAND TO THE POINT OF AMBIGU[...]
-
Page 29
Chapter 2: Installing the V-Switch 2000 2-1 2 Installing the V - S witch 2000 IN THIS CHAPTER Chassis Surface Mounting Rack Mounting Storage Port Connections Network Port Connections Console Port Connection Powering Up The V-Switch 2000 is a 1U high performance stor age networking appliance that can be surface or rack mounted. After mounting the V-[...]
-
Page 30
2-2 SANRAD V-Switch CLI User Manual Chassis The V-Switch 2000 is a 1 U surface or rack-mountable storage network appliance. Its front panel includes th e console port, network ports, storage ports, system indicator LEDs an d reset bu tton. Its back pane l includes the fans and power supply. Front Panel 1. RS232 console port 2. Two 1 Gb copper Ether[...]
-
Page 31
Chapter 2: Installing the V-Switch 2000 2-3 10209 1 2 3 4 Figure 2-2. V-Sw itch 2000 Front Pan el – FC Back Panel 5. Fans 6. Power supply 10214 5 6 Figure 2-3. V-Sw itch 2000 Back Pan el[...]
-
Page 32
2-4 SANRAD V-Switch CLI User Manual System Indicat or LEDs Table 2-1 lists the V-Switch 2000 indica tor LEDs as shown in Figure 2-4. Table 2-1: V-Switch 2000 LEDs No LED Status Indication Color 1 ACT N ETWORK PORT IS ACTIVE G REEN SLOW BLINK : ACTIVE FAST BLINK : PORT TRAFFIC 2 1G B N ETWORK PORT IS OPERATING AT 1 G B G REEN 3 SCSI/FC S TORAGE PORT[...]
-
Page 33
Chapter 2: Installing the V-Switch 2000 2-5 10210 1 2 1 2 5 4 3 3 Figure 2-5. V-Sw itch 2000 LEDs – FC Surface Mounting The V-Switch 2000 chassis is manufactur ed with four chassis feet. The V-Switch 2000 is read y to be mounted on any secure flat surface. If yo u plan to rack mount the V-Switch 2000, continue with “Rack Mounting.” Rack Mount[...]
-
Page 34
2-6 SANRAD V-Switch CLI User Manual STEP 1. P LACE THE V-S WITCH 2000 RIGHT SIDE UP ON A SECU RE FLAT SURFACE NEAR THE RACK STEP 2. A TTACH THE LEFT FRO NT L- BRACKET The left front L-bracket is the wide L-bracket with two round openings for air intake. Attach it with four of the included sc rews. The bracket sits directly against the V Switch. STE[...]
-
Page 35
Chapter 2: Installing the V-Switch 2000 2-7 Storage Port Connections Connect the SAN storag e devices or fabric t o the V-Switch 2 000 using the FC/SCSI storage ports. The storage ports are located on the front right of the V-Switch 2000. The type of storage ports on your V-Switch 2000 wil l vary depending on your V-Switch 2000 order specifications[...]
-
Page 36
2-8 SANRAD V-Switch CLI User Manual The V-Switch 2000 supports two stor ag e ports in any combinations of the following: Table 2-2: SCSI Storage Port Connection Ty pe SCSI C ONNECTOR L ENGTH SCSI U LTRA 3 LVD 160MB/ SEC 68 PIN PORT U P TO 12 M 10211 FC Storage Ports Figure 2-7. V-Sw itch 2000 FC Stora ge Ports Table 2-3: FC Storage Port Connection [...]
-
Page 37
Chapter 2: Installing the V-Switch 2000 2-9 Network Port Connections The copper network ports, labeled Eth 1 and 2, are located on the front lef t of the V-Switch 2000. Use the 1Gb Ethernet ports to connect to the network or directly to the host station. When configuring your network topolo gy, keep in mind that the current initiator technology doe[...]
-
Page 38
2-10 SANRAD V-Switch CLI User Manual Console Port Connection The console port, labele d Console, is loc ated on the front left of the V-Swit ch 2000. Use this RS232 port and included male-fem ale straight cable to connect a console or dumb terminal to the V-Switch 2000 for initial s ystem configur ation and local management. 10207 Consol e Port Fig[...]
-
Page 39
Chapter 2: Installing the V-Switch 2000 2-11 10213 Pow er Switch Figure 2-10. V-Switch 2000 Po wer Supplies Reconfirm that all storage devices are p owered up. Plug the power cab le into the V-Switch 2000 power supply and then into the power source. Push the power switch to the ON position. The V -Switch 2000 powers up. The Power indicator LED [...]
-
Page 40
2-12 SANRAD V-Switch CLI User Manual[...]
-
Page 41
Chapter 3: Installing the V-Switch 3000 3-1 3 Installing the V - S witch 3000 IN THIS CHAPTER Chassis Surface Mounting Rack Mounting Storage Port Connections Network Port Connections Console Port Connection Management Port Connection LCD Compact Flash (CF) Slot Scalability Port Powering Up The V-Switch 3000 is a 1U high performance stor age network[...]
-
Page 42
3-2 SANRAD V-Switch CLI User Manual Chassis The V-Switch 3000 is a 1 U surface or rack-mountable storage network appliance. Its front panel includes the LCD display and programming buttons, system indicator LEDs and network ports. Its back panel includes the storage ports, redundant power supplies, comp act flash and console port. Front Panel 1. LC[...]
-
Page 43
Chapter 3: Installing the V-Switch 3000 3-3 6 7 8 9 10 10238 Figure 3-2. V-Sw itch 3000 Back Pan el System Indicat or LEDs Table 3-1 lists the V-Switch 3000 indica tor LEDs as shown in Figure 3-3. Table 3-1: V-Switch 3000 LEDs No LED Status Indication Color 1 P OWER A LL POWER SUPPLIES F UNCTIONING G REEN 2 S YS OK A LL SYSTEMS FUNCTIONING PROPERLY[...]
-
Page 44
3-4 SANRAD V-Switch CLI User Manual 10269 act 1 GB 100 Power Sys OK Scale FC/SCSI 1 2 3 5 6 7 7 7 8 act act act 1 GB 1 GB 4 6 6 Figure 3-3. V-Sw itch 3000 LEDs Surface Mounting The V-Switch 3000 chassis is manufactur ed with four chassis feet. The V-Switch 3000 is read y to be mounted on any secure flat surface. If yo u plan to rack mount the V-Swi[...]
-
Page 45
Chapter 3: Installing the V-Switch 3000 3-5 STEP 1. A TTACH THE REAR MOUN TS Using screws that you provide, a ttach the rear mounts to the back mounting posts so that the length of ea ch mount is parallel to the floor and extends forward into the rack space. The lip of each mount is at the bo ttom and facing inward toward the opposite rear mount. T[...]
-
Page 46
3-6 SANRAD V-Switch CLI User Manual Storage Port Connections Connect the SAN storag e devices or fabric t o the V-Switch 3 000 using the FC/SCSI storage ports. The storage ports are locat ed on the back upper le ft of the V- Switch 3000. The number and configuration of storage po rts on your V-Switch 3000 will vary depending on your V-Switch 3000 o[...]
-
Page 47
Chapter 3: Installing the V-Switch 3000 3-7 The V-Switch 3000 support s up to four st orage ports in any combinations in pairs of the fo llowing: Table 3-2: Storage Port Connection Ty pes FC C ONNECTOR L ENGTH F IBRE C HANNEL 1 G BIT /2 G BIT NL_ PORT OR N_ PORT OF EITHER : S HORT - WAVE LASER FOR MULTI MO DE FIBER U P TO 550 M L ONG - WAVE[...]
-
Page 48
3-8 SANRAD V-Switch CLI User Manual A copper connection will not work if an SFP is present in the port. At power up, the V-Switch 3000 automatically registers which connector, copper or fiber optic, is active by searching for an SFP optical transceiver. The presence of an SFP will automatic a lly determine which mode is active. Once the port is act[...]
-
Page 49
Chapter 3: Installing the V-Switch 3000 3-9 Each network port has two LEDs: act – indicates whether the port is connected and active: slow b link – active; fast blink – port traffic. 1 Gb – indic ates whether the port is operating at 1 Gb. The LED is off if the port is operating at 10/10 0. Console Port Connection The console port, [...]
-
Page 50
3-10 SANRAD V-Switch CLI User Manual 10219 Man a gem en t P ort - R J45 Figure 3-8. V-Sw itch 3000 Managem ent Port The management port has two LEDs: act – indicates whether the port is connected and active: green – active; blinking – port traf fic 100 – indicate s how the port is operational: on – 100; off – 10. 10076 act LED 1[...]
-
Page 51
Chapter 3: Installing the V-Switch 3000 3-11 Compact Flash (CF) Slot The compact flash slot, labeled CF Card, is located on the back center of the V- Switch 3000. A compact flash card is inserted into the slot and the configuration dat abase is mirrored into the flash c ard for configur ation recovery if replacing a V-Swit ch 3000. Scalability Port[...]
-
Page 52
3-12 SANRAD V-Switch CLI User Manual Powering Up You can power up the V-Switch 3000 on ce you have connected and powered up the storage devices. The V-Switch 3000 contains a storag e auto-discovery function. At power- up the V-Switch 3000 automatically scans for a nd registers all attached and powered up network storage devices. Therefore, power up[...]
-
Page 53
Chapter 4: V-Switch Configuratio n 4-1 4 V - S witch Conf igur ation IN THIS CHAPTER After the V-Switch is connected properly to the physical disks, management station and the n etwork and powered up, the V- Switch must be configured. The basic V-Switch configurations define the management IP configurations and can be done either via the LCD panel [...]
-
Page 54
4-2 SANRAD V-Switch CLI User Manual Introduction to Managing the V-Switch After powering up the V-Switch, the first thing you m ust do is to co nfigure its management parameters. This can be do ne via telnet, SSH, using th e V-Switch LCD panel (for V-Sw itch 3000 only) or via a console or dumb terminal to open a direct connection with the V-Switch?[...]
-
Page 55
Chapter 4: V-Switch Configuratio n 4-3 10223 O ut - of - Band M a nagem ent I n- Band M ana gem ent Cl o u d IP C l o u d RS 232 port Client s M anagem ent Term in al Clie nts Consol e Mod e m Fa st E t h e r n e t Ne t w or k 10/100 port 10/100 port Gb port Gb por t RS 232 p or t Mod e m A C C B Clie nts Con sole Telnet S tation Figure 4-1. V-Sw i[...]
-
Page 56
4-4 SANRAD V-Switch CLI User Manual Initial V-Switch Configuration The V-Switch has a default IP Ad dress of 10.11.12.123 . This allows you to s et initial startup par ameters via a telnet se ssion. Assigning a Management IP Addres s Mgnt port is only for V-Switch 3000. The management IP address c a n be set via: RS-232 port Telnet session [...]
-
Page 57
Chapter 4: V-Switch Configuratio n 4-5 RS232 Serial Connection To initialize t he V-Switch via an RS-232 seria l connection: Connect the cable to the appropriate port on the management server, and open a Terminal session. Set the following parameters in the terminal: P ARAMETER S YSTEM R EQUIREMENT C ONFIG S ERIAL P ORT C OM X ( ACCORDING TO YO[...]
-
Page 58
4-6 SANRAD V-Switch CLI User Manual You must define only one port for management. Both can not be active at the same time. The physical Mgnt port can not be used for iSCSI traffic (out- of-band) The ETH1 port can be used for management and iSCSI traffic simultaneously (in- band.) LCD Buttons The V-Switch 3000 has buttons next to i ts LCD display. Y[...]
-
Page 59
Chapter 4: V-Switch Configuratio n 4-7 S WITCH P ARAMETER D EFINITION S TATUS E XAMPL E -im MANAGEMEN T IP MASK IP M ASK FOR THE MANAGEMENT PORT OPTIONAL DEFAULT : 255.255.255.0 -p UDP PORT PORT THROUGH WHICH ALL UDP COMMUNICATIONS WILL FLOW – NAMELY FOR SNMP OPTIONAL DEFAULT : 161 -if INTERFACE ALIA S ALIAS O F PORT FOR MANAGING V- S WITCH OPTIO[...]
-
Page 60
4-8 SANRAD V-Switch CLI User Manual Example: The V-Switch alias is reset to V-Switch 1; the IP addr ess for V-Switch management functions is changed to 212.1 99.43.47. The date is set to the 21 st of July, 2002 an d the time to 1:30 p.m. An na Levin is named as the c ontact person and she can be re ached at the intern al office extension 4838. devi[...]
-
Page 61
Chapter 4: V-Switch Configuratio n 4-9 Changing the Telnet Co mmunications Port If your Telnet communicat ions connection to the V -Switch traverses a firewall, the standard Telnet communications port 23 may be blocked by the firew all as a security measure. To enable Telnet com munications to the V-Swit ch, you can designate an altern ate port usi[...]
-
Page 62
4-10 SANRAD V-Switch CLI User Manual S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -wcom WRITE COMMUNITY COMMUNITY FOR MANAGER TO SET INFORMATION OPTIONAL DEFAULT : PRIVATE private -trap TRAP TO SEND TRAPS TO MANAGER OPTIONAL YES : SEND NO : DO NOT SEND DEFAULT : YES yes Example An SNMP manager is added on IP addr ess 212.199.43.96 . It receives [...]
-
Page 63
Chapter 4: V-Switch Configuratio n 4-11 Adding User Login Profiles All CLI names and aliases are case sensitive. After logging in t o a V-Swit ch, a total of t en user profiles (n ame plus password) can be configur ed on a V-Switch using the CLI comman d admin add . The default user name and password sanra d ca n be maintained or removed. The user [...]
-
Page 64
4-12 SANRAD V-Switch CLI User Manual Table 4-2: V Switch Interfaces Type Name Description Alias Phys Address RS232 cons RS232 Management Int cons 000000000000 ETHERNET mgnt Fast Ethernet Manage mgnt 000000000000 FibreChannel fc1 FC MMF fc1 000000000000 FibreChannel fc2 FC MMF fc2 000000000000 SCSI SCSI1 SCSI Ultra 3 SCSI1 000000000000 SCSI SCSI2 SC[...]
-
Page 65
Chapter 4: V-Switch Configuratio n 4-13 Example Storage port 3, pscsi3, is assigned SCSI b us ID 12. pscsi set busid –if pscsi3 –id 12 Viewing the FC Por t Information Use the CLI command fc interface show to view all FC ports on the V- Switch; their World Wide Port Na mes (WWPN) and administrative and operative types. fc interface show Alias W[...]
-
Page 66
4-14 SANRAD V-Switch CLI User Manual Example fc set –if fc2 –sp 1 –pt nl –cm prl Viewing the V-Swit ch W orld Wide Node Na me Use the CLI command fc node show to view the V-Switch World Wide Node Name (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 Fun[...]
-
Page 67
Chapter 4: V-Switch Configuratio n 4-15 S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -act ACTIVITY IF IP ADDRESS IS ACTIVE TO EXPOSE VOLUMES . U SE INACTIVE STATUS TO ALLOW FAILOVER . O PTIONAL D EFAULT : 1 ( ACTIVE ) 2 ( INACTIVE ) 1 For regular port activity, use the defaul t active port setting. The inactive port setting is used when con figu[...]
-
Page 68
4-16 SANRAD V-Switch CLI User Manual 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 4-4. V-Sw itch IP Adresses Removing an IP Address An IP address that has a portal configured on it cannot be removed. Network ports can have m ultiple IP addresses. You can remove an IP address that is no longer rele[...]
-
Page 69
Chapter 4: V-Switch Configuratio n 4-17 10226 212.199.12.67 212.199.75.66 212.199.43.46 212.199.43.56 212.199.43.57 Figure 4-5. Ethernet Port 3 with One IP Address Discovering iSCSI Targets iSCSI target discovery is pe rformed across the IP-SAN by the iSCSI initiator located on the server . The V-Switch su pports three methods for reporting iSCSI t[...]
-
Page 70
4-18 SANRAD V-Switch CLI User Manual iSNS The V-Switch supports Internet Storag e Name Service (iSNS) protocol for advertising its targ ets and portals on t he iSNS server t o enable iSCSI initiators in the IP-SAN to locate the V-Switch targets automa tically. Use the CLI command ip isns add to add an iSCSI serve r to the V-Switch’s iSNS client. [...]
-
Page 71
Chapter 4: V-Switch Configuratio n 4-19 Configuring iSCSI Portals Do not create an iSCSI portal on the management IP address. The V-Switch supports a maximum of 100 portals. To enable communication between iSCSI i nitiators and iSCSI targets you need to assign a portal to the iSCSI protocol transport. Use the CLI command iscsi portal create to crea[...]
-
Page 72
4-20 SANRAD V-Switch CLI User Manual Viewing iSCSI Portals You can view all created portals using the CLI command iscsi portal show . iscsi portal show Table 4-5: 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.199.43.67 5003 Protocol 6 is the transport pr[...]
-
Page 73
Chapter 4: V-Switch Configuratio n 4-21 Discovery of iSCSI Storage Devices An iSCSI device can have many port als. Each portal can have remote targets associated with it. In order for the V- Switch to recognize a port al’s remote targets, you must define the IP Address of the iSCSI portal. Once defin ed, the V-Switch will automatically recei ve t[...]
-
Page 74
4-22 SANRAD V-Switch CLI User Manual iscsi discovery rportal discover This command allow s you discover rem ote iSCSI portals. iscsi discovery rportal discover S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -ip IP ADDRESS IP ADDRESS OF NETWORK PORT MANDATOR Y 212.199.43.70 -port TCP PORT TCP PORT FOR I SCSI COMMUNICATION OPTIONAL DEFAULT : 3260 50[...]
-
Page 75
Chapter 4: V-Switch Configuratio n 4-23 iscsi discovery rportal remove This command removes an iSC S I remote portal. iscsi discovery rportal remove S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -ip IP ADDRESS IP ADDRESS OF NETWORK PORT MANDATOR Y 212.199.43.70 -port TCP PORT TCP PORT FOR I SCSI COMMUNICATION OPTIONAL DEFAULT : 3260 5003 Configur[...]
-
Page 76
4-24 SANRAD V-Switch CLI User Manual Cloud 10227 V Switch 1 V Switch 2 Clou d Clou d Network D Network E R R R 10.10.20.0 20.20.10.20 30.30.20.20 12.11.20.20 10.11.30.0 20.22.11.11 10.12.40.0 Etherne t LAN A Etherne t LAN C Etherne t LAN B Network F D B D A Figure 4-6. IP Routing Options Adding an IP Route You can enable communications to ne tworks[...]
-
Page 77
Chapter 4: V-Switch Configuratio n 4-25 S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -if INTERFACE ALIAS NETWORK PORT TO OPEN COMMUNICATION THROUGH MANDATORY eth2 Example: An IP routing path to Network D, IP 10.10.20 .0, (IP mask 255. 255.255.0) is mapped from network port Eth2 thro ugh router gateway 30.30.20.20. ip route add –dip 10.10.20.0 [...]
-
Page 78
4-26 SANRAD V-Switch CLI User Manual Checking IP Routes After creating an IP routing pa th, you can ping any IP-connected device from the V-Switch Eht1 to check that the routing is configured correctly. Use the CLI command ping to ping an IP address f rom the V-Switch. Make sure that the route is defined on the other side as well. ping You need one[...]
-
Page 79
Chapter 4: V-Switch Configuratio n 4-27 ip route remove You need three parameters to remove an IP routing path. S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -dip DESTINATION IP IP OF HOST STATION MANDATORY 10.12.40.0 -dmask DESTINATIO N MASK IP MASK OF HOST STATION MANDATORY 255.255.255.0 -if INTERFACE ALIAS NETWORK PORT TO OPEN COMMUNICATION TH[...]
-
Page 80
4-28 SANRAD V-Switch CLI User Manual[...]
-
Page 81
Chapter 5: V-Switch Cluster Configuration 5-1 5 V -S witch Cluster Conf iguration IN THIS CHAPTER You can configure a V-Switch cluster using two V-Switches of the same type. A cluster is a group of storage units and switches that function as one unit for vi rtualization and provide high availability in the event of V-Switch failover. A cluster can [...]
-
Page 82
5-2 SANRAD V-Switch CLI User Manual Introduction to V-Switch Clusters Two V-Switches can be concurrently conne cted to the same storage devices to balance volume exposure thus cre ating a V- Switch cluster. In a cluster, each V- Switch interacts in an active-active, pee r-to-peer fashion with the other V- Switch, or neighbor , in the cluster. No on[...]
-
Page 83
Chapter 5: V-Switch Cluster Configuration 5-3 . When creating a cluster, it is recommended that the same port on each V-Switch is used to connect to the same 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 cluster c[...]
-
Page 84
5-4 SANRAD V-Switch CLI User Manual RAID controller are sim ultaneously exposed through all ports con nected to both V-Swit ches for the V-Swit ches to provide high av ailability during a V-Switch failover. In Figure 5-2, V- Switch 1 has gone off-line. V- Switch 2 activ ates V-Switch 1’s IP address and takes over exposure of Volume 1 to Host 1, r[...]
-
Page 85
Chapter 5: V-Switch Cluster Configuration 5-5 Configuring a V-Switch Cluster Setting the V-Switch ID When you configure a cluster, you must give each V-Switch a diffe rent device ID for proper cluster functioning. Use t he CLI command device set to configure the V-Switch ID for each V-Switch. device set S WITCH P ARAMETER D EFINITION S TATUS E XAMP[...]
-
Page 86
5-6 SANRAD V-Switch CLI User Manual neighbor add You need to define two parameters to notify a V-Switch of a neighbor. S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -nb NEIGHBOR ALIAS OF NEIGHBOR TO ADD TO CLUSTER MANDATORY VSwitch2 -ip IP ADDRESS IP ADDRESS OF MGMT PORT ON NEIGHBOR MANDATORY 212.199.43.75 Example: A V-Switch is informed that it [...]
-
Page 87
Chapter 5: V-Switch Cluster Configuration 5-7 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 Cloud IP SAN IP1-activ e: 212.199.43.90 IP2-ina ctive : 212.199.43.75 IP2-acti v e: 212.199.43.75 IP1-inac t ive: 212.199.43[...]
-
Page 88
5-8 SANRAD V-Switch CLI User Manual Working with SCSI Storage Devices The V-Switch default SCSI bus ID is 7. If your storage cluster inc ludes SCSI storage de vices, one of the V-S witch’s defau lt SCSI bus ID may ne ed to be changed, depending on the number of internal bus drives in the attached SCSI storage system. Cons ult your SCSI system man[...]
-
Page 89
Chapter 5: V-Switch Cluster Configuration 5-9 Use the CLI command cluster show to view the keep alive parameters of a cluster. cluster show Last Keep Alive KeepAlive Int(s) Susp Int(s) Dead Int(s) 1 2 6 10 Example: Every 2 seconds V-Switch 1 sends out a k eep alive signal. If, after 6 seconds from the last keep alive signal , V-Switch 1 does not re[...]
-
Page 90
5-10 SANRAD V-Switch CLI User Manual Viewing V-Switch Neighbor Details Use the CLI command neighbor show to view the neighbor configured on a V-Switch. neighbor show Table 5-1: 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 nei[...]
-
Page 91
Chapter 5: V-Switch Cluster Configuration 5-11 Managing a Cluster If you modify a V- Switch alias or manag ement IP address, you mus t implement the updates in the neighboring V-Switch . Use the CLI command neighbor set to update a V -Switch on changes in its neighbor. neighbor set You need to define the parameter(s) to modify to reset a neighbor a[...]
-
Page 92
5-12 SANRAD V-Switch CLI User Manual You need to define the p arameters you want to modify in the keep alive interval. S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -kai KEEP ALIVE INTERVAL TIME BETWEEN ALIVE SIGNALS FROM NEIGHBORS OPTIONAL DEFAULT : 2 SEC 5 -sint SUSPICIOUS INTERVAL TIME FROM WHEN A SIGNAL WAS EXPECTED BUT NOT RECEIVED OPTIONAL [...]
-
Page 93
Chapter 6: Volume Configuration 6-1 6 V olume Conf iguration IN THIS CHAPTER After you have configured the V- Switch general parameters, you can begin defining the storage topology using the Volume Manager. Using the Volume Manager, you can create subdisks on physical disk storage devices or leave the phys ical disk as is. These physical volumes ca[...]
-
Page 94
6-2 SANRAD V-Switch CLI User Manual Introduction to Volume Configuration This chapter describes how to identify the SAN storage devices and use them t o create subdisks and v i rtual volumes. Each description include s : A general description and generic diagram. The basic command, switches and parameters needed to execute the command. [...]
-
Page 95
Chapter 6: Volume Configuration 6-3 Identifying Available Storage Devices The V-Switch supports a maximum of 512 disks. Before beginning to con figure virtual volumes , you need to know which storage devices are availab le. Use the CLI command storage show to show the available storage devices and their corresponding aliases needed to configure vol[...]
-
Page 96
6-4 SANRAD V-Switch CLI User Manual You need to define two parameters to blink a storage device: S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -s STORA GE DEVICE ALAIS OF DEVICE TO BLINK MANDATORY Stor_1 -t TIME LENGTH O F TI ME TO BLINK DEVICE OPTIONAL 1-3600 SEC 0= FOREVER DEFAULT : 0 120 Example: The storage device, Stor_1, is set to blink for[...]
-
Page 97
Chapter 6: Volume Configuration 6-5 The alias of St or_1 is changed to D isk2JBOD5 for easier identif ication and it is noted to save the disk for snapshots. storage set –s Stor_1 –na Disk2JBOD5 –info save_for_snap shots The V-Switch supports write cache enab ling for increased performance. U se the CLI command storage disk set to enable or d[...]
-
Page 98
6-6 SANRAD V-Switch CLI User Manual Alias: Disk2JBOD5 Revision Level: 0002ST336704FC Product Id: ST336704FC Serial Number: 3CD0FHA400002108XYGLXYGL Number Of Blocks: 71687369 Block Size: 512 SubDisks: Entire Write Cache Enabled: true Write Protected false Volume sim Creating a Transparent Volume Transparent volumes cannot be used in further volume [...]
-
Page 99
Chapter 6: Volume Configuration 6-7 Example: If you are working in a V-Switch cluster, this volume must be configured on both V-Switches. In Figure 6-2, the logical unit, LUN0 on Disk 1, i s converted directly to a virtual transp arent volume, Tran sparent 1. This RAID device ha s only one LUN. For each LUN configured on a RAID device, the V-Switch[...]
-
Page 100
6-8 SANRAD V-Switch CLI User Manual Table 6-3: Volume Details Alias Vol Type # of Blocks Block Size State Trans1 Transpar 1024 512 Internal Creating a Subdisk (LUN Carving) The V-Switch supports a maximum of 512 subdisks. You can create one or more subd isks on a physical disk. The subdis ks can then be converted to simple volumes to be used for cr[...]
-
Page 101
Chapter 6: Volume Configuration 6-9 S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE –sd SUBDISK ALIAS USER - ASSIGNED ALIAS FOR SUBDISK OPTIONA L DEFAULT : D EF _ SPLIT _ CLUSTER NO _ DISK NO _ END ADDRESS IN BLOCKS Subdisk1 Example: In Figure 6-4, you see D i sk 1 before a subdisk is cre ated on it. Disk 3 Disk 7 Disk 8 10066 JBOD 1 JBOD 2 Disk [...]
-
Page 102
6-10 SANRAD V-Switch CLI User Manual Disk 3 Disk 7 Disk 8 10067 JBOD 1 JBOD 2 Disk 4 Disk 2 Disk 5 Di sk 6 Disk 1 Subdisk 1 Figure 6-5. Disk 1 w ith 1 Subdisk After creating the subdisk, you can use the CLI command subdisk show to view it and all conf igured subdisks. You can use the CLI command subdisk details to view the details of the created su[...]
-
Page 103
Chapter 6: Volume Configuration 6-11 For the rest of the physical volume on Disk 1 to be usable to the Volume Manager, you must create another subd isk. subdisk create –d Disk1 –sl 18000000 –sa 18000000 –sd Subdisk2 Disk 3 Disk 7 Disk 8 10082 JBOD 1 JBOD 2 Disk 4 Disk 2 Disk 5 Di sk 6 Disk 1 Subdisk 1 Subdisk 2 Figure 6-6. Disk 1 w ith 2 Su[...]
-
Page 104
6-12 SANRAD V-Switch CLI User Manual 10025 Virtual Volume Physi cal Volume Simple Volume B1 B2 B3 B4 Disk 1 S10 S11 S9 S12 S6 S7 S5 S8 S2 S3 S1 S4 S14 S15 S13 S16 S10 S11 S9 S12 S6 S7 S5 S8 S14 S15 S13 S16 S2 S3 S1 S4 Disk 2 Figure 6-7. Simple Volu me Block Distribution volume create simple You need to define three parameters to create a Simple Vol[...]
-
Page 105
Chapter 6: Volume Configuration 6-13 Disk 3 Disk 7 Disk 8 10068 JBOD 1 JBOD 2 Disk 4 Disk 2 Disk 5 Di sk 6 Subdisk2 Disk 1 Simple 1 Figure 6-8. Simple Volu me 1 Use the CLI command volume show to show the created volume: volume show Alias Type Act # of Bl Pot # of Bl Bl Size State Simple1 Simple 17999999 17999999 512 Internal Creating a Concatenate[...]
-
Page 106
6-14 SANRAD V-Switch CLI User Manual 10023 Virtual Volume Physical Volume Disk 1 S10 S11 S9 S12 S6 S7 S5 S8 S2 S3 S1 S4 S14 S15 S13 S16 S14 S15 S13 S16 Disk 2 S10 S11 S9 S12 S6 S7 S5 S8 S2 S3 S1 S4 Concatenated Volume B1 B2 B3 B4 B5 B6 B7 B8 Figure 6-9. Concatenated Volume Block Distribution volume create concatenated You need to define four p aram[...]
-
Page 107
Chapter 6: Volume Configuration 6-15 Example: If you are working in a V-Switch cluster, this volume must be configured on both V-Switches. In Figure 6-10, Simple Volume 5 and Simple Volume 12, both built over an entire physical disk, are concat enat ed to create a con catenated volume, Concat 1. Data is read/written fi rst to Simple 5. When the dat[...]
-
Page 108
6-16 SANRAD V-Switch CLI User Manual Creating a Striped Volume The V-Switch supports a maximum of 512 volumes. A striped volume has data written equi tably across two or more disks to provide higher read/wr ite rates. Subdisks w ithin a striped volume need to be on different disks to realize the benefits of striping. Throughput increases with the n[...]
-
Page 109
Chapter 6: Volume Configuration 6-17 S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE –nbc NUMBER OF CHILDREN N UMBER OF VOLUMES OR CHILDREN FROM WHICH TO BUILD S TRIPED VOLUME OPTIONAL DEFAULT : 2 4 –ch CHILD FIRST VOLUME ( CHILD ) TO WRITE TO MANDATORY Simple2 –ch CHILD SECOND VOLUME ( CHILD ) TO WRITE TO MANDATORY Simple4 –ch CHILD THIRD [...]
-
Page 110
6-18 SANRAD V-Switch CLI User Manual Disk 3 Disk 4 Simple 2 Disk 1 Simple 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 6-12. Striped Volume 1 Creating a Mirrored Volume Use mirroring to create data backups. The V-Switch s[...]
-
Page 111
Chapter 6: Volume Configuration 6-19 10024 Virtual Volume Physi cal Volume Mirrored Volume B1 B2 B3 B4 Disk 1 S10 S11 S9 S12 S6 S7 S5 S8 S14 S15 S13 S16 S2 S3 S1 S4 S10 S11 S9 S12 S6 S7 S5 S8 S14 S15 S13 S16 S2 S3 S1 S4 Disk 2 Figure 6-13. Mirrored Volume Block Distribution volume create mirror You need to define four parameters to create a mirrore[...]
-
Page 112
6-20 SANRAD V-Switch CLI User Manual Disk 3 Disk 4 Simple 2 Disk 1 Simple 1 Simple 4 Simple 3 Disk 2 Simple 8 Disk 5 Simple 7 Simple 10 Disk 6 Simple 9 Disk 7 Disk 8 10059 Simple 5 Simple 6 Simple 11 Simple 12 JBOD 1 JBOD 2 Mirro red Volume 1 Figure 6-14. Mirrored Volume 1 Replicating Data in a Mirrored Volume If one child of a mirrored v olume, th[...]
-
Page 113
Chapter 6: Volume Configuration 6-21 You need to define two parameters to synchronize a volume: S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -src SOURCE VOLUME ORIGINA L VOLU ME TO SYNCHRONIZE TO MANDATORY Simple3 -dst DESTINATIO N VOLUME NEW VOLUME TO ADD TO SYNCHRONINZE MANDATORY Simple5 Example: The online volume Simp le3 is synchronized t o [...]
-
Page 114
6-22 SANRAD V-Switch CLI User Manual RAID 10 Volume Mirr ored Volume Mirrored Volume Virtual Volumes Physi cal Volumes 10029 Disk 2 S2 S3 S1 S4 S10 S11 S9 S12 S6 S7 S5 S8 S14 S15 S13 S16 S2 S3 S1 S4 S14 S15 S13 S16 S10 S11 S9 S12 S6 S7 S5 S8 Disk 3 S2 S3 S1 S4 S14 S15 S13 S16 S10 S11 S9 S12 S6 S7 S5 S8 Disk 1 S2 S3 S1 S4 Disk 4 S14 S15 S13 S16 S10 [...]
-
Page 115
Chapter 6: Volume Configuration 6-23 Disk 3 Disk 4 Simpl e 2 Disk 1 Simpl e 1 Simple 4 Simple 3 Disk 2 Simpl e 8 Disk 5 Simpl e 7 Simpl e 1 0 Disk 6 Simple 9 Disk 7 Di sk 8 10061 Simple 5 Simple 6 Simple 1 1 Sim p le 1 2 JB O D 1 JB O D 2 M irrored Volu me 2 Figure 6-16. First Mirrored Volume of RAID 10 If you are working in a V-Switch cluster, thi[...]
-
Page 116
6-24 SANRAD V-Switch CLI User Manual Disk 3 Disk 4 Simp le 2 Disk 1 Simp le 1 Simple 4 Simple 3 Disk 2 Simp le 8 Disk 5 Simp le 7 Simp le 1 0 Disk 6 Simple 9 Disk 7 Disk 8 10062 Sim p le 5 Sim pl e 6 Sim p le 11 Sim p le 1 2 JB O D 1 JB O D 2 M irrore d Vol ume 2 M irrored Vo l u me 3 Figure 6-17. Second Mirrored Volume of RAID 10 If you are workin[...]
-
Page 117
Chapter 6: Volume Configuration 6-25 Disk 3 D isk 4 Simple 2 Disk 1 Simple 1 Simple 4 Simple 3 Disk 2 Simple 8 Disk 5 Simple 7 Simple 10 Disk 6 Simple 9 Disk 7 Disk 8 10063 Simple 5 Simple 6 Simple 11 Simple 12 JBOD 1 JBOD 2 Striped Volume 2 Mirrored Volume 2 Mirrored Volume 3 Figure 6-18. Striped Volume of RAID 10 To create a RAID 0+ 1 volume, inv[...]
-
Page 118
6-26 SANRAD V-Switch CLI User Manual[...]
-
Page 119
Chapter 7: Volume Ex posure and Security 7-1 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 Introduction to Volume Exposure & Security Creating an iSCSI Target Changing the Default Identity Creating an Identity Adding Initiator s to an Identity Assigning Identity Credentials Connecting an Identity and Target Exposing an iSCS[...]
-
Page 120
7-2 SANRAD V-Switch CLI User Manual Introduction to Volume Exposure & Security iSCSI Targets Data is able t o be transferred via iSCSI when an iSCSI initiator establishes a TCP connection with an iSCSI target. The iSCSI init iator resides in th e host computer and is conf igured by the system administrator. The iSCSI target resides in t[...]
-
Page 121
Chapter 7: Volume Ex posure and Security 7-3 10124n iSCSI Target 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 7-1. iSCSI Target Access Once a volume has a LUN and is attached to a target, it is accessible to iSCSI initiators. Ea ch initiator can acce ss, read and writ e into the volume. I[...]
-
Page 122
7-4 SANRAD V-Switch CLI User Manual An iSCSI initiator can be listed in multiple identities. 10149 Ident A wwui2 wwui1 wwui1 0 wwui9 wwui8 wwui7 wwui4 wwui3 Ident B wwui6 wwui5 Figure 7-3. Identit y B’s iSCSI Initiators In Figure 7-3, there are six iSC SI initiators in Identity B: WWUI 3, 4, 6, 7, 8 and 9. Note that iSCSI initiator 8 is in both I[...]
-
Page 123
Chapter 7: Volume Ex posure and Security 7-5 An identity can be used with more than one target. 10151 wwui2 wwui1 ww ui10 wwui9 wwui8 wwui7 wwui4 wwui3 Ident B wwui6 wwui5 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 7-5. Identities Coupled[...]
-
Page 124
7-6 SANRAD V-Switch CLI User Manual Access Rights The creation of an id entity limits t he iSCSI initiat ors able to acce ss an iSCSI target and its underlying volumes. Now, you want to define the access rights for each identity-target pair . When yo u couple an identity and target, you assign access rights: read -write (RW), read-only (RO ) or not[...]
-
Page 125
Chapter 7: Volume Ex posure and Security 7-7 10154 wwui2 wwui1 ww ui10 wwui9 wwui8 wwui7 wwui4 wwui3 Ident B wwui6 wwui5 iSCSI Target 2 wwui22 Ident A Vol 2 Vol 3 R e a d - O n l y R e a d - W r i t e Figure 7-7. iSCSI Initiator in Tw o Different Identities In Figure 7-7, iSCSI initiator WWUI8 is part of Identity A and Ident ity B. If Identity A an[...]
-
Page 126
7-8 SANRAD V-Switch CLI User Manual 10155 Ident B Credentials CHAP SRP Sarah C6H12O6 Dinos RockO n Dinos RockOn Albert energy wwui 4 wwui 3 wwui 6 Initiators wwui 7 wwui 8 wwui 9 Figure 7-8. Identit y with iSCSI Initiators and Credentials In Figure 7-8, there are six iSCSI initi a tors in Identity B but only four user name + password credentials. C[...]
-
Page 127
Chapter 7: Volume Ex posure and Security 7-9 10156n V-Switch Cloud IP SAN Tower box Tower box wwui 1 iSCSI initiator iS CSI initiator wwui2 Vol 1 LU0 Ident A wwui1 Target 1 Identity A Def Ident Target 2 Identity B Def Iden t iSCSI Target 1 wwui3 Vol 2 LU0 Vol 3 LU1 Default all RW NA iSCSI Target 2 wwui 4 Default all Ident B wwui2 RW NA Vol 1 RW Vol[...]
-
Page 128
7-10 SANRAD V-Switch CLI User Manual If iSCSI initiat or WWUI1 tries to login to Target 2, the V-Switch first scans Identity B. It does not find the initiato r listed so it continues to sc an the next identity, the default identity. The defaul t identity blocks all iSCSI initiato rs, including WWUI1. The scan stops and the initiator i s denied acce[...]
-
Page 129
Chapter 7: Volume Ex posure and Sec urity 7-11 You need to define three parameters to create an iSCSI target: S WITCH P ARAMET ER D EFINITION S TATUS E XAMPLE -ta TARGET ALIAS USER - ASSIGNED ALIAS FOR I SCSI TARGET MANDATORY finance –tn TARGET WWUI USER - ASSIGNED WORLD - WIDE UNIQUE IDENTIFIER FOR THE TARGET MANDATORY sanrad. billing –device [...]
-
Page 130
7-12 SANRAD V-Switch CLI User Manual 10177n V-Switch1 Cloud IP SAN Tower box Tower box iqn.1991-05.microsoft:s teven.sanrad iSCSI initiator iS CSI initiator finance sanrad.bil ling Default all RW iqn.com.cisco.steven i qn.1991-05.microsoft:w ilbur.sanrad Figure 7-10. Creating a Target[...]
-
Page 131
Chapter 7: Volume Ex posure and Sec urity 7-13 Viewing iSCSI Tar gets Use the CLI command iscsi target show to view all created iSCSI targets. iscsi target show Table 7-1: iSCSI Targets Target Alias Target Name # of LUs Exposed On: finance sanrad.billing 0 Not exposed musicbox musicbox.sanrad 1 VSwitch1 Viewing iSCSI Tar get D etails Use the CLI co[...]
-
Page 132
7-14 SANRAD V-Switch CLI User Manual Viewing Access Ri ghts After creating a t arget, use the CLI command acl show to view the target’s automatically connected default identity. acl show Table 7-3: Default Identity Target Access Target Position Identity Access finance 0 DEF_ALL read-write musicbox 0 DEF_ALL not accessible musicbox 1 musicdept rea[...]
-
Page 133
Chapter 7: Volume Ex posure and Sec urity 7-15 You need to define four parameters to modify an identity: S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -ta TARGET ALIAS OF TARGET TO CONNECT WITH ACL IDNE TITY MANDATORY finance -id IDENTITY ACL IDENTITY MANDATORY DEF_ALL -acc ACCESS ACCESS RIGHTS TO TARGET : DEFAULT = RW RW = READ - WRITE RO = READ[...]
-
Page 134
7-16 SANRAD V-Switch CLI User Manual 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 limit host, meanin g iSCSI in[...]
-
Page 135
Chapter 7: Volume Ex posure and Security 7-17 10178n V-Switch1 Cloud IP SAN Tower box Tower box iqn.1991-05.microsoft:s teven.sanrad iSCSI initiator iS CSI initiator finance sanrad.bil ling Default all NA iqn.com.cisco.steven i qn.1991-05.microsoft:w ilbur.sanrad accounting Figure 7-11. Creating an Identity[...]
-
Page 136
7-18 SANRAD V-Switch CLI User Manual 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 ca n begin adding hosts by their iSCSI initiator WW UIs to the iden tity. The identity is a group of iSCSI initiators. It is not enough for an authorized ho[...]
-
Page 137
Chapter 7: Volume Ex posure and Security 7-19 Example The host, steven, is added to the ident ity accounting according to his iSCSI initiator wwui, iqn .1991-05.microsoft:ste ven.sanrad. acl identity add name –id accounting –name iqn. 1991-05. microsoft: steven.sanrad 10179n V-Switch1 Cloud IP SAN Tower box Tower box iqn.1991-05.microsoft:s tev[...]
-
Page 138
7-20 SANRAD V-Switch CLI User Manual If a host has more than on e iSCSI initiator installed, b oth initiators can be included in the identity. acl identity add name –id accounting –name iqn.com. cisco.steven 10180n V-Switch1 Cloud IP SAN Tower box Tower box iqn.1991-05.microsoft:s teven.sanrad iSCSI initiator iS CSI initiator finance sanrad.bil[...]
-
Page 139
Chapter 7: Volume Ex posure and Sec urity 7-21 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 authenticati on before allowing access to a target and its underlying volume (s). The V-Switch supports CHAP and SRP authentication[...]
-
Page 140
7-22 SANRAD V-Switch CLI User Manual Example The user name, steven, with user pa ssword, oneveryhotdude, is assigned CHAP credential verification in the identity accounting. acl identity add chap –id accounting –us steven –pw oneveryhotdude 10181n V-Switch1 Cloud IP SAN Tower box Tower box iqn.1991-05.microsoft:s teven.sanrad iSCSI initiator [...]
-
Page 141
Chapter 7: Volume Ex posure and Security 7-23 If a host has more than on e iSCSI initiator installed, b oth initiators can be included in the identity an d given authentication methods. The user name and password do not need to be the same for different in itiators on the same host. acl identity add chap –id accounting –us steven –pw ilovecoo[...]
-
Page 142
7-24 SANRAD V-Switch CLI User Manual After assigning iSCSI initiators and a ssigning credentials to an identity, use the CLI command acl identity details to view the list of iSCSI initiators. acl identity details You need to define one parameter to view an identity’s details: S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -id IDENTITY NAME OF AC[...]
-
Page 143
Chapter 7: Volume Ex posure and Security 7-25 10261 V-Swi tch1 Cloud IP SAN Tower box Tower box iSCSI initiator iSCSI initiator finance sanrad.billing Default all NA iqn.1991-05.microsoft:wilbur.sanr a d accounting steven oneveryhotdude microsoft:steven cisco.steven Tower box RADIUS Server Yes RADIUS Authenti cation? No CHAP Authentication iqn.com.[...]
-
Page 144
7-26 SANRAD V-Switch CLI User Manual ip radius add You need to define three parameters to add a RADIU S server IP to the RADIUS client S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -ip IP ADDRESS IP ADDRESS OF RADIUS SERVER MANDATORY 212.199.43.2 -p PORT UDP PORT OPTIONAL 1812 -k KEY SHARED SECRET BETWEEN RADIUS SERVER AND V- S WITCH MANDATORY Da[...]
-
Page 145
Chapter 7: Volume Ex posure and Security 7-27 10262 V-Switch1 Cloud IP SAN Tower bo x Tower box iSCSI initiator iSCSI initiator finance sanrad.billing Default all NA iqn.1991-05.microsoft:wilbur.sanrad accounting steven oneve ryhotdud e microsoft:steven cisco.steven Tower b ox RADIUS Server CHAP Authentication: steven oneveryhotdude RADIUS Authenti[...]
-
Page 146
7-28 SANRAD V-Switch CLI User Manual 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 created, an identity must be connected to a target to provide it with access control. An identity spec ifies which ac[...]
-
Page 147
Chapter 7: Volume Ex posure and Security 7-29 Example The identity, accounting, is connected to the target finance. Accounting is the second identity scanned for an in itiator match. Any initiator in the accounting identity is given rea d-only access. Later, an administrator identity can be created with read -write access and placed in position 0. [...]
-
Page 148
7-30 SANRAD V-Switch CLI User Manual Exposing an iSCSI Target and LU N 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 accessib le to a host, you need to assign a[...]
-
Page 149
Chapter 7: Volume Ex posure and Sec urity 7-31 You need to define six p arameters to create and expose an iSCSI target and volume LUN: S WITCH P ARAMETER D EFIN ITION S TATUS E XAMPLE -new NEW TARGET NEW I SCSI TARGET TO CREATE OPTIONAL No parameter required -vol VOLUME ALIA S ALIAS OF VOLUME TO CREATE LU0 AND TARGET FOR MANDATORY Vol1 -ta TARGET A[...]
-
Page 150
7-32 SANRAD V-Switch CLI User Manual Example 1: The target finance already exists. Th e WWUI of finance has already been assigned to the target. The volume Vol1 is assigned LU0 and attached to the target finance. The exposing devic e is VSwitch1. volume expose –vol Vol1 –ta finance –lun 0 10185n V-Swi tch1 Cloud IP SAN Tower box Tower box iqn[...]
-
Page 151
Chapter 7: Volume Ex posure and Sec urity 7-33 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 cre ated. The WWUI of musicbox is sanrad.music box. The volume Concat1 is automatically assigned L U0 and attached to the target musicbox on VSwitch1. volume expose -ne[...]
-
Page 152
7-34 SANRAD V-Switch CLI User Manual[...]
-
Page 153
8 Adv anced V olume Oper ations IN THIS CHAPTER Once you have configured your initial basic volume topology, you can do more advanced volume operations. This chapter explains how to: Create an off-line volume copy. Create an on-line volume copy. Break a mirror to remove a child. Create a snapshot. Increase a volume’s capacity.[...]
-
Page 154
8-2 SANRAD V-Switch CLI User Manual Introduction to Advanced Volume Configurations The V-Switch supports sev eral advanced volume operations. Som e do the same or similar functions. Each has it s own advant ages so it is important to understand their differenc es to best ch oose the function most appropriate for you SAN. Data Replication: O ff-line[...]
-
Page 155
Chapter 8: Advanced Volume Operations 8-3 Copying a Volume (Off-line Copy) Data from any volume type can be re plicated offline using the CLI command volume copy create . Off-line rep lication is f aster than on-l ine replication but both the source and destination volu mes must be off-line which can create an interruption of service to the volume [...]
-
Page 156
8-4 SANRAD V-Switch CLI User Manual volume mirror sync You need to define two parameters to synchronize a volume: S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -src SOURCE VOLUME ORIGINA L VOLU ME TO SYNCHRONIZE TO MANDATORY Simple3 -dst DESTINATIO N VOLUME NEW VOLUME TO ADD TO SYNCHRONINZE MANDATORY Simple5 Example: The on-line volume Simp le3 i[...]
-
Page 157
Chapter 8: Advanced Volume Operations 8-5 10189 Mir Vol X 1T Ch1 1T Ch2 1T 1T Mir Ch3 1T Ch1 1T Ch2 1T 1T Figure 8-1. Adding Another Child to a Mirror In Figure 8-2 , a conc atenated volum e becomes one child of a new mirrored volume. This add s a level to the hier archy. The new mirrored volume becomes the head of the volume hie rarchy. The new mi[...]
-
Page 158
8-6 SANRAD V-Switch CLI User Manual 10190 Con Vol X LU0 LU0 Mir Con Ch 2 LU0 LU0 Figure 8-2. Creating a Mirror to Add Data Redundancy volume mirror add You need to define fo ur parameters to add a m irrored volume: S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -vol VOLUME SOURCE VOLU ME TO ADD MIRROR TO MANDATOR Y Mirror5 -ch CHILD NEW CHILD TO A[...]
-
Page 159
Chapter 8: Advanced Volume Operations 8-7 10248 Mir4 Sim6 1T Sim2 1T Sim4 1T 1T Mir4 Sim6 1T Sim2 1T Sim4 1T 1T Figure 8-3. Adding Sim6 to Mir4 Use the CLI command volume mirror show to view the status of all mirror synchronizations. volume mirror show Source Destination Oper Status Admin Status Progress Sim4 Sim6 Operating Synchroniz e 60% Ch1 Ch3[...]
-
Page 160
8-8 SANRAD V-Switch CLI User Manual Creating a Snapshot You can create a snapshot , a point-in -time copy, of any volume at the top of a hierarchy using the CLI command volu me create snapshot . A snapshot does not create a full copy of its source volume. It is a dyn amic and dependent volume that stores the origin al data from a source volume when[...]
-
Page 161
Chapter 8: Advanced Volume Operations 8-9 10264 Snapshot1 QA Testing MM AO AS NH AN SS UN PT Snapshot1 S QA Testing MM AO AS NH AN B S UN PT B Figure 8-5. 1 st Write to Source and Update to 1 st Snapshot The more active the write operations are to a so urce volume, the more capacity its snapshots need to have. SANRAD re quires a beginning snapshot [...]
-
Page 162
8-10 SANRAD V-Switch CLI User Manual Active Snapshot volume create –activate snapshot You need four parameters to create an active snapshot volume: S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -vol VOLUME SNAPSHOT NAME MANDAT ORY Snapshot1 -src SOURCE SOURCE OF SNAPSHOT MANDATORY QATesting -ch CHILD SNAPSHOT CHILD MANDATORY Snapshot1 -lt LOAD [...]
-
Page 163
Chapter 8: Advanced Volume Operations 8-11 volume create –activate snapshot –vol Snapshot1 –src QATesting –dst Snapshot1 -lt 75 10254 Snapshot1 QA Testing MM AO AS NH AN SS UN PT Figure 8-6. 1 st Snapshot Figure 8-7 sh ows the same source and snapshot volume after a write operation to sector 1. The original data, S, from se ctor 1 is first [...]
-
Page 164
8-12 SANRAD V-Switch CLI User Manual 10256 Snapshot1 QA Testing MM AO AS NH AN SS UN PT QA Testing MM E O AS B H AN BS UN B T Snapshot1 S Snapshot1 A N S P Snapshot2 A N P QA Testing MM AO AS NH AN B S UN PT Figure 8-8. 2 nd Snapshot Created, Update to 1 st Snapshot & 2 nd Snapshot and Write to Source Figure 8-9 sh ows the creation of a third s[...]
-
Page 165
Chapter 8: Advanced Volume Operations 8-13 10257 QA Testing MM E A AS B S AN B D UN B S Snapshot1 QA Testing MM AO AS NH AN SS UN PT QA Testing MM E O AS B H AN BS UN B T Snapshot1 S Snapshot1 AO NH SS PT QA Testing AO NH S PT QA Testing O H S T Snapshot1 A N S P Snapshot2 A N P QA Testing MM AO AS NH AN B S UN PT Figure 8-9. 3 rd Snapshot Created,[...]
-
Page 166
8-14 SANRAD V-Switch CLI User Manual S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -vol VOLUME SNAPSHOT SOURCE VOLUME MANDATOR Y Mirror7 Reactivating a Snapshot Volume volume snapshot activate You need one parameter to (re)a ctivate a snapshot volume: S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -vol VOLUME SNAPSHOT SOURCE VOLUME MANDATOR Y Mi[...]
-
Page 167
Chapter 8: Advanced Volume Operations 8-15 Example: Table 8-2 lists the only snapshot for Mirror7. volume snapshot list –vol Mirror7 Table 8-2: All Snapshots of a Specific Volume Snapshot Date & Time Utilization Snp1Mir1 12/12/02 20:00:00 20% Snapshot Rollback Snapshot rollb ack allows you t o rollback t o the original state of the volume. vo[...]
-
Page 168
8-16 SANRAD V-Switch CLI User Manual volume snapsho t rollback abort This command abort s snapshot rollback . volume snapshot rollback abort S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -snap SNAPSHOT SNAPSHOT SOURCE VOLUME MANDATOR Y Mirro2 Breaking a Mirror If you are working in a V-Switch cluster, the child must be removed on both V- Switches[...]
-
Page 169
Chapter 8: Advanced Volume Operations 8-17 10191 Mir Ch3 1T Ch1 1T Ch2 1T 1T Mir Vol X 1T Ch1 1T Ch2 1T 1T Able to be exposed as an independent volum e Figure 8-10. Removing a Child from a Mirror In Figure 8-11 a child is removed from a mirrored volume with two children. This breaks the mirror. If the mirrored volume is ex posed or attached to a LU[...]
-
Page 170
8-18 SANRAD V-Switch CLI User Manual volume mirror break You need to define two parameters to break a mirro r: S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -vol VOLUME VOLUME MIR ROR IS ADDING TO MANDATORY Mirror5 -ch CHILD CHILD TO BREAK FROM MIRROR MANDATOR Y Simple10 Example: In Figure 8-12 the simple volume Sim5 is re moved from mirrored vol[...]
-
Page 171
Chapter 8: Advanced Volume Operations 8-19 If you are working in a V-Switch cluster, a volume must be resized on both V Switches. You can increase a virtual volume’s potential capacity usin g the CLI command volume resize . This is th e first step in incre a sing a virt ual volume’s actual capacity . Potential capacity is the maximum ca pacity [...]
-
Page 172
8-20 SANRAD V-Switch CLI User Manual In Figure 8-13 is a mirrored volume with a potential capa city of one terabyte. The smallest child of t he mirrored volume determine s the mirrored volume’s potential capacity. Resiz ing the one- terabyte child to two terabytes will increase the mirrored volume’s potential ca pacity to two terabytes. The act[...]
-
Page 173
Chapter 8: Advanced Volume Operations 8-21 Mir 1T Ch 1 2T 10253 Sim3 1T Ch 2 1T XCh 2 2T Figure 8-15. Resized Volume Only one cube is cre ated per resized si mple or snapshot volume. Any further simple volumes are added to the existing cube. In Figure 8-16 a second one- terabyte simple volume is added to the existing cube created to resize Sim2. Mi[...]
-
Page 174
8-22 SANRAD V-Switch CLI User Manual 10195 LU0 Con Ch 1 Ch 2 2T 1T 1T Vol X 1T LU0 Con Ch 1 Ch 2 2T 1T 1T Ch 3 1T Figure 8-17. Resizing a Concatenated Volume volume resize You need to define three parameters to resize a volume: S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -vol VOLUMEE VOLU ME TO RESIZE MANDAT ORY Ch2 -a ALIAS ALIAS OF RESIZED VO[...]
-
Page 175
Chapter 8: Advanced Volume Operations 8-23 In Figure 8-18 th e mirrored volume, Mir, is limited in its actual c apacity by its smallest child, Sim2. To resize Sim2 to t wo terabytes, simple volume, Sim3, is concatenated to Sim2 to create the resized cube volume, XSim 2. volume resize –vol Sim2 –a XSim2 –with Sim3 Mir Sim2 1T 1T Sim1 2T Sim3 1[...]
-
Page 176
8-24 SANRAD V-Switch CLI User Manual You need to define one parameter to retract a volume: S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -vol VOLUME VOLU ME TO RETRACT – HEAD OF HIERARCH Y MANDATORY Mir5 Expanding a Volume If you are working in a V-Switch cluster, a volume must be expanded on both V- Switches. You must ex pand a volum e’s act[...]
-
Page 177
Chapter 8: Advanced Volume Operations 8-25 In Figure 8-20 a mirrored volume is expanded to two terabytes after one of its child volumes was resized and expanded to two terabytes. Mir 1T Sim1 2T Sim3 1T Sim2 1T XSim2 2T Mir5 2T Sim1 2T 10260 Sim3 1T Sim2 1T XSim 2 2T Figure 8-20. Expanding a Mirrored Volume volume expand You need to define one p ara[...]
-
Page 178
8-26 SANRAD V-Switch CLI User Manual Example: In Figure 8-21 the resized volume, XSim2, is expanded to an actual capaci ty of two terabytes to match its resized potentia l capacity. Once XSim2 is expanded, the capacity of Mi r5 will automatica lly adjust itself to two terabytes. volume expand –vol XSim2 Mir 1T Sim1 2T Sim3 1T Sim2 1T XSim2 2T Mir[...]
-
Page 179
Chapter 9: Routine Volume Maint enance 9-1 9 R outine V olume Maintenance IN THIS CHAPTER 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, LUNs, iSCSI targets, identities an[...]
-
Page 180
9-2 SANRAD V-Switch CLI User Manual Example: volume set –vol Concat1 –n JPGRepos Removing a Volume If you are working in a V-Switch cluster, the volume must be removed on both V- Switches. You can remove a volume . The volume must be inactive, that is not exposed, and it must be at the top leve l of its volume hier archy. For example, you canno[...]
-
Page 181
Chapter 9: Routine Volume Maint enance 9-3 Disk 3 Disk 4 Simple 2 Disk 1 Simple 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 Simple 11 Simple 12 JBOD 1 JBOD 2 Striped Volume 1 Figure 9-1. Stripe 1 Volume Removed Removing all Volumes in a Hierarchy If you are working in a V-Switc[...]
-
Page 182
9-4 SANRAD V-Switch CLI User Manual Example: The top-level volume Strip e 1 is removed along with its component volumes , Simple 2, 4, 8 & 10. volume remove -all –vol Stripe1 Disk 3 Disk 4 Simple 2 Disk 1 Simple 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[...]
-
Page 183
Chapter 9: Routine Volume Maintenance 9-5 volume replace You need to define two parameters to replace a volume: S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -vol VOLUME VOLU ME ON FAILED DISK MANDATORY Simple4 -nvol NEW VOLUME REPLACEMENT VOLUME MANDATOR Y Simple6 Synchronizing a Volume You can replace a failed volume in a mirror. You must then [...]
-
Page 184
9-6 SANRAD V-Switch CLI User Manual 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 remove a volume, yo u must remove any attached LU. lu remove You need to define two parameters to remove an LU: S WITCH P ARAMETER D EFINITION S TATUS E XA[...]
-
Page 185
Chapter 9: Routine Volume Maintenance 9-7 Removing an iSCSI Target If you are working in a V-Switch cluster, the target must be removed on both V- Switches. You can remove an iSC S I target provided it h a s no attached LU. Use the CLI command lu remove to first remove any LUs from a target. iscsi target remove You need to define one parameter to r[...]
-
Page 186
9-8 SANRAD V-Switch CLI User Manual[...]
-
Page 187
Chapter 10: Routine V-Switch Mai ntenance 10-1 10 R outine V -Sw itch Maintenance IN THIS CHAPTER Once you have configured the V-Switch, you need to be able to update its configuration and maintain optimum V-Switch functionality. This chapter explains how to modify configuration parameters; interface IP addresses, IP routing paths, cluster configur[...]
-
Page 188
10-2 SANRAD V-Switch CLI User Manual General Configuration Parameters This command is available only after the V-Switch is initialized with the init command. After the initi al V-Switch c onfiguration, you m ay want to change one or more of the V-Switch para meters. For example: You may ne ed to change the system clock to adjust to Daylight Savings[...]
-
Page 189
Chapter 10: Routine V-Switch Mai ntenance 10-3 S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -rld REPORT LUN DISCOVERY MODE FO R DISCOVERING DEVICE LUN S OPTIONAL YES OR NO DEFAULT : YES no -telnet TELNET PORT PORT FOR V- S WITCH COMMUNICATIONS OPTIONAL DEFAULT : 23 1597 -rcom READ COMMUNITY COMMUNITY TO GET INFORMATION OPTIONAL DEFAULT : PUBLIC [...]
-
Page 190
10-4 SANRAD V-Switch CLI User Manual Use the CLI command info to check the V-Switch’s design ated Telnet port. info Table 10-1: V-S w itch 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 [...]
-
Page 191
Chapter 10: Routine V-Switch Mai ntenance 10-5 SNMP Manager Setting an SNMP Manager This command modifies parame ters of existing managers. snmp manager set S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -ip IP ADDRESS MANAGER IP ADDRESS MANDATORY 212.199.43.96 -p UPD PORT P ORT TO RECEIVE TRAPS THROUGH OPTIONAL DEFAULT : 162 150 -np NEW PORT NEW [...]
-
Page 192
10-6 SANRAD V-Switch CLI User Manual Removing an SNMP Manager This command removes a manager from the V-Switch. snmp manager remove S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -ip IP ADDRESS MANAGER IP ADDRESS MANDATORY 212.199.43.96 -p UDP PORT PORT T O RECEIVE TRAPS THROUGH MANDATORY 162 iSNS Server The V-Switch supports Internet Storag e Nam[...]
-
Page 193
Chapter 10: Routine V-Switch Mai ntenance 10-7 You need to define one p arameter to remove an iSNS se rver address: S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -ip IP ADDRESS IP ADDRESS OF I SNS SERVER MANDATORY 212.199.43.1 User Profiles Access to the V- Switch is password prot ected. The V-Switch ships with the default user name sanra d and t[...]
-
Page 194
10-8 SANRAD V-Switch CLI User Manual Changing a User Profile If you are working in a V-Switch cluster, a user profile must be changed on both V- Switches This interactive command enables a user to change th eir login password for their user name on the V-Switch. admin password After entering the command, you are p r ompted to enter your existing pa[...]
-
Page 195
Chapter 10: Routine V-Switch Mai ntenance 10-9 Saving (Uploading) a V-S w itch Database Fil e You can uplo ad a copy of a V-Sw itch’s full database file to th e local TFTP server. If the V- Switch fails, it s database file c a n be downloaded t o the replacement V-Switch. This eliminat es protracted co nfiguration time on the new V-Switch and ens[...]
-
Page 196
10-10 SANRAD V-Switch CLI User Manual Downloading a V- Switch 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-Swi tch, you can download the replaced V- Switch database file from the tftp [...]
-
Page 197
Chapter 10: Routine V-Switch Mai ntenance 10-11 Network Interfaces Changing an Interface Alias All CLI names and aliases are case sensitive. You can chan ge the alias o f a V-Switch interface for user conven ience. Leaving the new alias field blan k will return the alias to its default setting interface set You need to define two parameters to chan[...]
-
Page 198
10-12 SANRAD V-Switch CLI User Manual -ip IP ADDRESS IP ADDRESS ASSIGNING TO THE INTERFACE PORT MANDATORY 212.199.43.57 with a different IP address will not reset the network port address. It will add another IP address to the network port -im IP MASK IP NET MASK OPTIONAL DEFAULT : 255.255.255.0 -act ACTIVITY IF IP ADDRESS IS ACTIVE TO EXPOSE VOLUM[...]
-
Page 199
Chapter 10: Routine V-Switch Mai ntenance 10-13 Example: The second IP address, 212.199.43.70, on the network interface eth3 is removed. ip config remove–ip 212.199.12.70 10231 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 10-2. Removing an IP Address IP Routing Adding an IP route If you are working in[...]
-
Page 200
10-14 SANRAD V-Switch CLI User Manual Example: An IP routing path to Network D, IP 10.10.20 .20, (IP m a sk 255. 255.255.0) is mapped from network port Eth2 thro ugh router gateway 30.30.20.20. ip route add –dip 10.10.20.20 –dmask 255.255.255.0 –gw 30.30.20.20 –if eth2 Removing an IP route If you are working in a V-Switch cluster, the IP ro[...]
-
Page 201
Chapter 10: Routine V-Switch Mai ntenance 10-15 Disks and Subdisks Discovering Storage Devices The V-Switch default algorithm f or storag e devices discovery is using the SCSI command REPORT LUN S. Certain storage devices either do not support this command or do not respond according to the SCSI standard. To discover these devices, the REPORT LUNs [...]
-
Page 202
10-16 SANRAD V-Switch CLI User Manual Renaming a Storage Device If you are working in a V-Switch cluster, the disk must be renamed on both V- Switches. You can rename a dis k. Renaming the disk will have no effect on t he volume hierarchies built on the disk. storage set You need to define three parameters to rename a disk: S WITCH P ARAMETER D EFI[...]
-
Page 203
Chapter 10: Routine V-Switch Mai ntenance 10-17 Renaming a Subdi sk If you are working in a V-Switch cluster, the subdisk must be renamed on both V- Switches. After c reating a subdisk you can rena me it. Rena ming the su bdisk will have no effect on the volume hierarchy built on the subdisk. subdisk set You need to define three parameters to renam[...]
-
Page 204
10-18 SANRAD V-Switch CLI User Manual Clusters Modifying Neighbor Param et ers You can modify neighbor pa rameters in a cluster. neighbor set You need to define up to two parameters to modify a neighbor’s parameters in a cluster: S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -nb NEIGHBOR ALIAS OF NEIGHBORING V- S WITCH IN CLUSTER MANDATORY IF C[...]
-
Page 205
Chapter 10: Routine V-Switch Mai ntenance 10-19 Modifying a Cluster Both V-Switches in the cluster must be modified. You can modify a cluster’s parameters. cluster set You need to define three parameters to modify a cluster’s parameters: S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -kai KEEP ALIVE INTERVAL TIME BETWEEN ALIVE SIGNALS FROM NEI[...]
-
Page 206
10-20 SANRAD V-Switch CLI User Manual V-Switch 3000 Power Supply The V-Switch 3000 is standard-issued with two hot-swappable AC power supplies. If one of t he power supplies fa il, its red LED on the back panel turns off. If both of the power supplies fail, the Power LED on the front panel turns off. STEP 1. D ISCONNECT THE POWE R CABLE Disconnect [...]
-
Page 207
Chapter 10: Routine V-Switch Mai ntenance 10-21 Upgrading the V-Switch Software The V-Switch must be reset for the new software to begin functioning. You can upgrade the V-Switch software v ia CLI. The soft ware upg rade files are first downloaded from the TFT P server. You can then use the CLI command ft update to upgrade the V-Switch software. Th[...]
-
Page 208
10-22 SANRAD V-Switch CLI User Manual V-Switch 3000 Compact Flash The V-Switch 3000 includes a compact flash for backing up the dat abase to provide redundancy. The V-Switch 3000 has two pe rmanent memory dev i ces: flash and co mpact flash. The V -Switch can work wit h only the flash. When both are present, the V-Switch reads from the fla sh and c[...]
-
Page 209
Chapter 10: Routine V-Switch Mai ntenance 10-23 system copy You need to define two parameters to copy a file between the flash and compact flash: S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -from FROM WHERE TO COPY FROM MANDATORY FLASH CFLASH cflash -type TYPE TYPE OF FILE TO COPY MANDATORY DB : DATABASE db system copy –from cflash –type db[...]
-
Page 210
10-24 SANRAD V-Switch CLI User Manual Automa tic Safe Mode When the V-Switch reboots, either afte r upgra ding the V-Swit ch software or any other time that environmental irregula rities require, there may be database corruption. To prevent potential damage to the database, the V-Switch enters safe mode. Safe mode can only be navigated fr om a cons[...]
-
Page 211
Chapter 10: Routine V-Switch Mai ntenance 10-25 Level 3: Reboot with Defa ult Factory System This clears all user login profiles. You will have to login with the user name sanrad and password sanrad. This clears the database of all conf igurations executed on the V-Switch, including user log in profiles. You w ill have to log in wit h the user name[...]
-
Page 212
10-26 SANRAD V-Switch CLI User Manual Safe mode lev els 0 and 1 c an be executed from any Telnet station but, for extra safety, safe mode levels 2 and 3 can only be executed from a con sole with a local, direct RS232 connection to the V-Switch. system boot You need one parameter to reboot the V- Switch in safe mode. S WITCH P ARAMETER D EFINITION S[...]
-
Page 213
Chapter 10: Routine V-Switch Mai ntenance 10-27 Level 3: Default Factory Syste m A direct RS232 connection is necessary. This clears the database of all conf igurations executed on the V-Switch, including user log i n profiles. Use this level if y ou want to completely clear a V-Switch’s databas e. For example, if you want to transfer a V-Swit ch[...]
-
Page 214
10-28 SANRAD V-Switch CLI User Manual[...]
-
Page 215
Chapter 11: Command L ine Interface 11-1 11 Command Line Interf ace IN THIS CHAPTER The CLI is availab le via: Console port with a direct RS232 connection. 1Gbit Ethernet network port (eth1) with a Telnet session. 10/100 Ethernet Management port with a Telne t session. The CLI is used to implement all V Switch man a gement functions, in[...]
-
Page 216
11-2 SANRAD V-Switch CLI User Manual The CLI supports the use of the followin g hot keys for the listed fun ctions: Table 11-1: Hot Keys Command Description ? LIST OF C OMMANDS WIT H A SHORT DE SCRIPTION OF EACH ! RETURN TO MAIN MENU Esc ABORT CURRENT COMMAND # DISPLAY LAST COMMAND TO VIEW COMMAND HISTORY Tab COMPLETE A COMMAND TO THE POINT OF AMBI[...]
-
Page 217
Chapter 11: Comman d Line Interface 11-3 admin show This command shows a ll valid user login names for the V Switch. admin show Table 11-2: Administrator User Names User Name Joe Cool Cyber Dude MI5 CUL8R C6H12O6 admin add This command adds a user name to the list of valid user lo gin names for the V Switch. A user name can be from 1 to 20 characte[...]
-
Page 218
11-4 SANRAD V-Switch CLI User Manual Example admin remove –un Joe Cool admin password This interactive command enables a user t o change their login password for their user name on the V Switch. You c a n only change the passw ord of the current active user. admin password system reset This command perform s a remote soft r eset of the V Switch. [...]
-
Page 219
Chapter 11: Comman d Line Interface 11-5 Table 11-3: iSCSI V Sw itch Configuration Parameter Value Name V Switch1 Description High Performance V Switch Contact Anna Levin Location Ext. 4838 Status OK Object ID 1.3.6.1.4.1.10059.1.1.2 Time Since Last Reset 5 days 1 h:29 m:49 sec Mgmt IP Address 212.199.43.46 Mgmt UDP Port 161 Date & Time 24/03/0[...]
-
Page 220
11-6 SANRAD V-Switch CLI User Manual S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -t TIME LOCAL TIME OPTI ONAL 13:30 -c CONTACT CONTACT PERSON IN THE EVENT OF A SYSTEM MALFUNCTION OPTIONAL AnnaLevin -loc LOCATION LOCATION OF THE CONTACT PERSON OPTIONAL ext4838 -if MANAGEMENT INTERFACE ALIAS MANAGEMENT PORT NAME MANDATORY ETH 1 eth1 -rld REPORT L[...]
-
Page 221
Chapter 11: Comman d Line Interface 11-7 device set -telnet 49155 device advance set This command redefine s the specified advanced p arameter of the V Switch. device set S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -param PARAMETER PARAMETER TO SET MANDATORY -val VALUE VALUE FOR PARAMETER MANDATORY device advance show This command shows the spe[...]
-
Page 222
11-8 SANRAD V-Switch CLI User Manual 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 allows you to set the speed of the FC communication. fc set speed S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -if INTERFACE STORAGE PORT MANDATOR Y f[...]
-
Page 223
Chapter 11: Comman d Line Interface 11-9 interface details This command lists t he interface det ails of a specified interface. interface details S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -if INTERFACE ALIAS ALIAS OF INTERFACE TO SHOW MANDATORY eth1 Table 11-5: Interface Details Parameter Details Name: eth1 Alias: eth1 Index: 9 Type: ETHERNET[...]
-
Page 224
11-10 SANRAD V-Switch CLI User Manual pscsi show This command displ ays at parallel SCSI devices and their bus ID number. pscsi show Table 11-6: Parallel SCSI Device Bus IDs Alias BusID pscsi3 12 pscsi4 7 pscsi set busid This command assigns a b us ID to a parallel SCSI dev ice. pscsi set busid S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -if IN[...]
-
Page 225
Chapter 11: Comman d Line Interface 11-11 S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -ip IP ADDRESS MANAGER IP ADDRESS MANDATORY 212.199.43.96 -p UPD PORT P ORT TO RECEIVE TRAPS THROUGH OPTIONAL DEFAULT : 162 -rcom READ COMMUNITY COMMUNITY TO GET INFORMATION OPTIONAL DEFAULT : PUBLIC -wcom WRITE COMMUNITY COMMUNITY TO SET INFORMATION OPTIONAL [...]
-
Page 226
11-12 SANRAD V-Switch CLI User Manual snmp manager remove This command removes a manager from the V Switch. snmp manager remove S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -ip IP ADDRESS MANAGER IP ADDRESS MANDATORY 212.199.43.96 -p UPD PORT P ORT TO RECEIVE TRAPS THROUGH MANDATORY 150 ip config show This command displ ays the V Switch IP confi[...]
-
Page 227
Chapter 11: Comman d Line Interface 11-13 S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -act ACTIVITY IF IP ADDRESS IS ACTIVE TO EXPOSE VOLUMES . U SE INACTIVE STATUS TO ALLOW FAILOVER . OPTIONAL DEFAULT : 1 ( ACTIVE ). 2( INACTIVE ) 1 Example ip config set –ip 212.199.43.56 –if eth1 –act 1 ip config remove This command remo ves an IP addre[...]
-
Page 228
11-14 SANRAD V-Switch CLI User Manual ip route add S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -dip DESTINATION IP IP OF HOST STATION MANDATORY 10.10.20.20 -dmask DESTINATIO N MASK IP MASK OF HOST STATION MANDATORY 255.255.255.0 -gw GATEWAY IP ADDRESS IP ADDRESS OF THE GATEWAY ROUTER MANDATORY 30.30.20.20 -if INTERFACE ALIAS NETWORK PORT TO OPE[...]
-
Page 229
Chapter 11: Comman d Line Interface 11-15 S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -dip DESTINATION IP IP OF HOST STATION MANDATORY 10.12.40.40 -dmask DESTINATIO N MASK IP MASK OF HOST STATION MANDATORY 255.255.255.0 -gw GATEWAY GATEWAY TO HOST STATION IP ADDRESS MANDATORY 20.22.11.11 -if INTERFACE ALIAS NETWORK PORT TO OPEN COMMUNICATION TH[...]
-
Page 230
11-16 SANRAD V-Switch CLI User Manual ip isns remove This command removes an iSNS server’s IP address from the V-Sw itch iSNS client. ip isns remove S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -ip IP ADDRESS IP ADDRESS OF I SNS SERVER MANDATORY 212.199.43.1 neighbor add This command ad ds a neighbor to a clust er. neighbor add S WITCH P ARAME[...]
-
Page 231
Chapter 11: Comman d Line Interface 11-17 neighbor show This command lists the n eighbor(s) in a cluster . neighbor show Table 11-10: 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 o f a neighbor in a cluster. neighbor details S WITCH[...]
-
Page 232
11-18 SANRAD V-Switch CLI User Manual cluster show This command shows the keep alive parameters of a cl uster. cluster show Table 11-12: Cluster Table Last Keep Alive: 1 KeepAlive Int(s): 2 Susp Int(s): 6 Dead Int(s): 10 Failover: Enabled State: Running cluster set This command allows you to modify a cluster’s p arameters. cluster set S WITCH P A[...]
-
Page 233
Chapter 11: Comman d Line Interface 11-19 cluster failover enable This command enables the cluster failover functionality. This command must be executed on both V Swit ches in the cluster. cluster failover enable cluster failover disable This command disables the cluster failover functionality. This command must be executed on both V Swit ches in t[...]
-
Page 234
11-20 SANRAD V-Switch CLI User Manual S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -ip IP ADDRESS SERVER IP ADDRESS MANDATORY 212.199.43.70 -fn FILE NAME NAME TO SAVE FILE AS MANDATORY Backupdata -ft FILE TYPE FORMA T TO SAVE DATA IN OPTIONAL DB – DATA BASE DEFAULT : DB db ft download This command downloads a V Switch da taba se config uration[...]
-
Page 235
Chapter 11: Comman d Line Interface 11-21 S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -ip IP ADDRESS SERVER IP ADDRESS MANDATORY 212.199.43.70 -fd FILE DIRECTORY DIRECT ORY TO EXPORT FILES TO MANDATORY Backupdata system boot This command forces the V Switch to boot in Safe Mode. system boot S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -sm SA[...]
-
Page 236
11-22 SANRAD V-Switch CLI User Manual S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -from FROM WHERE TO COPY FROM MANDATORY FLASH CFLASH cflash -type TYPE TYPE OF FILE TO COPY MANDATORY DB : DATABASE db system show This command shows the status of bot h the compact f lash and replication mode. system show Flash present Compact Flash present Datab[...]
-
Page 237
Chapter 11: Comman d Line Interface 11-23 Volume Configuration These commands enable you to config ur e and view disks and volumes via the V Switch. C OMMAND C OMMAND C OMMAND C OMMAND STORAGE DISCOVER Y SUBDISK DETAILS VOL UME CREATE STRIPED VOLUME MIRRO R BREAK STORAGE BLINK ACTIVATE SUBDISK ALIA S VOLUME SET VOL UME RESIZE STORAGE BLIN K ABORT S[...]
-
Page 238
11-24 SANRAD V-Switch CLI User Manual storage blink activate This command allows you to blink a stor age device to identify it. storage blink activate S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -s STORA GE DEVICE ALIAS OF DEVICE TO BLINK MANDATORY Stor_1 -t TIME LENGTH O F TI ME TO BLINK DEVICE MANDATORY 1-3600 SEC 0= FOREVER 120 storage blink[...]
-
Page 239
Chapter 11: Comman d Line Interface 11-25 Table 11-15: Storag e Disks Alias Entity Name LUN Oper. Status Subdisk disk1 01:02:03:04:05:06 :07:08 0 Disabled entire disk2 09:0a:0b:0c:0d:0e :0f:10 0 Enabled entire disk3 09:0a:0b:0c:0d:0e :0f:10 1 Enabled split disk4 01:02:03:04:05:06 :07:08 0 Storage is missing entire storage disk set This command allo[...]
-
Page 240
11-26 SANRAD V-Switch CLI User Manual S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -s STORAGE ALIAS ALIAS OF STORAGE TO VIEW MANDATORY disk1 Table 11-17: Storag e Details Alias: Disk2JBOD5 Entity Name: 2000002037a9551e LUN(Logical Unit Number) 0000000000000000 Vendor Name: SEAGATE Additional Info: Transport type: Fiber Channel Oper. Status: Enab[...]
-
Page 241
Chapter 11: Comman d Line Interface 11-27 storage remove This command removes a st orage device fr om the database only if the storage device state is defined as StorageIsMissing . storage remove S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -s STORAGE ALIAS OF STORAGE TO REMOVE MANDATORY Stor_1 subdisk create This command creates a subdisk accor[...]
-
Page 242
11-28 SANRAD V-Switch CLI User Manual subdisk show S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -d DISK ALIAS ALIAS OF DISK TO SHOW SUBDISKS FROM OPTIONAL USE THIS SWITCH TO LIST ONLY THE DETAILS OF A SPECIFIC DISK Table 11-18: Details of all Subdisks Disk Subdisk Start Address Length Vol disk1 split1 0 512 yes disk1 split2 512 512 yes disk2 spl[...]
-
Page 243
Chapter 11: Comman d Line Interface 11-29 subdisk alias This command allow s you to view all subdisk ali ases in full. The command subdisk show has a ten-character display limit so subdisk aliases may be ambiguous in the subdisk show table. subdisk alias Table 11-20: Subdisk Aliases Disk Length Alias Disk3 1024 split1disk3 Disk7 1024 split1disk7 Di[...]
-
Page 244
11-30 SANRAD V-Switch CLI User Manual volu me sh ow This command shows all volumes defin ed in the database. volume show Table 11-21: 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 Simp[...]
-
Page 245
Chapter 11: Comman d Line Interface 11-31 Alias Snp3Stripe1 Percentage Utilized 90% # of SubVolumes - Parent RAID Time Since Last Reset 1 days 4h:14m:21s Child vol1 Child vol2 volume alias This command allow s you to view all volume aliase s in full. The co mmand volume show has a ten-character display limit so volume aliases may be ambiguous in th[...]
-
Page 246
11-32 SANRAD V-Switch CLI User Manual volume create simple This command creates a simple volu me out of a disk or subdisk. volume create simple S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -vol VOLUME ALIAS OF SIMPLE VOLUME OPTIONA L DEFAULT : ( SUB ) DISK ALIAS -sd SUBDISK ALIAS ALIAS OF SUBD ISK TO USE MANDATORY IF USING A SUBDISK -d DISK ALIA[...]
-
Page 247
Chapter 11: Comman d Line Interface 11-33 S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -ch CHILD ALIAS OF EACH VOLUME TO INCLUDE IN MIRROR MANDATORY Simple1 -ch CHILD ALIAS OF EACH VOLUME TO INCLUDE IN MIRROR MANDATORY Simple2 volume create concatenated This command cre a tes a concatenat ed volume acro ss the specified volumes in the order list[...]
-
Page 248
11-34 SANRAD V-Switch CLI User Manual S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -sus STRIPED UNIT SIZE NUMBER O F BLOCKS TO WRITE IN EACH VOLUME PER PASS MANDATORY 200 -nbc NUMBER OF CHILDREN NUMBER OF VOLUMES TO CREATE STRIPE ACROSS OPTIONAL DEFAULT : 2 2 -ch CHILD ALIAS OF EACH VOLUME IN STRIP E MANDATORY Simple3 -ch CHILD ALIAS OF EACH VOL[...]
-
Page 249
Chapter 11: Comman d Line Interface 11-35 volume remove -all This command removes a volume and all volumes composing it in the hierarchy. The volume m ust be at the top of the hierarchy . The volume cannot be exposed; the volume L U must be inactivated. Simple vol umes will convert back to their component disks or subdisks. volume remove -all S WIT[...]
-
Page 250
11-36 SANRAD V-Switch CLI User Manual volume mirror sync show This command shows the status of all mirrored volumes where the “mirro r sync” operation was activated since last V-Switch reset. volume mirror show Volume Alias Source Alias Operational Status Progress Mirror8 Mirror2 Synchronizing 60% Mirror4 Mirror3 Last sync succeeded 100% Mirror[...]
-
Page 251
Chapter 11: Comman d Line Interface 11-37 volume mirror sync abort This command aborts synchronization o f mirrored volumes. volume mirror sync abort S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -src SOURCE ALIAS OF SOURCE VOLUME TO COP Y MANDATORY Mirror2 -dst DESTINATIO N ALIAS OF VOLUME TO COPY TO MANDATORY Mirror8 volume copy creat e This co[...]
-
Page 252
11-38 SANRAD V-Switch CLI User Manual volume copy abort This command ab orts an off- line volume copy op eration. volume copy abort S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -src SOURCE ALIAS OF SOURCE VOLUME TO COP Y MANDATORY ScienceLab -dst DESTINATIO N ALIAS OF VOLUME TO ABORT COPY TO MANDATOR Y ScienceLabII volume mirror add This command[...]
-
Page 253
Chapter 11: Comman d Line Interface 11-39 volume mirror break This command removes a child from a m i rror volume. volume mirror break S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -vol VOLUME VOLUME MIR ROR IS ADDING TO MANDATORY Mirror5 -ch CHILD CHJILD TO BREAK FROM MIRROR MANDATOR Y Simple10 volume resize This command increas es a volume’s [...]
-
Page 254
11-40 SANRAD V-Switch CLI User Manual volume expand This command expands a volume’s actual capaci ty to match its potential capacity. volume expand S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -vol VOLUME VOLU ME TO EXPAND MANDAT ORY Simple3 volume create snapsho t This command cre ates a snapshot volume create snapshot S WITCH P ARAMETER D EF[...]
-
Page 255
Chapter 11: Comman d Line Interface 11-41 volume snapsho t list This command shows all snapshot volu mes for a specific source v olume. volume snapshot list S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -vol VOLUME SNAPSHOT SOURCE VOLUME MANDATOR Y Mirro2 volume snapsho t rollback show This command shows statu s of snapshot rollback. volume snaps[...]
-
Page 256
11-42 SANRAD V-Switch CLI User Manual Volume Exposure These commands enable you to expose volumes using iSCSI protocol to network hosts and control acces s the exposed volumes. C OMMAND C OMMA ND C OMMAND C OMMAND ISCSI PORTAL SHOW ISCSI SESSIO N CONNECTION SHOW ACL ADD ACL IDENTITY SET ISCSI PORTAL CREATE ISCSI SESS ION CONNECTION DETAILS ACL SET [...]
-
Page 257
Chapter 11: Comman d Line Interface 11-43 iscsi portal show This command shows th e portals defined for iSCSI on the V Switc h with which you are communicating. iscsi portal show Table 11-25: 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 cre ates an iSCSI port[...]
-
Page 258
11-44 SANRAD V-Switch CLI User Manual iscsi target show This command shows all created targets. iscsi target show Table 11-26: iSCSI Targets 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 details This command shows the de[...]
-
Page 259
Chapter 11: Comman d Line Interface 11-45 Target Alias: nms153 Last Failure Type: Authentication Error Last Initiator Name: Plony Last Initiator IP: 1.2.3.4 iscsi target create This command creates an iSCSI target wi thout creati ng LU0, attaching volu mes or exposing the target. Ta rgets can be created in adv ance and only later have LUNs created [...]
-
Page 260
11-46 SANRAD V-Switch CLI User Manual iscsi target set This command ren a mes a target alias. iscsi target set S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -ta TARGET ALIAS ALIAS OF TARGET TO RENAME MANDATORY Pilote -n NEW ALIAS NEW ALIAS FOR TARGET MANDATORY Buffy -chapun CHAP USER NAME USER NAME FOR CHAP AUTHENTICATION MANDATORY WITH CHAP PASS[...]
-
Page 261
Chapter 11: Comman d Line Interface 11-47 iscsi target authentication This command allows the assigning of a password to a target to allow CHAP authentication at i nitiator connection to the target. iscsi target authentication S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -ta TARGET ALIAS ALIAS OF I SCSI TARGET TO REMOVE MANDATORY MusicBox -pw PA[...]
-
Page 262
11-48 SANRAD V-Switch CLI User Manual iscsi session details This command lists all details of a specific session. iscsi session details S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -id ID ID OF SESSION TO CHECK MANDATORY Finance -adv ADVANCED ADVANCED I SCSI SESSION DETAILS OPTIONA L No value needed Table 11-30: Basic iSCSI Session Details Initi[...]
-
Page 263
Chapter 11: Comman d Line Interface 11-49 Table 11-31: Advanced iSCSI Session Details Initial R2T False Immediate Data True Max Outstanding R2T 1 First Burst Size 65536 Max Burst Size 262114 Number of Connections 1 Sequence In Order True PDU In Order True Error Recovery Level 0 iscsi session statistics This command lists the stat isti cs of a speci[...]
-
Page 264
11-50 SANRAD V-Switch CLI User Manual Table 11-33: TXRX iSCSI Session Details ID Initiator ISID TSID Tx Octets Rx Octets 1 nms153 10000 1900 2 nms153 9990 1800 3 nms153 9000 1700 4 nms153 8990 1600 Table 11-34: Error iSCSI Session Details ID Initiator ISID TSIH Digests Err Timeout Err 1 nms153 5 10 2 nms153 5 9 3 nms153 4 8 4 nms153 4 7 iscsi sessi[...]
-
Page 265
Chapter 11: Comman d Line Interface 11-51 iscsi session connection details This command shows a ll details of a spe cific connection. iscsi session connection details S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -id SESSION ID ID OF I SCSI SESSION MANDATORY 1 – 255 1 -adv ADVANCED ID OF I SCSI CONNECTION OPTIONAL no value is needed Table 11-36[...]
-
Page 266
11-52 SANRAD V-Switch CLI User Manual scsi target port statistics This command shows all details of the SCSI target ports. scsi target port statistics Table 11-38: SCSI Target Port Statisti cs Target Port Trans In Commands Read MB Written MB Oracle 0 iSCSI 1900 10000 10900 1 iSCSI 1800 9990 10000 iscsi rinitiator show This command shows all remote [...]
-
Page 267
Chapter 11: Comman d Line Interface 11-53 iscsi rinitiator statistics show This command shows t he statistics for re mote initiators. iscsi rinitiator statistics show Target Initiator Attached Times Out Commands Written MB Read MB ta1 1 ta1 1 ta2 1 iscsi discovery rportal show This command displays iSCSI remote portals. iscsi discovery rportal show[...]
-
Page 268
11-54 SANRAD V-Switch CLI User Manual iscsi discovery rp ortal discover This command allow s you discover rem ote iSCSI portals. iscsi discovery rportal discover S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -ip IP ADDRESS IP ADDRESS OF NETWORK PORT MANDATOR Y 212.199.43.70 -port TCP PORT TCP PORT FOR I SCSI COMMUNICATION OPTIONAL DEFAULT : 3260 [...]
-
Page 269
Chapter 11: Comman d Line Interface 11-55 acl show This command shows a ll target access pe r identity for th e V Switch. acl show Table 11-41: Target Access per Identity Target Position Identity Access Finance 0 DEF_ALL not-accessible Finance 1 Identity5 read-only Finance 2 Identity2 read-write SQL 0 DEF_ALL not-accessible SQL 1 Identity7 read-wri[...]
-
Page 270
11-56 SANRAD V-Switch CLI User Manual acl add This command links an identity and a target. acl add S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -ta TARGET ALIAS ALIAS OF I SCSI TARGET MANDATORY water -id IDENTITY NAME OF ACL MANDATORY health_club -acc ACCESS RIGHTS ACCESS RIGHTS TO THE TARGET OPTIONAL OPTIONS : RW , RO OR NA DEFAULT : RW rw -pos[...]
-
Page 271
Chapter 11: Comman d Line Interface 11-57 acl rem This command removes an identity from the access control list o f a specific target. acl rem S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -ta TARGET ALIAS ALIAS OF I SCSI TARGET MANDATORY water -id IDENTITY NAME OF ACL MANDATORY health_club acl identity show This command lists the identit ies in [...]
-
Page 272
11-58 SANRAD V-Switch CLI User Manual Table 11-44: Identit y Details Description: All library employees Initiators: iqn.com.ibm.Chandler iqn.com.cisco.Nigel iqn.com.ibm.Helen iqn.com.cisco.Julia Credentials: CHAP acl identity create This command creates a new identity for the V Switch. acl identity create S WITCH P ARAMETER D EFINITION S TATUS E XA[...]
-
Page 273
Chapter 11: Comman d Line Interface 11-59 acl identity add name This command adds an iSCSI initiator to an identity. acl identity add name S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -id IDENTITY NAME OF ACL MANDATORY Med_School -name INITIATOR NAME WWU I OF INITIATOR MANDATOR Y iqn.com.ibm. Sarah acl identity remove name This command removes a[...]
-
Page 274
11-60 SANRAD V-Switch CLI User Manual acl identity add chap This command adds CHAP authentication credentials to an identity. acl identity add chap S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -id IDENTITY NAME OF ACL MANDATORY Med_School -un USER NAME HOST NAME MANDATORY Sarah -pw USER PASSWOR D HOST PASSWORD MANDATORY WITHOUT RADIUS 12 – 16 [...]
-
Page 275
Chapter 11: Comman d Line Interface 11-61 acl identity add srp This command adds SRP authentication credentials to an identity. acl identity add srp S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -id IDENTITY NAME OF ACL MANDATORY Med_School -un USER NAME HOST NAME MANDATORY Robert -pw USER PASSWORD HOST PASSWOR D MANDATORY cardiac acl identity re[...]
-
Page 276
11-62 SANRAD V-Switch CLI User Manual acl identity set This command allow s changes to an identity. acl identity set S WITCH P ARAMETER D EFINITION S TATU S E XAMPL E -id IDENT ITY NAME OF ACL MANDATORY Med_School -na NEW ALAIS NEW ALAIS FOR IDENTITY OPTIONAL Medschool -info INFORMATION INFORMATION ON IDENTITY OPTIONAL all_students -radius RADIUS S[...]
-
Page 277
Chapter 11: Comman d Line Interface 11-63 acl down This command pushes an identity position down in priority. acl down S WITCH P ARAMETER D EFINITION S TATU S E XAMPL E -ta TARGET TARGET ALAIS MANDATORY sql -id IDENT ITY NAME OF ACL MANDATORY Med_School -n JUMP SI ZE NUMBER OF PLACES TO MOVE DOWN OPTIONAL DEFAULT : 1 2 ip radius show This command s[...]
-
Page 278
11-64 SANRAD V-Switch CLI User Manual ip radius set This command allow s changes to a RADIUS server configuration on the V Switch RADIUS client. S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -ip IP ADDRESS IP ADDRESS OF RADIUS SERVER MANDATORY 212.199.43.2 -p PORT PORT NUMBER OPTIONAL -key KEY SHARED SECRET BETWEEN V- S WITCH AND RADIUS SERV OPTI[...]
-
Page 279
Chapter 11: Comman d Line Interface 11-65 volume expose –new This command cre ates a new LU0 and a new target fo r a specified vo lume. volume expose -new S WITCH P ARAMETER D EFIN ITION S TATUS E XAMPLE -vol VOLUME ALIA S ALIAS OF VOLUME TO CREATE LU0 AND TARGET FOR MANDATORY Concat 1 -ta TARGET ALIAS U SER - ASSIGNED ALIAS OF TARGET TO CREATE M[...]
-
Page 280
11-66 SANRAD V-Switch CLI User Manual lu show This command shows all LUN s defined in the da tabase. lu show Table 11-46: Details of all LUNs LUN Tgt Alias Volume Oper Status 0 Pilote xxx Active 0 Spirou yyy Active 1 Pilote Mir1 Active 0 1 zzz Active lu details This command shows the details of an LU in the database. lu details S WITCH P ARAMETER D[...]
-
Page 281
Chapter 11: Comman d Line Interface 11-67 lu remove This command removes the LU from its target. The LU must be inactive before being removed. This command is the opposite of volume expose . lu remove S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -ta TARGET ALIAS ALIAS OF TARGET TO REMOVE LU FROM MANDATORY Pilote -lun LOGICAL UNIT NUMBER LU TO RE[...]
-
Page 282
11-68 SANRAD V-Switch CLI User Manual system hardware show This command shows all hardw are interface connection statistics. system hardware show Table 11-49: Sy stem Hardware PS Status: 2 working Max No. of Power Supplies: 2 Max No. of Fans: 3 Fan Status: 3 working CPU Temperature (C): 59 CPU Temperature Threshold (C): Warning 90; Faulty 100 CPU T[...]
-
Page 283
Chapter 11: Comman d Line Interface 11-69 interface statistics details This command shows all interface connection counters. interface statistics details S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -if INTERFACE INTERFACE ALIAS MANDATORY fc2 Table 11-51: Interface Details Alias: eth1 Discontinuity: 2 days 1h:37m:9 sec In/Out Octets: 53570997355[...]
-
Page 284
11-70 SANRAD V-Switch CLI User Manual In Receives: 161853270 Reasm. Failures: 0 Fragments OK: 0 Failed to Fragment: 0 Number Generated Frag.: 0 Routing Discards: 0 ip statistics icmp show This command shows all ICMP counters. ip statistics icmp show Table 11-53: ICMP Counter Statistics Messages Received / Sent: 13/4 Errors In / Out: 0/0 Dest. Unrea[...]
-
Page 285
Chapter 11: Comman d Line Interface 11-71 Local Address Local Port Remote Address Remote Port State 11.11.11.110 3260 11.11.11.26 2176 established 22.22.22.110 3260 0.0.0.0 0 listen tcp statistics sho w This command shows all TCP connection counters. tcp statistics show Table 11-55: TCP Statistics #Current Connections: 4 Active Open: 0 Passive Open[...]
-
Page 286
11-72 SANRAD V-Switch CLI User Manual udp statistics show This command shows all UDP connection counters. udp statistics show Table 11-57: UDP Statistics Datagrams Received 408815 Wrong Port Datagrams 0 Errors Datagrams 18681 Datagrams Sent 78999[...]
-
Page 287
12 Monitoring & Statistics IN THIS CHAPTER Health Monitoring Interface Statistics TCP/IP Statistics iSCSI Session Statistics iSCSI Connection Statistics SCSI Port Statistics Remote iSCSI Initiator Statistics Logical Unit (LU) Statistics The V-Switch enables RFC standards compliant health, interface and session monitoring of all V-Switch interfa[...]
-
Page 288
12-2 SANRAD V-Switch CLI User Manual Health Monitoring You can monitor the health of the V-Swit ch hard ware for fa n malfuncti ons that could lead to overheat ing as well as power supply m a lfunctions both of wh ich can nullify high availa bility and lead to V-Switch failover. system hardware show This command shows all hardw are interface connec[...]
-
Page 289
Chapter 12: Monitoring & Statistics 12-3 Interface Statistics You can monitor interface traffi c and errors for each V-Switch interface to aid in system diagnostics. The in terface monitoring has two components: the interface configur ation and the counters. interface statistics show This command shows all interface connection st atistics to pr[...]
-
Page 290
12-4 SANRAD V-Switch CLI User Manual Table 12-3: Interface Statistics Details Alias: eth1 Discontinuity: 2 days 1h:37m:9 sec In/Out Octets: 535709973551 In/Out Unicast Pkts: 857473339209 In/Out Discards: 0/0 In/Out Errors: 0/0 In/Out Multicast Pkts: 96251/0 In/Out Broadcast Pkts: 403010/0 In Unknown Protos: 0 TCP/IP Statistics ip statistics ip show[...]
-
Page 291
Chapter 12: Monitoring & Statistics 12-5 ip statistics icmp show This command shows all ICMP counters. ip statistics icmp show Table 12-5: ICMP Statistics Messages Received / Sent: 13/4 Errors In / Out: 0/0 Dest. Unreach In / Out: 0/0 Time Excds In / Out: 0/0 Param. Problems In / Out: 0/0 Src Quench In / Out: 0/0 Redirect In / Out: 0/0 Echos In[...]
-
Page 292
12-6 SANRAD V-Switch CLI User Manual tcp statistics sho w This command shows all TCP connection counters. tcp statistics show Table 12-7: TCP Statistics #Current Connections: 4 Active Open: 0 Passive Open: 5 Attempt Failures: 0 Reset Establishments: 0 Segments Received: 16078975 Segments Sent: 162950234 Segments Retransmitted: 3794 Errors Received:[...]
-
Page 293
Chapter 12: Monitoring & Statistics 12-7 udp statistics show This command shows all UDP connection counters. udp statistics show Table 12-8: UDP Statistics Datagrams Received 408815 Wrong Port Datagrams 0 Errors Datagrams 18681 Datagrams Sent 78999 iSCSI Session Statistics You can moni tor iSCSI se ssions i ncluding: All iSCSI sessions in a[...]
-
Page 294
12-8 SANRAD V-Switch CLI User Manual iscsi session details This command deta ils all stat istics, either basic or advanced, o f a specific iSCSI session. iscsi session details You need one parameter to view a target’s iSCSI se ssion details: S WITCH P ARAMETER D EFINITION S TATUS E XAMPLE -id ID ID OF SESSION TO CHECK MANDATORY Finance -adv ADVAN[...]
-
Page 295
Chapter 12: Monitoring & Statistics 12-9 Table 12-11: Advanced iSCSI Session Details Initial R2T False Immediate Data True Max Outstanding R2T 1 First Burst Size 65536 Max Burst Size 262114 Number of Connections 1 Sequence In Order True PDU In Order True Error Recovery Level 0 iscsi session statistics This command lists the statistics of al l i[...]
-
Page 296
12-10 SANRAD V-Switch CLI User Manual Table 12-14: Error iSCSI Session Details ID Initiator ISID TSIH Digests Err Timeout Err 1 nms153 400001370000 b701 0 0 iSCSI Connection Statistics You can moni tor iSCSI c onnection s includin g: All iSCSI connections in and out of the V-Switch. All iSCSI connections for a specific init iator or target.[...]
-
Page 297
Chapter 12: Monitoring & Statistics 12-11 Table 12-16: iSCSI Session Connection Details Connection ID: 1 State: Full Local Address: 11.11.11.110 Local Port: 3260 Remote Address: 11.11.11.26 Remote Port: 2178 Table 12-17: Advanced iSCSI Session Connection Details RX Data Segment Length: 65536 TX Data Segment Length 65536 Header Integrity Data In[...]
-
Page 298
12-12 SANRAD V-Switch CLI User Manual Remote iSCSI Initiator Statistics You can monitor remote iSCSI initiators including: All initiators connected to the V-Switch. All initiato rs connections to a specific target. Statistics o f all connected in itiators. The CLI has a twenty-char acter display limit for initiat or WWUIs. Use StoragePr[...]
-
Page 299
Chapter 12: Monitoring & Statistics 12-13 iscsi rinitiator statistics show This command lists the stat istics of all iSCSI remote initiators connected to the V-Switch. iscsi rinitiator statistics show Targ Initiator Attached Times Out Commands Written MB Read MB ta1 iqn.199*~ 1 0 4848612 7382819 ta2 iqn.199*~ 1 0 3914422 8773472 ta3 iqn.199*~ 1[...]
-
Page 300
12-14 SANRAD V-Switch CLI User Manual[...]
-
Page 301
Appendix: Sampl e Configurations A-1 r A Sample Conf igurations IN THIS CHAPTER This chapter details working examples of how to install, configure and use the V-Switch with a Microsoft iSCSI initiator on a Windows™ 2000 platform for: Basic V-Switch configuration with volume creation and exposure. Individual disk replacement and mirrored v[...]
-
Page 302
A-2 SANRAD V-Switch User Manual Sample Introduction This chapter provides wor k ing examples of stand a rd procedures a nd configuration s you will use in owning and operat ing your V-Switch. Each exa mple uses one ba sic st orage network consisting of: One JBOD appliance with four di sks of equal capaci ty (the actual capacity is not important[...]
-
Page 303
Appendix: Sampl e Configurations A-3 STEP 1. ATTACH CABLES Attach an HSSDC-DB9 fibre channel cabl e from your JBOD appliance to one of the storage ports on the back pane l of the V-Switch. See #1, Figure A-1. Depending on your appliance, you need to plug a terminato r into one of the JBOD ports. Attach the included RS232 cable from your management/[...]
-
Page 304
A-4 SANRAD V-Switch User Manual STEP 2. P OWER UP STORAGE DEV ICE Power up the JBOD appliance first to allo w the V-Switch to register it in its network scan. STEP 3. POWER UP V-S WITCH Connect the power cord to the V-Switch and then to the electric socket. Turn the V-Switch on. The V- Switch powers up. The fan assembly is running and the LCD panel[...]
-
Page 305
Appendix: Sampl e Configurations A-5 Figure A-2. V-S w itch 3000 Login Windo w Enter the default user name, sanrad , and password, sanrad , and press Enter on your keyboard. The CLI prompt > appears. You are now logged in and ready to begin configuring your V- Switch for volume virtualization and exposure. STEP 6. I NITIALIZE V-S WITCH From the [...]
-
Page 306
A-6 SANRAD V-Switch User Manual STEP 8. C HECK STORAGE DEVICES Use the CLI command storage show to list the system-registered storage devices. This ensures that all disks were registered during the disk auto-discovery scan. This also lists the default disk aliases needed for creating your simple volumes. storage show Table A-3: Storage Devices Alia[...]
-
Page 307
Appendix: Sampl e Configurations A-7 STEP 11. C REATE S TRIPED VOLUME (RAID 0) Use the CLI command volume create striped to create a striped volume, Stripe1. volume create striped –vol Stripe1 –nbc 2 –sus 64 –ch Mirror1 –ch Mirror2 STEP 12. C REATE I SCSI TARGET AND LUN After creating the final virtual volume configuration that you want t[...]
-
Page 308
A-8 SANRAD V-Switch User Manual Click Add from the Target Portals tab. The Add Target Portal dialog box opens. Figure A-4. Portal Configuration Enter the IP address of Eth1, 172.17.200.174 and select the socket for the IP address. Click OK . The Microsoft initiator automatica lly discovers all available targets for this portal (IP + TCP). Toggle to[...]
-
Page 309
Appendix: Sampl e Configurations A-9 STEP 14. B EGIN USING VOLUME The new disk should be configured as a basic disk only. You can access Windows’ Disk Management application by right clicking on My Computer and selecting Manage . Select Disk Management from the Computer Management window. Figure A-6. Disk Man agement Window Replacing a Mirrored V[...]
-
Page 310
A-10 SANRAD V-Switch User Manual 10233 Client s Disk 1 Disk 2 Disk 4 V Switch Manager and Host Station RS232 Connection Fibre Channel Connection Windows 2000 Microsoft Initi ator 1 2 1 Gbit Ethernet, RJ45 Copper Connection 3 Disk 3 Disk 5 JBOD 1 Figure A-7. Replacin g a Failed Disk STEP 1. S ELECT A REPLACEMENT DISK Insert a replacement blade of th[...]
-
Page 311
Appendix: Sampl e Configurations A-11 Table A-4: Storage Devices Alias Entity Name LUN Oper. Status Subdisk Stor_1 500507606058c90 0 Enabled entire Stor_2 2000002037f88fb8 0 Enabled entire Stor_3 2000002037c32b1f 0 Enabled entire Stor_4 2000002037c32450 0 Storage is missing entire New disk Ð Stor_5 500708206059f880 0 Enabled entire STEP 3. CREATE [...]
-
Page 312
A-12 SANRAD V-Switch User Manual STEP 7. REMOVE FAILED VOLUME Use the CLI command volume remove all to remove the non- functional virtual volume fr om the V-Switch database. volume remove all –vol Simple4 STEP 8. REMOVE FAILED DISK Use the CLI command volume storage remove to remove the failed disk from the V-Switch database. storage remove –s [...]
-
Page 313
Appendix: Sampl e Configurations A-13 10266 W indows 200 0 V Sw itch Management Station Microsoft Initiator Old1 Old2 Old4 Old3 JBOD 1 New1 New 2 New4 New3 JBOD 2 OS3 NS3 Figure A-8. Replicating Data Off-line STEP 1. A TTAC H AND VIEW ST ORAGE DEVICES Attach the legacy JBOD to the V-Sw itch and configure the storage port communications as needed. S[...]
-
Page 314
A-14 SANRAD V-Switch User Manual Next, attach the new JBOD to the V-Sw itch and configure the storage port communications as needed. Use the CLI command storage show to view the attached storage. The legacy JBOD disks are Stor_1 through Stor_4. The new JBOD disks are Stor_5 through Stor_8. Table A-7: Legacy + New JBOD Disks Alias Entity Name LUN Op[...]
-
Page 315
Appendix: Sampl e Configurations A-15 STEP 3. REPLICAT E DATA Use the CLI command volume copy create to begin replicating the data. The legacy volume is the sour ce volume. The new volume 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 [...]
-
Page 316
A-16 SANRAD V-Switch User Manual Configuring the V-Switch with a Single IP Routing Path You have just purchased a V-Switch to manage your company’s storage network. A section of your company’ s employees is located in your local branch offices an d a section is stationed in your overseas offices. You need to configure volume access for both the[...]
-
Page 317
Appendix: Sampl e Configurations A-17 10234 Disk 1 Disk 2 Disk 4 Disk 3 1 2 Network B 212.199.43.70 Initiator Target: 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 Windows 2000 V Swit ch Management Station Microsoft Initiator Fibre Chan nel Connection Tower box Tower box Host 1 IP add[...]
-
Page 318
A-18 SANRAD V-Switch User Manual STEP 3. POWER UP V-S WITCH Connect the power cord to the V-Switch and then to the electric socket. The V-Switch powers up. The fan as sembly is running and the LCD panel displays: V-Switch 30 00 Status: OK STEP 4. I NITIALIZE V-S WITCH Use the LCD display and control butto ns to configure the V-Switch management por[...]
-
Page 319
Appendix: Sampl e Configurations A-19 STEP 5. L OGIN TO THE MANA GEMENT PORT From your management terminal, open a Telnet session with the management port. From the Windows Start menu, select Run. In the Open window, enter: telnet 100. 100.100.2 Click OK. A Telnet session window opens. Press Enter on your keyboard to open the V-Swit[...]
-
Page 320
A-20 SANRAD V-Switch User Manual STEP 8. C ONFIGU RE IP ROUTING PATH Use the CLI command ip route add to create an IP routing path to the external host network IP address from network port Eth 2. This will allow communications between the local V-Swit ch and Network B’s host stations. ip route add –dip 10.10.0.0 –dmask 255.255.255.0 – gw 21[...]
-
Page 321
Appendix: Sampl e Configurations A-21 STEP 11. C REATE MIRRORED VOLUMES (RAID 0) Use the CLI command volume create mirror to create a mirrored volume, Mirror1, from simple volumes Simple1 and Simple2. volume create mirror –vol Mirror1 –nbc 2 –ch Simple1 –ch Simple2 Use the CLI command volume create mirror to create a mirrored volume, Mirror[...]
-
Page 322
A-22 SANRAD V-Switch User Manual Figure A-11. Microsoft iSCSI Initiator Click Add from the Target Portals tab. The Add Target Portal dialog box opens. Figure A-12. Portal Configuration Enter the IP address of Eth1, 172.17.200.174 and select the socket for the IP address. Click OK . The Microsoft initiator automatica lly discovers all available targ[...]
-
Page 323
Appendix: Sampl e Configurations A-23 Figure A-13. Av ailable Target STEP 15. B EGIN USING VOLUME The new disk should be configured as a basic disk only. You can access Windows’ Disk Management application by right clicking on My Computer and selecting Manage . Select Disk Management from the Computer Management window. Figure A-14. Disk Manage m[...]
-
Page 324
A-24 SANRAD V-Switch User Manual Configuring a Cluster You have just purchased two V-Switches and are ready to configure your host/storage network. Your compan y has one LAN for stor age access and V- Switch management connections. Your management station IP address is 212.199.4 3.40. You have one FC JBOD that contains four disks. Because you have [...]
-
Page 325
Appendix: Sampl e Configurations A-25 1 Eth 1: 212.199.43.41 Eth 1: 212.199.43.56 10235 V Switch 1 V Switch 2 Fibre Channel Connection Eth 1: 212.199.43.42 2 Cloud IP address: 212.199.43.40 Eth 1: 212.199.43.75 Disk 1 Disk 2 Disk 4 Disk 3 22 1 Initiat or Target : 212.199.43.56 Etherne t LAN B Initiato r Targets: 212.199.43.75 212.199.43.56 Tower bo[...]
-
Page 326
A-26 SANRAD V-Switch User Manual STEP 2. P OWER UP STORAGE DEV ICE Power up the JBOD appliance first to allo w both V-Switches to register it in their network scan. STEP 3. POWER UP V-S WITCHES Connect the power cord to V-Switch 1 an d then to the electric socket. The V-Switch powers up. The fan assembly is ru nning and the LCD panel displays: V-Sw[...]
-
Page 327
Appendix: Sampl e Configurations A-27 Press Enter to enter the IP mask and return to the main V-Switch Status screen. V-Swi tch 3000 Status: OK STEP 5. I NITIALIZE V-S WITCH 2 Use the LCD display and control butto ns on V-Switch 2 to configure the V- Switch management port IP address and mask. Toggle to the IP Configure ETH1 Port screen. ?[...]
-
Page 328
A-28 SANRAD V-Switch User Manual Figure A-16. V-S w itch 3000 Login Screen Enter the default user name, sanrad, and pa ssword, sanrad, and press Enter on your keyboard. The CLI prompt > appears. You are now logged in and ready to begin config uring yo ur V-Switch for volume virtualization and exposure. STEP 7. NAME V-S WITCH 1 Use the CLI co[...]
-
Page 329
Appendix: Sampl e Configurations A-29 Figure A-17. V-S w itch 3000 Login Screen Enter the default user name and password and press Ent er on your keyboard. The CLI prompt > appears. You are now logged in and ready to begin configuring your V-Switch for volume virtualizatio n and exposure. STEP 9. NAME V-S WITCH 2 Use the CLI command init to [...]
-
Page 330
A-30 SANRAD V-Switch User Manual Now, use the CLI command ip config set to configure the IP takeover address for Eth 1. This IP address will be the IP address of Eth 1 on VSwitch2. The address will sit inacti ve (2) unless VSwitch2 goes offline. Then VSwitch1 will activate (1) this address and direct all read/write commands to this address through [...]
-
Page 331
Appendix: Sampl e Configurations A-31 STEP 14. C ONFIGURE V-S WITCH 2 I SC SI PORTALS The port number you set in the CLI must coincide with the port number you set in your iSCSI initiator configuration. Use the CLI command iscsi portal create to configure the iSCSI portal on network port Eth 1 for iSCSI communi cations between the V-Switch and the [...]
-
Page 332
A-32 SANRAD V-Switch User Manual Compare this disk table with the disk table from VSwitch1. Note that Default storage 1 and 2 are reversed in the d isk table from VSwitch2. That is, Default storage 1 in VSwitch1 is listed as Default storage 2 in VSwitch2. You will use the WWUIs to duplicate vi rtual volume hierarchies in each V- Switch. STEP 16. C [...]
-
Page 333
Appendix: Sampl e Configurations A-33 STEP 19. C REATE S IMPLE VO LUMES ON V-S WITCH 2 Now you will repeat the volume configurations on VSwitch2 to mimic the configurations on VSwtich1. Use the CLI command volume create simple to create four simple virtual volumes – one from each physical disk. Note that, using the WWUI to iden tify each disk, Si[...]
-
Page 334
A-34 SANRAD V-Switch User Manual STEP 22. C ONFIGU RE HOST STAT ION 1 INIT IATOR Open the Microsoft iSCSI initiator program on h ost station 1. Figure A-18. Microsoft iSCSI Initiator Click Add from the Target Portals tab. The Add Target Portal dialog box opens. Figure A-19. Portal Configuration Enter the IP address of Eth1, 212.199.43.56 and select[...]
-
Page 335
Appendix: Sampl e Configurations A-35 Toggle to the Available Targets tab to view all available targets for the configured portal. Figure A-20. Av ailable Target STEP 23. C ONFIGU RE HOST STAT ION 2 INIT IATOR Open the Microsoft iSCSI initiator program on h ost station 2.[...]
-
Page 336
A-36 SANRAD V-Switch User Manual Figure A-21. Microsoft iSCSI Initiator Click Add from the Target Portals tab. The Add Target Portal dialog box opens. Figure A-22. Portal Configuration Enter the IP address of Eth1, 212.199.43.56 and select the socket for the IP address. Click OK . The Microsoft initiator automatica lly discovers all available targe[...]
-
Page 337
Appendix: Sampl e Configurations A-37 Figure A-23. Av ailable Target Because host 2 has access to two targets, you need to add the second initiator to access the target, sanrad.musicbox. Figure A-24. 2 nd Microsoft iSCSI Initiator Conf iguration for Host Station 2[...]
-
Page 338
A-38 SANRAD V-Switch User Manual Toggle to the Available Targets tab to view all available targets for the host 2 initiator. Figure A-25. All Av ailable Targets[...]
-
Page 339
Index 1 I Inde x 1 10/100, 1- 5 A AC power supplies, 10-20 ACL add, 11-56 details, 11-55 down, 11-63 identity add chap , 11-60 identity add name, 11 -59 identity add srp, 11-61 identity create, 11-58 identity delete, 11-58 identity details, 7- 24, 11-57 identity remove chap, 11-60 identity remove name, 11-59 identity remove srp, 11-61 identity set,[...]
-
Page 340
2 SANRAD V-Switch CLI User Manual subdisk, 6 -9, 11-29 volume, 6-12, 9- 1, 11-31 Auto-discove ry, 2-8, 3-6 B Blink storage abort, 6-4, 11-2 4 storage activ ate, 6-3, 11-24 Boot, 11-21 Break mirror, 8-16, 11-39 Bridging switch, 1- 2 Bus ID, 4-12, 11- 10 C Capacity actual, 8- 19, 8-24 potential, 8-19, 8-24 Celsius, 4- 6, 12-2 Change password, 10-8 us[...]
-
Page 341
Index 3 acl identity, 11-58 iSNS, 4-18, 9- 7, 10-6 RADIUS, 9-7 Details acl, 11-55 disk, 6-5, 11-2 5 interface, 11-9 interface statist ics, 11-69, 12-3 iSCSI session, 11-48, 12-8 iSCSI session connection, 11-5 1, 12-10 iSCSI target, 7 -13, 11-44, 11-67, 12-13 LU, 11-66 LUN, 11-66 neighbor, 5-10, 11-17 storage, 6-5, 11-25 subdisk, 6-10 subdisks, 11 -[...]
-
Page 342
4 SANRAD V-Switch CLI User Manual Hierarchy volume, 11-31 Hot keys, 1-6, 11-2 I Identify storage device, 6-3, 1 1 -24 Identity acl add chap , 11-60 acl add name, 11-59 acl remove name, 11-59 add srp, 11-61 create acl, 11-58 delete acl, 11-58 details, 7- 24, 11-57 down, 11-63 remove chap, 11- 60 remove srp, 11-61 set, 11-62 up, 11-62 In-band, 4-2 In[...]
-
Page 343
Index 5 iSCSI initiat or statistics show, 11-53 , 12-13 iSCSI portal create, 4-19 remove, 4-20 , 11-43 show, 4-20, 11-43 iSCSI remote initi ator list, 11-52 , 12-12 show, 11-52, 12-12 iSCSI remote portal add, 4-22, 11-54 discover, 4-22, 11-54 remove, 4-23 , 11-54 set, 4-21, 11- 53 show, 4-21, 11-53 iSCSI session connection details, 11-51, 12-10 con[...]
-
Page 344
6 SANRAD V-Switch CLI User Manual Name acl identity re move, 11-59 Neighbor add, 5-6, 1 1-16 details, 5- 10, 11-17 remove, 5-11 , 10-18, 11-17 set, 5-11, 10- 18, 11-16 show, 5-10, 11-17 Network port, 2 -9, 3-7 config, 4-14 Network topology, 1-3 New volume expose, 11-65 Node show fc, 11-7 Normal mode , 10-24 Number of childre n, 6-14 O Off-line, 5-9[...]
-
Page 345
Index 7 subdisk, 10-17, 11-29 user profile, 10-8 volume, 9 -2, 11-34 Remove all volume, 11-35 Rename volume, 9-1 Replace mirrored volume, A-9 power supply, 10-20 volume, 9 -5, 11-35 Replicate, A -15 Replicating data o ff-line, A-12 Replication st atus, A-15 Report LUNs, 10-15, 11-6 Reset, 2-2, 10-21 V-Switch, 10-8 Resize volum e, 8-19, 11-39 Retrac[...]
-
Page 346
8 SANRAD V-Switch CLI User Manual subdisk, 6-10, 11-28 system, 11-22 system hardware, 11-68, 12 -2 TCP connection, 11-70, 12-5 TCP statistics, 11-71, 12-6 UDP listeners, 11-71, 12-6 UDP statistics, 11 -72, 12-7 volume, 6-7, 6-13 , 11-30 volume mirror, 8-7 volume mirror sync, 11-36 volume snapshot rollback, 8-15 Simple volume, 11-32 Simple volume cr[...]
-
Page 347
Index 9 System Reset V switch, 11- 4 System Reset Default Factory V switch, 11- 4 T Target authenticati on, 7-21 existing, 7-30 new, 7-30 TCP connection show, 11-70, 12-5 TCP statistics show, 11-71, 12-6 TCP/IP statistics, 12-4 Technical assistance, 1-6 Telnet, 1-5, 4-2, 4 -6, 4-9 set device, 10-3, 11-6 Telnet port, 10-3 Temperature scale, 4-6, 12-[...]
-
Page 348
10 SANRAD V-Switch CLI User Manual simple, 6-12 , 11-32 snapshot activate, 8- 14 snapshot deactivate, 8-13 snapshot list, 8-14 snapshot show, 8-14 start mirror synchonization, 11-36, 11-37 stripe, 6-16, 11-33 transparent, 11-32 Volume configura tion, 11-23 Volume create concatenated, 6-14, 11 -33 mirror, 6-19, 11-32 RAID 0+1, 6-21 RAID 10, 6-21 sim[...]