Page 2
Notice This manual contains information that is proprietary to SANRAD. No part of this publication may be reproduced in any form whatsoever without prior written approval by SANRAD. Right, title and interest, all information, copyrights, patents, know-how, trade secrets and other intellectual property or other proprietary rights relating to this...
SANRAD disclaims all warranties including the implied warranties of merchantability and fitness for a particular purpose. SANRAD shall not be liable for any loss of use, interruption of business or indirect, special, incidental or consequential damages of any kind. In spite...
SANRAD has been advised of the possibility of such damages. This Agreement shall be construed and governed in accordance with the laws of the State of Israel.
Ensure that a fuse or circuit breaker no larger than 120 VAC, 15a U.S. (240 VAC, 10A international) is used on the phase conductors (all current-carrying conductors). The V-Switch is intended to be grounded. Ensure that the V-Switch is connected to earth ground during normal use.
Page 6
SPCLI3.1.1205 SANRAD V-Switch CLI User Manual...
V-Switch Overview... 1-2 Order of Operations... 1-3 Manual Organization ... 1-4 CLI - Command Line Interface... 1-5 Technical Assistance ... 1-6 CHAPTER 2: Installing the V-Switch 2000 ... 2-1 Chassis ... 2-2 Front Panel ...2-2 Back Panel...2-3 System Indicator LEDs ...2-4 Surface Mounting ...
Page 8
Removing an IP Address ...4-16 Discovering iSCSI Targets... 4-17 iSCSI Discovery Session ...4-17 SLP ...4-17 iSNS...4-18 Configuring iSCSI Portals... 4-19 Viewing iSCSI Portals ...4-20 Removing iSCSI Portals...4-20 Discovery of iSCSI Storage Devices...4-21 iscsi discovery rportal show ...4-21 SANRAD V-Switch CLI User Manual...
Page 9
Setting a Default Gateway ...4-25 Checking IP Routes ...4-26 Viewing IP Routes...4-26 Removing an IP Route...4-26 CHAPTER 5: V-Switch Cluster Configuration... 5-1 Introduction to V-Switch Clusters... 5-2 Configuring a V-Switch Cluster... 5-5 Setting the V-Switch ID ...5-5 Adding a Neighbor ...5-5 Working with SCSI Storage Devices...5-8...
Page 10
CHAPTER 9: Routine Volume Maintenance ... 9-1 Volumes... 9-1 Renaming a Volume ...9-1 Removing a Volume...9-2 Removing all Volumes in a Hierarchy ...9-3 Replacing a Volume...9-4 Synchronizing a Volume ...9-5 Targets and Exposure ... 9-6 Removing an LU ...9-6 SANRAD V-Switch CLI User Manual...
Page 11
Adding a User Profile ...10-7 Changing a User Profile...10-8 Removing a User Profile ...10-8 V-Switch... 10-8 Resetting a V-Switch...10-8 Saving (Uploading) a V-Switch Database File ...10-9 Downloading a V-Switch Configuration File...10-10 Network Interfaces... 10-11 Changing an Interface Alias...10-11 Adding an Interface IP Address ...10-11 Removing an Interface IP Address ...10-12...
Page 12
...11-16 neighbor show...11-17 neighbor details...11-17 neighbor remove ...11-17 cluster show ...11-18 cluster set...11-18 cluster failover enable ...11-19 cluster failover disable ...11-19 ft show...11-19 ft upload software...11-19 ft download...11-20 ft export problem ...11-20 system boot...11-21 SANRAD V-Switch CLI User Manual...
Page 13
system set...11-21 system copy ...11-21 system show ...11-22 Volume Configuration ... 11-23 storage discovery...11-23 storage blink activate ...11-24 storage blink abort ...11-24 storage show...11-24 storage disk show ...11-24 storage disk set...11-25 storage alias...11-25 storage details...11-25 storage set ...11-26 storage remove ...11-27 subdisk create...11-27 subdisk show ...11-27 subdisk details ...11-28...
Page 14
...11-61 acl identity set ...11-62 acl up ...11-62 acl down...11-63 ip radius show ...11-63 ip radius add ...11-63 ip radius set...11-64 ip radius remove ...11-64 volume expose –new ...11-65 volume expose...11-65 lu show...11-66 viii SANRAD V-Switch CLI User Manual...
Page 15
lu details...11-66 lu remove ...11-67 lu statistics show ...11-67 Monitoring and Statistics... 11-67 system hardware show ...11-68 interface statistics show ...11-68 interface statistics details ...11-69 ip statistics ip show ...11-69 ip statistics icmp show ...11-70 tcp connection show ...11-70 tcp statistics show ...11-71 udp listeners show ...11-71 udp statistics show...11-72 CHAPTER 12: Monitoring &...
Page 16
Sample Introduction ...A-2 Installing and Using the V-Switch 3000 ...A-2 Replacing a Mirrored Volume ...A-9 Replicating Data Off-line ...A-12 Configuring the V-Switch with a Single IP Routing Path ...A-16 Configuring a Cluster ...A-24 CHAPTER 14: Index... 1 Figure 1-1. V-Switch Network Topology... 1-3 Figure 2-1.
Page 17
Figure 5-2. Re-routing Storage Access with Off-line V-Switch ... 5-4 Figure 5-3. Cluster with Neighbor IP Addresses... 5-7 Figure 6-1. Physical Storage used in Examples ... 6-2 Figure 6-2. Transparent Volume 1 ... 6-7 Figure 6-3. Partitioning a Physical Volume ... 6-8 Figure 6-4.
Page 18
Portal Configuration...A-34 Figure A-20. Available Target ...A-35 Figure A-21. Microsoft iSCSI Initiator...A-36 Figure A-22. Portal Configuration...A-36 Figure A-23. Available Target ...A-37 Figure A-24. Microsoft iSCSI Initiator Configuration for Host Station 2...A-37 Figure A-25. All Available Targets...A-38 SANRAD V-Switch CLI User Manual...
Page 19
Network Port Cable Connections ... 3-8 Table 4-1: V-Switch Configuration... 4-8 Table 4-2: V Switch Interfaces... 4-12 Table 4-3: V-Switch IP Configuration Table ... 4-15 Table 4-4: iSNS Servers ... 4-18 Table 4-5: iSCSI Portals ... 4-20 Table 4-6: V-Switch IP Routing Paths ... 4-26 Table 5-1: Neighbors in a Cluster ...
Page 21
Legacy JBOD Disks ...A-13 Table A-7: Legacy + New JBOD Disks...A-14 Table A-8: Replication Status ...A-15 Table A-9: Storage Disks...A-20 Table A-10: Storage Disks as seen through V-Switch 1 ...A-31 Table A-11: Storage Disks as seen through V-Switch 2 ...A-31 Table of Contents...
Technical Assistance The V-Switch enables a network administrator to create and manage virtual storage volumes using SANRAD’s Volume Manager. The Volume Manager supports the creation and combination of concatenated, striped (RAID 0) and mirrored (RAID 1) volumes.
Above the V-Switches are IP clouds connecting the network(s) management and host stations. The hosts can connect to the V-Switch directly or via an IP cloud. An iSCSI initiator agent in the host allows access to virtual volumes in the V Switch.
Figure 1-1. Order of Operations Whether being used as a bridging switch between FC or SCSI and iSCSI or as a storage virtualization switch, the V-Switch is operated in the following manner: STEP 1. STEP 2. STEP 3. STEP 4.
Manual Organization This manual is designed to guide you step-by-step through V-Switch installation, configuration, virtualization, maintenance and troubleshooting. The chapters are set up as follows: Table 1-1: Chapter Title Chapter 2 “Installing the V-Switch 2000” Chapter 3 “Installing the V-Switch 3000”...
All CLI commands in this manual are listed first with the basic command followed by a table of command switches; their explanations; status (mandatory or optional) and an example for each command switch, as shown in Table 1-2. Table 1-2:...
If you have questions, comments or require technical assistance, you can contact SANRAD Technical Support at: US and Americas: 1-866-301-8155 International: +972-3-7574855 techsupport@sanrad.com For further information on SANRAD and the SANRAD family of products, please refer to: http://www.sanrad.com For more information on iSCSI, SCSI protocols and SCSI-related topics refer to: http://www.ietf.org/rfc/rfc3347.txt...
Installing the V-Switch 2000 IN THIS The V-Switch 2000 is a 1U high performance storage networking appliance that can be surface or rack mounted. CHAPTER After mounting the V-Switch 2000, connect the requisite cables. Chassis Surface Mounting The V-Switch 2000 contains the following:...
Chassis The V-Switch 2000 is a 1 U surface or rack-mountable storage network appliance. Its front panel includes the console port, network ports, storage ports, system indicator LEDs and reset button. Its back panel includes the fans and power supply.
Figure 2-2. V-Switch 2000 Front Panel – FC Back Panel 5. Fans 6. Power supply Figure 2-3. V-Switch 2000 Back Panel Chapter 2: Installing the V-Switch 2000...
System Indicator LEDs Table 2-1 lists the V-Switch 2000 indicator LEDs as shown in Figure 2-4. Table 2-1: V-Switch 2000 LEDs Status Indication ETWORK PORT IS ACTIVE ETWORK PORT IS OPERATING AT SCSI/FC TORAGE PORT IS FUNCTIONING TORAGE PORT IS FUNCTIONING AT...
V-Switch 2000, continue with “Rack Mounting.” Rack Mounting The V-Switch 2000 chassis can be mounted on a 19-inch rack. The V-Switch 2000 can be mounted alone or two V-Switches can be joined and mounted together in a single 1U space.
Page 34
V-Switch to the rack. Attach it with four of the included screws. For dual-mounting, use the short L-bracket on both V-Switches. Then place the two V-Switches side by side with the lip of the left V-Switch L-bracket in front of the lip of the right V-Switch L-bracket. Attach the two V-Switches by inserting two screws through the front holes of the overlapping L- brackets.
Connect the SAN storage devices or fabric to the V-Switch 2000 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 will vary depending on your V-Switch 2000 order specifications –...
Page 36
When connecting more than one V-Switch 2000 to a group of storage devices, ensure that the same port on each V-Switch 2000 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.
Network Port Connections The copper network ports, labeled Eth 1 and 2, are located on the front left 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 topology, keep in mind that the current initiator technology does not support volume access by more than one server at a time.
Console Port Connection The console port, labeled Console, is located on the front left of the V-Switch 2000. Use this RS232 port and included male-female straight cable to connect a console or dumb terminal to the V-Switch 2000 for initial system configuration and local management.
Reconfirm that all storage devices are powered up. Plug the power cable 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 on the front right of the V-Switch 2000 turns green.
Installing the V-Switch 3000 IN THIS The V-Switch 3000 is a 1U high performance storage networking appliance that can be surface or rack mounted. CHAPTER After mounting the V-Switch 3000, connect the requisite cables. Chassis Surface Mounting The V-Switch 3000 contains the following:...
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, compact flash and console port.
System Indicator LEDs Table 3-1 lists the V-Switch 3000 indicator LEDs as shown in Figure 3-3. Table 3-1: Chapter 3: Installing the V-Switch 3000 Figure 3-2. V-Switch 3000 Back Panel V-Switch 3000 LEDs Status Indication OWER LL POWER SUPPLIES FUNCTIONING...
A screwdriver suitable for the rack-post screws Remove the rubber feet from the bottom of the V-Switch before beginning the rack mount to ensure a proper fit in the rack enclosure.
Page 45
STEP 4. This step works best with two people: one at the rear of the rack coordinating This step works best the V-Switch/mount connection and one at the front of the rack inserting the V- with two people. Switch. STEP 5.
When connecting more than one V-Switch 3000 to a group of storage devices, ensure that the same port on each V-Switch 3000 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.
Network Port Connections The network ports, labeled Eth 1, 2 & 3, are located on the front right of the V- Switch 3000. Use the 1Gb Ethernet ports to connect to the network or directly to the host station. Each network port has both a fiber optic and copper connector but only one cable, either fiber optic or copper, can be connected to each port.
Conversely, if a port is active on a fiber optic connection and you want to switch to copper, it is not enough to remove the fiber optic connection from the SFP optical transceiver. The SFP optical transceiver must also be removed from the fiber optic connector.
Management Port Connection The management port, labeled 10/100 mgmt, is located on the front center of the V-Switch 3000. Use this 10/100 port to connect a host station either directly or via a network to the V-Switch 3000. When connecting directly to the V-Switch 3000 via 10/100, use a male-female straight cable.
100 – indicates how the port is operational: on – 100; off – 10. The LCD is located on the front left of the V-Switch 3000. The LCD has two rows of 16 characters each in addition to six control buttons. Use the LCD buttons and display for initial V-Switch 3000 configurations immediately after power up.
Scalability, is located on the back lower left side of the V-Switch 3000. The scalability port is a V-Switch 3000 interconnectivity port. Using SANRAD’s proprietary scalability cable, two V-Switches can be connected and synchronized to function as one V-Switch 3000 to provide resource sharing and computational power increase.
Powering Up You can power up the V-Switch 3000 once you have connected and powered up the storage devices. The V-Switch 3000 contains a storage auto-discovery function. At power- up the V-Switch 3000 automatically scans for and registers all attached and powered up network storage devices. Therefore, power up all storage devices before powering up the V-Switch 3000.
The basic V-Switch configurations define the management IP Managing the V- Switch configurations and can be done either via the LCD panel for the V- Switch 3000 or the RS232 console port for both the V-Switch 3000 Initial V-Switch Configuration and the V-Switch 2000.
After powering up the V-Switch, the first thing you must do is to configure its management parameters. This can be done via telnet, SSH, using the V-Switch LCD panel (for V-Switch 3000 only) or via a console or dumb terminal to open a direct connection with the V-Switch’s RS232 console port.
Telnet Station IP Cloud Cloud Gb port Gb port 10/100 port 10/100 port RS232 port RS232 port Modem Fast Ethernet Network Modem Console Console Clients Clients Management Terminal Clients Out-of-Band Management Figure 4-1. V-Switch Management Options Chapter 4: V-Switch Configuration...
Initial V-Switch Configuration The V-Switch has a default IP Address of 10.11.12.123. This allows you to set initial startup parameters via a telnet session. Assigning a Management IP Address Mgnt port is only for The management IP address can be set via: V-Switch 3000.
RS232 Serial Connection To initialize the V-Switch via an RS-232 serial connection: Connect the cable to the appropriate port on the management server, and open a Terminal session. Set the following parameters in the terminal: ARAMETER ONFIG ERIAL ITS PER SECOND...
You must define LCD Buttons only one port for The V-Switch 3000 has buttons next to its LCD display. You can use these to management. Both assign the initial setup parameters. can not be active at the same time. To assign management IP for V-Switch 3000 via the LCD buttons: Toggle the LCD buttons to set an IP address and IP mask.
Page 59
WITCH -loc -rld -telnet -rcom -wcom temperature_units Chapter 4: V-Switch Configuration ARAMETER EFINITION IP M MANAGEMENT ASK FOR THE MASK MANAGEMENT PORT PORT PORT THROUGH WHICH ALL COMMUNICATIONS – WILL FLOW SNMP NAMELY FOR INTERFACE ALIAS ALIAS OF PORT FOR...
Example: The V-Switch alias is reset to V-Switch 1; the IP address for V-Switch management functions is changed to 212.199.43.47. The date is set to the 21 July, 2002 and the time to 1:30 p.m. Anna Levin is named as the contact person and she can be reached at the internal office extension 4838.
The port 1597 is programmed as the Telnet communications port. device set -telnet 1597 Use the CLI command info to check the V-Switch’s designated Telnet port. Traps and SNMP The V-Switch supports standard MIB s for monitoring and sends SNMP traps that can be viewed by an SNMP manager/console.
Page 62
MANAGER ARAMETER EFINITION READ COMMUNITY COMMUNITY TO GET INFORMATION WRITE COMMUNITY COMMUNITY TO SET INFORMATION TATUS XAMPLE private OPTIONAL DEFAULT PRIVATE OPTIONAL SEND DO NOT SEND DEFAULT TATUS XAMPLE OPTIONAL DEFAULT PUBLIC OPTIONAL DEFAULT PRIVATE SANRAD V-Switch CLI User Manual...
V-Switch using the CLI command sensitive. admin add. The default user name and password sanrad can be maintained or removed. The user name can have from one to twenty characters. The user password can have from six to twelve characters.
Alias Configuring an FC Storage Port The V-Switch default configuration for FC connections is 1 GB nl port in a public loop. If you want to change the default configuration, each storage port connected to an FC device can be reconfigured to change the connection speed, port type and connection mode.
Example fc set –if fc2 –sp 1 –pt nl –cm prl Viewing the V-Switch World Wide Node Name Use the CLI command fc node show to view the V-Switch World Wide Node Name (WWNN). fc node show Name Description WWNN...
For regular port activity, use the default active port setting. The inactive port setting is used when configuring a V-Switch cluster. If you are configuring a V- Switch cluster, each IP address must be configured on both V-Switches in the V- Switch cluster.
IP address from Eth1. If you are working in a cluster, the IP address must be removed from both V-Switch databases. For more information on V- Switch clusters, see ip config remove...
Discovering iSCSI Targets iSCSI target discovery is performed across the IP-SAN by the iSCSI initiator located on the server. The V-Switch supports three methods for reporting iSCSI targets in the IP-SAN to iSCSI initiators: iSCSI Discovery Session iSNS iSCSI Discovery Session The V-Switch supports iSCSI discovery sessions for reporting iSCSI targets to iSCSI initiators.
IP-SAN to locate the V-Switch targets automatically. Use the CLI command ip isns add to add an iSCSI server to the V-Switch’s iSNS client. Targets defined by the V-Switch’s Access Control List (ACL) as having controlled access are accessible only to those servers defined as having access to the target.
IP address and a TCP port. Once created, a portal is opened automatically during a communication session. If you are working in a V-Switch cluster, each portal must be created on both V- The V-Switch supports a maximum Switches in the V-Switch cluster.
Only after all iSCSI portals related to an IP address are removed from a port can the IP address be removed from the port. If you are working in a cluster, the portal must be removed from both V-Switch databases. For more information on V-Switch clusters, see...
This command displays iSCSI remote portals. iscsi discovery rportal show iscsi discovery rportal set This command allows you to set the interval (period) for the V-Switch to poll the network for iSCSI targets. iscsi discovery rportal set WITCH...
ADDRESS ADDRESS OF NETWORK PORT PORT PORT FOR SCSI COMMUNICATION PERIOD PERIOD FOR REDISCOVER IN SECONDS TATUS XAMPLE 212.199.43.70 MANDATORY 5003 OPTIONAL DEFAULT 3260 TATUS XAMPLE 212.199.88.22 MANDATORY 5003 OPTIONAL DEFAULT 3260 OPTIONAL DEFAULT 1800 SANRAD V-Switch CLI User Manual...
The IP route begins with a specified network port on the V-Switch and ends at the external network IP address. Just as each IP address is unique, each IP routing path is unique. There can be only one IP route to a given external network IP address per V-Switch.
Use the CLI command ip route add to add an IP routing path to your V-Switch. If you are working in a V-Switch cluster, you must configure the IP route on both V-Switches in the V-Switch cluster. For more...
You can configure the default gateway for IP routes from two interfaces: 10/100 MBits Mgnt Interface or 1GBits ETH1 Interface. This gateway is used for any IP address not specified in the V-Switch routing table. Use the CLI command ip route default to set the default gateway IP address for management and Eth1.
After creating an IP routing path, 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 from the V-Switch. Make sure that the route is defined on the other side as well.
Page 79
Eth3. ip route remove –dip 10.12.40.0 –dmask 255.255.255.0 –if eth3 You have now configured all basic V-Switch parameters. If you are creating a V-Switch cluster, continue with working with a single V-Switch, you can now begin creating virtual volumes.
Introduction to V-Switch Clusters A cluster can be configured between two V-Switches using CLI or Configuring a SANRAD’s StoragePro management GUI. We recommend using V-Switch Cluster StoragePro for its simplicity of use, particularly for cluster Managing a Cluster configuration. For more information on configuring a cluster using StoragePro, consult the StoragePro User Manual and on-line help system.
Introduction to V-Switch Clusters Two V-Switches can be concurrently connected to the same storage devices to balance volume exposure thus creating a V-Switch cluster. In a cluster, each V- Switch interacts in an active-active, peer-to-peer fashion with the other V- Switch, or neighbor, in the cluster.
Page 83
Clusters also provide high availability in the event of V-Switch failover. cluster, the V-Switch Each network port on the V-Switch is configured with its own active, or can support a functioning, IP addresses as well as inactive, or dormant, neighbor IP maximum of 100 addresses.
Host 1 continues to access Volume 1 through the same IP address as it did before its V-Switch went off-line. Host 1 has no way of knowing that its regular V-Switch is off-line. Host 1’s storage performance is not impacted by the off- line V-Switch.
V-Switch ID for each V-Switch. device set WITCH Example: There are two V-Switches in a cluster. In V-Switch 1 the ID is set to 1. device set –id 1 In V-Switch 2 the ID is set to 0. device set –id 0...
Page 86
You need to define two parameters to notify a V-Switch of a neighbor. WITCH Example: A V-Switch is informed that it has a neighbor, VSwitch2, and that it can establish communication with VSwitch2 via IP address 212.199.43.75. neighbor add –nb VSwitch2 –ip 212.199.43.75...
Page 87
V-Switches when creating a V-Switch cluster, including IP addresses, portals, IP routes, volumes and targets. Chapter 5: V-Switch Cluster Configuration iSCSI iSCSI initiator initiator Tower box Host 1 Cloud IP SAN iSCSI Target 1...
Switches in the cluster will be sharing the same bus. Therefore, you have to change the SCSI bus ID of one of the V-Switches. The V-Switch SCSI port also includes a SCSI bus terminator. If both V-Switches are on the same SCSI bus, you need to eliminate the storage device internal terminator, if present.
If you want to break a cluster or need to take a V-Switch off-line, you must first disable V-Switch failover. Use the CLI command cluster failover disable to disable this functionality. This command must be executed on both V-Switches in the cluster.
5-10 Neighbors in a Cluster IP Address 212.199.43.75 ARAMETER EFINITION NEIGHBOR ALIAS OF NEIGHBOR IN CLUSTER Neighbor Details VSwitch2 212.199.43.75 Alive srOpen SNMP Timeout SNMP # of (msec) Retries TATUS XAMPLE VSwitch2 MANDATORY SANRAD V-Switch CLI User Manual...
Managing a Cluster If you modify a V-Switch alias or management IP address, you must 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 alias or IP address in a cluster.
Page 92
TIME BETWEEN INTERVAL ALIVE SIGNALS FROM NEIGHBORS SUSPICIOUS TIME FROM WHEN A INTERVAL SIGNAL WAS EXPECTED BUT NOT RECEIVED FAILOVER INTERVAL TIME WHEN SUSPICIOUS INTERVAL IS EXCEEDED TATUS XAMPLE OPTIONAL DEFAULT OPTIONAL DEFAULT OPTIONAL DEFAULT SANRAD V-Switch CLI User Manual...
IN THIS After you have configured the V-Switch general parameters, you can begin defining the storage topology using the Volume Manager. CHAPTER Using the Volume Manager, you can create subdisks on physical Introduction to disk storage devices or leave the physical disk as is. These physical...
SCSI bus ID. This name is important in identifying disks for re-creating volume hierarchies on both V-Switches in a cluster. If you are working in a V-Switch cluster, you need to configure all subdisks and volumes on both V-Switches in the V-Switch cluster. For more information on...
Enabled denotes an attached and functioning storage device. Storage is missing denotes that a storage device was previously registered and has since lost its connection to the V-Switch. Invalid denotes a storage device that was connected, removed and reconnected with a different storage size.
Page 96
STORAGE ALIAS TO MODIFY NEW ALIAS NEW ALIAS FOR STORAGE INFORMATION INFORMATION ON STORAGE TO SET TATUS XAMPLE Stor_1 MANDATORY OPTIONAL 1-3600 FOREVER DEFAULT TATUS XAMPLE Stor_1 MANDATORY TATUS XAMPLE Stor_1 MANDATORY Disk2JBOD5 OPTIONAL save_for_snap OPTIONAL shots SANRAD V-Switch CLI User Manual...
You need to define two parameters to change a device’s write cache setting: WITCH -wce The V-Switch also recognizes all write-protected storage devices. Use the CLI command storage details to view a device’s details, including if it is write- protected.
Entire true false Security”. ARAMETER EFINITION VOLUME ALIAS USER ASSIGNED ALIAS FOR THE VOLUME DISK ALIAS ALIAS GIVEN TO THE DISK DURING DISK AUTO DISCOVERY “Volume TATUS XAMPLE Trans1 PTIONAL DEFAULT STORAGE ALIAS Disk1 MANDATORY SANRAD V-Switch CLI User Manual...
If you are working in virtual transparent volume, Transparent 1. This RAID device has only one a V-Switch cluster, LUN. For each LUN configured on a RAID device, the V-Switch registers this volume must be configured on both a disk. Therefore, a RAID device with five LUNs will appear to the V- V-Switches.
ENGTH IN LOCKS OF UBDISK START ADDRESS BLOCK TO BEGIN COUNTING THE SUBDISK LENGTH FROM Block Size State Internal Disk Simple 1 Simple 2 Simple n TATUS XAMPLE Disk1 MANDATORY 18000000 MANDATORY BLOCK BYTES OPTIONAL DEFAULT SANRAD V-Switch CLI User Manual...
Page 101
In Figure 6-5, Subdisk 1 has been created on Disk 1. The subdisk is If you are working in 18,000,000 blocks long (9 GB). The Volume Manager begins counting the a V-Switch cluster, 18,000,000 blocks from block 0. this volume must be configured on both V-Switches.
Page 102
Details of all Subdisks Subdisk Start Address Subdisk1 JBOD 2 Disk 5 Disk 6 Disk 7 Disk 8 TATUS XAMPLE OPTIONAL Disk1 USE THIS SWITCH TO LIST ONLY THE DETAILS OF A SPECIFIC DISK Length SANRAD V-Switch CLI User Manual...
–d Disk1 –sl 18000000 Subdisk2 Creating a Simple Volume Before you can build concatenated, mirrored and striped volumes, you The V-Switch must create simple volumes from each disk or subdisk in your storage supports a maximum network. of 512 volumes.
Page 104
Subdisk 6 will be named Subdisk 6 by default. V-Switches. Use the –sd switch to assign a subdisk or the –d switch to assign a disk. Example: In Figure 6-8, Subdisk 1 on Disk 1 is converted to a simple volume, Simple 1.
Simple1 Simple Creating a Concatenated Volume To accommodate large volumes of data or to best utilize small volumes The V-Switch spread over several disks, you can concatenate physical volumes across supports a maximum storage devices to create a larger virtual volume.
Page 106
CHILDREN FROM WHICH TO BUILD TRIPED VOLUME CHILD FIRST VOLUME CHILD COMBINE CHILD SECOND VOLUME CHILD COMBINE CHILD VOLUME CHILD TO COMBINE Disk 2 TATUS XAMPLE MANDATORY Concat1 OPTIONAL DEFAULT MANDATORY Simple5 MANDATORY Simple12 MANDATORY Simple14 SANRAD V-Switch CLI User Manual...
In Figure 6-10, Simple Volume 5 and Simple Volume 12, both built over an If you are working in entire physical disk, are concatenated to create a concatenated volume, a V-Switch cluster, Concat 1. Data is read/written first to Simple 5. When the data chunk this volume must be...
GIVEN ALIAS FOR VOLUME CREATED STRIPE UNIT SIZE NUMBER OF BLOCKS READ WRITTEN INTO EACH VOLUME BEFORE MOVING ON TO THE NEXT CHILD IN THE STRIPE Disk 2 TATUS XAMPLE OPTIONAL Stripe1 DEFAULT DISK ALIAS MANDATORY SANRAD V-Switch CLI User Manual...
Page 109
In Figure 6-12, a striped volume, Stripe 1, is created across four children: If you are working in Simple 2, Simple 4, Simple 8 and Simple 10. The striped unit size is 100 a V-Switch cluster, blocks, meaning that in each read/write function, 100 blocks of data are this volume must be configured on both read/written into Simple 2;...
In Figure 6-14, a mirrored volume, Mirrored 1, is created using two If you are working in children, Simple 6 and Simple 11. a V-Switch cluster, this volume must be volume create mirror –vol Mirrored1 –ch Simple6 –ch configured on both Simple11 V-Switches.
You need to define two parameters to synchronize a volume: WITCH -src -dst Example: The online volume Simple3 is synchronized to the online volume Simple5. volume mirror sync –src Simple3 –dst Simple5 Creating a RAID 10 and RAID 0+1 You will need two separate commands to create a RAID 10 or 0+1 volume. RAID 10 first creates mirrored volumes and then creates a striped volume of the mirrored volumes.
Next, in Figure 6-17, another mirrored volume, Mirror 3, is created using If you are working in two children: Simple 3 and Simple 9. a V-Switch cluster, this volume must be volume create mirror –vol Mirror3 –ch Simple3 –ch configured on both Simple9 V-Switches.
To create a RAID 0+1 volume, invert the commands and first create a striped volume and then mirrored volumes of the stripe. Chapter 6: Volume Configuration Striped Volume 2 Mirrored Volume 2 JBOD 1 Disk 2 Disk 1 Simple 1 Simple 3 Simple 2 Simple 4...
Volume Exposure & Security IN THIS After you have created your virtual volumes and storage hierarchies, you want to expose them securely to hosts using the CHAPTER iSCSI protocol. Up to this point, all volumes created are invisible and inaccessible to network hosts. Introduction to Volume Exposure &...
Create targets first and later assign LUNs to the pre-created targets. The V-Switch in Figure 7-1, contains three iSCSI targets: Target 1, Target 2 and Target 3. It has two portals: (IP1, 5003) and (IP2, 5003). Target 1 and Target 2 have only one volume attached to each.
Each initiator can access, read and write into the volume. Identities To allow selective iSCSI initiator access to iSCSI target volumes, the V-Switch uses identities to define pools of initiators. An identity is a user-defined list of iSCSI initiators. An identity can contain from one to multiple initiators, with each initiator having a unique WWUI.
Figure 7-3. Identity B’s iSCSI Initiators wwui1 wwui2 Ident A wwui3 wwui4 wwui5 Ident B Ident B wwui6 wwui7 wwui8 Ident C wwui9 wwui10 Figure 7-4. Identity C’s iSCSI Initiator SANRAD V-Switch CLI User Manual...
Page 123
An identity can be used with more than one target. In Figure 7-5, Identity A is coupled with both Targets 1 and 2. Identity B is coupled with Target 3. Identity C is coupled with Target 4. As a result, each iSCSI initiator has access to the following volumes: SCSI I NITIATOR...
– identity match. When the V-Switch scans the list of identities coupled with a target, it starts with the highest position and stops with the first iSCSI initiator – identity match. The V-Switch takes the first fit; not the best fit. wwui1...
1 and Identity B is assigned position 2, Identity B is scanned first by the V-Switch. A match is made and the scan is stopped. No further identities will be scanned. Therefore, iSCSI initiator WWUI8 will be granted read-write access.
Unlike user-created identities, the default identity cannot be uncoupled from a target. Its access can only be modified. Ident B Initiators wwui3 CHAP wwui4 Sarah C6H12O6 wwui6 Dinos RockOn wwui7 wwui8 wwui9 Identity with iSCSI Initiators and Credentials Credentials Dinos RockOn Albert energy SANRAD V-Switch CLI User Manual...
Page 127
(NA) for all initiators. Remember that the default identity is in position 0 so it is the last position scanned by the V-Switch. Target 1 is coupled with Identity A with read-write (RW) access to Identity A iSCSI initiators, meaning WWUI1.
If iSCSI initiator WWUI1 tries to login to Target 2, the V-Switch first scans Identity B. It does not find the initiator listed so it continues to scan the next identity, the default identity. The default identity blocks all iSCSI initiators, including WWUI1.
Page 129
You need to define three parameters to create an iSCSI target: WITCH –tn –device Example: The target finance is created on V-Switch 1. The WWUI of Finance is If you are working in billing.sanrad, as shown in Figure 7-10. a V-Switch cluster, each target must be iscsi target create –ta finance –tn sanrad.billing –...
Last Failure Time: Last Failure Type: Last Initiator Name: Last Initiator IP: Chapter 7: Volume Exposure and Security iSCSI Targets Target Name # of LUs sanrad.billing musicbox.sanrad 1 ARAMETER EFINITION TARGET ALIAS USER ASSIGNED SCSI ALIAS FOR I TARGET iSCSI Target Details nms153 eui.00081affff012345...
7-14 Default Identity Target Access Position Identity DEF_ALL DEF_ALL musicdept Access read-write not accessible read-write SANRAD V-Switch CLI User Manual...
Page 133
You need to define four parameters to modify an identity: WITCH -acc -pos Example The default access rights for the target finance are changed to not accessible meaning a non-specific host is not allowed access to the target finance. acl set –ta finance –id def_all –acc na Chapter 7: Volume Exposure and Security ARAMETER EFINITION...
– alias accounting – info accountants allowed read-write access to accounting records 7-16 ARAMETER EFINITION ALIAS ALIAS FOR DENTITY INFORMATION INFORMATION ON DENTITY TATUS XAMPLE accounting MANDATORY OPTIONAL accountants allowed read- write access to accounting records SANRAD V-Switch CLI User Manual...
You need to define two parameters to add an initiator an identity: WITCH -name 7-18 ARAMETER EFINITION IDENTITY ALIAS OF DENTITY INITIATOR NAME WWUI OF INITIATOR TATUS XAMPLE MANDATORY accounting iqn.1991-05. MANDATORY microsoft: steven.sanrad SANRAD V-Switch CLI User Manual...
Example The host, steven, is added to the identity accounting according to his iSCSI initiator wwui, iqn.1991-05.microsoft:steven.sanrad. acl identity add name –id accounting –name iqn. 1991-05. microsoft: steven.sanrad V-Switch1 Chapter 7: Volume Exposure and Security iSCSI initiator iqn.1991-05.microsoft:steven.sanrad Tower box iqn.com.cisco.steven...
If you are working with a Microsoft initiator and configuring target In the event of a authentication, note that the V-Switch exchanges the final character in the failover, if each password with a zero. Therefore, do not configure initiator passwords...
CHAP challenge to the RADIUS server and eliminate the the RADIUS server must be configured need to configure all user name + password pairs on the V-Switch. This on both V Switches. decreases configuration time and increase overall network security. Use the CLI command ip radius add to add a RADIUS server address to the V-Switch RADIUS client.
V-Switch1 Chapter 7: Volume Exposure and Security iSCSI initiator iqn.1991-05.microsoft:steven.sanrad Tower box iqn.com.cisco.steven CHAP Authentication steven oneveryhotdude Cloud IP SAN Tower box RADIUS Server RADIUS Authentication? accounting steven ilovecookies Default finance sanrad.billing Figure 7-16. Sending a CHAP Authentication Challenge iSCSI initiator iqn.1991-05.microsoft:wilbur.sanrad...
Page 144
WITCH Example: In Figure 7-17, the V-Switch is configured to relay CHAP challenges to the identity, accounting, from the user, steven, to the RADIUS server. The V- Switch is configured to communicate with the RADIUS server through port 1812 to IP address 212.199.43.2. The V-Switch – RADIUS key is DataTurnsMeOn.
Use the CLI command ip radius show to view all configured RADIUS server IP addresses. ip radius show Table 7-5: Address 212.199.43.2 212.199.56.134 Chapter 7: Volume Exposure and Security iSCSI initiator iqn.1991-05.microsoft:steven.sanrad Tower box CHAP Authentication: steven oneveryhotdude steven oneveryhotdude Cloud IP SAN Tower box...
Therefore, identities must be positioned in decreasing specificity to function correctly. The V-Switch scans for the first fit and not the best fit. All CLI names and An identity can be connected to more than one target to provide the same aliases are case conditions for each target.
Later, an administrator identity can be created with read-write access and placed in position 0. acl add –ta finance –id accounting –acc rw –pos 1 V-Switch1 Chapter 7: Volume Exposure and Security iSCSI initiator iqn.1991-05.microsoft:steven.sanrad Tower box iqn.com.cisco.Steven Cloud IP SAN steven oneveryhotdude...
A snapshot volume must be exposed on If you are working in a V-Switch cluster, each target and LUN must be the same V-Switch configured on both V-Switches in the V-Switch cluster. For more as the source information on V-Switch clusters, see Chapter 5 volume.
Page 149
UNIQUE IDENTIFIER FOR THE TARGET DEVICE ALIAS OF WITCH TO EXPOSE TARGET ON TATUS XAMPLE No parameter OPTIONAL required Vol1 MANDATORY finance MANDATORY MANDATORY ON EXISTING TARGET sanrad. MANDATORY ON A NEW TARGET billing VSwitch1 MANDATORY ON A NEW TARGET 7-31...
Example 2: The target musicbox is created. The WWUI of musicbox is If you are working in sanrad.musicbox. The volume Concat1 is automatically assigned LU0 and a V-Switch cluster, attached to the target musicbox on VSwitch1. this target and LUN must be configured volume expose -new –vol Concat1 –ta musicbox -tn...
Advanced Volume Operations IN THIS Once you have configured your initial basic volume topology, you can do more advanced volume operations. CHAPTER This chapter explains how to: Introduction to Advanced Volume Create an off-line volume copy. Configurations Copying a Volume Create an on-line volume copy.
Copying a Volume (Off-line Copy) Data from any volume type can be replicated offline using the CLI command volume copy create. Off-line replication is faster than on-line replication but both the source and destination volumes must be off-line which can create an interruption of service to the volume host(s).
In Figure 8-1, a mirrored volume with two children has another child added. The mirrored volume stays at the head of the hierarchy. ARAMETER EFINITION TATUS SOURCE ORIGINAL VOLUME MANDATORY VOLUME TO SYNCHRONIZE DESTINATION NEW VOLUME TO MANDATORY VOLUME ADD TO SYNCHRONINZE XAMPLE Simple3 Simple5 SANRAD V-Switch CLI User Manual...
Page 157
Figure 8-1. In Figure 8-2 , a concatenated volume becomes one child of a new mirrored volume. This adds a level to the hierarchy. The new mirrored volume becomes the head of the volume hierarchy. The new mirrored volume automatically assumes the LUN from the concatenated volume.
Page 158
SOURCE VOLUME TO ADD MIRROR TO CHILD NEW CHILD TO ADD TO MIRROR DISABLE SYNCHRONIZATION AUTOMATIC MIRROR SYNC Vol X Ch 2 TATUS XAMPLE Mirror5 MANDATORY Simple10 MANDATORY No parameter OPTIONAL NO SYNC IF required USED SANRAD V-Switch CLI User Manual...
Page 159
Use the CLI command volume mirror show to view the status of all mirror synchronizations. volume mirror show Source Sim4 Simle10 Chapter 8: Advanced Volume Operations Mir4 Sim2 Mir4 Sim2 Figure 8-3. Adding Sim6 to Mir4 Destination Oper Status Sim6 Operating Ended OK Simple12...
1. The snapshot records the original data from sector 1, S, to the snapshot and then the new data, B, is written to the source volume. QA Testing Snapshot1 Figure 8-4. Snapshot Created SANRAD V-Switch CLI User Manual...
Page 161
The more active the write operations are to a source volume, the more capacity its snapshots need to have. SANRAD requires a beginning snapshot volume of at least one percent of the size of its source volume. A snapshot volume can be resized to accommodate a growing capacity need.
Page 162
SNAPSHOT CHILD LOAD THRESHOLD PERCENTAGE FULL AT DESTINATION TO TRIGGER AN ALARM TATUS XAMPLE Snapshot1 MANDATORY MANDATORY QATesting MANDATORY Snapshot1 OPTIONAL : 80% DEFAULT TATUS XAMPLE MANDATORY Snapshot1 QATesting MANDATORY Snapshot1 MANDATORY OPTIONAL : 80% DEFAULT SANRAD V-Switch CLI User Manual...
Page 163
volume create –activate snapshot –vol Snapshot1 –src QATesting –dst Snapshot1 -lt 75 Figure 8-7 shows the same source and snapshot volume after a write operation to sector 1. The original data, S, from sector 1 is first copied to the snapshot and then the new data, B, is written to the source volume.
Figure 8-9. Deactivating and Activating a Snapshot Volume An activated snapshot volume can be deactivated. Deactivating a snapshot maintains the snapshot volume associated with its source volume but it deactivates the copy old on write recording to the snapshot volume while it is deactivated.
Example: Table 8-2 lists the only snapshot for Mirror7. volume snapshot list –vol Mirror7 Table 8-2: Snapshot Snp1Mir1 Snapshot Rollback Snapshot rollback allows you to rollback to the original state of the volume. volume snapshot rollback show This command shows status of snapshot rollback. volume snapshot rollback show volume snapshot rollback start This command starts snapshot rollback.
In Figure 8-10 a child is removed from a mirrored volume with three children. If the mirrored volume is exposed, it remains functional as a mirrored volume and all read-write operations are executed. 8-16 ARAMETER EFINITION SNAPSHOT SNAPSHOT SOURCE VOLUME TATUS XAMPLE Mirro2 MANDATORY SANRAD V-Switch CLI User Manual...
In Figure 8-11 a child is removed from a mirrored volume with two children. This breaks the mirror. If the mirrored volume is exposed or attached to a LUN, the source volume retains the LUN. There is no need to reassign a LUN to the remaining source volume.
ADDING TO CHILD CHILD TO BREAK FROM MIRROR Mir1 Sim1 Mir1 Sim1 Figure 8-12. Removing Sim5 from Mir1 TATUS XAMPLE Mirror5 MANDATORY Simple10 MANDATORY Sim3 Sim5 Able to be exposed as an independent volume Sim3 Sim5 SANRAD V-Switch CLI User Manual...
Page 171
You can increase a virtual volume’s potential capacity using the CLI If you are working in command volume resize. This is the first step in increasing a virtual a V-Switch cluster, a volume’s actual capacity. Potential capacity is the maximum capacity a volume must be resized on both V volume could be.
In Figure 8-15, Sim2 and Sim3 have been concatenated under the cube to a potential volume of two terabytes. 8-20 Ch 1 Ch 2 Figure 8-13. Asymetrical Mirrored Volume Ch 1 Ch 2 Figure 8-14. Creating a Cube Sim3 XCh 2 Sim3 SANRAD V-Switch CLI User Manual...
Only one cube is created per resized simple 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. If a volume to be resized is a concatenated volume, a cube is not created and any volume type can be used except transparent or snapshot.
ALIAS ALIAS OF RESIZED VOLUME VOLUME VOLUME TO RESIZE WITH Vol X Ch 2 Ch 3 Ch 2 TATUS XAMPLE MANDATORY XCh2 OPTIONAL F NO NAME IS GIVEN PREFIX ADDED TO THE SOURCE NAME MANDATORY SANRAD V-Switch CLI User Manual...
In Figure 8-18 the mirrored volume, Mir, is limited in its actual capacity by its smallest child, Sim2. To resize Sim2 to two terabytes, simple volume, Sim3, is concatenated to Sim2 to create the resized cube volume, XSim 2. volume resize –vol Sim2 –a XSim2 –with Sim3 Retracting a Volume After resizing a volume but before expanding its hierarchy, you can use the CLI command volume retract to delete the added volume(s) used to resize the...
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. volume expand You need to define one parameter to expand a volume: WITCH -vol Chapter 8: Advanced Volume Operations Sim1 XSim2 Sim2...
Once XSim2 is expanded, the capacity of Mir5 will automatically adjust itself to two terabytes. volume expand –vol XSim2 Sim1 XSim2 Sim2 Sim3 Mir5 Sim1 XSim2 Sim2 Sim3 Figure 8-21. Expanding XSim2 8-26 SANRAD V-Switch CLI User Manual...
Renaming a Volume If you are working in After creating a volume you can rename it. Renaming a volume will have a V-Switch cluster, no negative effect on the volume hierarchies built on the renamed volume. the volume must be...
The top-level volume Stripe 1 is removed while the component volumes, Simple 2, 4, 8 & 10, remain intact. volume remove –vol Stripe1 ARAMETER EFINITION VOLUME ALIAS ALIAS OF TOP LEVEL VOLUME TO REMOVE TATUS XAMPLE Stripe1 MANDATORY SANRAD V-Switch CLI User Manual...
Removing all Volumes in a Hierarchy If you are working in You can remove a volume and all of its component volumes in a volume a V-Switch cluster, hierarchy. The volume must be at the top of the hierarchy. The volume the volume must be cannot be exposed;...
–src Simple3 –dst Simple5 If you are working in a cluster, the volume will be displayed in the state need sync on both V-Switches. Synchronize the volume on the exposing V-Switch using the CLI command volume mirror sync.
REMOVE LOGICAL UNIT TO REMOVE NUMBER FROM THE TARGET ARAMETER EFINITION TARGET ALIAS ALIAS OF TARGET TO RENAME NEW ALIAS NEW ALIAS FOR TARGET TATUS XAMPLE Accounting MANDATORY MANDATORY TATUS XAMPLE accounting MANDATORY finance MANDATORY SANRAD V-Switch CLI User Manual...
Removing an iSCSI Target If you are working in You can remove an iSCSI target provided it has no attached LU. Use the a V-Switch cluster, CLI command lu remove to first remove any LUs from a target. the target must be...
Routine V-Switch Maintenance IN THIS Once you have configured the V-Switch, you need to be able to update its configuration and maintain optimum V-Switch CHAPTER functionality. General This chapter explains how to modify configuration parameters; Configuration Parameters interface IP addresses, IP routing paths, cluster configurations and replace a power supply.
General Configuration Parameters This command is After the initial V-Switch configuration, you may want to change one or available only after more of the V-Switch parameters. For example: You may need to change the V-Switch is the system clock to adjust to Daylight Savings Time. You can also use this...
-wcom Example: The V-Switch is named V-Switch 1 at 13:30 in the afternoon on 21 March 2002. Its management port, eth1, has the IP address 212.199.43.46. Anna Levin, at phone extension 4838 is the contact person in the event of technical difficulties.
Use the CLI command info to check the V-Switch’s designated Telnet port. info Table 10-1: V-Switch Configuration Parameter Name Description Contact Location Status Object ID Time Since Last Reset Mgmt IP Address Mgmt UDP Port Date & Time [DD/MM/YY] Telnet Port...
SNMP Manager Setting an SNMP Manager This command modifies parameters of existing managers. snmp manager set WITCH -rcom -wcom -trap Chapter 10: Routine V-Switch Maintenance ARAMETER EFINITION ADDRESS MANAGER ADDRESS PORT ORT TO RECEIVE TRAPS THROUGH NEW PORT NEW PORT FOR...
IP-SAN to locate the V-Switch targets automatically. Adding an iSNS Server Use the CLI command ip isns add to add an iSCSI server to the V-Switch’s iSNS client. Targets defined by the V-Switch’s Access Control List (ACL) as...
User Profiles Access to the V-Switch is password protected. The V-Switch ships with the default user name sanrad and the default user password sanrad. After logging in, a total of ten user profiles (name plus password) can be configured on a V-Switch. As needed, profiles can be modified or removed.
–un Joe Cool V-Switch Resetting a V-Switch You can perform a remote soft reset on the V-Switch using the CLI reset command. All configuration databases will be maintained on the V-Switch, including user names and passwords; network port aliases; configured volumes and iSCSI targets.
Saving (Uploading) a V-Switch Database File You can upload a copy of a V-Switch’s full database file to the local TFTP server. If the V-Switch fails, its database file can be downloaded to the replacement V-Switch. This eliminates protracted configuration time on the new V-Switch and ensures configuration integrity.
After replacing a failed V-Switch, you can download the replaced V- database file to the Switch database file from the tftp server to the new V-Switch. Unlike a V-Switch before standard V-Switch installation, do not connect the V-Switch to the storage attaching it to the devices before powering up.
Network Interfaces Changing an Interface Alias All CLI names and You can change the alias of a V-Switch interface for user convenience. aliases are case Leaving the new alias field blank will return the alias to its default setting sensitive.
IP route must be added on both V- Switches. You need to define four parameters to add an IP route: WITCH -dip -dmask Chapter 10: Routine V-Switch Maintenance 212.199.43.46 212.199.43.56 212.199.43.57 Figure 10-2. Removing an IP Address ARAMETER EFINITION...
SCSI standard. To discover these devices, the REPORT LUNs command must be disabled. If certain devices in the SAN are not being discovered by the V-Switch, use the CLI command device set to disable or re-enable device discovery via REPORT LUNs.
–s Stor_1 –na RAID1 –info Expose_as _transparent Removing a Storage Device If you are working in You can remove a disk from the V-Switch database. The disk must be a V-Switch cluster, defined as missing to remove it. the disk must be...
V-Switch cluster, subdisk remove the subdisk must be removed on both V- Switches You need to define one parameter to remove a subdisk: WITCH Chapter 10: Routine V-Switch Maintenance ARAMETER EFINITION SUBDISK ALIAS ALIAS OF SUBDISK TO RENAME NEW SUBDISK ALIAS...
ALIAS OF NEIGHBORING WITCH IN CLUSTER ADDRESS MANAGEMENT ADDRESS OF EIGHBOR ARAMETER EFINITION NEIGHBOR ALIAS OF NEIGHBORING WITCH IN CLUSTER TATUS XAMPLE NewVSwitch MANDATORY IF CHANGING 212.199.43.40 MANDATORY IF CHANGING TATUS XAMPLE NewVSwitch MANDATORY IF CHANGING SANRAD V-Switch CLI User Manual...
-fint Enabling and Disabling Failover If you want to break a cluster or need to take a V-Switch off-line, you must first disable V-Switch failover. Use the CLI command cluster failover disable to disable this functionality. This command must be executed on both V-Switches in the cluster.
V-Switch 3000 Power Supply The V-Switch 3000 is standard-issued with two hot-swappable AC power supplies. If one of the power supplies fail, 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.
V-Switch software. There are a functioning. total of six upgrade files. Do not change their names or the V-Switch will not be able to perform the upgrade. All configured user profiles are unaffected by the software upgrade.
The V-Switch can work with only the flash. When both are present, the V-Switch reads from the flash and can be set to write to both the flash and the compact flash. Use the CLI command system set to replicate the database from the flash on to the compact flash.
If you want to load Safe Mode The V-Switch operating status includes the ability to enter into safe mode in the event of booting problems or in an attempt to clear significant amounts of a V- Switch configuration. There are two ways to enter safe mode: Automatically during a reboot.
If the V-Switch reboots with the last good configuration, all data written on the third child will be lost. The suspicious database is saved and can then be exported to SANRAD technical support for examination using the CLI command ft export problem after initializing the V-Switch.
Exporting a Corrupted Database After you reboot the V-Switch from safe mode level 1 or 2, you can use the CLI command ft export problem to export the potentially corrupted database to SANRAD technical support for examination.
Page 212
You need one parameter to reboot the V-Switch in safe mode. WITCH Level O: Normal Mode This is the same as resetting the V-Switch. No change is made to the V-Switch configuration. Level 1: Last Good Configuration Each time the V-Switch successfully boots up, it saves the database as the last good configuration.
Page 213
V-Switch’s database. For example, if you want to transfer a V-Switch to another branch office or campus department with different system administrators, this level will return the V-Switch to the same state it left the factory for shipping.
V Switch Configuration 10/100 Ethernet Management port with a Telnet session. Volume Configuration The CLI is used to implement all V Switch management functions, Volume Exposure including switching, virtualization and security. Monitoring and Statistics All CLI commands are case sensitive and must be entered in lower case.
The CLI supports the use of the following hot keys for the listed functions: Table 11-1: Hot Keys Command V Switch Configuration These commands enable you to configure and view the basic V Switch parameters needed to operate the V Switch OMMAND ADMIN SHOW...
This command adds a user name to the list of valid user login names for the V Switch. A user name can be from 1 to 20 characters long, including spaces. A password can be from 6 to 12 characters long, including spaces.
–un Joe Cool admin password This interactive command enables a user to change their login password for their user name on the V Switch. You can only change the password of the current active user. admin password system reset This command performs a remote soft reset of the V Switch.
Time Since Last Reset Mgmt IP Address Mgmt UDP Port Date & Time Telnet Port device set This command redefines the specified general parameters of the V Switch. device set WITCH Chapter 11: Command Line Interface Value V Switch1 High Performance V Switch Anna Levin Ext.
ELSIUS OR AHRENHEIT TATUS XAMPLE 13:30 OPTIONAL AnnaLevin OPTIONAL ext4838 OPTIONAL eth1 MANDATORY MANDATORY YES OR NO DEFAULT 1597 OPTIONAL : 23 DEFAULT OPTIONAL DEFAULT PUBLIC OPTIONAL DEFAULT PRIVATE OPTIONAL C OR F DEFAULT CELSIUS SANRAD V-Switch CLI User Manual...
-telnet 49155 device advance set This command redefines the specified advanced parameter of the V Switch. device set WITCH -param -val device advance show This command shows the specified advanced parameter of the V Switch. device set WITCH...
This command allows you to set the speed of the FC communication. fc set speed WITCH interface show This command shows the V Switch interfaces (ports) and their parameters. interface show Table 11-4: V Switch Interfaces Type RS232...
This command adds a manager to the V Switch. snmp manager add 11-10 BusID ARAMETER EFINITION INTERFACE STORAGE PORT NUMBER ALIAS SCSI ID NUMBER BETWEEN Port Read Community Public TATUS XAMPLE pscsi3 MANDATORY MANDATORY Write Trap Community Private SANRAD V-Switch CLI User Manual...
WITCH -rcom -wcom -trap device set This command modifies parameters of existing managers. device set. WITCH -rcom -wcom -trap Chapter 11: Command Line Interface ARAMETER EFINITION ADDRESS MANAGER ADDRESS PORT ORT TO RECEIVE TRAPS THROUGH READ COMMUNITY COMMUNITY TO GET INFORMATION WRITE COMMUNITY COMMUNITY TO SET INFORMATION...
ASSIGNING TO THE INTERFACE PORT INTERFACE ALIAS NETWORK OR NAME INTERFACE PORT MASK NET MASK TATUS XAMPLE 212.199.43.96 MANDATORY MANDATORY Activity Active Active Inactive Active Inactive Active TATUS XAMPLE 212.199.43.56 MANDATORY eth1 MANDATORY OPTIONAL DEFAULT 255.255.255.0 SANRAD V-Switch CLI User Manual...
WITCH -act Example ip config set –ip 212.199.43.56 –if eth1 –act 1 ip config remove This command removes an IP address from an interface. ip config remove WITCH Example ip config remove –ip 212.199.43.70 ip route default This command sets a default IP route to a network port. ip route add WITCH ip route add...
Eth2 through 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 ip route show This command shows all IP routes on a V Switch. ip route show Dest IP Address 10.10.20.20 10.12.40.40...
This command shows all iSNS servers configured on the V-Switch. ip isns show Table 11-9: iSNS Servers 212.199.43.2 212.199.56.134 ip isns add This command adds an iSNS server’s IP address to the V-Switch iSNS client. ip isns add WITCH Chapter 11: Command Line Interface ARAMETER EFINITION...
This command removes an iSNS server’s IP address from the V-Switch iSNS client. ip isns remove WITCH neighbor add This command adds a neighbor to a cluster. neighbor add WITCH Example neighbor add –nb VSwitch2 –ip 212.199.43.75 neighbor set This command resets a neighbor alias or IP address in a cluster.
Table 11-11: Neighbor Details Neighbor Name IP Address Last Received Keep Alive: Status Lock Status neighbor remove This command removes a V Switch from a cluster. neighbor remove WITCH Chapter 11: Command Line Interface Neighbors in a Cluster IP Address 212.199.43.75...
ALIVE SIGNALS FROM NEIGHBORS SUSPICIOUS TIME FROM WHEN A INTERVAL SIGNAL WAS EXPECTED BUT NOT RECEIVED FAILOVER INTERVAL TIME WHEN SUSPICIOUS INTERVAL IS EXCEEDED TATUS XAMPLE MANDATORY IF CHANGING MANDATORY IF CHANGING MANDATORY IF CHANGING SANRAD V-Switch CLI User Manual...
File Type: Time Out Number of Retries Command Status Error ft upload software This command uploads a V Switch database file from the V Switch to the local TFTP server. ft upload software Chapter 11: Command Line Interface 212.199.43.46 /usr/VSwitch/images/im1234.run download...
WITCH ft download This command downloads a V Switch database configuration file from the local TFTP server. ft download WITCH -tmo -nor ft export problem This command exports three files: configuration file, last good database and the corrupted database file for examination.
WITCH system boot This command forces the V Switch to boot in Safe Mode. system boot WITCH system set This command sets or unsets the system to work in database replication mode. system set WITCH -rep system copy This command copies the database from either the flash or compact flash to either the compact flash or flash.
Flash Compact Flash Database Configuration Database Current 11-22 ARAMETER EFINITION FROM WHERE TO COPY FROM TYPE TYPE OF FILE TO COPY present present replicate replicate TATUS XAMPLE cflash MANDATORY FLASH CFLASH MANDATORY DATABASE SANRAD V-Switch CLI User Manual...
In most cases, the V-Switch automatically discovers new storage. Use this command after adding or removing storage devices from the V Switch topography if it is not automatically discovered. Because this command resets the FC loop, it may cause a failure of any I/O operations being executed when the command is invoked.
WITCH storage blink abort This command stops a storage device from blinking. storage blink abort WITCH storage show This command shows all storage devices connected to the V Switch. storage show Table 11-14: Alias Stor_1 Stor_2 Stor_3...
Table 11-16: Storage Aliases Entity Name 2000002037d8e314 2000002037f8ba50 storage details This command shows all storage devices attached to the V Switch. storage details Chapter 11: Command Line Interface Entity Name 01:02:03:04:05:06 :07:08 09:0a:0b:0c:0d:0e...
EFINITION STORAGE ALIAS STORAGE ALIAS TO MODIFY NEW ALIAS NEW ALIAS FOR STORAGE INFORMATION INFORMATION ON STORAGE TO SET TATUS XAMPLE disk1 MANDATORY TATUS XAMPLE MANDATORY Stor_7 disk7 MANDATORY IF CHANGING replace_disk2 MANDATORY IF CHANGING SANRAD V-Switch CLI User Manual...
WITCH subdisk create This command creates a subdisk according to the input parameters. subdisk create WITCH subdisk show This command shows all/specified subdisks connected to the V Switch. Chapter 11: Command Line Interface ARAMETER EFINITION STORAGE ALIAS OF STORAGE TO REMOVE...
Address TATUS XAMPLE OPTIONAL USE THIS SWITCH TO LIST ONLY THE DETAILS OF A SPECIFIC DISK Length 2048 1024 1024 TATUS XAMPLE disk1 MANDATORY OPTIONAL Update vsplit2 "" 11/11/01 12:30 split 3 "" 11/11/01 12:30 SANRAD V-Switch CLI User Manual...
subdisk alias This command allows you to view all subdisk aliases 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 Disk3 Disk7 Disk7...
Alias Percentage Utilized # of SubVolumes Parent Time Since Last Reset Child Child volume alias This command allows you to view all volume aliases in full. The command volume show has a ten-character display limit so volume aliases may be ambiguous in the volume show table.
VOLUMES IN MIRROR TATUS XAMPLE OPTIONAL DEFAULT DISK ALIAS MANDATORY IF USING A SUBDISK MANDATORY IF USING A DISK TATUS XAMPLE trans1 OPTIONAL DEFAULT DISK ALIAS Stor_3 MANDATORY TATUS XAMPLE Mirror2 MANDATORY OPTIONAL FROM DEFAULT SANRAD V-Switch CLI User Manual...
WITCH volume create concatenated This command creates a concatenated volume across the specified volumes in the order listed. volume create concatenated WITCH -vol -nbc volume create striped This command creates a striped volume across the specified volumes in the order listed. volume create striped WITCH -vol...
volume remove -all This command removes a volume and all volumes composing it in the hierarchy. The volume must be at the top of the hierarchy. The volume cannot be exposed; the volume LU must be inactivated. Simple volumes will convert back to their component disks or subdisks.
Source Alias Operational Status Mirror2 Synchronizing Mirror3 Last sync succeeded Mirror10 none ARAMETER EFINITION SOURCE ALIAS OF SOURCE VOLUME TO COPY DESTINATION ALIAS OF VOLUME TO COPY TO Progress 100% TATUS XAMPLE Mirror2 MANDATORY Mirror8 MANDATORY SANRAD V-Switch CLI User Manual...
NEW CHILD TO ADD TO MIRROR DESTINATION ALIAS OF NEW MIRROR DISABLE SYNCHRONIZATION AUTOMATIC MIRROR SYNC TATUS XAMPLE ScienceLab MANDATORY ScienceLabII MANDATORY TATUS XAMPLE Mirror5 MANDATORY Simple10 MANDATORY Mirror5a OPTIONAL -nosync OPTIONAL NO SYNCIF USED SANRAD V-Switch CLI User Manual...
volume mirror break This command removes a child from a mirror volume. volume mirror break WITCH -vol volume resize This command increases a volume’s potential capacity on-line. volume resize WITCH -src -dst -with volume retract This command retracts a volume by deleting all added volumes use to resize the volume.
volume snapshot list This command shows all snapshot volumes for a specific source volume. volume snapshot list WITCH -vol volume snapshot rollback show This command shows status of snapshot rollback. volume snapshot rollback show volume snapshot rollback start This command starts snapshot rollback. volume snapshot rollback start WITCH -snap...
ACL IDENTITY ADD SRP OMMAND ACL IDENTITY SET ACL UP ACL DOWN IP RADIUS SHOW IP RADIUS ADD IP RADIUS SET IP RADIUS REMOVE – VOLUME EXPOSE VOLUME EXPOSE LU SHOW LU DETAILS LU REMOVE SANRAD V-Switch CLI User Manual...
This command shows the portals defined for iSCSI on the V Switch with which you are communicating. iscsi portal show Table 11-25: iSCSI Portals Protocol iscsi portal create This command creates an iSCSI portal on a 1 Gb (network) port.
# of LU wwui wwui wwui wwui wwui ARAMETER EFINITION TARGET ALIAS USER ASSIGNED SCSI ALIAS FOR I TARGET nms153 eui.00081affff012345 sanrad eui.00081affff012345 ,t,0 10/12/04 15:30 Exposed On: VSwitch1 VSwitch2 VSwitch1 VSwitch2 VSwitch2 TATUS XAMPLE Finance MANDATORY SANRAD V-Switch CLI User Manual...
USER ASSIGNED ALIAS SCSI FOR I TARGET TARGET WWUI USER ASSIGNED WORLD WIDE UNIQUE IDENTIFIER FOR THE TARGET DEVICE ALIAS OF WITCH TO EXPOSE TAREGT ON Target Alias PresidentPersonal PresidentPublic BillingRecords TATUS XAMPLE Finance MANDATORY billing.sanrad MANDATORY VSwitch1 MANDATORY 11-45...
USER PASSWORD CHAP PASSWORD AUTHENTICATION ARAMETER EFINITION SCSI TARGET ALIAS ALIAS OF I TARGET TO REMOVE TATUS XAMPLE Pilote MANDATORY Buffy MANDATORY MANDATORY CHAP WITH PASSWORD MANDATORY CHAP WITH USER NAME TATUS XAMPLE MusicBox MANDATORY SANRAD V-Switch CLI User Manual...
EFINITION SCSI TARGET ALIAS ALIAS OF I TARGET TO REMOVE PASSWORD PASSWORD OF TARGET USER NAME USER NAME OF TARGET iSCSI Sessions ISID Target nms151 nms151 nms154 nms151 TATUS XAMPLE MusicBox MANDATORY OPTIONAL DEFAULT SANRADSANRAD OPTIONAL DEFAULT SANRAD TSIH 11-47...
EFINITION OF SESSION TO CHECK SCSI ADVANCED ADVANCED I SESSION DETAILS nms153 iqn.1991- 05.com.microsoft:QA- 2.qa.test.com 400001370000 nms154dr nms154dr b701 Normal DEF_ALL Full (2) 11.11.11.110 3260 11.11.11.26 2178 TATUS XAMPLE Finance MANDATORY No value OPTIONAL needed SANRAD V-Switch CLI User Manual...
Table 11-31: Advanced iSCSI Session Details Initial R2T Immediate Data Max Outstanding R2T First Burst Size Max Burst Size Number of Connections Sequence In Order PDU In Order Error Recovery Level iscsi session statistics This command lists the statistics of a specific session. iscsi session statistics WITCH -type...
Table 11-35: iSCSI Session Connections ID Cid State 11-50 ISID TSID ISID TSIH Local Address Port full full full full Tx Octets Rx Octets 10000 1900 9990 1800 9000 1700 8990 1600 Digests Err Timeout Err Remote Address Port SANRAD V-Switch CLI User Manual...
1800 Initiator Alias iqn.1991-05.com.micr iqn.1991-05.com.micr ARAMETER EFINITION TARGET ALIAS ALIAS OF TARGET FOR STATISTICS Alias iqn.1991*~ Read MB Written MB 10000 10900 9990 10000 Initiator Name iqn.1991-05.com.micr iqn.1991-05.com.micr TATUS XAMPLE Finance MANDATORY ISID 40001370000 SANRAD V-Switch CLI User Manual...
This command displays iSCSI remote portals. iscsi discovery rportal show iscsi discovery rportal set This command allows you to set the interval (period) for the V-Switch to poll the network for iSCSI targets. iscsi discovery rportal set WITCH...
This command shows all target access per identity for the V Switch. acl show Table 11-41: Target Access per Identity Target Finance Finance Finance Library Library Library acl details This command shows the access control for a target.
ACCESS RIGHTS TO THE TARGET POSITION ACCESS PRIORITY LEVEL TATUS XAMPLE water MANDATORY health_club MANDATORY OPTIONAL OPTIONS RO OR NA DEFAULT OPTIONAL DEFAULT TATUS XAMPLE water MANDATORY health_club MANDATORY OPTIONAL MANDATORY IF CHANGING OPTIONAL MANDATORY IF CHANGING SANRAD V-Switch CLI User Manual...
This command removes an identity from the access control list of a specific target. acl rem WITCH acl identity show This command lists the identities in a V Switch. acl identity show Table 11-43: iSCSI Initiators in an Identity Alias health_club...
Table 11-44: Description: Initiators: Credentials: acl identity create This command creates a new identity for the V Switch. acl identity create WITCH -info acl identity delete This command deletes an identity from the V Switch. acl identity delete WITCH 11-58...
acl identity add name This command adds an iSCSI initiator to an identity. acl identity add name WITCH -name acl identity remove name This command removes an iSCSI initiator from an identity. acl identity remove name WITCH -name Chapter 11: Command Line Interface ARAMETER EFINITION IDENTITY...
NAME OF USER NAME HOST NAME TATUS XAMPLE Med_School MANDATORY Sarah MANDATORY scalpelblades MANDATORY WITHOUT RADIUS 12 – 16 PRINTABLE CHARACTERS PTIONAL WITH RADIUS OPTIONAL YES OR NO DEFAULT TATUS XAMPLE Med_School MANDATORY Sarah MANDATORY SANRAD V-Switch CLI User Manual...
ARAMETER EFINITION TARGET TARGET ALAIS IDENTITY NAME OF JUMP SIZE NUMBER OF PLACES TO MOVE UP TATUS XAMPLE Med_School MANDATORY Medschool OPTIONAL all_students OPTIONAL OPTIONAL YES OR NO TATUS XAMPLE MANDATORY Med_School MANDATORY OPTIONAL DEFAULT SANRAD V-Switch CLI User Manual...
This command shows all IP addresses for RADIUS servers configured on the V Switch RADIUS client. Table 11-45: RADIUS Server IP Addresses 212.199.43.2 212.199.56.134 ip radius add This command adds a RADIUS server IP address to the V Switch RADIUS client. WITCH -key Chapter 11: Command Line Interface ARAMETER...
This command allows changes to a RADIUS server configuration on the V Switch RADIUS client. WITCH -key ip radius remove This command removes a RADIUS server IP address from the V Switch RADIUS client. WITCH 11-64 ARAMETER EFINITION...
Pilote Spirou Pilote Mir1 ARAMETER EFINITION TARGET ALIAS OF TARGET LOGICAL UNIT TO SHOW NUMBER Spirou iSCSI Mir1 active 3 days:12 h: 7m: 2sec Oper Status Active Active Active Active TATUS XAMPLE Spirou MANDATORY MANDATORY SANRAD V-Switch CLI User Manual...
WITCH -lun lu statistics show This command shows all statistics for configured LUNs on the V-Switch. lu statistics show Table 11-48: LU Statistics Target Monitoring and Statistics These commands enable you to view V-Switch health monitoring and performance statistics.
This command shows all TCP connections. tcp connection show Table 11-54: TCP Connections Local Address 0.0.0.0 0.0.0.0 10.0.0.110 11.11.11.110 11-70 161853270 Local Remote Address Port 0.0.0.0 0.0.0.0 10.0.0.26 3260 0.0.0.0 13/4 Remote State Port listen listen 4943 established listen SANRAD V-Switch CLI User Manual...
This command shows all UDP connection counters. udp statistics show Table 11-57: UDP Statistics Datagrams Received Wrong Port Datagrams Errors Datagrams Datagrams Sent 11-72 408815 18681 78999 SANRAD V-Switch CLI User Manual...
IN THIS The V-Switch enables RFC standards compliant health, interface and session monitoring of all V-Switch interfaces. CHAPTER For specific details on a monitoring parameter, consult the RFC Health Monitoring standard 2863. Interface Statistics TCP/IP Statistics iSCSI Session Statistics iSCSI Connection...
Health Monitoring You can monitor the health of the V-Switch hardware for fan malfunctions that could lead to overheating as well as power supply malfunctions both of which can nullify high availability and lead to V-Switch failover. system hardware show This command shows all hardware interface connection statistics.
Interface Statistics You can monitor interface traffic and errors for each V-Switch interface to aid in system diagnostics. The interface monitoring has two components: the interface configuration and the counters. interface statistics show This command shows all interface connection statistics to provide an overview.
ip statistics icmp show This command shows all ICMP counters. ip statistics icmp show Table 12-5: ICMP Statistics Messages Received / Sent: Errors In / Out: Dest. Unreach In / Out: Time Excds In / Out: Param. Problems In / Out: Src Quench In / Out: Redirect In / Out: Echos In / Out:...
All iSCSI sessions in and out of the V-Switch. All iSCSI sessions for a specific initiator or target. Specific iSCSI session details. iscsi session show This command shows all iSCSI sessions, both in and out of the V-Switch. iscsi session show Table 12-9: iSCSI Sessions 1.1.1 1.2.1...
EFINITION OF SESSION TO CHECK SCSI ADVANCED ADVANCED I SESSION DETAILS nms153 iqn.1991- 05.com.microsoft:QA- 2.qa.test.com 400001370000 nms154dr nms154dr b701 Normal DEF_ALL Full (2) 11.11.11.110 3260 11.11.11.26 2178 TATUS XAMPLE Finance MANDATORY No value OPTIONAL needed SANRAD V-Switch CLI User Manual...
Number of Connections Sequence In Order PDU In Order Error Recovery Level iscsi session statistics This command lists the statistics of all iSCSI sessions in and out of the V-Switch. iscsi session statistics WITCH -type Example: List the statistics of all iSCSI sessions for the target finance to initiator iqn.1991- 05.microsoft:steven.sanrad type crp.
EFINITION SCSI SESSION OF I SESSION SCSI ADVANCED OF I CONNECTION Port Remote Port Address 3260 11.11.11.26 2178 3260 11.11.11.26 2176 3260 11.11.11.26 2177 TATUS XAMPLE MANDATORY 1 – 255 no value is OPTIONAL needed SANRAD V-Switch CLI User Manual...
Table 12-16: iSCSI Session Connection Details Connection ID: State: Local Address: Local Port: Remote Address: Remote Port: Table 12-17: Advanced iSCSI Session Connection Details RX Data Segment Length: TX Data Segment Length Header Integrity Data Integrity SCSI Port Statistics You can monitor both the SCSI/iSCSI target and initiator ports. scsi target port statistics This command lists SCSI/iSCSI target port statistics.
The CLI has a twenty-character display limit for initiator WWUIs. Use StoragePro to view a WWUI longer than twenty characters. iscsi rinitiator show This command shows all remote iSCSI initiators connected to the V-Switch. iscsi rinitiator show Table 12-19: All Connected Remote iSCSI Initiators...
Targ Initiator iqn.199*~ iqn.199*~ iqn.199*~ Logical Unit (LU) Statistics This command shows all statistics for configured LUNs on the V-Switch. lu statistics show Table 12-21: LU Statistics Targ Chapter 12: Monitoring & Statistics Attached Times Commands...
IN THIS This chapter details working examples of how to install, configure and use the V-Switch with a Microsoft iSCSI initiator on a CHAPTER Windows™ 2000 platform for: Sample Basic V-Switch configuration with volume creation and Introduction exposure. Installing and Using...
Microsoft iSCSI initiator software installed on each host terminal. Pre-assigned IP addresses for host and management stations. Installing and Using the V-Switch 3000 You have just purchased a V-Switch 3000 and want to begin managing your company’s small but growing storage network. So far you have: One JBOD appliance with four disks of equal capacity (the actual capacity is not important) connected to the 3000.
Attach an HSSDC-DB9 fibre channel cable from your JBOD appliance to one of the storage ports on the back panel of the V-Switch. See #1, Figure A-1. Depending on your appliance, you need to plug a terminator into one of the JBOD ports.
Page 304
ARITY ONTROL STEP 5. OWER UP STORAGE DEVICE Power up the JBOD appliance first to allow the V-Switch to register it in its network scan. POWER UP WITCH Connect the power cord to the V-Switch and then to the electric socket.
Appendix: Sample Configurations Figure A-2. V-Switch 3000 Login Window 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.
Page 306
–vol Mirror2 –nbc 2 –ch Simple3 –ch Simple4 to list the system-registered Oper. Status Type Enabled disk Enabled disk Enabled disk Enabled disk to create four simple to create a mirrored to create a mirrored SANRAD V-Switch User Manual...
-new to create the iSCSI target and attach LUN0 to the striped volume, Stripe1. volume expose -new –vol Stripe1 –ta storage –tn sanrad.billing. –device VSwitch ONFIGURE HOST STATION INITIATOR Open the Microsoft iSCSI initiator program on host station 1. Figure A-3. Microsoft iSCSI Initiator...
Enter the IP address of Eth1, 172.17.200.174 and select the socket for the IP address. Click OK. The Microsoft initiator automatically discovers all available targets for this portal (IP + TCP). Toggle to the Available Targets tab to view all available targets. Figure A-5. Available Target SANRAD V-Switch User Manual...
This example explains how to: Identify a failed disk. Replace a failed disk. Synchronize a volume to an existing mirrored volume. Remove a failed volume from the V-Switch database. Remove a failed disk from the V-Switch database. Appendix: Sample Configurations EGIN USING VOLUME...
Note that the failed disk still appears in the table of storage disks. RS232 1 Gbit Ethernet, Connection RJ45 Copper Connection Disk 2 Disk 5 Disk 4 to view the new disk’s alias. You SANRAD V-Switch User Manual...
Page 311
Table A-4: Alias Stor_1 Stor_2 Stor_3 Stor_4 New disk Stor_5 STEP 3. STEP 4. STEP 5. Alias Simple3 Simple4 Simple5 Mirror2 STEP 6. Appendix: Sample Configurations Storage Devices Entity Name 500507606058c90 0 2000002037f88fb8 0 2000002037c32b1f 0 2000002037c32450 0 500708206059f880 0 CREATE A SIMPLE VOLUME Use the CLI command volume create simple...
Failed Storage Disk Removed Entity Name 500507606058c90 0 2000002037f88fb8 0 2000002037c32b1f 0 500708206059f880 0 to remove the non- to remove the failed to view the updated storage disk Oper. Status Subdisk Enabled entire Enabled entire Enabled entire Enabled entire SANRAD V-Switch User Manual...
Old2 Old3 Old4 Figure A-8. Replicating Data Off-line TTACH AND VIEW STORAGE DEVICES Attach the legacy JBOD to the V-Switch and configure the storage port communications as needed. See Chapter 4 Use the CLI command storage show Legacy JBOD Disks...
Page 314
Stor_6 Stor_7 Stor_8 STEP 2. A-14 Next, attach the new JBOD to the V-Switch and configure the storage port communications as needed. Use the CLI command storage show legacy JBOD disks are Stor_1 through Stor_4. The new JBOD disks are Stor_5 through Stor_8.
Page 315
STEP 3. STEP 4. Table A-8: Source NONE NONE NONE NONE The simple volumes can be exposed independently to hosts or used as building blocks in another volume hierarchy. Appendix: Sample Configurations REPLICATE DATA Use the CLI command volume copy create data.
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 and a section is stationed in your overseas offices.
Attach an HSSDC-DB9 fibre channel cable from your JBOD appliance to one of the storage ports on the back panel of the V-Switch. See #1 in Figure A-9. Depending on your appliance, you need to plug a terminator into one of the JBOD ports.
Page 318
Use the LCD display and control buttons to configure the V-Switch management port IP address and mask. Use the LCD display and control buttons on the V-Switch to configure the V- Switch management port IP address and mask. Toggle to the IP Configure ETH1 Port screen.
STEP 7. The port number you Use the CLI command set in the CLI must on network port Eth 1 for iSCSI communications between the V-Switch and the host station. coincide with the port number you set in your iSCSI initiator iscsi portal create –ip 212.199.43.56 –p 5003...
Page 320
Use the CLI command ip route add external host network IP address from network port Eth 2. This will allow communications between the local V-Switch and Network B’s host stations. ip route add –dip 10.10.0.0 –dmask 255.255.255.0 – gw 212.199.43.70 –if eth2...
Page 321
LUN0 to the striped expose -new volume, Stripe1. volume expose -new –vol Stripe1 –ta storage –tn billing.sanrad –device VSwitch ONFIGURE HOST STATION INITIATOR Open the Microsoft iSCSI initiator program on host station 1. to create a mirrored...
Enter the IP address of Eth1, 172.17.200.174 and select the socket for the IP address. Click OK. The Microsoft initiator automatically discovers all available targets for this portal (IP + TCP). Toggle to the Available Targets tab to view all available targets. A-22 SANRAD V-Switch User Manual...
STEP 15. The new disk should You can access Windows’ Disk Management application by right clicking on My Computer and selecting Manage. Select Disk Management from the be configured as a Computer Management window. basic disk only. Appendix: Sample Configurations Figure A-13.
Switch, with only the V-Switch aliases being unique. You will create two mirrored volumes, Mirror1 and Mirror2, one to be exposed on V-Switch 1 to one host and one to be exposed on V-Switch 2 to both hosts. This example explains how to: Initialize the V-Switches via the LCD display panel and control buttons.
Attach an HSSDC-DB9 fibre channel cable from your JBOD appliance to one of the storage ports on the back panel of V-Switch 1. See #1 in Figure A-15. Depending on your appliance, you need to plug a terminator into one of the JBOD ports.
Page 326
Power up the JBOD appliance first to allow both V-Switches to register it in their network scan. POWER UP WITCHES Connect the power cord to V-Switch 1 and then to the electric socket. The V-Switch powers up. The fan assembly is running and the LCD panel displays: V-Switch 3000 Status: Connect the power cord to V-Switch 2 and then to the electric socket.
Page 327
STEP 5. STEP 6. Appendix: Sample Configurations Press Enter to enter the IP mask and return to the main V-Switch Status screen. V-Switch 3000 Status: NITIALIZE WITCH Use the LCD display and control buttons on V-Switch 2 to configure the V- Switch management port IP address and mask.
A-28 Figure A-16. V-Switch 3000 Login Screen 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.
REATE LUSTER You need to enable your two V-Switches to act as one unit to provide V- Switch failover. To do this, you need to tell each one that the other one exists. Use the CLI command neighbor add it has a neighbor.
Page 330
Eth 1. This IP address will be the IP address of Eth 1 on VSwitch1. The address will sit inactive (2) unless V-Switch 1 goes offline. Then VSwitch2 will activate (1) this address and direct all read/write commands to this address through Eth 1 on VSwitch2.
STEP 14. The port number you Use the CLI command set in the CLI must on network port Eth 1 for iSCSI communications between the V-Switch and the coincide with the port host stations. number you set in your iSCSI initiator iscsi portal create –ip 212.199.43.75 –p 5003...
Page 332
-new –vol Mirror1 –ta billing –tn billing.sanrad –device VSwitch1 volume expose -new –vol Mirror2 –ta musicbox –tn musicbox.sanrad –device VSwitch2 WITCH to create four simple to create a mirrored to create a mirrored Use the CLI SANRAD V-Switch User Manual...
Page 333
-new to create each iSCSI target and attach LUN0 to each mirrored volume, Mirror1 and Mirror2. volume expose -new –vol Mirror1 –ta billing –tn sanrad. billing –device VSwitch1 volume expose -new –vol Mirror2 –ta musicbox –tn sanrad. musicbox –device VSwitch2 WITCH...
Figure A-19. 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 automatically discovers all available targets for this portal (IP + TCP). A-34 SANRAD V-Switch User Manual...
Toggle to the Available Targets tab to view all available targets for the configured portal. Figure A-20. Available Target STEP 23. ONFIGURE HOST STATION INITIATOR Open the Microsoft iSCSI initiator program on host station 2. Appendix: Sample Configurations A-35...
Enter the IP address of Eth1, 212.199.43.56 and select the socket for the IP address. Click OK. The Microsoft initiator automatically discovers all available targets for this portal (IP + TCP). Toggle to the Available Targets tab to view all available targets for the configured portal. A-36 SANRAD V-Switch User Manual...
Figure A-23. Available 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 Microsoft iSCSI Initiator Configuration for Host Station 2 Appendix: Sample Configurations A-37...
Toggle to the Available Targets tab to view all available targets for the host 2 initiator. Figure A-25. All Available Targets A-38 SANRAD V-Switch User Manual...