SANRAD V-Switch User Manual

Sanrad v-switch user manual
Table of Contents

Advertisement

Quick Links

SANRAD V-Switch

User Manual

MIG – 002 – 02
August 2004

Advertisement

Table of Contents
loading

Summary of Contents for SANRAD V-Switch

  • Page 1: User Manual

    SANRAD V-Switch User Manual MIG – 002 – 02 August 2004...
  • 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...
  • Page 3: Limited Warranty

    V-Switch, and in no event shall SANRAD's liability exceed the purchase price of the Product.
  • Page 4: Regulatory Information

    Agreement and the V-Switch shall not exceed the sum paid to SANRAD for the purchase of the Product. In no event shall SANRAD be liable for any indirect, incidental, consequential, special, or exemplary damages or lost profits, even if SANRAD has been advised of the possibility of such damages.
  • 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: User Notes

    User Notes SANRAD V-Switch User Manual...
  • Page 7 SANRAD V-Switch User Manual MIG – 002 – 02 August 2004...
  • Page 8 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...
  • Page 9 V-Switch, and in no event shall SANRAD's liability exceed the purchase price of the Product.
  • Page 10 Agreement and the V-Switch shall not exceed the sum paid to SANRAD for the purchase of the Product. In no event shall SANRAD be liable for any indirect, incidental, consequential, special, or exemplary damages or lost profits, even if SANRAD has been advised of the possibility of such damages.
  • Page 11 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 12 User Notes SANRAD V-Switch User Manual...
  • Page 13: Table Of Contents

    RDER OF PERATIONS ... 18 ANUAL RGANIZATION CLI - C OMMAND NTERFACE ... 20 ECHNICAL SSISTANCE CHAPTER 2: INSTALLING THE V-SWITCH 2000 ... 21 ... 22 HASSIS Front Panel Back Panel System Indicator LEDs ... 25 URFACE OUNTING ... 25 OUNTING...
  • Page 14 Viewing SCSI Storage Ports and Bus IDs Setting a SCSI Storage Port Bus ID Viewing the FC Port Information Configuring an FC Storage Port Viewing the V-Switch World Wide Node Name ONFIGURING THE ETWORK Checking the IP Configurations Removing an IP Address...
  • Page 15 Working with SCSI Storage Devices Maintaining Cluster Communications Enabling and Disabling Failover Further V-Switch Cluster Configurations Viewing V-Switch Neighbor Details ... 81 ANAGING A LUSTER CHAPTER 6: VOLUME CONFIGURATION ... 83 NTRODUCTION TO OLUME DENTIFYING VAILABLE TORAGE REATING A RANSPARENT...
  • Page 16 ... 167 ARGETS AND XPOSURE Removing an LU Changing iSCSI Target Parameters Removing an iSCSI Target Removing a RADIUS Server Removing an iSNS Server CHAPTER 10: ROUTINE V-SWITCH MAINTENANCE ... 169 ENERAL ONFIGURATION ... 171 ELNET SNMP M ... 173 ANAGER...
  • Page 17 ... 181 ISKS AND UBDISKS Discovering Storage Devices Renaming a Storage Device Removing a Storage Device Renaming a Subdisk Removing a Subdisk ... 184 LUSTERS Modifying Neighbor Parameters Removing a Neighbor Modifying a Cluster Enabling and Disabling Failover 3000 P WITCH OWER UPPLY...
  • Page 18 -all volume replace volume mirror show volume mirror sync volume mirror dummysync volume copy create volume copy show volume copy abort volume mirror add volume mirror break volume resize SANRAD V-Switch User Manual...
  • Page 19 volume retract volume expand volume create snapshot volume snapshot show volume snapshot list ... 232 OLUME XPOSURE iscsi portal show iscsi portal create iscsi portal remove iscsi target show iscsi target create iscsi target alias iscsi target set iscsi target remove iscsi target authentication acl show acl details...
  • Page 20 INDEX... 285 SANRAD V-Switch User Manual...
  • Page 21: Chapter 1: V-Switch

    WITCH VERVIEW RDER OF The V-Switch is a high performance appliance that operates in the PERATIONS data-path of a storage network between the hosts and storage sub- ANUAL system. It provides a single, easy-to-use connectivity and...
  • Page 22: 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 23: Order Of Operations

    Management 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. NETWORKS STEP 2. STEP 3. STEP 4.
  • Page 24: 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: Chapter Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6 Chapter 7...
  • Page 25: Cli - Command Line Interface

    Chapter Appendix CLI - Command Line Interface The Command Line Interface (CLI) is used to implement all V-Switch management functions, including switching, virtualization and security. The CLI is available via: All CLI commands are case sensitive and must be entered in lower case.
  • Page 26: Technical Assistance

    SANRAD Technical Support at: US and Americas: 1-866-301-8155 International: +972-3-941-1890 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 and SCSI protocols, please refer to: http://www.ietf.org...
  • Page 27: 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. HASSIS URFACE OUNTING The V-Switch 2000 contains the following:...
  • Page 28 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 29: Power Supply

    Back Panel Fans Power supply System Indicator LEDs Table 4 lists the V-Switch 2000 indicator LEDs as shown in Figure 5, page Table 4: Chapter 2: Installing the V-Switch 2000 Figure 4. V-Switch 2000 Back Panel V-Switch 2000 LEDs Status Indication...
  • Page 30 Figure 5. V-Switch 2000 LEDs – SCSI Figure 6. V-Switch 2000 LEDs – FC SANRAD V-Switch User Manual...
  • Page 31: Surface Mounting

    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 32 STEP 4. If a single V-Switch is being mounted, attach the rear L-bracket to the left side of the V-Switch. If dual V-Switches are being mounted, attach a second rear L-bracket to the right side of the right V-Switch as well.
  • Page 33: Storage Port Connections

    V-Switch 2000 automatically scans for and registers all attached and powered up network storage devices. If you are building a V-Switch 2000 cluster, power up each disk one at a time after connecting them to the powered-up V-Switches. This allows each disk to be numbered with the same default disk number on each V- Switch 2000 during auto-discovery.
  • Page 34 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 35: 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 36: 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 37 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. You are now able to initialize the V-Switch 2000.
  • Page 38 User Notes SANRAD V-Switch User Manual...
  • Page 39: 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. HASSIS URFACE OUNTING The V-Switch 3000 contains the following:...
  • Page 40: I Nterface

    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 41 System Indicator LEDs Table 8 lists the V-Switch 3000 indicator LEDs as shown in Figure 14. Table 8: Chapter 3: Installing the V-Switch 3000 V-Switch 3000 LEDs Status Indication OWER LL POWER SUPPLIES FUNCTIONING LL SYSTEMS FUNCTIONING PROPERLY CALE CALABILITY PORT IS FUNCTIONING...
  • Page 42: Rack Mounting

    The lip of each mount is at the bottom and facing inward toward the opposite rear mount. The rear of the V-Switch 3000 will be supported from underneath on these lips. STEP 2. SURFACE NEAR THE RACK STEP 3.
  • Page 43: Storage Port Connections

    V-Switch 3000 automatically scans for and registers all attached and powered up network storage devices. If you are building a V-Switch 3000 cluster, power up each disk one at a time after connecting them to the powered-up V-Switches. This allows each disk to be numbered with the same default disk number on each V- Switch 3000 during auto-discovery.
  • Page 44: S Torage P Ort C Onnections

    V-Switches during their auto-discovery cycles. This, in turn, makes cluster configuration easier. The V-Switch 3000 supports up to four storage ports in any combinations in pairs of the following: Table 9: FC C...
  • Page 45: 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 46: Console Port Connection

    The console port, labeled Console, is located on the back lower left of the V- Switch 3000. Use this RS232 port and included male-female straight cable to connect a console or dumb terminal to the V-Switch 3000 for system configuration.
  • Page 47: Management 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 48: Lcd

    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. For more information on configuring the V-Switch 3000 via LCD, please refer to “Configuring the V-Switch 3000 Management...
  • Page 49: Scalability Port

    The scalability port is for future use and is not supported currently. The scalability port, labeled 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 50: 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.
  • Page 51: Chapter 4: V-Switch Configuration

    The basic V-Switch configurations define the management IP ANAGING THE configurations and can be done either via the LCD panel for the V- WITCH Switch 3000 or the RS232 console port for both the V-Switch 3000 ONFIGURING THE and the V-Switch 2000. 3000...
  • Page 52: Introduction To Managing The V-Switch

    This basic configuration can be done using the V-Switch LCD panel or via a console or dumb terminal to open a direct connection with the V-Switch’s RS232 console port.
  • Page 53 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 25. V-Switch Management Options Chapter 4: V-Switch Configuration...
  • Page 54: Configuring The V-Switch 3000 Management Parameters Via Lcd

    Configuring the V-Switch 3000 Management Parameters via LCD After successfully powering up, the V-Switch 3000 LCD display panel displays: Using the Enter and arrow buttons, you toggle between LCD screens and input the V-Switch management parameters. The Back and Forward buttons toggle between spaces.
  • Page 55: Configuring The Management Console

    Enter the management port IP mask using the arrow buttons. Press Enter to enter the IP mask and return to the main V-Switch Status screen. After initializing the V-Switch via the LCD display panel and buttons, you are ready to connect your management station to the V-Switch via the Eth1 management port and appropriate cable.
  • Page 56: Initializing The V-Switch

    If you have not configured the V-Switch 3000 management IP address or you are working with a V-Switch 2000, you can log in to the V- Switch locally via the RS232 serial connection established in the last section and initialize it.
  • Page 57 V-Switch for volume virtualization and exposure. STEP 3. Use the CLI command init to configure the V-Switch management parameters. init You need to define five parameters to configure the V-Switch for the first time: WITCH Example: init –n VSwitch –ip 212.199.43.46...
  • Page 58: Changing Management Parameters

    Changing Management Parameters After logging in to the V-Switch, you can change the general management parameters and Telnet communications port as well as add user login profiles. Changing General Management Parameters You can change V-Switch management parameters (IP address and mask)
  • Page 59 -wcom 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 of 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 60: Changing The Telnet Communications Port

    Use the CLI command info to check the V-Switch’s designated Telnet port. Adding an SNMP Manager You can add a manager to the V-Switch. If you are working with StoragePro, the V-Switch GUI management system, StoragePro will automatically be included as a manager. If you are still not working with StoragePro, there are no default managers defined for the V-Switch.
  • Page 61: Adding User Login Profiles

    –ip 212.199.43.96 –p 162 –rcom public – wcom private –trap yes Adding User Login Profiles After logging in to a V-Switch, a total of ten user profiles (name plus All CLI names and password) can be configured on a V-Switch using the CLI command aliases are case sensitive.
  • Page 62 For information on changing or removing user profiles, please see “User Profiles,” page 178. SANRAD V-Switch User Manual...
  • Page 63: Configuring The Storage Ports

    Configuring the Storage Ports If your V-Switch configuration contains SCSI devices, you can set the storage port bus ID. If your V-Switch configuration contains FC storage ports, you can change the default configuration of each port. Use the CLI command interface show to show all storage port connections.
  • Page 64: 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 65: Viewing The V-Switch World Wide Node Name

    WITCH 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...
  • Page 66: Configuring The Network Ports

    Configuring the Network Ports To connect the V-Switch to the network you need to assign IP parameters Each network port to each 1Gb Ethernet network port connected to a network. Each network must be located on a port must be located on a separate subnet. Each network port can have separate subnet.
  • Page 67: Checking The Ip Configurations

    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 “Introduction to V-Switch Clusters,” page 72.
  • Page 68 IP address, 212.199.12.67. ip config remove –ip 212.199.12.70 ARAMETER EFINITION ADDRESS ADDRESS TO REMOVE FROM THE NETWORK INTERFACE PORT 212.199.43.46 Figure 30. Ethernet Port 3 with One IP Address TATUS XAMPLE MANDATORY 212.199.12.70 212.199.75.66 212.199.43.56 212.199.12.67 212.199.43.57 SANRAD V-Switch User Manual...
  • Page 69: Discovering Iscsi Targets

    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 70: 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 Switches in the V-Switch cluster. For more information on V-Switch supports a maximum clusters, see “Introduction to V-Switch Clusters,”...
  • Page 71: 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 “Introduction to V-Switch Clusters,”...
  • Page 72: Configuring Ip Routing

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

    You can remove unwanted IP routing paths from your V-Switch. Use the CLI command ip route remove to remove an IP routing path. If you are working in a V-Switch cluster, the IP route must be removed from both V- Switch databases. For more information on V-Switch clusters, see “Introduction to V-Switch Clusters,”...
  • Page 75 You have now configured all basic V-Switch parameters. If you are creating a V-Switch cluster, continue with “Configuring a Cluster,” page 276. If you are still working with a single V-Switch, you can now begin creating virtual volumes. Continue with “Volume Configuration,” page 83.
  • Page 76 User Notes SANRAD V-Switch User Manual...
  • Page 77: Chapter 5: V-Switch Cluster Configuration

    StoragePro, consult the StoragePro User Manual and on-line help system. If you prefer to use CLI, continue with this chapter. If your network still contains only one V-Switch, you can skip this chapter and continue with Chapter 7 “Volume Exposure &...
  • Page 78: Introduction To V-Switch Clusters

    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. No one V-Switch must be configured specially to act as the master V-Switch in the cluster providing higher flexibility in building a cluster.
  • Page 79 Clusters also provide high availability in the event of V-Switch failover. When working in a Each network port on the V-Switch is configured with its own active, or cluster, the V-Switch functioning, IP addresses as well as inactive, or dormant, neighbor IP...
  • Page 80 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 81: 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 82 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 83 V-Switch IP: 212.199.43.90 cluster, including IP addresses, portals, IP routes, volumes and targets. IP1-active: 212.199.43.90 IP2-inactive: 212.199.43.75 V Switch 1 Chapter 5: V-Switch Cluster Configuration iSCSI initiator initiator Host 1 Tower box Cloud IP SAN iSCSI Target 1...
  • Page 84: Working With Scsi Storage Devices

    Working with SCSI Storage Devices The V-Switch default SCSI bus ID is 7. If your storage cluster includes SCSI storage devices, one of the V-Switch’s default SCSI bus ID must be changed. They cannot both be 7 on the same SCSI bus. Use the CLI command pscsi set busid to change the SCSI bus ID on one of the V-Switches.
  • Page 85: Enabling And Disabling Failover

    V-Switches in the cluster. cluster failover enable 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 86: Viewing V-Switch Neighbor Details

    Viewing V-Switch Neighbor Details Use the CLI command neighbor show to view the neighbor configured on a V-Switch. neighbor show Table 16: Name VSwitch2 Use the CLI command neighbor details to list the details of a neighbor in a cluster.
  • Page 87: 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 88 KEEP ALIVE 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 User Manual...
  • Page 89: 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 NTRODUCTION TO disk storage devices or leave the physical disk as is. These physical...
  • Page 90: I Ntroduction To V Olume C Onfiguration

    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 V-Switch clusters, see “Introduction to V-Switch Clusters,”...
  • Page 91: Identifying Available Storage Devices

    Enabled operating status 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. If a subdisk has been created on a disk, the subdisk status in the disk details will display split.
  • Page 92 –s Stor_1 –na Disk2JBOD5 –info save_for_snap shots The V-Switch supports write cache enabling for increased performance. Use the CLI command storage disk set to enable or disable the write cache.
  • Page 93 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. storage details You need to define one parameter to view a disk’s details: WITCH Table 19:...
  • Page 94: Creating A Transparent Volume

    LUN. For each LUN configured on a RAID device, the V- this volume must be configured on both Switch registers a disk. Therefore, a RAID device with five LUNs will V-Switches. appear to the V-Switch as five disks. volume create transparent –vol Trans1 –d Disk1 ARAMETER EFINITION VOLUME ALIAS...
  • Page 95: Volume Details

    After creating the transparent volume, you can use the CLI command volume show to verify the volume creation. volume show Table 20: Alias Trans1 Chapter 6: Volume Configuration Trasparent Volume 1 Disk 1, LUN0 RAID Controller Figure 36. Transparent Volume 1 Volume Details Vol Type # of Blocks...
  • Page 96: Creating A Subdisk (Lun Carving)

    FROM SUBDISK ALIAS USER ASSIGNED ALIAS FOR SUBDISK Disk Simple 1 Simple 2 Simple n TATUS XAMPLE MANDATORY Disk1 MANDATORY 18000000 BLOCK BYTES OPTIONAL DEFAULT Subdisk1 OPTIONAL DEFAULT SPLIT CLUSTER NO DISK NO ADDRESS IN BLOCKS SANRAD V-Switch User Manual...
  • Page 97 In Figure Error! Bookmark not defined., page Error! Bookmark not If you are working in defined., Subdisk 1 has been created on Disk 1. The subdisk is 18,000,000 a V-Switch cluster, blocks long (9 GB). The Volume Manager begins counting the 18,000,000 this volume must be configured on both blocks from block 0.
  • Page 98 Figure 40. Disk 1 with 2 Subdisks TATUS XAMPLE OPTIONAL Disk1 USE THIS SWITCH TO LIST ONLY THE DETAILS OF A SPECIFIC DISK Length –sa 18000000 –sd JBOD 2 Disk 5 Disk 6 Disk 7 Disk 8 SANRAD V-Switch User Manual...
  • Page 99: Creating A Simple Volume

    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. A physical disk or subdisk is converted directly to a virtual simple volume.
  • Page 100 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 42, Subdisk 1 on Disk 1 is converted to a simple volume, Simple 1.
  • Page 101: Creating A Concatenated Volume

    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. of 512 volumes.
  • Page 102 Simple 4 Disk 3 Disk 4 Simple 5 Simple 6 Figure 44. Concatenated 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 User Manual...
  • Page 103: Creating A Striped Volume

    Creating a Striped Volume A striped volume has data written equitably across two or more disks to The V-Switch provide higher read/write rates. Subdisks within a striped volume need supports a maximum to be on different disks to realize the benefits of striping. Throughput of 512 volumes.
  • Page 104 ARAMETER EFINITION CHILD FIRST VOLUME CHILD TO WRITE CHILD SECOND VOLUME CHILD TO WRITE CHILD THIRD VOLUME CHILD TO WRITE CHILD FOURTH VOLUME CHILD TO WRITE TATUS XAMPLE MANDATORY Simple2 MANDATORY Simple4 MANDATORY Simple8 MANDATORY Simple10 SANRAD V-Switch User Manual...
  • Page 105 Chapter 6: Volume Configuration Striped Volume 1 JBOD 1 Disk 2 Disk 1 Simple 1 Simple 3 Simple 2 Simple 4 Disk 3 Disk 4 Simple 5 Simple 6 Figure 46. Striped Volume 1 JBOD 2 Disk 6 Disk 5 Simple 7 Simple 9 Simple 8...
  • Page 106: Creating A Mirrored Volume

    CHILDREN IN MIRRORED VOLUME CHILD NAME OF EACH CHILD TO INCLUDE IN THE MIRROR CHILD NAME OF EACH CHILD TO INCLUDE IN THE MIRROR Disk 2 TATUS XAMPLE MANDATORY Mirrored1 OPTIONAL DEFAULT MANDATORY Simple6 MANDATORY Simple11 SANRAD V-Switch User Manual...
  • Page 107: Replicating Data In A Mirrored Volume

    In Figure 48, a mirrored volume, Mirrored 1, is created using two children, If you are working in 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 108 The online volume Simple3 is synchronized to the online volume Simple5. volume mirror sync –src Simple3 –dst Simple5 ARAMETER EFINITION SOURCE ORIGINAL VOLUME MANDATORY VOLUME TO SYNCHRONIZE DESTINATION NEW VOLUME TO MANDATORY VOLUME ADD TO SYNCHRONINZE TATUS XAMPLE Simple3 Simple5 SANRAD V-Switch User Manual...
  • Page 109: Creating Araid 10 And Raid 0+1

    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. This gives the advantage of both high performance and data redundancy.
  • Page 110 Disk 4 Simple 5 Simple 6 Figure 50. First Mirrored Volume of RAID 10 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 User Manual...
  • Page 111 Finally, in Figure 52, page 106, a striped volume, Stripe 2, is created using If you are working in the two mirrored volumes as children: Mirror 2 and Mirror 3. The striped a V-Switch cluster, unit size is 100 blocks, meaning that in each read/write function, 100 this volume must be...
  • Page 112 Simple 5 Simple 6 Figure 52. Striped 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 User Manual...
  • Page 113: 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. NTRODUCTION TO &...
  • Page 114: Introduction To Volume Exposure & Security

    Both iSCSI initiators and targets have a World Wide Unique Identifier (WWUI) of up to 256 free form characters, e.g. www.sanrad.vswitch1.target1. You create a V-Switch target by assigning an alias and WWUI to it. You assign a Logical Unit Number (LUN) to a volume and then attach the LUN to an iSCSI target to expose the volume to hosts.
  • Page 115: Identities

    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 116 Ident B wwui6 wwui7 wwui8 wwui9 wwui10 Figure 55. Identity B’s iSCSI Initiators wwui1 wwui2 Ident A wwui3 wwui4 wwui5 Ident B Ident B wwui6 wwui7 wwui8 Ident C wwui9 wwui10 Figure 56. Identity C’s iSCSI Initiator SANRAD V-Switch User Manual...
  • Page 117: Access Rights

    An identity can be used with more than one target. In Figure 57, 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 118 When you assign an identity to a target, you give the identity a position, beginning with 1 and increasing in number with increasing specificity of the identity. A position is an identity’s rank in the V-Switch scan for an iSCSI initiator – 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 –...
  • Page 119: Authentication

    If Identity A is assigned position 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 120 (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 121: 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 122: Viewing Iscsi Targets

    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 62. a V-Switch cluster, each target must be iscsi target create –ta finance –tn sanrad.billing –...
  • Page 123: Viewing Iscsi Target Details

    After creating a target, use the CLI command acl show to view the target’s automatically connected default identity. acl show 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...
  • Page 124 Table 24: Target finance musicbox musicbox Default Identity Target Access Position Identity DEF_ALL DEF_ALL musicdept Access read-write not accessible read-write SANRAD V-Switch User Manual...
  • Page 125: Changing The Default Identity

    When a target is created, a default access control identity is automatically If you are working in assigned to its position 0. The default identity allows all hosts read-write a V-Switch cluster, access to the target and its underlying volume(s). the default access...
  • Page 126: Creating An Identity

    – alias accounting – info accountants allowed read-write access to accounting records ARAMETER EFINITION ALIAS ALIAS FOR DENTITY INFORMATION INFORMATION ON DENTITY TATUS XAMPLE accounting MANDATORY accountants OPTIONAL allowed read- write access to accounting records SANRAD V-Switch User Manual...
  • Page 127: C Reating An I Dentity

    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 accounting Default finance sanrad.billing Figure 63. Creating an Identity iSCSI initiator iqn.1991-05.microsoft:wilbur.sanrad Tower box...
  • Page 128: Adding Initiators To An Identity

    You need to define two parameters to add an initiator an identity: WITCH -name ARAMETER EFINITION IDENTITY ALIAS OF DENTITY INITIATOR NAME WWUI OF INITIATOR TATUS XAMPLE accounting MANDATORY iqn.1991-05. MANDATORY microsoft: steven.sanrad SANRAD V-Switch User Manual...
  • Page 129 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 130 –id accounting –name iqn.com. cisco.steven V-Switch1 iSCSI initiator iqn.1991-05.microsoft:steven.sanrad Tower box iqn.com.cisco.steven Cloud IP SAN accounting Default finance sanrad.billing Figure 65. Adding a Second Initiator iSCSI initiator iqn.1991-05.microsoft:wilbur.sanrad Tower box cisco.steven microsoft:steven SANRAD V-Switch User Manual...
  • Page 131: 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 132 –id accounting –us steven –pw oneveryhotdude V-Switch1 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 66. Assigning Credentials iSCSI initiator iqn.1991-05.microsoft:wilbur.sanrad Tower box cisco.steven microsoft:steven SANRAD V-Switch User Manual...
  • Page 133 –id accounting –us steven –pw ilovecookies 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 accounting...
  • Page 134: Using A Radius Server

    CHAP challenge to the RADIUS server and eliminate the 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 135: Radius Client

    You need to define three parameters to add a RADIUS server IP to the RADIUS client WITCH Chapter 7: Volume Exposure and Security iSCSI initiator iqn.1991-05.microsoft:steven.sanrad Tower box iqn.com.cisco.steven CHAP Authentication steven Cloud IP SAN Tower box...
  • Page 136 Example: In Figure 69, 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 137: Viewing Configured Radius Servers

    Viewing Configured RADIUS Servers Use the CLI command ip radius show to view all configured RADIUS server IP addresses. ip radius show Table 26: Address 212.199.43.2 212.199.56.134 Chapter 7: Volume Exposure and Security Configured RADIUS IP Addresses Port 1812 1812...
  • Page 138: 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 139 –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 Accounting steven ilovecookies Default Finance billing.sanrad Figure 70. Connecting a Target and Identity...
  • Page 140: 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 “Introduction to V-Switch Clusters,”...
  • Page 141 –vol Vol1 –ta finance –lun 0 V-Switch1 Chapter 7: Volume Exposure and Security ARAMETER EFINITION DEVICE ALIAS OF WITCH TO EXPOSE TARGET ON iSCSI initiator iqn.1991-05.microsoft:steven.sanrad Tower box iqn.com.cisco.steven Cloud IP SAN steven oneveryhotdude accounting steven ilovecookies Default finance sanrad.billing...
  • Page 142: 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 143: 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: NTRODUCTION TO DVANCED OLUME ONFIGURATIONS OPYING A OLUME LINE YNCHRONIZING A OLUME DDING A HILD TO A IRROR LINE...
  • Page 144: Introduction To Advanced Volume Configurations

    Introduction to Advanced Volume Configurations The V-Switch supports several advanced volume operations. Some do the same or similar functions. Each has its own advantages so it is important to understand their differences to best choose the function most appropriate for you SAN.
  • Page 145: 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). Because snapshot volumes are internal (off-line) volumes, this is a way of copying a snapshot volume.
  • Page 146: Synchronizing A Volume

    The on-line volume Simple3 is synchronized to the on-line volume Simple5. volume mirror sync –src Simple3 –dst Simple5 ARAMETER EFINITION SOURCE ORIGINAL VOLUME MANDATORY VOLUME TO SYNCHRONIZE DESTINATION NEW VOLUME TO MANDATORY VOLUME ADD TO SYNCHRONINZE TATUS XAMPLE Simple3 Simple5 SANRAD V-Switch User Manual...
  • Page 147: Adding A Child To A Mirror (On-Line Copy)

    To perform on-line data replication, either by increasing the number of If you are working in children in a mirrored volume or creating a mirrored copy of any other a V-Switch cluster, type of volume, except transparent and snapshot volumes, you can use the the child must be added on both V- CLI command volume mirror add.
  • Page 148 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 MANDATORY Simple10 No parameter OPTIONAL NO SYNC IF required USED SANRAD V-Switch User Manual...
  • Page 149 Example: In Figure 74, the simple volume, Sim6, is added as the third child to mirrored volume Mir4. volume mirror add –vol Mir4 –ch Sim6 Use the CLI command volume mirror show to view the status of all mirror synchronizations. volume mirror show Source Sim4...
  • Page 150: 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 75. Snapshot Created SANRAD V-Switch User Manual...
  • Page 151 Deleting a snapshot volume has no effect on other snapshot volumes of the same source. A snapshot can have read-write or read-only access and, when exposed, it must be exposed on the same V-Switch as its source volume. Chapter 8: Advanced Volume Operations QA Testing...
  • Page 152 EFINITION VOLUME SNAPSHOT NAME SOURCE SOURCE OF SNAPSHOT CHILD SNAPSHOT CHILD LOAD THRESHOLD PERCENTAGE FULL AT DESTINATION TO TRIGGER AN ALARM QA Testing Snapshot1 Figure 77. TATUS XAMPLE MANDATORY MANDATORY MANDATORY OPTIONAL : 80% DEFAULT Snapshot SANRAD V-Switch User Manual...
  • Page 153 Figure 78. Figure 79, page 148 shows the creation of a second snapshot and a second write operation to the source volume. The original data, N, A and P, from sectors 5, 9 and 13 are first copied to the Snapshot 1 & 2 and then the new data, B, E and B, are written to the source volume.
  • Page 154 D, S, A and S, are written to the source volume. volume create snapshot –vol Snapshot3 –src QATesting –ch Snapshot3 -lt 80 QA Testing Snapshot1 QA Testing Snapshot1 QA Testing Snapshot1 Snapshot Created, Update to 1 Snapshot and Write to Source Snapshot2 Snapshot & 2 SANRAD V-Switch User Manual...
  • Page 155: Viewing Snapshot Volumes

    Figure 80. Viewing Snapshot Volumes You can view all created snapshot volumes using the CLI command volume snapshot show. Use this command to view the source and snapshot volumes, the time the snapshot was created and the percent capacity utilization. At user-defined load threshold utilization, an alert to resize the snapshot is sent.
  • Page 156: Breaking A Mirror

    If the mirrored volume is exposed, it remains functional as a mirrored volume and all read-write operations are executed. ARAMETER EFINITION VOLUME SNAPSHOT SOURCE VOLUME All Snapshots of a Specific Volume Date & Time 12/12/02 20:00:00 TATUS XAMPLE MANDATORY Mirror7 Utilization SANRAD V-Switch User Manual...
  • Page 157: Breaking A Mirror

    In Figure 82, 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 158 ADDING TO CHILD CHILD TO BREAK FROM MIRROR Mir1 Sim1 Mir1 Sim1 Figure 83. Removing Sim5 from Mir1 TATUS XAMPLE MANDATORY Mirror5 Simple10 MANDATORY Sim3 Sim5 Able to be exposed as an independent volume Sim3 Sim5 SANRAD V-Switch User Manual...
  • Page 159: Resizing A Volume

    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 160 155 a second one-terabyte simple volume is added to the existing cube created to resize Sim2. Ch 1 Ch 2 Sim3 Figure 85. Creating a Cube Ch 1 XCh 2 Ch 2 Sim3 Figure 86. Resized Volume XCh 2 SANRAD V-Switch User Manual...
  • Page 161 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. In Figure 88, a concatenated volume with a potential capacity of two terabytes is resized to a potential capacity of three terabytes by the addition of a one-terabyte child without first creating a cube.
  • Page 162 –vol Sim2 –a XSim2 –with Sim3 ARAMETER EFINITION VOLUMEE VOLUME TO RESIZE ALIAS ALIAS OF RESIZED VOLUME VOLUME VOLUME TO RESIZE WITH TATUS XAMPLE MANDATORY XCh2 OPTIONAL F NO NAME IS GIVEN PREFIX ADDED TO THE SOURCE NAME MANDATORY SANRAD V-Switch User Manual...
  • Page 163: Retracting A Volume

    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 original volume. The head of the volume hierarchy is retracted, not the resized volume. volume retract You need to define one parameter to retract a volume: WITCH...
  • Page 164: E Xpanding A V Olume

    You must expand a volume’s actual capacity, its capacity as identified by If you are working in the file server, to match its resized potential capacity using the CLI a V-Switch cluster, a command volume expand. If you do not expand the resized volume, its volume must be expanded on both V- resized capacity will not be available for storage use.
  • Page 165 volume expand You need to define one parameter to expand a volume: WITCH -vol Example: In Figure 92, page 160, the resized volume, XSim2, is expanded to an actual capacity of two terabytes to match its resized potential capacity. Once XSim2 is expanded, the capacity of Mir5 will automatically adjust itself to two terabytes.
  • Page 166 Sim1 XSim2 Sim2 Sim3 Mir5 Sim1 XSim2 Sim2 Sim3 Figure 92. Expanding XSim2 SANRAD V-Switch User Manual...
  • Page 167 User Notes Chapter 8: Advanced Volume Operations...
  • Page 168: Chapter 9: Routine Volume Maintenance

    Routine Volume Maintenance IN THIS Once you have begun creating volumes and managing your storage, you may want to adjust or change certain parameters for more CHAPTER effective storage management and utilization. OLUMES This chapter explains how to rename or remove volumes, LUNs, ARGETS AND iSCSI targets, identities and credentials.
  • Page 169: V Olumes

    -vol ARAMETER EFINITION VOLUME ALIAS ALIAS OF VOLUME TO RENAME NEW ALIAS NEW VOLUME ALIAS ARAMETER EFINITION VOLUME ALIAS ALIAS OF TOP LEVEL VOLUME TO REMOVE TATUS XAMPLE Concat1 MANDATORY MANDATORY JPGRepos TATUS XAMPLE Stripe1 MANDATORY SANRAD V-Switch User Manual...
  • Page 170 Example: The top-level volume Stripe 1 is removed while the component volumes, Simple 2, 4, 8 & 10, remain intact. volume remove –vol Stripe1 Chapter 9: Routine Volume Maintenance Striped Volume 1 JBOD 1 Disk 2 Disk 1 Simple 1 Simple 3 Simple 2 Simple 4...
  • Page 171: Removing All Volumes In A Hierarchy

    The top-level volume Stripe 1 is removed along with its component volumes, Simple 2, 4, 8 & 10. volume remove -all –vol Stripe1 ARAMETER EFINITION ALL VOLUMES IN HIERARCHY VOLUME ALIAS ALIAS OF TOP LEVEL VOLUME TO REMOVE TATUS XAMPLE No parameter MANDATORY required Stripe1 MANDATORY SANRAD V-Switch User Manual...
  • Page 172: Replacing A Volume

    You can replace a volume with another volume. Use the CLI command If you are working in volume replace after a disk failure to replace a volume used in a a V-Switch cluster, the volume must be storage hierarchy with a volume on a functional disk. This is only a replaced on both V- ‘physical’...
  • Page 173: Synchronizing A Volume

    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. Perform a dummy synchronization on the non-exposing V-Switch using the CLI command volume mirror dummysync. volume mirror dummysync...
  • Page 174: T Argets And E Xposure

    You need to define two parameters to remove an LU: other attached LUs. WITCH If you are working in a V-Switch cluster, the LU must be removed on both V- -lun Switches. Example: lu remove –ta Accounting –lun 8...
  • Page 175: Removing An Iscsi Target

    You need to define one parameter to remove an iSNS server address: WITCH Removing an iSNS Server Use the CLI command ip isns remove to remove an iSNS server from the V-Switch iSNS client. ip isns remove You need to define one parameter to remove an iSNS server address: WITCH...
  • Page 176: 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. ENERAL This chapter explains how to modify configuration parameters; ONFIGURATION interface IP addresses, IP routing paths, cluster configurations and ARAMETERS replace a power supply.
  • Page 177: G Eneral C Onfiguration P Arameters

    General Configuration Parameters After the initial V-Switch configuration, you may want to change one or This command is more of the V-Switch parameters. For example: You may need to change available only after the system clock to adjust to Daylight Savings Time. You can also use this...
  • Page 178: 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 179 Telnet Port Read Community Write Community V-Switch Configuration Value VSwitch1 SDC HW 1.0 SW 1.0 Anna Levin Ext. 4838 1.3.6.1.4.1 10059 1.1.2 12 days 17 hours 29 min 32 sec 212.199.43.47 21/04/04 1597 Public Private 13:33 SANRAD V-Switch User Manual...
  • Page 180: Snmp M Anager

    Setting an SNMP Manager This command modifies parameters of existing managers. snmp manager set WITCH -rcom -wcom -trap Removing an SNMP Manager This command removes a manager from the V-Switch. snmp manager remove WITCH Chapter 10: Routine V-Switch Maintenance ARAMETER EFINITION ADDRESS MANAGER...
  • Page 181: Adding An Isns Server

    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 having controlled access are accessible only to those servers...
  • Page 182: Adding A User Profile

    Adding a User Profile A total of ten user profiles can be configured on a V-Switch. Use the CLI All CLI names and command admin add to add a user login profile aliases are case sensitive. admin add You must define two parameters to add a user profile:...
  • Page 183: Resetting A V-Switch

    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 184: Downloading A V-Switch Configuration File

    After replacing a failed V-Switch, you can download the replaced V- Download the Switch database file from the tftp server to the new V-Switch. Unlike a database file to the standard V-Switch installation, do not connect the V-Switch to the storage...
  • Page 185: Changing An Interface Alias

    Changing an Interface Alias You can change the alias of a V-Switch interface for user convenience. All CLI names and Leaving the new alias field blank will return the alias to its default setting aliases are case sensitive. interface set...
  • Page 186: Removing An Interface Ip Address

    You need to define one parameter to remove a network port IP address: V-Switches. WITCH Example: The second IP address, 212.199.43.70, on the network interface eth3 is removed. ip config remove–ip 212.199.12.70 Chapter 10: Routine V-Switch Maintenance 212.199.43.46 Figure 95. Adding an Interface IP Address ARAMETER EFINITION ADDRESS...
  • Page 187: Ip Routing

    ROUTER INTERFACE NETWORK PORT TO ALIAS OPEN COMMUNICATION THROUGH ARAMETER EFINITION DESTINATION DESTINATION NETWORK ADDRESS DESTINATION DESTINATION MASK NETWORK MASK TATUS XAMPLE MANDATORY 10.10.20.20 MANDATORY 255.255.255.0 30.30.20.20 MANDATORY eth2 MANDATORY TATUS XAMPLE MANDATORY 10.10.20.20 MANDATORY 255.255.255.0 SANRAD V-Switch User Manual...
  • Page 188: Discovering Storage Devices

    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 189: Renaming A Storage Device

    You need to define one parameter to change the V-Switch storage device discovery mode: WITCH -rld See “device set,” page 200, for the full list of switch parameters for the CLI command device set. Renaming a Storage Device You can rename a disk.
  • Page 190: Removing A Storage Device

    Removing a Storage Device You can remove a disk from the V-Switch database. The disk must be If you are working in defined as missing to remove it. a V-Switch cluster, the disk must be storage remove removed on both V- Switches.
  • Page 191: C Lusters

    WITCH IN CLUSTER ADDRESS MANAGEMENT ADDRESS OF EIGHBOR ARAMETER EFINITION NEIGHBOR ALIAS OF NEIGHBORING WITCH IN CLUSTER TATUS XAMPLE Subdisk4 MANDATORY TATUS XAMPLE MANDATORY IF NewVSwitch CHANGING 212.199.43.40 MANDATORY IF CHANGING TATUS XAMPLE MANDATORY IF NewVSwitch CHANGING SANRAD V-Switch User Manual...
  • Page 192: 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 193 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 194 V-Switch software. There are a software to begin 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 195 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 196: Compact Flash

    You need to define two parameters to copy a file between the flash and compact flash: WITCH -from -type system copy –from cflash –type db Chapter 10: Routine V-Switch Maintenance ARAMETER EFINITION FROM WHERE TO COPY FROM TYPE...
  • Page 197: Automatic Safe Mode

    Level 0: Reboot in Normal Mode If the V-Switch is rebooted during initialization it will reboot in safe mode 0. This gives the V-Switch another opportunity to try to reboot normally in the event that there are in fact no problems with the database.
  • Page 198 V-Switch. Please see “Level 4: Level 5: If the V-Switch enters a reboot loop, after a given number of times, the reboot loop will be stopped and the V-Switch will enter safe mode 5. A reboot loop is most often caused by the connection of a problematic device to the V-Switch.
  • Page 199: 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. If you rebooted in safe mode level 1 (last good configuration), the last good database file and the corrupted database file are exported for examination.
  • Page 200 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 201 User Notes SANRAD V-Switch User Manual...
  • Page 202: V S Witch C Onfiguration

    CHAPTER WITCH ONFIGURATION OLUME ONFIGURATION The CLI is used to implement all V Switch management functions, including switching, virtualization and security. OLUME XPOSURE All CLI commands are case sensitive and must be entered in lower case. Inputted data can include upper case letters but must always subsequently be entered in the same case.
  • Page 203 Table 30: Command Hot Keys Description LIST OF COMMANDS WITH A SHORT DESCRIPTION OF EACH RETURN TO MAIN MENU ABORT CURRENT COMMAND DISPLAY LAST COMMAND TO VIEW COMMAND HISTORY COMPLETE A COMMAND TO THE POINT OF AMBIGUITY SANRAD V-Switch User Manual...
  • Page 204: V Switch Configuration

    V Switch Configuration These commands enable you to configure and view the basic V Switch parameters needed to operate the V Switch OMMAND INIT ADMIN SHOW ADMIN ADD ADMIN REMOVE ADMIN PASSWORD RESET INFO DEVICE SET DEVICE SET FC INTERFACE SHOW...
  • Page 205: Init

    This command can only be executed once. This command is unavailable once the basic V Switch parameters are set. If the V Switch management IP address and mask are set using the LED, the V Switch name is set to the default V Switch and this command will not be available.
  • Page 206: Admin Add

    –un Joe Cool –pw 123456 admin remove This command deletes a user name from the list of valid user login names for the V Switch. Any user name, except the logged in user name, can be deleted. admin remove...
  • Page 207: Reset

    This command performs a remote soft reset of the V Switch. All configuration databases will be maintained on the V Switch, including user names and passwords; network port aliases; configured volumes and iSCSI targets. reset info This command displays the current V Switch configuration, including whom to contact in the event of technical difficulties.
  • Page 208: Device Set -Telnet

    WITCH -loc -rld Example device set –n VSwitch1 –ip 212.199.43.46 –d 21/04/2002 – t 13:30 –c AnnaLevin. –loc ext4838 –if eth1 –rld no device set -telnet This command changes the Telnet port from the default port number to a user defined port number. Establishing a Telnet connection on an alternate port (not the expected port 23) provides increased line security.
  • Page 209: Fc Node Show

    This command shows the V Switch World Wide Node Name (WWNN). fc node show Name Description WWNN Function 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.
  • Page 210: Interface Details

    interface details This command lists the interface details of a specified interface. interface details WITCH Table 34: 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 pscsi show This command displays at parallel SCSI devices and their bus ID number.
  • Page 211: Pscsi Set Busid

    EFINITION ADDRESS MANAGER ADDRESS PORT ORT TO RECEIVE TRAPS THROUGH READ COMMUNITY COMMUNITY TO GET INFORMATION TATUS XAMPLE pscsi3 MANDATORY MANDATORY Write Trap Community Private TATUS XAMPLE 212.199.43.96 MANDATORY OPTIONAL : 162 DEFAULT OPTIONAL DEFAULT PUBLIC SANRAD V-Switch User Manual...
  • Page 212: Snmp Manager Set

    This command modifies parameters of existing managers. snmp manager set WITCH -rcom -wcom -trap snmp manager remove This command removes a manager from the V Switch. snmp manager remove WITCH Chapter 11: Command Line Interface ARAMETER EFINITION WRITE COMMUNITY COMMUNITY TO SET...
  • Page 213: Ip Config Show

    ACTIVITY ADDRESS IS ACTIVE TO EXPOSE VOLUMES INACTIVE STATUS TO ALLOW FAILOVER ARAMETER EFINITION Activity Active Active Inactive Active Inactive Active TATUS XAMPLE 212.199.43.56 MANDATORY eth1 MANDATORY OPTIONAL DEFAULT 255.255.255.0 OPTIONAL DEFAULT ACTIVE INACTIVE TATUS XAMPLE SANRAD V-Switch User Manual...
  • Page 214: Ip Route Add

    Eth2 through router gateway 30.30.20.20. ip route add –dip 10.10.20.20 –dmask 255.255.255.0 –gw 30.30.20.20 –if eth2 ip route show This command shows all IP routes on a V Switch. ip route show Dest IP Address 10.10.20.20 10.12.40.40...
  • Page 215: Ip Route Remove

    This command shows all iSNS servers configured on the V-Switch. ip isns show Table 38: 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 ARAMETER EFINITION DESTINATION...
  • Page 216: 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 217: Neighbor Details

    IN CLUSTER Neighbor Details ARAMETER EFINITION NEIGHBOR ALIAS OF NEIGHBOR TO ADD TO CLUSTER Cluster Table SNMP Timeout SNMP # of (msec) Retries 1500 TATUS XAMPLE VSwitch2 MANDATORY VSwitch2 212.199.43.75 Alive srOpen TATUS XAMPLE VSwitch2 MANDATORY SANRAD V-Switch User Manual...
  • Page 218: Cluster Set

    Last Keep Alive: Dead Int(s): Failover: State: cluster set This command allows you to modify a cluster’s parameters. cluster set WITCH -kai -sint -fint Example: The Keep Alive interval is set to 5 seconds. That is, every 5 seconds an alive signal is sent out to all neighboring V Switches.
  • Page 219: Ft Upload Software

    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 WITCH ft download This command downloads a V Switch database configuration file from the local TFTP server.
  • Page 220: Ft Export Problem

    -nor ft export problem This command exports three files: configuration file, last good database and the corrupted database file for examination. You can only export after the V Switch reboots in safe mode. ft export problem WITCH system boot This command forces the V Switch to boot in Safe Mode.
  • Page 221: System Copy

    REPLICATION OF THE DATABASE ARAMETER EFINITION FROM WHERE TO COPY FROM TYPE TYPE OF FILE TO COPY present present replicate replicate TATUS XAMPLE MANDATORY REPLICATE DO NOT REPLICATE TATUS XAMPLE cflash MANDATORY FLASH CFLASH MANDATORY DATABASE SANRAD V-Switch User Manual...
  • Page 222: V Olume C Onfiguration

    Volume Configuration These commands enable you to configure and view disks and volumes via the V Switch. OMMAND STORAGE DISCOVERY STORAGE BLINK ACTIVATE STORAGE BLINK ABORT STORAGE SHOW STORAGE DISK SHOW STORAGE DISK SET STORAGE ALIAS STORAGE DETAILS STORAGE SET...
  • Page 223: Storage Discovery

    This command resets the Fiber Channel loop and reregisters all attached storage devices. This command is used after adding or removing storage devices from the V Switch topography. Because this command resets the FC loop, it will cause a failure of any I/O operations being executed when the command is invoked.
  • Page 224: Storage Disk Show

    Alias disk4 storage disk show This command shows all storage disks connected to the V Switch. storage disk show Table 44: Alias disk1 disk2 disk3 disk4 storage disk set This command allows you to enable or disable write cache for a disk.
  • Page 225: Storage Details

    This command shows all storage devices attached to the V Switch. storage details WITCH Table 46: Alias: Entity Name: LUN(Logical Unit Number) Vendor Name: Additional Info: Transport type: Oper. Status: Time since last Update: SCSI Version: Revision Level:...
  • Page 226: 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 227: Subdisk Details

    Length Allocated volume Details Last 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 User Manual...
  • Page 228: Subdisk Set

    subdisk alias Table 49: Disk Disk3 Disk7 Disk7 subdisk set This command renames a subdisk and allows you to edit the subdisk information. subdisk set WITCH -info subdisk remove This command removes a specified subdisk. subdisk remove WITCH volume show This command shows all volumes defined in the database.
  • Page 229: Volume Details

    TO SHOW Specific Volume Details Snp3Stripe1 stripe 41943040 25 GB 50 GB internal Stripe1 Mon. 15 Dec. 2003 01:13 RAID 1 days 4h:14m:21s vol1 State 17999999 Internal 17999999 Exposed 8388608 Exposed 16777216 Internal TATUS XAMPLE stripe1 MANDATORY SANRAD V-Switch User Manual...
  • Page 230: Volume Alias

    Alias 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. volume alias Table 52: Volume Type striped concat mirrored...
  • Page 231: Volume Create Transparent

    VOLUME TO INCLUDE IN MIRROR TATUS XAMPLE MANDATORY IF USING A SUBDISK MANDATORY IF USING A DISK TATUS XAMPLE OPTIONAL trans1 DEFAULT DISK ALIAS Stor_3 MANDATORY TATUS XAMPLE MANDATORY Mirror2 OPTIONAL FROM DEFAULT MANDATORY Simple1 Simple2 MANDATORY SANRAD V-Switch User Manual...
  • Page 232: Volume Create Striped

    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 -sus -nbc volume set This command will change a volume alias or load threshold. volume set Chapter 11: Command Line Interface ARAMETER EFINITION...
  • Page 233: Volume Remove

    TO REMOVE ARAMETER EFINITION VOLUME ALIAS ALIAS OF TOP LEVEL VOLUME TO REMOVE TATUS XAMPLE MANDATORY Subdisk7 Simple7 MANDATORY IF CHANGING ALIAS MANDATORY IF CHANGING LOAD THRESHOLD TATUS XAMPLE MANDATORY Stripe3 TATUS XAMPLE MANDATORY Stripe 1 SANRAD V-Switch User Manual...
  • Page 234: Volume Mirror Show

    -src -dst volume mirror dummysync This command performs a dummy synchronization on the non-exposing V Switch in a cluster after the mirrored volumes have been synchronized on the exposing V Switch. volume mirror dummysync WITCH Chapter 11: Command Line Interface...
  • Page 235: Volume Copy Create

    VOLUME TO COPY DESTINATION ALIAS OF VOLUME TO ABORT COPY TO TATUS XAMPLE MANDATORY Mirror2 Mirror8 MANDATORY TATUS XAMPLE MANDATORY ScienceLab ScienceLabII MANDATORY Operational Progress Status Synchronizing Last sync 100% succeeded TATUS XAMPLE MANDATORY ScienceLab ScienceLabII MANDATORY SANRAD V-Switch User Manual...
  • Page 236: Volume Mirror Add

    volume mirror add This command adds an on-line volume copy to a mirror or the head of a hierarchy. volume mirror add WITCH -vol -dst sync volume mirror break This command removes a child from a mirror volume. volume mirror break WITCH -vol volume resize...
  • Page 237: Volume Retract

    SOURCE OF SNAPSHOT DESTINATION SNAPSHOT DESTINATION LOAD THRESHOLD PERCENTAGE FULL AT DESTINATION TO TRIGGER AN ALARM TATUS XAMPLE MANDATORY TATUS XAMPLE Mir5 MANDATORY TATUS XAMPLE MANDATORY Simple3 TATUS XAMPLE Mirror3 MANDATORY MANDATORY Snp1Mir3 OPTIONAL : 80% DEFAULT SANRAD V-Switch User Manual...
  • Page 238: Volume Snapshot Show

    volume snapshot show This command shows all source volumes and their snapshot volumes. volume snapshot show Source Mirror3 Mirror2 volume snapshot list This command shows all snapshot volumes for a specific source volume. volume snapshot list WITCH -vol Chapter 11: Command Line Interface Snapshot Date &...
  • Page 239: V Olume E Xposure

    ACL IDENTITY ADD SRP ACL IDENTITY REMOVE SRP 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 User Manual...
  • Page 240: Iscsi Portal Show

    This command shows the portals defined for iSCSI on the V Switch with which you are communicating. iscsi portal show Table 54: Protocol iscsi portal create This command creates an iSCSI portal on a 1 Gb (network) port.
  • Page 241: Iscsi Target Create

    UNIQUE IDENTIFIER FOR THE TARGET DEVICE ALIAS OF WITCH TO EXPOSE TAREGT ON iSCSI Target Aliases Target Alias PresidentPersonal PresidentPublic BillingRecords Exposed On: VSwitch1 VSwitch2 VSwitch1 VSwitch2 VSwitch2 TATUS XAMPLE Finance MANDATORY billing.san MANDATORY VSwitch1 MANDATORY SANRAD V-Switch User Manual...
  • Page 242: Iscsi Target Remove

    This command allows the assigning of a password to a target to allow CHAP authentication at initiator connection to the target. iscsi target authentication WITCH acl show This command shows all target access per identity for the V Switch. acl show Table 57: Target Finance...
  • Page 243: Acl Details

    NAME OF ACCESS RIGHTS ACCESS RIGHTS TO THE TARGET Access read-only read-write not-accessible read-write not-accessible read-only read-write TATUS XAMPLE disk1 MANDATORY Access read-only read-only read-write TATUS XAMPLE water MANDATORY MANDATORY health_club OPTIONAL OPTIONS RO OR NA DEFAULT SANRAD V-Switch User Manual...
  • Page 244: Acl Identity Show

    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 59: Alias Chapter 11: Command Line Interface...
  • Page 245: Acl Identity Details

    WITCH Table 60: 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...
  • Page 246: Acl Identity Add Name

    WITCH 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 acl identity add chap This command adds CHAP authentication credentials to an identity.
  • Page 247: Acl Identity Remove Chap

    EFINITION TATUS XAMPLE MANDATORY scalpelblades WITHOUT RADIUS 12 – 16 PRINTABLE CHARACTERS PTIONAL WITH RADIUS OPTIONAL YES OR NO DEFAULT TATUS XAMPLE Med_School MANDATORY Sarah MANDATORY TATUS XAMPLE Med_School MANDATORY MANDATORY Robert cardiac MANDATORY TATUS XAMPLE SANRAD V-Switch User Manual...
  • Page 248: Acl Identity Set

    WITCH acl identity set This command allows changes to an identity. acl identity set WITCH -info -radius acl up This command pushes an identity position up in priority. acl up WITCH acl down This command pushes an identity position down in priority. acl down Chapter 11: Command Line Interface ARAMETER...
  • Page 249: Ip Radius Show

    V Switch RADIUS client. Table 61: 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 ip radius set This command allows changes to a RADIUS server configuration on the V Switch RADIUS client.
  • Page 250: Ip Radius Remove

    WITCH -key ip radius remove This command removes a RADIUS server IP address from the V Switch RADIUS client. WITCH volume expose –new This command creates a new LU0 and a new target for a specified volume. volume expose -new...
  • Page 251: Lu Details

    UMBER TO VOLUME FOR EXPOSURE PROTOCOL EXPOSING PROTOCOL Details of all LUNs Tgt Alias Volume Pilote Spirou Pilote Mir1 TATUS XAMPLE MANDATORY Stripe1 MANDATORY music.sanrad MANDATORY OPTIONAL iscsi SCSI DEFAULT Oper Status Active Active Active Active SANRAD V-Switch User Manual...
  • Page 252: Lu Remove

    lu details WITCH -lun Example: lu details –ta Spirou –lun 1 Table 63: Target Alias Target Type Volume Status Virtual Last Reset lu remove This command removes the LU from its target. The LU must be inactive If you remove LU0 before being removed.
  • Page 253 User Notes SANRAD V-Switch User Manual...
  • Page 254: Chapter 12: Sample Configurations

    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: AMPLE Basic V-Switch configuration with volume creation and NTRODUCTION exposure. NSTALLING AND...
  • Page 255: S Ample I Ntroduction

    Sample Introduction This chapter provides working examples of standard procedures and configurations you will use in owning and operating your V-Switch. Each example uses one basic storage network consisting of: One JBOD appliance with four disks of equal capacity (the actual capacity is not important) connected to the V-Switch.
  • Page 256 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 98, page 250. Depending on your appliance, you need to plug a terminator into one of the JBOD ports.
  • Page 257 STEP 2. Power up the JBOD appliance first to allow the V-Switch to register it in its network scan. STEP 3. Connect the power cord to the V-Switch and then to the electric socket. Turn the V-Switch on. The V-Switch powers up. The fan assembly is running and the LCD panel displays: STEP 4.
  • Page 258: V-S Witch

    From the open terminal emulation window, press Enter on your keyboard to open the 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 259 STEP 7. Use the CLI command The port number you portal on network port Eth 1 for iSCSI communications between the V-Switch set in the CLI must and the host station. coincide with the port number you set in iscsi portal create –ip 172.17.200.174 –p 3260 your iSCSI initiator configuration.
  • Page 260 LUN0 to the target volume. Use the CLI command create the iSCSI target and attach LUN0 to the striped volume, Stripe1. volume expose -new –vol Stripe1 –ta storage –tn sanrad.billing. –device VSwitch STEP 13. Open the Microsoft iSCSI initiator program on host station 1.
  • Page 261 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. SANRAD V-Switch User Manual...
  • Page 262 Figure 102. Available Target STEP 14. EGIN USING VOLUME You can access Windows’ Disk Management application by right clicking on My The new disk should Computer and selecting Manage. Select Disk Management from the be configured as a Computer Management window. basic disk only.
  • Page 263: R Eplacing A M Irrored V Olume

    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. SANRAD V-Switch User Manual...
  • Page 264 STEP 1. Insert a replacement blade of the same size according to your specific manufacture’s instructions Sample Configurations V Switch Windows 2000 Manager and Microsoft Initiator Host Station Client Fibre Channel Connection JBOD 1 Disk 1 Disk 3 Figure 104. Replacing a Failed Disk...
  • Page 265 Simple 1024 Simple 1024 Mirror 1024 Enabled entire Enabled entire Enabled entire Storage is entire missing Enabled entire to create a simple volume to replace simple volume 4 which Block Size State Exposed Nonfunct NeedSync Exposed SANRAD V-Switch User Manual...
  • Page 266 The synchronization is finished when the volume status of Simple5 changes from NeedSync to Exposed. STEP 7. Use the CLI command virtual volume from the V-Switch database. volume remove all –vol Simple4 STEP 8. Use the CLI command volume from the V-Switch database.
  • Page 267: R Eplicating D Ata O Ff - Line

    Create simple volumes. Replicate data from one child of a mirror to the other child. V Switch Management Station Initiator JBOD 1 Old1 Old2 Old3 Old4 Figure 105. Replicating Data Off-line JBOD 2 New1 New 2 New3 New4 SANRAD V-Switch User Manual...
  • Page 268 Alias Stor_1 Stor_2 Stor_3 Stor_4 Next, attach the new JBOD to the V-Switch and configure the storage port communications as needed. Use the CLI command legacy JBOD disks are Stor_1 through Stor_4. The new JBOD disks are Stor_5 through Stor_8.
  • Page 269 Replication Status Destination Oper Status synch synch synch synch synch synch synch synch to begin replicating the data. to check the replication Admin Progress Status None dataRep None dataRep None dataRep None dataRep SANRAD V-Switch User Manual...
  • Page 270 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 271 Eth 1: 100.100.100.2 Connection JBOD 1 Disk 1 Disk 2 Disk 3 Disk 4 Figure 106. IP Routing Topology 212.199.43.70 Tower box Host 2 IP address: 212.199.43.90 LAN A 1 Gbit Ethernet, RJ45 Copper Connections Eth 2: 212.199.43.56 SANRAD V-Switch User Manual...
  • Page 272 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 106, page 264. Depending on your appliance, you need to plug a terminator into one of the JBOD ports.
  • Page 273 –ip 212.199.43.56 –p 5003 your iSCSI initiator configuration. STEP 8. Press Enter to enter the IP mask and return to the main V-Switch Status screen. V-Switch 3000 Status: OGIN TO THE MANAGEMENT PORT From the Windows Start menu, select Run.
  • Page 274 Use the CLI command 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 STEP 9.
  • Page 275 SCSI REATE I TARGET AND to create the iSCSI target and attach LUN0 to the striped volume, ONFIGURE HOST STATION INITIATOR Figure 108. Microsoft iSCSI Initiator to create a striped volume expose SANRAD V-Switch User Manual...
  • Page 276 Figure 109. 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 110.
  • Page 277 You can access Windows’ Disk Management application by right clicking on My The new disk should Computer and selecting Manage. Select Disk Management from the be configured as a Computer Management window. basic disk only. Figure 111. Disk Management Window SANRAD V-Switch User Manual...
  • Page 278: C Onfiguring A C Luster

    V-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 279 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 112. Depending on your appliance, you need to plug a terminator into one of the JBOD ports.
  • Page 280 STEP 3. 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: Connect the power cord to V-Switch 2 and then to the electric socket. The V- Switch powers up.
  • Page 281 STEP 5. Use the LCD display and control buttons on V-Switch 2 to configure the V- Switch management port IP address and mask. STEP 6. From your management terminal, open a Telnet session with the management port on V-Switch 1.
  • Page 282 In the Open window, enter: telnet 212.199.43.42 Click OK. A Telnet session window opens. Press Enter on your keyboard to open the V-Switch 3000 Login window. Figure 114. V-Switch 3000 Login Screen Enter the default user name and password and press Enter on your d Th CLI t >...
  • Page 283 –n VSwitch2 STEP 10. 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.
  • Page 284 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 285 1 and 2 are reversed in the disk table from VSwitch2. That is, Default storage 1 in VSwitch1 is listed as Default storage 2 in VSwitch2. You will use the WWUIs to duplicate virtual volume hierarchies in each V-Switch. STEP 16.
  • Page 286 Use the CLI command iSCSI target and attach LUN0 to each mirrored volume, Mirror1 and Mirror2. volume expose -new –vol Mirror1 –ta billing –tn billing.sanrad –device VSwitch1 volume expose -new –vol Mirror2 –ta musicbox –tn musicbox.sanrad –device VSwitch2 STEP 19.
  • Page 287 LUN0 to each target volume. Use the CLI command 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.
  • Page 288 Figure 116. 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). Toggle to the Available Targets tab to view all available targets for the configured portal.
  • Page 289 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. SANRAD V-Switch User Manual...
  • Page 290 Figure 120. Available Target Sample Configurations...
  • Page 291 Because host 2 has access to two targets, you need to add the second initiator to access the target, sanrad.musicbox. Figure 121. 2 Microsoft iSCSI Initiator Configuration for Host Station 2 Toggle to the Available Targets tab to view all available targets for the host 2 initiator.
  • Page 292 10/100 ...19 AC power supplies ...186 add ...236 details ...236 down ...241 identity add chap ...239 identity add name ...239 identity add srp ...240 identity create ...238 identity delete ...238 identity details... 128, 238 identity remove chap...240 identity remove name...239 identity remove srp ...240 identity set...241 remove ...237...
  • Page 293 IP set ...251 iSCSI... 64, 108 network ports ...60 storage port ...57 V-Switch cluster...75 V-Switch single IP ...263 V-Switch via console ... 49, 177 V-Switch via LCD ...48 Console...249 config ... 49, 177 Console port ... 30, 40 Corrupted database ...191 Create acl identity ...238...
  • Page 294 ...239 add srp ...240 create acl ...238 delete acl ...238 details ... 128, 238 down ...241 remove chap ...240 remove srp...240 set ...241 up ...241 In-band ...46 Info ...53 V switch ...200 V-Switch ...171 init...46 Init...51 V-Switch ...198...
  • Page 295 ... 167, 245 show ...244 LUN ... 108 carving ... 16, 90 details ...245 remove ...245 remove ...167 show ...244 LUNs discovery ...181, 201 Management ...41 port ... 41 Management Station ping from V-Switch... 68 SANRAD V-Switch User Manual...
  • Page 296 MIB ...20 Mirror add ...229 add volume ...142 break ... 150, 229 dummy synchonize volume 166, 227 synchonize volume ...227 volume ...224 volume show ... 143, 227 Mirrored volume replace ...256 Mounting... 25, 36 N Port...58 Name acl identity remove ...239 Neighbor add ...
  • Page 297 ... 80, 209 pscsi... 57, 203 snapshot ...149 SNMP manager ...204 storage ...252 storage ... 85, 216 subdisk ... 91, 220 system...214 volume ...89, 94, 221 volume mirror... 143, 227 Simple volume ...223 Simple volume create ... 93 SANRAD V-Switch User Manual...
  • Page 298 User name ... 174 User password ... 174 User profile ... 174 add ...175 V switch reset ...200 V Switch configuration ...197 V Switch configuration ... 197 View iSNS ... 63 snapshot ...149 Volume add mirror...229 alias ... 93, 162, 223...
  • Page 299 World Wide Node Name ...59 World Wide Port Name.. 58, 201 World Wide Unique Identifier108 Write cache enable ... 86, 217 Write community ...55 Write-protected ... 87, 218 WWNN ...59 WWPN ... 58, 201 WWUI... 108 SANRAD V-Switch User Manual...
  • Page 300 Index...

Table of Contents