SANRAD I3.1.1205 User Manual

V switch series
Table of Contents

Advertisement

Quick Links

Advertisement

Table of Contents
loading

Summary of Contents for SANRAD I3.1.1205

  • 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...
  • Page 3: Limited Warranty

    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...
  • Page 4: Regulatory Information

    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.
  • Page 5: Safety Notices

    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...
  • Page 7: Table Of Contents

    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 20 Interface Statistics Overview ... 12-3 Table 12-3: Interface Statistics Details ... 12-4 Table 12-4: IP Statistics... 12-4 Table 12-5: ICMP Statistics ... 12-5 Table 12-6: TCP Connections ... 12-5 Table 12-7: TCP Statistics ... 12-6 SANRAD V-Switch CLI User Manual...
  • 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...
  • Page 22 SANRAD V-Switch CLI User Manual...
  • Page 23: Chapter 1: V-Switch

    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.
  • Page 24: V-Switch Overview

    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.
  • Page 25: Order Of Operations

    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.
  • Page 26: Manual Organization

    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”...
  • Page 27: Cli - Command Line Interface

    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:...
  • Page 28: Technical Assistance

    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...
  • Page 29: Chapter 2: Installing The V-Switch 2000

    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:...
  • Page 30: Chassis

    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.
  • Page 31: Back Panel

    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...
  • Page 32: System Indicator Leds

    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...
  • Page 33: Surface Mounting

    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.
  • Page 35: Storage Port Connections

    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.
  • Page 37: Network Port Connections

    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.
  • Page 38: Console Port Connection

    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.
  • Page 39: Figure 2-10. V-Switch 2000 Power Supplies

    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.
  • Page 40 2-12 SANRAD V-Switch CLI User Manual...
  • Page 41: Chapter 3: Installing The V-Switch 3000

    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:...
  • Page 42: Chassis

    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.
  • Page 43: System Indicator Leds

    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...
  • Page 44: Surface Mounting

    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.
  • Page 46: Storage Port Connections

    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.
  • Page 47: Network Port Connections

    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.
  • Page 48: Table 3-3: Network Port Cable Connections

    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.
  • Page 49: Console Port Connection

    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.
  • Page 50: Lcd

    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.
  • Page 51: Compact Flash (Cf) Slot

    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.
  • Page 52: Powering Up

    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.
  • Page 53: Chapter 4: V-Switch Configuration

    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.
  • Page 54: Introduction To Managing The V-Switch

    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.
  • Page 55: Figure 4-1. V-Switch Management Options

    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...
  • Page 56: Initial 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.
  • Page 57: Figure 4-2. Terminal Properties

    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...
  • Page 58: Changing Management Parameters

    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...
  • Page 60: Table 4-1: V-Switch Configuration

    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.
  • Page 61: Changing The Telnet Communications Port

    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...
  • Page 63: Adding User Login Profiles

    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.
  • Page 64: Viewing Scsi Storage Ports And Bus Ids

    ARAMETER EFINITION INTERFACE STORAGE PORT NUMBER SCSI IDENTITY BUS IDENTITY Alias Phys Address cons 000000000000 mgnt 000000000000 000000000000 000000000000 SCSI1 000000000000 SCSI2 000000000000 eth1 00081a000110 eth2 00081a000111 eth3 00081a000112 TATUS XAMPLE pscsi3 MANDATORY OPTIONAL DEFAULT SANRAD V-Switch CLI User Manual...
  • Page 65: Viewing The Fc Port Information

    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.
  • Page 66: Viewing The V-Switch World Wide Node Name

    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...
  • Page 67: Checking The Ip Configurations

    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.
  • Page 68: Removing An Ip Address

    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...
  • Page 69: Discovering Iscsi Targets

    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.
  • Page 70: Isns

    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.
  • Page 71: Configuring Iscsi Portals

    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.
  • Page 72: Viewing Iscsi Portals

    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...
  • Page 73: Discovery Of Iscsi Storage Devices

    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...
  • Page 74: Iscsi Discovery Rportal Discover

    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...
  • Page 75: Iscsi Discovery Rportal Remove

    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.
  • Page 76: Adding An Ip Route

    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...
  • Page 77: Setting A Default Gateway

    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.
  • Page 78: Checking Ip Routes

    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.
  • Page 80 4-28 SANRAD V-Switch CLI User Manual...
  • Page 81: Chapter 5: V-Switch Cluster Configuration

    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.
  • Page 82: Introduction To V-Switch Clusters

    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.
  • Page 84: Figure 5-2. Re-Routing Storage Access With Off-Line V-Switch

    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.
  • Page 85: Configuring A V-Switch Cluster

    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...
  • Page 88: Working With Scsi Storage Devices

    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.
  • Page 89: 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.
  • Page 90: Viewing V-Switch Neighbor Details

    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...
  • Page 91: Managing A Cluster

    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...
  • Page 93: Chapter 6: Volume Configuration

    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...
  • Page 94: Introduction To Volume Configuration

    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...
  • Page 95: Identifying Available Storage Devices

    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...
  • Page 97: Table 6-2: Storage Details

    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.
  • Page 98: Creating A Transparent Volume

    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...
  • Page 99: Figure 6-2. Transparent Volume 1

    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.
  • Page 100: Creating A Subdisk (Lun Carving)

    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...
  • Page 103: Creating A Simple Volume

    –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.
  • Page 105: Creating A Concatenated Volume

    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...
  • Page 107: Figure 6-10. Concatenated Volume 1

    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...
  • Page 108: Creating A Striped Volume

    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;...
  • Page 110: Creating A Mirrored Volume

    Disk 3 Disk 4 Simple 5 Simple 6 Figure 6-12. Striped Volume 1 JBOD 2 Disk 6 Disk 5 Simple 7 Simple 9 Simple 8 Simple 10 Disk 7 Disk 8 Simple 11 Simple 12 SANRAD V-Switch CLI User Manual...
  • Page 111: Figure 6-13. Mirrored Volume Block Distribution

    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.
  • Page 112: Replicating Data In A Mirrored Volume

    Simple 5 Simple 6 Figure 6-14. Mirrored Volume 1 Off-line”. JBOD 2 Disk 6 Disk 5 Simple 7 Simple 9 Simple 8 Simple 10 Disk 7 Disk 8 Simple 11 Simple 12 “Volume Exposure & SANRAD V-Switch CLI User Manual...
  • Page 113: Creating A Raid 10 And Raid 0+1

    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.
  • Page 114: Figure 6-15. Raid 10 Volume Block Distribution

    6-22 RAID 10 Virtual Volume Volumes Mirrored Volume RAID 0 - Striping RAID 1 - Mirroring Disk 1 Disk 2 Physical Volumes Figure 6-15. RAID 10 Volume Block Distribution Mirrored Volume Disk 3 Disk 4 SANRAD V-Switch CLI User Manual...
  • Page 115: Figure 6-16. First Mirrored Volume Of Raid 10

    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.
  • Page 116: Figure 6-17. Second Mirrored Volume Of Raid 10

    Simple 6 Figure 6-17. Second Mirrored Volume of RAID 10 Mirrored Volume 3 JBOD 2 Disk 6 Disk 5 Simple 7 Simple 9 Simple 8 Simple 10 Disk 7 Disk 8 Simple 11 Simple 12 SANRAD V-Switch CLI User Manual...
  • Page 117: Figure 6-18. Striped Volume Of Raid 10

    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...
  • Page 118 6-26 SANRAD V-Switch CLI User Manual...
  • Page 119: Chapter 7: Volume Exposure & Security

    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 &...
  • Page 120: Introduction To Volume Exposure & Security

    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.
  • Page 121: Identities

    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.
  • Page 122: Figure 7-3. Identity B's Iscsi Initiators

    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...
  • Page 124: Access Rights

    – 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...
  • Page 125: Authentication

    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.
  • Page 126: Default Identity

    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.
  • Page 128: Creating An Iscsi Target

    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 –...
  • Page 130: Figure 7-10. Creating A Target

    V-Switch1 7-12 iSCSI initiator Tower box iqn.1991-05.microsoft:steven.sanrad iqn.com.cisco.steven Cloud IP SAN Default finance sanrad.billing Figure 7-10. Creating a Target iSCSI initiator Tower box iqn.1991-05.microsoft:wilbur.sanrad SANRAD V-Switch CLI User Manual...
  • Page 131: Viewing Iscsi Targets

    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...
  • Page 132: Viewing Access Rights

    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...
  • Page 134: Creating An Identity

    – 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...
  • Page 135: Figure 7-11. Creating An Identity

    V-Switch1 Chapter 7: Volume Exposure and Security iSCSI initiator Tower box iqn.1991-05.microsoft:steven.sanrad iqn.com.cisco.steven Cloud IP SAN accounting Default finance sanrad.billing Figure 7-11. Creating an Identity iSCSI initiator Tower box iqn.1991-05.microsoft:wilbur.sanrad 7-17...
  • Page 136: Adding Initiators To An Identity

    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...
  • Page 137: Figure 7-12. Adding An Initiator

    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...
  • Page 138: Figure 7-13. Adding A Second Initiator

    –id accounting –name iqn.com. cisco.steven V-Switch1 7-20 iSCSI initiator Tower box iqn.1991-05.microsoft:steven.sanrad iqn.com.cisco.steven Cloud IP SAN accounting Default finance sanrad.billing Figure 7-13. Adding a Second Initiator iSCSI initiator Tower box iqn.1991-05.microsoft:wilbur.sanrad cisco.steven microsoft:steven SANRAD V-Switch CLI User Manual...
  • Page 139: Assigning Identity Credentials

    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...
  • Page 140: Figure 7-14. Assigning Credentials

    –id accounting –us steven –pw oneveryhotdude V-Switch1 7-22 iSCSI initiator iqn.1991-05.microsoft:steven.sanrad Tower box iqn.com.cisco.steven Cloud IP SAN steven oneveryhotdude accounting Default finance sanrad.billing Figure 7-14. Assigning Credentials iSCSI initiator iqn.1991-05.microsoft:wilbur.sanrad Tower box cisco.steven microsoft:steven SANRAD V-Switch CLI User Manual...
  • Page 141: Figure 7-15. Adding Another Set Of Credentials

    –id accounting –us steven –pw ilovecookies V-Switch1 Chapter 7: Volume Exposure and Security iSCSI initiator Tower box iqn.1991-05.microsoft:steven.sanrad iqn.com.cisco.steven Cloud IP SAN steven oneveryhotdude accounting steven...
  • Page 142: Using A Radius Server

    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.
  • Page 143: Figure 7-16. Sending A Chap Authentication Challenge

    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.
  • Page 145: Viewing Configured Radius Servers

    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...
  • Page 146: Connecting An Identity And Target

    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.
  • Page 147: Figure 7-18. Connecting A Target And Identity

    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...
  • Page 148: Exposing An Iscsi Target And Lun

    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...
  • Page 150: Figure 7-19. Exposing A Volume

    –vol Vol1 –ta finance –lun 0 iqn.1991-05.microsoft:steven.sanrad iqn.com.cisco.steven V-Switch1 7-32 iSCSI initiator Tower box Cloud IP SAN steven oneveryhotdude accounting steven ilovecookies Default finance sanrad.billing Vol 1 Figure 7-19. Exposing a Volume iSCSI initiator Tower box iqn.1991-05.microsoft:wilbur.sanrad cisco.steven microsoft:steven SANRAD V-Switch CLI User Manual...
  • Page 151: Viewing Luns

    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...
  • Page 152 7-34 SANRAD V-Switch CLI User Manual...
  • Page 153: Chapter 8: Advanced Volume Operations

    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.
  • Page 154: Introduction To Advanced Volume Configurations

    A snapshot volume must also be exposed on the same V-Switch as its source volume while a mirrored copy has no dependency on its source.
  • Page 155: Copying A Volume (Off-Line 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).
  • Page 156: Adding A Child To A Mirror (On-Line Copy)

    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...
  • Page 160: Creating A Snapshot

    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.
  • Page 164 –activate snapshot –vol Snapshot3 –src QATesting –ch Snapshot3 -lt 80 8-12 QA Testing Snapshot1 QA Testing Snapshot1 QA Testing Snapshot1 Snapshot Created, Update to 1 and Write to Source Snapshot2 Snapshot & 2 Snapshot SANRAD V-Switch CLI User Manual...
  • Page 165: Deactivating And Activating A Snapshot 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.
  • Page 166: Viewing Snapshot Volumes

    SNAPSHOT SOURCE VOLUME All Snapshot Volumes Snapshot Date & Time Snp1Mir3 12/12/02 13:00:00 Snp2Mir3 12/12/02 14:00:00 ARAMETER EFINITION VOLUME SNAPSHOT SOURCE VOLUME TATUS XAMPLE Mirror7 MANDATORY TATUS XAMPLE Mirror7 MANDATORY Utilization TATUS XAMPLE Mirror7 MANDATORY SANRAD V-Switch CLI User Manual...
  • Page 167: Snapshot Rollback

    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.
  • Page 168: Volume Snapshot Rollback Abort

    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...
  • Page 169: 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 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.
  • Page 170: Resizing A 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.
  • Page 172: Figure 8-13. Asymetrical Mirrored Volume

    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...
  • Page 173: Figure 8-15. Resized Volume

    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.
  • Page 174: Figure 8-17. Resizing A Concatenated Volume

    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...
  • Page 175: Retracting A Volume

    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...
  • Page 176: Expanding A Volume

    8-24 ARAMETER EFINITION VOLUME VOLUME TO – HEAD RETRACT OF HIERARCHY Ch 1 Ch 1 Figure 8-19. Expanding a Concatenated Volume TATUS XAMPLE Mir5 MANDATORY Ch 3 Ch 2 Ch 3 Ch 2 SANRAD V-Switch CLI User Manual...
  • Page 177: Figure 8-20. Expanding A Mirrored Volume

    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...
  • Page 178: Figure 8-21. Expanding Xsim2

    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...
  • Page 179: Chapter 9: Routine Volume Maintenance

    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...
  • Page 180: Removing A Volume

    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...
  • Page 181: Removing All Volumes In A Hierarchy

    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;...
  • Page 182: Replacing A Volume

    Disk 4 Simple 5 Simple 6 Stripe 1 Volume and Supporting Hierarchy Removed JBOD 2 Disk 6 Disk 5 Simple 7 Simple 9 Simple 8 Simple 10 Disk 7 Disk 8 Simple 11 Simple 12 SANRAD V-Switch CLI User Manual...
  • Page 183: Synchronizing A Volume

    –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.
  • Page 184: Targets And Exposure

    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...
  • Page 185: Removing An Iscsi Target

    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...
  • Page 186 SANRAD V-Switch CLI User Manual...
  • Page 187: Chapter 10: Routine V-Switch Maintenance

    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.
  • Page 188: General Configuration Parameters

    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...
  • Page 189: Telnet Port

    -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.
  • Page 190: Table 10-1: V-Switch Configuration

    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...
  • Page 191: Snmp Manager

    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...
  • Page 192: Removing An Snmp Manager

    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...
  • Page 193: User Profiles

    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.
  • Page 194: Changing A User Profile

    –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.
  • Page 195: Saving (Uploading) A V-Switch Database File

    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.
  • Page 196: Downloading A V-Switch Configuration File

    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.
  • Page 197: Network Interfaces

    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.
  • Page 198: Removing An Interface Ip Address

    Figure 10-1. Adding an Interface IP Address ARAMETER EFINITION ADDRESS ADDRESS TO REMOVE FROM THE NETWORK INTERFACE PORT MANDATORY 212.199.43.57 OPTIONAL DEFAULT 255.255.255.0 OPTIONAL DEFAULT ACTIVE INACTIVE 212.199.75.66 212.199.43.56 212.199.12.67 212.199.43.57 212.199.12.70 TATUS XAMPLE 212.199.12.70 MANDATORY SANRAD V-Switch CLI User Manual...
  • Page 199: Ip Routing

    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...
  • Page 200: Removing An Ip Route

    EFINITION DESTINATION DESTINATION NETWORK ADDRESS DESTINATION DESTINATION MASK NETWORK MASK GATEWAY ADDRESS OF THE ADDRESS GATEWAY ROUTER INTERFACE NTERFACE ALIAS ALIAS ROUTING PATH MAPS TO TATUS XAMPLE 10.10.20.20 MANDATORY 255.255.255.0 MANDATORY 30.30.20.20 MANDATORY eth2 MANDATORY SANRAD V-Switch CLI User Manual...
  • Page 201: Disks And Subdisks

    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.
  • Page 202: Renaming A Storage Device

    –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...
  • Page 203: Renaming A Subdisk

    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...
  • Page 204: Clusters

    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...
  • Page 205: Modifying A Cluster

    -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.
  • Page 206: V-Switch 3000 Power Supply

    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.
  • Page 207: Upgrading The V-Switch Software

    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.
  • Page 208: V-Switch 3000 Compact Flash

    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.
  • Page 209: Safe Mode

    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.
  • Page 210: Automatic Safe Mode

    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.
  • Page 211: Exporting A Corrupted Database

    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.
  • Page 214 10-28 SANRAD V-Switch CLI User Manual...
  • Page 215: Chapter 11: Command Line Interface

    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.
  • Page 216: Switch Configuration

    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...
  • Page 217: 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.
  • Page 218: Admin Password

    –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.
  • Page 219: Device Set

    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.
  • Page 220: Device Set -Telnet

    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...
  • Page 221: Device Advance Set

    -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...
  • Page 222: Fc Set Speed

    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...
  • Page 223: Interface Details

    interface details This command lists the interface details of a specified interface. interface details WITCH Table 11-5: Interface Details Parameter Name: Alias: Index: Type: Description: Phys Address: MTU: Admin Status: Oper. Status: interface set This command renames the specified interface alias. interface set WITCH Chapter 11: Command Line Interface...
  • Page 224: Pscsi Show

    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...
  • Page 225: Device Set

    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...
  • Page 226: Snmp Manager Remove

    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...
  • Page 227: Ip Config Remove

    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...
  • Page 228: Ip Route Show

    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...
  • Page 229: Ip Isns Show

    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...
  • Page 230: Ip Isns Remove

    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.
  • Page 231: Neighbor Show

    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...
  • Page 232: Cluster Show

    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...
  • Page 233: Cluster Failover Enable

    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...
  • Page 234: Ft 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.
  • Page 235: System Boot

    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.
  • Page 236: System Show

    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...
  • Page 237: Storage Discovery

    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.
  • Page 238: Storage Blink Activate

    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...
  • Page 239: Storage Disk Set

    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...
  • Page 240: Storage Set

    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...
  • Page 241: Storage Remove

    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...
  • Page 242: Table 11-18: Details Of All Subdisks

    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...
  • Page 243: Subdisk Set

    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...
  • Page 244: Volume Show

    16777216 ARAMETER EFINITION VOLUME ALIAS OF SINGLE VOLUME DETAILS TO SHOW Snp3Stripe1 stripe 41943040 25 GB 50 GB internal Stripe1 Mon. 15 Dec. 2003 01:13 State Internal Exposed 8388608 Exposed Internal TATUS XAMPLE stripe1 MANDATORY SANRAD V-Switch CLI User Manual...
  • Page 245: Volume Alias

    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.
  • Page 246: Volume Create Simple

    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...
  • Page 247: Volume Create Concatenated

    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...
  • Page 248: Volume Set

    ARAMETER EFINITION VOLUME ALIAS OF VOLUME TO REMOVE TATUS XAMPLE MANDATORY OPTIONAL DEFAULT Simple3 MANDATORY Simple4 MANDATORY TATUS XAMPLE MANDATORY Subdisk7 Simple7 MANDATORY IF CHANGING ALIAS MANDATORY IF CHANGING LOAD THRESHOLD TATUS XAMPLE Stripe3 MANDATORY SANRAD V-Switch CLI User Manual...
  • Page 249: Volume Remove -All

    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.
  • Page 250: Volume Mirror Sync Show

    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...
  • Page 251: Volume Mirror Sync Abort

    volume mirror sync abort This command aborts synchronization of mirrored volumes. volume mirror sync abort WITCH -src -dst volume copy create This command creates an off-line volume copy. volume copy create WITCH -src -dst volume copy show This command shows all on-going and previously executed operations on volumes volume copy show Volume Alias...
  • Page 252: Volume Copy Abort

    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...
  • Page 253: Volume Mirror Break

    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.
  • Page 254: Volume Expand

    LOAD THRESHOLD PERCENTAGE FULL AT DESTINATION TO TRIGGER AN ALARM Snapshot Date & Time Snp1Mir3 11/01/04 8:34:28 Snp7Mir2 09/01/04 15:53:07 TATUS XAMPLE Simple3 MANDATORY TATUS XAMPLE Mirror3 MANDATORY Snp1Mir3 MANDATORY OPTIONAL : 80% DEFAULT Utilization 100% SANRAD V-Switch CLI User Manual...
  • Page 255: Volume Snapshot List

    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...
  • Page 256: Volume Exposure

    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...
  • Page 257: Iscsi Portal Show

    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.
  • Page 258: Iscsi Target Show

    # 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...
  • Page 259: Iscsi Target Create

    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...
  • Page 260: Iscsi Target Set

    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...
  • Page 261: Iscsi Target Authentication

    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...
  • Page 262: Iscsi Session Details

    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...
  • Page 263: Iscsi Session Statistics

    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...
  • Page 264: Iscsi Session Connection Show

    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...
  • Page 265: Iscsi Session Connection Details

    iscsi session connection details This command shows all details of a specific connection. iscsi session connection details WITCH -adv Table 11-36: iSCSI Session Connection Details Connection ID: State: Local Address: Local Port: Remote Address: Remote Port: Table 11-37: Advanced iSCSI Session Connection Details RX Data Segment Length: TX Data Segment Length Header Integrity...
  • Page 266: Scsi Target Port Statistics

    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...
  • Page 267: Iscsi Rinitiator Statistics Show

    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...
  • Page 268: Iscsi Discovery Rportal Discover

    ADDRESS OF NETWORK PORT PORT PORT FOR SCSI COMMUNICATION TATUS XAMPLE 212.199.43.70 MANDATORY 5003 OPTIONAL DEFAULT 3260 TATUS XAMPLE 212.199.43.70 MANDATORY OPTIONAL 5003 DEFAULT 3260 OPTIONAL DEFAULT 1800 TATUS XAMPLE 212.199.43.70 MANDATORY OPTIONAL 5003 DEFAULT 3260 SANRAD V-Switch CLI User Manual...
  • Page 269: Acl Show

    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.
  • Page 270: Acl Add

    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...
  • Page 271: Acl Rem

    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...
  • Page 272: Acl Identity Create

    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...
  • Page 273: Acl Identity Add Name

    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...
  • Page 274: Acl Identity Add Chap

    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...
  • Page 275: Acl Identity Add Srp

    acl identity add srp This command adds SRP authentication credentials to an identity. acl identity add srp WITCH acl identity remove srp This command removes an SRP authentication credential from an identity. acl identity remove srp WITCH Chapter 11: Command Line Interface ARAMETER EFINITION IDENTITY...
  • Page 276: Acl Identity Set

    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...
  • Page 277: Acl Down

    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...
  • Page 278: Ip Radius Set

    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...
  • Page 279: Volume Expose -New

    NUMBER TO ASSIGN UMBER TO VOLUME FOR EXPOSURE PROTOCOL EXPOSING PROTOCOL TATUS XAMPLE Concat 1 MANDATORY MusicBox MANDATORY ALIAS CANNOT CONTAIN SPACES Ourcompany. MANDATORY com/SAN/ MusicBox V Switch 1 MANDATORY TATUS XAMPLE Stripe1 MANDATORY music.sanrad MANDATORY MANDATORY iscsi OPTIONAL SCSI DEFAULT 11-65...
  • Page 280: Lu Show

    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...
  • Page 281: Lu Remove

    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.
  • Page 282: System Hardware Show

    Table 11-50: Interface Statistics Overview Alias cons mgmt eth1 eth2 eth3 11-68 In Octets Out Octets 42040 129772 647295438498 390488847341 535709973551 857473339209 2 working 3 working Warning 90; Faulty 100 Warning 60; Faulty 70 In Errors SANRAD V-Switch CLI User Manual...
  • Page 283: Interface Statistics Details

    interface statistics details This command shows all interface connection counters. interface statistics details WITCH Table 11-51: Interface Details Alias: Discontinuity: In/Out Octets: In/Out Unicast Pkts: In/Out Discards: In/Out Errors: In/Out Multicast Pkts: In/Out Broadcast Pkts: In Unknown Protos: ip statistics ip show This command shows all IP counters.
  • Page 284: Ip Statistics Icmp Show

    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...
  • Page 285: Tcp Statistics Show

    Local Address 11.11.11.110 22.22.22.110 tcp statistics show This command shows all TCP connection counters. tcp statistics show Table 11-55: TCP Statistics #Current Connections: Active Open: Passive Open: Attempt Failures: Reset Establishments: Segments Received: Segments Sent: Segments Retransmitted: Errors Received: Reset Sent: udp listeners show This command shows all UDP listeners.
  • Page 286: Udp Statistics Show

    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...
  • Page 287: Chapter 12: Monitoring & Statistics

    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...
  • Page 288: Health Monitoring

    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.
  • Page 289: Interface Statistics Show

    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.
  • Page 290: Tcp/Ip Statistics

    Out No Routes: Reasm. Fragments Received: Reasm. Fragments OK: Reasm. Failures: Fragments OK: Failed to Fragment: Number Generated Frag.: Routing Discards: 12-4 eth1 2 days 1h:37m:9 sec 535709973551 857473339209 96251/0 403010/0 161853270 65177 161200809 162958810 3596 SANRAD V-Switch CLI User Manual...
  • Page 291: Tcp Connection Show

    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:...
  • Page 292: Udp Listeners Show

    Segments Retransmitted: Errors Received: Reset Sent: udp listeners show This command shows all UDP listeners. udp listeners show Local Address 0.0.0.0 0.0.0.0 0.0.0.0 0.0.0.0 10.0.0.110 127.0.0.1 12-6 16078975 162950234 3794 Local Port 17185 56789 65532 65538 SANRAD V-Switch CLI User Manual...
  • Page 293: Iscsi Session Show

    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...
  • Page 294: Table 12-10: Basic Iscsi Session Details

    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...
  • Page 295: Table 12-11: Advanced Iscsi Session Details

    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.
  • Page 296: Iscsi Connection Statistics

    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...
  • Page 297: Scsi Port Statistics

    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.
  • Page 298: Remote Iscsi Initiator 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...
  • Page 299: Iscsi Rinitiator Statistics Show

    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...
  • Page 300 12-14 SANRAD V-Switch CLI User Manual...
  • Page 301: Sample Introduction

    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...
  • Page 302: Installing And Using The V-Switch 3000

    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.
  • Page 303: Figure A-1. System Overview

    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.
  • Page 305: Figure A-2. V-Switch 3000 Login Window

    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...
  • Page 307: Figure A-3. Microsoft Iscsi Initiator

    -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...
  • Page 308: 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 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...
  • Page 309: Replacing A Mirrored Volume

    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...
  • Page 310: Figure A-7. Replacing A Failed Disk

    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...
  • Page 312: Replicating Data Off-Line

    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...
  • Page 313: Figure A-8. Replicating Data Off-Line

    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.
  • Page 316: Configuring The V-Switch With A Single Ip Routing Path

    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.
  • Page 317: Figure A-9. Ip Routing Topology

    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.
  • Page 319: Figure A-10. V-Switch 3000 Login 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...
  • Page 322: Figure A-11. 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. A-22 SANRAD V-Switch User Manual...
  • Page 323: Figure A-13. Available Target

    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.
  • Page 324: Configuring A Cluster

    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.
  • Page 325: Figure A-15. Cluster Topology

    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.
  • Page 328: Figure A-16. V-Switch 3000 Login Screen

    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.
  • Page 329: Figure A-17. V-Switch 3000 Login Screen

    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.
  • Page 331: Table A-10: Storage Disks As Seen Through V-Switch 1

    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...
  • Page 334: Figure A-18. Microsoft Iscsi Initiator

    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...
  • Page 335: Figure A-20. Available Target

    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...
  • Page 336: Figure A-21. Microsoft Iscsi Initiator

    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...
  • Page 337: Figure A-23. Available Target

    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...
  • Page 338: Figure A-25. All Available Targets

    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...
  • Page 339 10/100, 1-5 AC power supplies, 10-20 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, 11-62 remove, 11-57...
  • Page 340 Data replication, 6-20, 8-4, A-12, A-15 Database corrupted, 10-25, 11-20 download, 10-10, 11-20 export, 10-25, 11-20 upload, 10-9, 11-19 Deactivate snapshot, 8-13 Dead interval, 5-8, 11-18 Default gateway, 4-25 Default factory database, 10-24 Default factory system, 10-25 Delete SANRAD V-Switch CLI User Manual...
  • Page 341 acl identity, 11-58 iSNS, 4-18, 9-7, 10-6 RADIUS, 9-7 Details acl, 11-55 disk, 6-5, 11-25 interface, 11-9 interface statistics, 11-69, 12-3 iSCSI session, 11-48, 12-8 iSCSI session connection, 11-51, 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...
  • Page 342 11-50, 12-10 session details, 11-48, 12-8 session statistics, 11-49, 12-9 set target, 11-46 show portal, 11-43 show session, 11-47, 12-7 show target, 11-44 target details, 7-13, 11-44, 11-67, 12-13 iSCSI connection statistics, 12-10 SANRAD V-Switch CLI User Manual...
  • Page 343 11-66 remove, 11-67 remove, 9-6 show, 11-66 LUNs discovery, 10-15, 11-6 Management, 3-9 port, 3-9 Management Station ping from V-Switch, 4-26 MIB, 1-6 Mirror add, 11-38 add volume, 8-6 break, 8-16, 11-39 start synchonize volume, 11-36, 11-37 volume, 11-32...
  • Page 344 4-20, 11-43 iSCSI remote portal, 4-23, 11-54 iSCSI target, 9-7, 11-46, 11-47 lu, 9-6 LU, 11-67 LUN, 11-67 neighbor, 5-11, 10-18, 11-17 radius, 11-64 SNMP manager, 10-6, 11-12 srp identity, 11-61 storage, 10-16, 11-27 SANRAD V-Switch CLI User Manual...
  • Page 345 9-5, 11-35 Replicate, A-15 Replicating data off-line, A-12 Replication status, A-15 Report LUNs, 10-15, 11-6 Reset, 2-2, 10-21 V-Switch, 10-8 Resize volume, 8-19, 11-39 Retract volume, 8-23, 11-39 RJ45, A-3 RS232, 1-5, 4-2, 10-24, A-3 Safe mode, 10-24 Safe Mode, 11-21...
  • Page 346 10-17, 11-29 show, 6-10, 11-28 Subdisks details, 11-28 Suspicious interval, 5-8, 11-18 Synchronize volume mirror, 6-20, 8-4, 9-5 volume mirror start, 11-36, 11-37 System show, 11-22 System boot, 11-21 System hardware show, 11-68, 12-2 SANRAD V-Switch CLI User Manual...
  • Page 347 User profile, 10-7 add, 10-7 Index V switch reset to factory default, 11-4 system reset, 11-4 V Switch configuration, 11-2 V Switch configuration, 11-2 View iSNS, 4-18 snapshot, 8-14 Volume add mirror, 11-38 alias, 6-12, 9-1, 11-31 break mirror, 11-39...
  • Page 348 5-5 World Wide Node Name, 4-14 World Wide Port Name, 4-13, 11-7 World Wide Unique Identifier, 7-2 Write cache enable, 6-5, 11-25 Write community, 4-10 Write-protected, 6-5, 11-25 WWNN, 4-14 WWPN, 4-13, 11-7 WWUI, 7-2 SANRAD V-Switch CLI User Manual...

This manual is also suitable for:

V-switch 2000V-switch 3000

Table of Contents