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
manual and to the StoragePro Management System and any software
components contained therein are proprietary products of SANRAD protected
under international copyright law and shall be and remain solely with
SANRAD.
StoragePro Management System is a registered trademark of SANRAD. No
right, license, or interest to such trademark is granted hereunder, and you agree
that no such right, license, or interest shall be asserted by you with respect to such
trademark.
Contact SANRAD
Technical Support
US Offices 24/7 (North, Central & South America): 800-471-2616
International Office 24/7: +972-3-767-4855
Email:
Main Offices - United States, Canada, Latin America
SANRAD Inc.
2000 Alameda De Las Pulgas
2nd Floor Suite 240
San Mateo, CA 94403
Main Tel: 650-287-2500
Main Fax: 650-287-2510
Tech Support: 800-471-2616
Email:
International Office
32, Habarzel St.
Tel-Aviv, Israel
69710
Tel: +972-3-767-4800
Fax: +972-3-6474104
Email:
techsupport@sanrad.com
us_sales@sanrad.com
int_sales@sanrad.com
SPCLI3.1.1205 SANRAD V-Switch CLI User Manual
Page 3
SANRAD V-Switch CLI User Manual
Limited Warranty
SANRAD warrants to the CUSTOMER that the hardware in the V-Switch to
be delivered hereunder shall be free of defects in material and
workmanship under normal use and service for a period of twelve (12)
months following the date of shipment to the CUSTOMER.
If, during the warranty period, any component part of the equipment
becomes defective by reason of material or workmanship, and the
CUSTOMER immediately notifies SANRAD or SANRAD’s local agent of
such defect, SANRAD or SANRAD’s local agent shall have the option to
choose the appropriate corrective action: a) supply a replacement part, or b)
request return of equipment to its plant for repair, or c) perform necessary
repair at the equipment's location. In the event that SANRAD requests the
return of equipment, each party shall pay one-way shipping costs.
SANRAD shall be released from all obligations under its warranty in the
event that the V-Switch has been subjected to misuse, neglect, accident or
improper installation, or if repairs or modifications were made by persons
other than SANRAD's own authorized service personnel, unless such
repairs by others were made with the written consent of SANRAD.
The above warranty is in lieu of all other warranties, expressed or implied.
There are no warranties, which extend beyond the face hereof, including,
but not limited to, warranties of merchantability and fitness for a particular
purpose, and in no event shall SANRAD be liable for consequential
damages.
SANRAD shall not be liable to any person for any special or indirect
damages, including, but not limited to, lost profits from any cause
whatsoever arising from or in any way connected with the manufacture,
sale, handling, repair, maintenance or use of the V-Switch, and in no event
shall SANRAD's liability exceed the purchase price of the Product.
DISTRIBUTOR shall be responsible to its customers for any and all
warranties which it makes relating to the V-Switch and for ensuring that
replacements and other adjustments required in connection with the said
warranties are satisfactory.
Software components in the V-Switch are provided "as is" and without
warranty of any kind. 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
of the above, SANRAD shall do its best to provide error-free software
products and shall offer free Software updates during the warranty period
under this Agreement.
SANRAD's cumulative liability to you or any other party for any loss or
damages resulting from any claims, demands, or actions arising out of or
relating to this 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
Page 4
SPCLI3.1.1205 SANRAD V-Switch CLI User Manual
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.
This Agreement shall be construed and governed in accordance with the
laws of the State of Israel.
Regulatory Information
FCC-15 User Information
The V-Switch has been tested and found to comply with the limits of the
Class A digital device, pursuant to Part 15 of the FCC rules. These limits are
designed to provide reasonable protection against harmful interference
when the V Switch is operated in a commercial environment. The V Switch
generates, uses and can radiate radio frequency energy and, if not installed
and used in accordance with the instruction manual, may cause harmful
interference to the radio communications. Operation of the V Switch in a
residential area is likely to cause harmful interference in which case the user
will be required to correct the interference at the user’s own expense.
Warning per EN 55022
The V-Switch is a Class A product. In a domestic environment, this product
may cause radio interference, in which case the user may be required to
take adequate measures.
Page 5
SANRAD V-Switch CLI User Manual
Safety Notices
Read and understand the following notices before installing the V-Switch.
The power plug must be accessible at all times because it serves as the main
disconnecting vehicle.
Unplug the V-Switch power cord before performing maintenance procedures.
The V-Switch contains two power supply units. To disconnect the V-Switch
completely, all power supply cords must be unplugged.
Do not touch the power supplies when their power cords are connected. Line
voltages are present within the power supplies when their cords are connected.
The safety cover is an integral part of this product. Do not operate the unit without
the safety cover firmly in place. Operating the unit without the cover in place will
invalidate the safety approvals and pose a risk of fire and electrical hazards.
Blank faceplates and cover panels serve three important functions: they prevent
exposure to hazardous voltages and currents inside the chassis; they contain
electromagnetic interference (EMI) shields that might disrupt other equipment; and
they direct flow of cooling air through the chassis. Do not operate the system
unless all cards and faceplates are in place.
This product relies on the building’s wiring for short-circuit (overcurrent) protection.
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.
When installing the V-Switch, the ground connection must always be connected first
and disconnected last.
There is a danger of explosion if the motherboard battery is replaced incorrectly.
Replace the battery with the same or an equivalent type as recommended by the
manufacturer. Dispose of the used battery according to the manufacturer’s
instructions.
Front Panel ................................................................................................................................................................2-2
Back Panel.................................................................................................................................................................2-3
System Indicator LEDs ..............................................................................................................................................2-4
Front Panel ................................................................................................................................................................3-2
Back Panel.................................................................................................................................................................3-2
System Indicator LEDs ..............................................................................................................................................3-3
Assigning a Management IP Address........................................................................................................................4-4
Changing General Management Parameters............................................................................................................4-6
Changing the Telnet Communications Port...............................................................................................................4-9
Traps and SNMP .......................................................................................................................................................4-9
Adding User Login Profiles ......................................................................................................................................4-11
Configuring the Storage Ports ....................................................................................... 4-11
Viewing SCSI Storage Ports and Bus IDs ...............................................................................................................4-12
Setting a SCSI Storage Port Bus ID.........................................................................................................................4-12
Viewing the FC Port Information..............................................................................................................................4-13
Configuring an FC Storage Port...............................................................................................................................4-13
Viewing the V-Switch World Wide Node Name........................................................................................................4-14
Configuring the Network Ports....................................................................................... 4-14
Checking the IP Configurations ...............................................................................................................................4-15
Removing an IP Address.........................................................................................................................................4-16
Discovery of iSCSI Storage Devices........................................................................................................................4-21
Configuring IP Routing ...................................................................................................4-23
Adding an IP Route..................................................................................................................................................4-24
Setting a Default Gateway.......................................................................................................................................4-25
Checking IP Routes.................................................................................................................................................4-26
Viewing IP Routes....................................................................................................................................................4-26
Removing an IP Route.............................................................................................................................................4-26
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
Enabling and Disabling Failover ................................................................................................................................5-9
Further V-Switch Cluster Configurations....................................................................................................................5-9
Introduction to Volume Configuration............................................................................. 6-2
Identifying Available Storage Devices.............................................................................6-3
Creating a Transparent Volume .......................................................................................6-6
Creating a Subdisk (LUN Carving)...................................................................................6-8
Creating a Simple Volume ..............................................................................................6-11
Creating a Concatenated Volume ..................................................................................6-13
Creating a Striped Volume..............................................................................................6-16
Creating a Mirrored Volume............................................................................................ 6-18
Replicating Data in a Mirrored Volume....................................................................................................................6-20
Creating a RAID 10 and RAID 0+1.................................................................................. 6-21
Using a RADIUS Server...........................................................................................................................................7-24
Introduction to Advanced Volume Configurations......................................................... 8-2
Data Replication: Off-line versus On-line..................................................................................................................8-2
Mirror versus Snapshot..............................................................................................................................................8-2
Actual Capacity versus Potential Capacity ................................................................................................................8-2
Resizing versus Expanding........................................................................................................................................8-2
Copying a Volume (Off-line Copy) ...................................................................................8-3
Synchronizing a Volume................................................................................................... 8-3
Adding a Child to a Mirror (On-line Copy)....................................................................... 8-4
Creating a Snapshot..........................................................................................................8-8
Deactivating and Activating a Snapshot Volume.....................................................................................................8-13
Breaking a Mirror............................................................................................................. 8-16
Resizing a Volume........................................................................................................... 8-19
Retracting a Volume ................................................................................................................................................8-23
Expanding a Volume .......................................................................................................8-24
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
Removing an iSCSI Target........................................................................................................................................9-7
Removing a RADIUS Server......................................................................................................................................9-7
Removing an iSNS Server.........................................................................................................................................9-7
Setting an SNMP Manager......................................................................................................................................10-5
Removing an SNMP Manager.................................................................................................................................10-6
Adding an iSNS Server............................................................................................................................................10-6
Removing an iSNS Server.......................................................................................................................................10-6
User Profiles.....................................................................................................................10-7
Adding a User Profile...............................................................................................................................................10-7
Changing a User Profile...........................................................................................................................................10-8
Removing a User Profile..........................................................................................................................................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
Changing an Interface Alias...................................................................................................................................10-11
Adding an Interface IP Address.............................................................................................................................10-11
Removing an Interface IP Address........................................................................................................................10-12
IP Routing....................................................................................................................... 10-13
Adding an IP route.................................................................................................................................................10-13
Removing an IP route............................................................................................................................................10-14
Disks and Subdisks....................................................................................................... 10-15
Renaming a Storage Device..................................................................................................................................10-16
Removing a Storage Device..................................................................................................................................10-16
Renaming a Subdisk..............................................................................................................................................10-17
Removing a Subdisk..............................................................................................................................................10-17
Removing a Neighbor............................................................................................................................................10-18
Modifying a Cluster................................................................................................................................................10-19
Enabling and Disabling Failover ............................................................................................................................10-19
V-Switch 3000 Power Supply........................................................................................10-20
Upgrading the V-Switch Software................................................................................10-21
Exporting a Corrupted Database ...........................................................................................................................10-25
system reset.............................................................................................................................................................11-4
system reset_default_factory...................................................................................................................................11-4
device set -telnet......................................................................................................................................................11-6
fc interface show......................................................................................................................................................11-7
fc node show............................................................................................................................................................11-7
fc set speed..............................................................................................................................................................11-8
interface set .............................................................................................................................................................11-9
pscsi show .............................................................................................................................................................11-10
pscsi set busid .......................................................................................................................................................11-10
ip config show........................................................................................................................................................11-12
ip config set............................................................................................................................................................11-12
ip config remove.....................................................................................................................................................11-13
ip route default.......................................................................................................................................................11-13
ip route add............................................................................................................................................................11-13
ip route show..........................................................................................................................................................11-14
ip route remove......................................................................................................................................................11-14
ip isns show ...........................................................................................................................................................11-15
ip isns add..............................................................................................................................................................11-15
ip isns remove........................................................................................................................................................11-16
ft show....................................................................................................................................................................11-19
ft upload software...................................................................................................................................................11-19
ft download.............................................................................................................................................................11-20
ft export problem....................................................................................................................................................11-20
system boot............................................................................................................................................................11-21
vi SANRAD V-Switch CLI User Manual
Page 13
system set..............................................................................................................................................................11-21
system copy...........................................................................................................................................................11-21
system show..........................................................................................................................................................11-22
storage disk show..................................................................................................................................................11-24
storage disk set......................................................................................................................................................11-25
subdisk show .........................................................................................................................................................11-27
subdisk alias ..........................................................................................................................................................11-29
volume copy show .................................................................................................................................................11-37
volume snapshot show ..........................................................................................................................................11-40
volume snapshot list ..............................................................................................................................................11-41
iscsi target show ....................................................................................................................................................11-44
iscsi target alias .....................................................................................................................................................11-45
iscsi session show .................................................................................................................................................11-47
scsi target port statistics.........................................................................................................................................11-52
acl up .....................................................................................................................................................................11-62
ip radius show........................................................................................................................................................11-63
ip radius add ..........................................................................................................................................................11-63
ip radius set............................................................................................................................................................11-64
ip radius remove ....................................................................................................................................................11-64
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
ip statistics ip show................................................................................................................................................11-69
ip statistics icmp show ...........................................................................................................................................11-70
tcp connection show ..............................................................................................................................................11-70
Health Monitoring............................................................................................................ 12-2
system hardware show............................................................................................................................................12-2
ip statistics ip show..................................................................................................................................................12-4
ip statistics icmp show .............................................................................................................................................12-5
tcp connection show ................................................................................................................................................12-5
iscsi session show ...................................................................................................................................................12-7
SCSI Port Statistics....................................................................................................... 12-11
scsi target port statistics.........................................................................................................................................12-11
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 xv
Page 22
xvi SANRAD V-Switch CLI User Manual
Page 23
IN THIS
CHAPTER
V-Switch Overview
Order of Operations
Manual
Organization
CLI - Command
Line Interface
Technical
Assistance
The V-Switch is a storage virtualization and management solution
that allows you to pool physical storage resources and re-partition
the total storage capacity into virtual volumes that best meet your
storage needs.
The V-Switch is a high performance appliance that operates in the
data-path of a storage network between the hosts and storage subsystem. It provides a single, easy-to-use connectivity and
management platform for administration of small to Enterprise
class storage resources.
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.
V-Switch
1
The Volume Manager provides for secure exposure of virtual
volumes to hosts using the standards-based iSCSI TCP/IP-based
protocol.
Chapter 1: V-Switch 1-1
Page 24
V-Switch Overview
The V-Switch provides protocol bridging, routing, switching and volume
management in a single platform.
Figure 1-1, details a standard V-Switch network topology. Two V-Switches sit
in the center of the network, providing load balancing and failover ability.
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.
Below the V-Switches are the network storage devices, which include both
JBOD (Just a Bunch Of Disks) and RAID subsystems. The V-Switch provides
the ability to connect via both SCSI and FC protocols, including FC clouds,
increasing the number of potential attached storage devices.
End-to-end Fibre Channel protocol networks are expensive to implement. As
an iSCSI bridging switch, the V-Switch acts as a protocol bridge between
storage devices on a Fibre Channel network and hosts on a standard IP
network.
The V-Switch also acts as a protocol bridge between SCSI storage devices and
hosts on a standard IP network.
Simple exposure of each storage device as a single LUN is an inefficient use of
storage resources. As a storage virtualization switch, the V-Switch enables
barrier-independent storage pooling with precise LUN carving of new virtual
volumes which support mirroring and striping with managed exposure.
1-2 SANRAD V-Switch CLI User Manual
Page 25
Tower boxTower box
Host
Tower box
Host
Cloud
IP Cloud
Management
Clients
Terminal
IP
Cloud
Cloud
V-Switch 1V-Switch 2
RAIDJBOD
SCSI
Connection
SCSI
Connection
Host
FC
Cloud
Cloud
RAID RAID RAID
Management
Clients
Terminal
Tower box
Host
10236
Figure 1-1. V-Switch Network Topology
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. C
STEP 2. C
STEP 3. C
STEP 4. A
Chapter 1: V-Switch 1-3
ONNECT THE V-SWITCH TO THE REQUISITE DEVICES AND NETWORKS;
POWER UP THE
VSWITCH.
ONFIGURE THE V-SWITCH AND ITS INTERFACES.
REATE VIRTUAL VOLUMES FROM THE PHYSICAL DISKS.
SSIGN LUNS TO VIRTUAL VOLUMES; CREATE ISCSI TARGETS; ATTACH
LUNS TO TARGETS AND EXPOSE TO HOSTS.
Page 26
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: Manual Chapter Organization
Chapter Title Description
Chapter 2 “Installing the V-Switch 2000” Explains the V-Switch2000 chassis, cabling
connections and power up procedures.
Chapter 3 “Installing the V-Switch 3000” Explains the V-Switch 3000 chassis, cabling
connections and power up procedures.
Chapter 4 “V-Switch Configuration” Describes how to configure the V-Switch
management parameters as well as the
network and storage ports.
Chapter 5 “V-Switch Cluster Configuration” Describes how to configure V-Switches for a
dual-V-Switch cluster environment.
Chapter 6 “Volume Configuration” Describes how to configure and create
transparent, simple, concatenated, mirrored
and striped volumes.
Chapter 7 “Volume Exposure & Security” Describes how to selectively and securely
expose and manage host access to volumes.
Chapter 8 “Advanced Volume Operations” Describes how to configure online and
offline mirror copies; snapshots and volume
expansion and retraction.
Chapter 9 “Routine Volume Maintenance” Describes how to maintain and manipulate
existing volumes.
Chapter 10 “Routine V-Switch Maintenance” Explains how to execute basic V-Switch
maintenance functions.
Chapter 11 “Command Line Interface” Describes all CLI commands and their
surrounding parameters.
Chapter 12 “Monitoring & Statistics” Explains how to monitor V-Switch hardware
and communication statistics.
Appendix A “Sample Configurations” Provides working examples of common V-
Switch configurations.
1-4 SANRAD V-Switch CLI User Manual
Page 27
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:
Console port via an RS232 connection.
10/100 Ethernet Management port via a Telnet session
(V-Switch 3000 only).
1 Gb Ethernet port Eth1 via a Telnet session.
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.
The CLI command prompt is >.
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: CLI Command
volume create transparent
SWITCH PARAMETER DEFINITION STATUS EXAMPLE
–vol
-d
VOLUME ALIASUSER-GIVEN ALIAS FOR
DISK ALIASSYSTEM-GIVEN ALIAS
THE VOLUME
FOR THE DISK DURING
DISK AUTO
-DISCOVERY
PTIONAL
O
DEFAULT:
DISK ALIAS
MANDATORY
Transparent1
Disk1
Chapter 1: V-Switch 1-5
Page 28
The CLI supports the use of the following hot keys for the listed functions:
Table 1-3: Hot Keys
Command Description
?
LIST OF COMMANDS WITH A SHORT DESCRIPTION OF EACH
!
Esc
#
Tab
RETURN TO MAIN MENU
ABORT CURRENT COMMAND
DISPLAY LAST COMMAND TO VIEW COMMAND HISTORY
COMPLETE A COMMAND TO THE POINT OF AMBIGUITY
Technical Assistance
SANRAD is continually striving to provide top-of-the-line products. If you
have found an error in this user manual, please report it to:
documentation@sanrad.com
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:
Chassis
Surface Mounting
Rack Mounting
Storage Port
Connections
Network Port
Connections
Console Port
Connection
Powering Up
The V-Switch 2000 is a 1U high performance storage networking
appliance that can be surface or rack mounted.
After mounting the V-Switch 2000, connect the requisite cables.
The V-Switch 2000 contains the following:
Installing the V-Switch 2000
Two storage port connections
Two network port connections
One console port connection
One onboard AC power supply
2
Chapter 2: Installing the V-Switch 2000 2-1
Page 30
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.
Front Panel
1. RS232 console port
2. Two 1 Gb copper Ethernet network port interfaces
3. Two SCSI or two FC storage port interfaces
4. Reset push button
10203
1
2
3
4
Figure 2-1. V-Switch 2000 Front Panel – SCSI
2-2 SANRAD V-Switch CLI User Manual
Page 31
10209
Back Panel
5. Fans
6. Power supply
1
2
3
4
Figure 2-2. V-Switch 2000 Front Panel – FC
5
6
10214
Chapter 2: Installing the V-Switch 2000 2-3
Figure 2-3. V-Switch 2000 Back Panel
Page 32
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
No LED Status Indication Color
1 ACT NETWORK PORT IS ACTIVE GREEN
2 1GB NETWORK PORT IS OPERATING AT 1GB GREEN
3 SCSI/FC STORAGE PORT IS FUNCTIONING GREEN
SLOW BLINK: ACTIVE
FAST BLINK: PORT
TRAFFIC
3 LNK STORAGE PORT IS FUNCTIONING AT 1
4 POWER ALL POWER SUPPLIES FUNCTIONING GREEN
5 SYS OK ALL SYSTEMS FUNCTIONING PROPERLY GREEN
OR
1
2
2GB
1
2
3
3
Figure 2-4. V-Switch 2000 LEDs – SCSI
REEN:1GB
G
O
RANGE:2GB
4
5
10204
2-4 SANRAD V-Switch CLI User Manual
Page 33
1
2
1
2
3
3
4
10210
5
Figure 2-5. V-Switch 2000 LEDs – FC
Surface Mounting
The V-Switch 2000 chassis is manufactured with four chassis feet. The V-Switch
2000 is ready to be mounted on any secure flat surface. If you plan to rack
mount the 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.
The V-Switch 2000 is shipped with an accessory packet of hardware. This
packet includes four non-identical L-brackets and twelve bracket screws for
rack mounting
You need the following tools to rack-mount the V-Switch 2000:
A Philips screwdriver suitable for L-bracket screws
Four rack-post screws (and clips if necessary) suitable for the
equipment rack
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.
Chapter 2: Installing the V-Switch 2000 2-5
Page 34
STEP 1. PLACE THE V-SWITCH 2000 RIGHT SIDE UP ON A SECURE FLAT
SURFACE NEAR THE RACK
STEP 2. ATTACH THE LEFT FRONT L-BRACKET
The left front L-bracket is the wide L-bracket with two round openings for
air intake.
Attach it with four of the included screws. The bracket sits directly against
the V Switch.
STEP 3. ATTACH THE RIGHT FRONT L-BRACKET
There are two types of right front L-brackets, depending on if the V-Switch
is single or dual-mounted.
For single-mounting, use the long arm L-bracket to span the space from the
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 Lbrackets.
STEP 4. ATTACH THE REAR L-BRACKET
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.
STEP 5. ATTACH THE V-SWITCH 2000 TO THE RACK MOUNTING POSTS
Insert the rear of the V-Switch 2000 between the rack mounting posts until
the L-bracket(s) touch the rack mounting posts.
Align the mounting holes on the rear L-brackets with the mounting holes on
the rack mounting posts.
Using screws that you provide, attach the V-Switch 2000 to the rack
mounting posts by screwing two screws on each side through the Lbrackets and into the threaded holes in the rack mounting posts.
Once the V-Switch 2000 is mounted, you can begin connecting the requisite
cables.
2-6 SANRAD V-Switch CLI User Manual
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 – either two SCSI or two FC ports.
The V-Switch 2000 contains a storage auto-discovery function. At powerup the 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 VSwitch 2000 during auto-discovery. This will make cluster configuration
easier. For more information on V-Switch 2000 clusters, see “V-Switch
Cluster Configuration”.
10205
SCSI Storage
Ports
Figure 2-6. V-Switch 2000 SCSI Storage Ports
Chapter 2: Installing the V-Switch 2000 2-7
Page 36
The V-Switch 2000 supports two storage ports in any combinations of the
following:
Table 2-2: SCSI Storage Port Connection Type
SCSICONNECTOR LENGTH
SCSIULTRA3LVD160MB/SEC 68 PIN PORT UP TO 12M
Figure 2-7. V-Switch 2000 FC Storage Ports
10211
FC Storage
Ports
Table 2-3: FC Storage Port Connection Types
FIBRE CHANNEL 1GBIT/2GBIT NL_PORT OR
Your exact port
configuration will
depend on your V-
Switch 2000 order
N_PORT OF EITHER
SHORT-WAVE LASER FOR MULTIMODE
FIBER
LONG-WAVE LASER FOR SINGLE-MODE
FIBER
specifications.
COPPER (1GBIT) UP TO 25M –
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. This, in turn, makes cluster configuration easier.
There are two FC storage port LEDs labeled lnk, one to the left of each storage
port.
ENGTH SFP
L
P TO 550MSHORT-WAVE SFP
U
P TO 10KMLONG-WAVE SFP
U
2-8 SANRAD V-Switch CLI User Manual
Page 37
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. There are two methods for allowing multi-server access to a volume:
Connect a single server to the V-Switch 2000 and allow other server to
access the volume via file sharing.
Install volume-sharing software to coordinate the read/write
functionalities and data synchronization between servers.
The network ports support all of the following:
Table 2-4: Network Port Cable Connections
CABLE LENGTH SFP
1000BASE-TX(TWISTED-PAIR) OVER CATEGORY 5
UTP
Copper
RJ45
Network Ports
Figure 2-8. V-Switch 2000 Network Ports
Each network port has two LEDs:
act – indicates whether the port is connected and active: slow blink –
active; fast blink – port traffic.
1 Gb – indicates whether the port is operating at 1 Gb. The LED is off
if the port is operating at 10/100.
P TO 100M __
U
10206
Chapter 2: Installing the V-Switch 2000 2-9
Page 38
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.
10207
Console
Port
Do not power the V-
Switch 2000 up and
down quickly. The
power supply is
protected against
electrical surges and
needs at least 5
seconds between
power down and
power up.
Figure 2-9. V-Switch 2000 Console Port
Powering Up
You can power up the V-Switch 2000 once you have connected and
powered up the storage devices. The V-Switch 2000 contains a storage
auto-discovery function. At power-up the V-Switch 2000 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 2000. Storage devices added after V-Switch 2000 power-up will
be registered in the next V-Switch 2000 storage network scan.
The V-Switch 2000 contains one onboard auto-switch 100V/230V AC
power supply.
2-10 SANRAD V-Switch CLI User Manual
Page 39
10213
Power
Switch
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.
Each network port 1 Gb indicator LED turns green only if connected to
the network and operating at 1 Gb.
Each storage port indicator LED on the front right of the V-Switch 2000
is green if connected to storage. With FC storage, the LED is green if
connected to storage operating at 1 Gb and amber if connected to
storage operating at 2 Gb.
The fans start operating.
You are now able to initialize the V-Switch 2000.
Chapter 2: Installing the V-Switch 2000 2-11
Page 40
2-12 SANRAD V-Switch CLI User Manual
Page 41
IN THIS
CHAPTER
Chassis
Surface Mounting
Rack Mounting
Storage Port
Connections
Network Port
Connections
Console Port
Connection
Management Port
Connection
LCD
Compact Flash (CF)
Slot
Scalability Port
Powering Up
The V-Switch 3000 is a 1U high performance storage networking
appliance that can be surface or rack mounted.
After mounting the V-Switch 3000, connect the requisite cables.
The V-Switch 3000 contains the following:
Installing the V-Switch 3000
Up to four storage port connections
Three network port connections
One management port connection
One console port connection
One Compact Flash (CF) slot
One scalability port connection
Two removable redundant AC power supplies
3
Chapter 3: Installing the V-Switch 3000 3-1
Page 42
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.
Front Panel
1. LCD display
2. LCD display programming buttons
3. One 10/100 Management Port
4. Three 1 Gb Ethernet Network Ports; both copper and FO interfaces
5. System Indicator LEDs
RJ45
13
SFP
25
Figure 3-1. V-Switch 3000 Front Panel
Back Panel
6. Two - four SCSI / Fibre Channel Storage Ports
7. Dual fault tolerant power supplies
8. Removable Compact Flash (CF) slot
9. Scalability Port
10. RS232 Console Port
10215
4
44
3-2 SANRAD V-Switch CLI User Manual
Page 43
6
10
9
8
7
Figure 3-2. V-Switch 3000 Back Panel
System Indicator LEDs
Table 3-1 lists the V-Switch 3000 indicator LEDs as shown in Figure 3-3.
Table 3-1: V-Switch 3000 LEDs
No LED Status Indication Color
1 POWER ALL POWER SUPPLIES FUNCTIONING GREEN
2 SYS OK ALL SYSTEMS FUNCTIONING PROPERLY GREEN
3 SCALE SCALABILITY PORT IS FUNCTIONING
4 ACT MANAGEMENT PORT IS ACTIVE GREEN
CURRENTLY NOT SUPPORTED
REEN
G
ON: ACTIVE
BLINKING: PORT TRAFFIC
10238
5 100 MANAGEMENT PORT IS OPERATING AT
6 ACT NETWORK PORT IS ACTIVE GREEN
7 1GB (SCSI) NETWORK PORT IS OPERATING AT 1GB GREEN:1GB
8 SCSI STORAGE PORT IS FUNCTIONING GREEN: NEGOTIATED
8 FC STORAGE PORT IS FUNCTIONING GREEN:1GB
100MBPS
REEN
G
SLOW BLINK: ACTIVE
FAST BLINK: PORT
TRAFFIC
STORAGE
AMBER:2GB*
*
ONLY ON CERTAIN ALL-
MODELS
FC
Chapter 3: Installing the V-Switch 3000 3-3
Page 44
Sys OK
FC/SCSI
1
2
Power
Scale
3
10269
466
actactact
5
1 GB1 GB
7778
6
act
1 GB100
Figure 3-3. V-Switch 3000 LEDs
Surface Mounting
The V-Switch 3000 chassis is manufactured with four chassis feet. The V-Switch
3000 is ready to be mounted on any secure flat surface. If you plan to rack
mount the V-Switch 3000, continue with “Rack Mounting.”
Rack Mounting
The V-Switch 3000 chassis can be mounted on a 19-inch rack.
The V-Switch 3000 is shipped with an accessory packet of hardware. This
packet includes two L-brackets, two rear mounts (one left and one right)
and ten bracket screws for mounting the L-brackets.
You need the following tools to rack-mount the V-Switch 3000:
A Philips screwdriver suitable for L-bracket screws
Eight rack-post screws (and clips if necessary) suitable for the
equipment rack; four for the front mounts and four for the rear mounts
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.
3-4 SANRAD V-Switch CLI User Manual
Page 45
STEP 1. ATTACH THE REAR MOUNTS
Using screws that you provide, attach the rear mounts to the back
mounting posts so that the length of each mount is parallel to the floor and
extends forward into the rack space.
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. PLACE THE V-SWITCH 3000 RIGHT SIDE UP ON A SECURE FLAT
SURFACE NEAR THE RACK
This step works best
with two people.
STEP 3. A
TTACH THE L-BRACKETS ON BOTH SIDES OF THE CHASSIS
Use the ten screws included in the accessory packet to attach the Lbrackets to the chassis.
STEP 4. INSERT THE V-SWITCH 3000 INTO THE RACK
This step works best with two people: one at the rear of the rack coordinating
the V-Switch/mount connection and one at the front of the rack inserting the VSwitch.
Slide the V-Switch 3000 into the rack making sure to position the V-Switch
3000 to rest on the rear mounts.
The rear mounts may turn inward slightly before the V-witch 3000 is
inserted. If the V-Switch does not enter easily, push the mount lips
outward slightly while inserting the V-Switch 3000.
Insert the rear of the V-Switch 3000 until the L-brackets touch the rack
mounting posts.
STEP 5. ATTACH THE V-SWITCH 3000 TO THE RACK MOUNTING POSTS
Align the mounting holes on the L-brackets with the mounting holes on the
rack mounting posts making sure that the L-brackets are the same height
as the rear mounts.
Using screws that you provide, attach the V-Switch to the rack mounting
posts by screwing two screws on each side through the L-brackets and into
the threaded holes in the rack mounting posts.
Once the V-Switch 3000 is mounted, you can begin connecting the requisite
cables.
Chapter 3: Installing the V-Switch 3000 3-5
Page 46
Storage Port Connections
Connect the SAN storage devices or fabric to the V-Switch 3000 using the
FC/SCSI storage ports.
The storage ports are located on the back upper left of the V-Switch 3000. The
number and configuration of storage ports on your V-Switch 3000 will vary
depending on your V-Switch 3000 order specifications.
The V-Switch 3000 contains a storage auto-discovery function. At powerup the 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 VSwitch 3000 during auto-discovery. This will make cluster configuration
easier. For more information on V-Switch clusters, see “Introduction to VSwitch Clusters,” page 74.
SCSI / Fibre Channel
(Storage) Ports
10239
Figure 3-4. V-Switch 3000 Storage Ports
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. This, in turn, makes cluster configuration easier.
3-6 SANRAD V-Switch CLI User Manual
Page 47
The V-Switch 3000 supports up to four storage ports in any combinations in
pairs of the following:
Table 3-2: Storage Port Connection Types
FCCONNECTOR LENGTH
Your exact port
configuration will
depend on your V-
Switch 3000 order
specifications.
FIBRE CHANNEL 1GBIT/2GBIT NL_PORT OR
N_PORT OF EITHER:
SHORT-WAVE LASER FOR MULTIMODE
FIBER
ONG-WAVE LASER FOR SINGLE-MODE
L
FIBER
OPPER (1GBIT) UP TO 25M
C
SCSIULTRA3LVD160MB/SEC 68 PIN PORT UP TO 12M
P TO 550M
U
P TO 10KM
U
There are four storage ports LEDs, labeled FC/SCSI 1, 2, 3 &4, on the front right
of the V-Switch 3000 for up to four storage ports.
10217
Storage Port LEDs
Figure 3-5. V-Switch 3000 Storage Port LEDs
Network Port Connections
The network ports, labeled Eth 1, 2 & 3, are located on the front right of the VSwitch 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. To connect a
fiber-optic cable you need a Small Form Factor Package (SFP) optical
transceiver to couple to the fiber optic cable and insert into the network SFP
port. Please refer to Figure 3-6.
Chapter 3: Installing the V-Switch 3000 3-7
Page 48
A copper connection
will not work if an
SFP is present in the
At power up, the V-Switch 3000 automatically registers which connector,
copper or fiber optic, is active by searching for an SFP optical transceiver.
The presence of an SFP will automatically determine which mode is active.
port.
Once the port is active in one mode, it will not change modes unless the
first, active connection is broken first. This means that once the port is
active over a copper connection, the insertion of an SFP optical transceiver
into the fiber optic connector will not change the port activity to fiber
optic. The copper connection must first be broken and then the fiber optic
connection made.
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. Only then can the port activity
switch to a copper connection.
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. There are two methods for allowing multi-server access to a volume:
Connect a single server to the V-Switch 3000 and allow other servers to
access the volume via file sharing.
Install volume-sharing software to coordinate the read/write
functionalities and data synchronization between servers.
The network ports support all of the following:
Table 3-3: Network Port Cable Connections
CABLE LENGTH SFP
1000BASE-SXSHORT-WAVE LASER FOR
1000BASE-LXLONG-WAVE LASER FOR SINGLE
1000BASE-TX
MULTIMODE FIBER
MODE FIBER
UTP
(TWISTED-PAIR) OVER CATEGORY 5
ROM 275M TO 550MSHORT-WAVE SFP
F
P TO 10KMLONG-WAVE SFP
U
P TO 100M __
U
Ethernet (Network) Ports
Copper
RJ45
Fiber Optic
SFP
Figure 3-6. V-Switch 3000 Network Ports
10218
3-8 SANRAD V-Switch CLI User Manual
Page 49
Each network port has two LEDs:
act – indicates whether the port is connected and active: slow blink –
active; fast blink – port traffic.
1 Gb – indicates whether the port is operating at 1 Gb. The LED is off
if the port is operating at 10/100.
Console Port Connection
The console port, labeled Console, is located on the back lower left of the VSwitch 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.
10240
Console Port
Figure 3-7. V-Switch 3000 Console Port
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. When
connecting via a network, use a standard network cable. For more
information on V-Switch 3000 management options, please refer to
“Introduction to Managing the V-Switch,” page 48.
Chapter 3: Installing the V-Switch 3000 3-9
Page 50
Managem e nt Port - RJ45
10219
Figure 3-8. V-Switch 3000 Management Port
The management port has two LEDs:
act – indicates whether the port is connected and active: green – active;
blinking – port traffic
100 – indicates how the port is operational: on – 100; off – 10.
act LED
10076
100 LED
Figure 3-9. V-Switch 3000 Management Port LEDs
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,
refer to “Configuring the V-Switch 3000 Management Parameters via LCD”.
LCD
Figure 3-10. LCD Display Panel
10221
3-10 SANRAD V-Switch CLI User Manual
Page 51
Compact Flash (CF) Slot
The compact flash slot, labeled CF Card, is located on the back center of the VSwitch 3000. A compact flash card is inserted into the slot and the
configuration database is mirrored into the flash card for configuration
recovery if replacing a V-Switch 3000.
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.
10241
Scalability P o rt
Figure 3-11. Scalability Port
The scalability port has one LED, labeled Scale, on the front right of the VSwitch 3000 to indicate operability.
10222
Scalability LED
Figure 3-12. Scalability Port LED
Chapter 3: Installing the V-Switch 3000 3-11
Page 52
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. Storage devices added
after V-Switch 3000 power- up will be registered in the next V-Switch 3000
storage network scan.
The V-Switch 3000 contains two removable auto-switch 100V/230V AC
redundant power supplies.
10242
Redundant
Power Sup p lies
Figure 3-13. V-Switch 3000 Power Supplies
Reconfirm that all storage devices are powered up and connected to the VSwitch. Plug the power cables into the V-Switch 3000 power supplies and then
into the power source. Push the power switch to the ON position. The VSwitch 3000 powers up.
The Power indicator LED on the front right of the V-Switch 3000 turns
green.
Each network port 1 Gb indicator LED turns green only if connected to
the network and operating at 1 Gb.
Each storage port indicator LED on the front right of the V-Switch 3000
is green if connected to storage.
The fans start operating.
The LCD panel displays “V-Switch 3000 SANRAD Corp.”
You are now able to initialize the V-Switch 3000.
3-12 SANRAD V-Switch CLI User Manual
Page 53
IN THIS
CHAPTER
Introduction to
Managing the VSwitch
Initial V-Switch
Configuration
Changing
Management
Parameters
Configuring the
Storage Ports
Configuring the
Network Ports
Discovering iSCSI
Targets
Configuring iSCSI
Portals
Configuring IP
Routing
After the V-Switch is connected properly to the physical disks,
management station and the network and powered up, the VSwitch must be configured.
The basic V-Switch configurations define the management IP
configurations and can be done either via the LCD panel for the VSwitch 3000 or the RS232 console port for both the V-Switch 3000
and the V-Switch 2000.
Once the management port is configured, any other V-Switch
configuration can be executed through the management port or
continued through the RS232 console port.
Disks and LUNs connected to the storage ports are discovered and
registered automatically.
V-Switch Configuration
4
Chapter 4: V-Switch Configuration 4-1
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.
The V-Switch can be managed in one of three different ways. Each way requires
a different configuration.
Out-of-band
The management terminal (Telnet, SSH, SP server) connects to the VSwitch’s dedicated 10/100 management port via a fast Ethernet
network (refer to A, Figure 4-1). The V-Switch’s default IP
(10.11.12.123) can be used to connect to the V-Switch from remote (via
telnet).
In-band
The management terminal (Telnet, SSH, SP server) connects to the VSwitch’s Eth1 port. The Eth1 port is used by the V-Switch for
management as well as by the hosts for accessing data accessing
storage data (refer to B, Figure 4-1).
RS232
The console connects to the V-Switch’s RS232 port in a direct
connection (refer to C, Figure 4-1). The RS232 port is used mainly for
initial configuration: setting up the management IP, Mask and VSwitch name.
4-2 SANRAD V-Switch CLI User Manual
Page 55
In-Band M a nagem ent
Cloud
IP C loud
Gb portGb port
RS232 port
Modem
Modem
10/100 port10/100 port
Fast Ether net Networ k
B
Telnet Station
RS232 port
ACC
Clients
Console
Clients
Management Terminal
Clients
Console
10223
Out- of-Band M ana gem ent
Figure 4-1. V-Switch Management Options
Chapter 4: V-Switch Configuration 4-3
Page 56
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
V-Switch 3000.
The management IP address can be set via:
RS-232 port
Telnet session
LCD Buttons (only for V-Switch 3000)
Telnet/SSH Connection
To initialize the V-Switch via telnet/SSH session:
1. Change your computer’s IP Address to anything on the same subnet
10.11.12.*
2. Connect to the management port on the V-Switch.
3. Telnet to 10.11.12.123.
4. Enter Username and Password: sanrad.
You will be asked to accept or change the default values for :
1. Set the default IP Address.
2. Set the default IP Mask.
3. Set the default V-Switch name.
4. Set the default management port (Mgnt or ETH1).
4-4 SANRAD V-Switch CLI User Manual
Page 57
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:
PARAMETER SYSTEM REQUIREMENT
CONFIG SERIAL PORT COMX(ACCORDING TO YOUR PHYSICAL PORT CONNECTION)
BITS PER SECOND 115200
D
P
S
F
E
ATA BITS 8
ARITYNONE
TOP BITS 1
LOW CONTROLNONE
MULATION AUTODETECT
Chapter 4: V-Switch Configuration 4-5
Figure 4-2. Terminal Properties
Page 58
You must define
only one port for
management. Both
can not be active at
the same time.
The physical Mgnt
port can not be used
for iSCSI traffic (out-
of-band)
The ETH1 port can
be used for
management and
iSCSI traffic
simultaneously (in-
band.)
LCD Buttons
The V-Switch 3000 has buttons next to its LCD display. You can use these to
assign the initial setup parameters.
To assign management IP for V-Switch 3000 via the LCD buttons:
Toggle the LCD buttons to set an IP address and IP mask.
For example: IP Address: 192.168.1.1
IP Mask: 255.255.255.0
Select which physical port you want to use for management:
Mgnt or Eth1 (first iSCSI port).
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
and hardware temperature scale.
Changing General Management Parameters
You can change V-Switch management parameters (IP address and mask) or
UDP port number as well as include details of whom to contact in the event of
technical difficulties and which read/write communities to send traps to. Use
the CLI command device set to add or change management parameters.
This command will not appear in the CLI menu until the V-Switch is initialized.
device set
You can define or change thirteen parameters using this command:
SWITCH PARAMETER DEFINITION STATUS EXAMPLE
4-6 SANRAD V-Switch CLI User Manual
-n
-ip
NAMEUSER-ASSIGNED
MANAGEMENT IP
ADDRESS
NAME FOR THE
S
WITCH
ADDRESS OF THE
IP
MANAGEMENT PORT
OPTIONAL
V-
OPTIONAL
VSwitch1
212.199.43.47
Page 59
SWITCH PARAMETER DEFINITION STATUS EXAMPLE
-im
MANAGEMENT IP
MASK
MASK FOR THE
IP
MANAGEMENT PORT
OPTIONAL
DEFAULT:
255.255.255.0
-p
-if
-d
-t
-c
-loc
-rld
UDP PORTPORT THROUGH
WHICH ALL
COMMUNICATIONS
WILL FLOW
NAMELY FOR
INTERFACE ALIASALIAS OF PORT FOR
DATELOCAL DATEOPTIONAL
TIMELOCAL TIMEOPTIONAL
CONTACTCONTACT PERSON
LOCATIONLOCATION OF THE
REPORT LUN
DISCOVERY
MANAGING
S
WITCH
IN THE EVENT OF A
SYSTEM
MALFUNCTION
CONTACT PERSON
MODE FOR
DISCOVERING
DEVICE
UDP
–
SNMP
V-
LUNS
OPTIONAL
DEFAULT:161
OPTIONAL
DEFAULT: MGMT
(ETH1 OR
MGMT
)
OPTIONAL
OPTIONAL
OPTIONAL
YES OR NO
DEFAULT: YES
21/07/2002
13:30
AnnaLevin
ext4838
no
-telnet
-rcom
-wcom
TELNET PORTPORT FOR V-
READ
COMMUNITY
WRITE
COMMUNITY
temperature_units
S
WITCH
COMMUNICATIONS
COMMUNITY TO
GET INFORMATION
COMMUNITY TO SET
INFORMATION
TEMPERATURE
SCALE TO DISPLAY
HARDWARE
TEMPERATURES IN
CELSIUS OR
FAHRENHEIT
OPTIONAL
DEFAULT:23
OPTIONAL
DEFAULT:
PUBLIC
OPTIONAL
DEFAULT:
PRIVATE
OPTIONAL
C OR F
:
DEFAULT:
CELSIUS
1597
Chapter 4: V-Switch Configuration 4-7
Page 60
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.
You can now connect to the V-Switch 1 Gb Ethernet port or 10/100Mb
management port and begin managing the V-Switch operations and the
attached SAN.
Checking the V-Switch Configurations
After setting the general V-Switch Management configurations, you can use the
CLI command info to access the V-Switch Configuration table and view the
current configuration, including whom to contact in the event of technical
difficulties.
info
Table 4-1: V-Switch Configuration
Parameter Value
Name VSwitch1
Description SW Version 2.0, build 4,patch 0
Board version 1, PCB version 0
ID -1
Contact Anna Levin
Location Ext. 4838
Status OK
Object ID 1.3.6.1.4.1 10059 1.1.2
Time Since Last Reset 12 days 17 hours 29 min 32 sec
Mgmt IP Address 212.199.43.47
Mgmt UDP Port 161
Date & Time [DD/MM/YY] 21/04/02 13:33
Telnet Port 23
Eth Up
FC Up
Read Community Public
Write Community Private
st
of
4-8 SANRAD V-Switch CLI User Manual
Page 61
Changing the Telnet Communications Port
If your Telnet communications connection to the V-Switch traverses a firewall,
the standard Telnet communications port 23 may be blocked by the firewall as a
security measure. To enable Telnet communications to the V-Switch, you can
designate an alternate port using the CLI command device set -telnet.
This port can be opened in the firewall for dedicated Telnet-V-Switch
communications.
device set -telnet
Example:
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. Any SNMP manager using
the correct default read and write communities can get and set MIB variables.
If you are working with StoragePro, the V-Switch GUI management system,
StoragePro will automatically add itself as the SNMP manager. The default
SNMP communities are public for read and private for write. The default
communities can be changed by an administrator.
Adding an SNMP Manager
To get trap notifications, an SNMP manager must be registered as a SNMP
manager in the database of the SNMP agent. You can register as a SNMP
manager by using CLI command snmp manager add.
snmp manager add
You need to define five parameters to add an SNMP manager:
SWITCH PARAMETER DEFINITION STATUS EXAMPLE
-ip
-p
-rcom
IP ADDRESSMANAGER IP
UPD PORT PORT TO RECEIVE
READ COMMUNITYCOMMUNITY FOR
ADDRESS
TRAPS THROUGH
MANAGER TO GET
INFORMATION
MANDATORY
OPTIONAL
DEFAULT:162
OPTIONAL
DEFAULT:
PUBLIC
Chapter 4: V-Switch Configuration 4-9
212.199.43.96
162
public
Page 62
SWITCH PARAMETER DEFINITION STATUS EXAMPLE
-wcom
-trap
WRITE COMMUNITYCOMMUNITY FOR
TRAPTO SEND TRAPS TO
MANAGER TO SET
INFORMATION
MANAGER
OPTIONAL
DEFAULT:
PRIVATE
OPTIONAL
YES: SEND
NO: DO NOT
SEND
DEFAULT: YES
private
yes
Example
An SNMP manager is added on IP address 212.199.43.96. It receives traps
through port 162. The manager receives information through the public
community and writes information through the private community.
You can set SNMP read and write communities to regulate SNMP manager
access to variables. Use the CLI command device set to change the default
read and write SNMP communities. Use the CLI command info to check the
default communities.
device set.
You need to define two parameters to change the default SNMP communities:
SWITCH PARAMETER DEFINITION STATUS EXAMPLE
-rcom
-wcom
READ COMMUNITYCOMMUNITY TO
WRITE COMMUNITYCOMMUNITY TO SET
GET INFORMATION
INFORMATION
OPTIONAL
DEFAULT:
PUBLIC
OPTIONAL
DEFAULT:
PRIVATE
4-10 SANRAD V-Switch CLI User Manual
Page 63
Adding User Login Profiles
All CLI names and
aliases are case
sensitive.
After logging in to a V-Switch, a total of ten user profiles (name plus
password) can be configured on a V-Switch using the CLI command
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.
Both fields are case sensitive and accept all characters, including spaces.
Example
admin add
You need to define two parameters to configure a user profile:
SWITCH PARAMETER DEFINITION STATUS EXAMPLE
-un
-pw
USER NAMEUSER NAMEMANDATORY
PASSWORDUSER PASSWORDMANDATORY
6
CHARACTER
MINIMUM
Joe Cool
123456
Example
admin add –un Joe Cool –pw 123456
For information on changing or removing user profiles, please see “User
Profiles”.
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.
Chapter 4: V-Switch Configuration 4-11
Page 64
Table 4-2: V Switch Interfaces
Type Name Description Alias Phys Address
RS232 cons RS232 Management
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. Use the CLI command fc set to change the
FC storage port communication speed; the port type or connection mode.
fc set
You need to define four parameters to reconfigure an FC port:
SWITCH PARAMETER DEFINITION STATUS EXAMPLE
-if
-sp
INTERFACE STORAGE PORTMANDATORY
SPEED FC
COMMUNICATION
SPEED
OPTIONAL
AUTO:0
1
GB:1
2
GB:2
fc2
1
-pt
-cm
Chapter 4: V-Switch Configuration 4-13
PORT TYPETYPE OF FC PORTOPTIONAL
CONNECTION MODEOPTIONAL
N OR NL
FAB: FABRIC
PRL: PRIVATE
LOOP
PUL: PUBLIC
LOOP
nl
private
Page 66
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 V-Switch1
Description SW Version 1.5, build 5,patch 0
Board version 1, PCB version
WWNN 20:00:20:10:58:00:10:46
Function Gateway
Configuring the Network Ports
Each network port
must be located on a
separate subnet.
Each network port
can have more than
one IP address.
To connect the V-Switch to the network you need to assign IP parameters
to each 1Gb Ethernet network port connected to a network. Each network
port must be located on a separate subnet. Each network port can have
more than one IP address. Use the CLI command ip config set to
assign IP parameters. Once configured, each network port will provide an
access point for hosts to the storage network. Once access is gained, a host
will be able to read from and/or write into the storage network.
ip config set
You need to define three parameters to configure each network port:
SWITCH PARAMETER DEFINITION STATUS EXAMPLE
Executing this
command on the
same network port
with a different IP
address will not reset
the network port
address. It will add
another IP address to
the network port
-ip
-if
-im
IP ADDRESS IP ADDRESS
INTERFACE ALIAS
OR NAME
IP MASK IP NET MASKOPTIONAL
ASSIGNING TO THE
INTERFACE PORT
NETWORK
INTERFACE PORT
MANDATORY
MANDATORY
ETH1, ETH2,
ETH
DEFAULT:
255.255.255.0
3
212.199.43.56
eth1
4-14 SANRAD V-Switch CLI User Manual
Page 67
SWITCH PARAMETER DEFINITION STATUS EXAMPLE
-act
ACTIVITYIF IP ADDRESS IS
ACTIVE TO EXPOSE
VOLUMES
.USE
INACTIVE STATUS
TO ALLOW
FAILOVER
.
PTIONAL
O
D
EFAULT:1
(ACTIVE)
2
(INACTIVE)
1
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 VSwitch cluster, each IP address must be configured on both V-Switches in the VSwitch cluster. For more information on V-Switch clusters, see “Introduction to
V-Switch Clusters”.
Example:
The IP address 212.199.43.56 is assigned to the 1 Gb Ethernet port Eth1.
ip config set –ip 212.199.43.56 –if eth1 –act 1
10224
212.199.43.56
Figure 4-3. Ethernet Port 1 IP Address
Checking the IP Configurations
After setting the management and network port IP addresses, you can use the
CLI command ip config show to access the IP Configuration Table and
view all assigned port IP addresses.
ip config show
Table 4-3: V-Switch IP Configuration Table
If Name IP Address Net Mask Activity
mgmt 212.199.43.46 255.255.255.0 Active
eth1 212.199.43.56 255.255.255.0 Active
eth1 212.199.43.57 255.255.255.0 Inactive
eth2 212.199.75.66 255.255.255.0 Active
eth3 212.199.12.67 255.255.255.0 Inactive
eth3 212.199.12.70 255.255.255.0 Active
Chapter 4: V-Switch Configuration 4-15
Page 68
10225
212.199.75.66212.199.43.46
212.199.43.56
212.199.43.57
212.199.12.67
212.199.12.70
Figure 4-4. V-Switch IP Adresses
Removing an IP Address
An IP address that
has a portal
configured on it
cannot be removed.
SWITCH PARAMETER DEFINITION STATUS EXAMPLE
Network ports can have multiple IP addresses. You can remove an IP
address that is no longer relevant from a network port using the CLI
command ip config remove. You can remove the last network IP
address from a port, but you cannot remove the management 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 VSwitch clusters, see “Introduction to V-Switch Clusters”.
ip config remove
You need to define one parameter to remove a network port IP address:
-ip
IP ADDRESS IP ADDRESS TO
REMOVE FROM THE
NETWORK
INTERFACE PORT
MANDATORY
212.199.12.70
Example:
The IP address 212.199.12.70 is removed from Eth3 leaving the port with only
one IP address, 212.199.12.67.
ip config remove –ip 212.199.12.70
4-16 SANRAD V-Switch CLI User Manual
Page 69
10226
212.199.75.66212.199.43.46
212.199.43.56
212.199.43.57
212.199.12.67
Figure 4-5. Ethernet Port 3 with One IP Address
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
SLP
iSNS
iSCSI Discovery Session
The V-Switch supports iSCSI discovery sessions for reporting iSCSI targets to
iSCSI initiators. A V-Switch network IP address must be configured on the
iSCSI initiator for the initiator to connect to and discover the V-Switch’s
attached iSCSI targets.
SLP
The V-Switch supports Service Location Protocol (SLP) by acting as an SLP
Service Agent (SA). No configuration is necessary. An SLP SA services User
Agents (UAs). UAs are iSCSI initiators that query a network for all attached
iSCSI targets. The V-Switch supports the specific service service:iscsi:target.
Chapter 4: V-Switch Configuration 4-17
Page 70
iSNS
The V-Switch supports Internet Storage Name Service (iSNS) protocol for
advertising its targets and portals on the iSNS server to enable iSCSI initiators
in the 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. See “Volume Exposure & Security”.
ip isns add
You need to define one parameter to add an iSNS server address:
SWITCH PARAMETER DEFINITION STATUS EXAMPLE
-ip
IP ADDRESS IP ADDRESS OF
I
SNS SERVER
MANDATORY
212.199.43.1
Use the CLI command ip isns show to view all added iSCSI server
addresses.
ip isns show
Table 4-4: iSNS Servers
212.199.56.45
Deleting an iSNS Server
Use the CLI command ip isns remove to remove an iSNS server from the VSwitch iSNS client.
ip isns remove
You need to define one parameter to remove an iSNS server address:
SWITCH PARAMETER DEFINITION STATUS EXAMPLE
-ip
IP ADDRESS IP ADDRESS OF
I
SNS SERVER
MANDATORY
212.199.43.1
4-18 SANRAD V-Switch CLI User Manual
Page 71
Configuring iSCSI Portals
Do not create an
iSCSI portal on the
management IP
address.
The V-Switch
supports a maximum
of 100 portals.
To enable communication between iSCSI initiators and iSCSI targets you
need to assign a portal to the iSCSI protocol transport. Use the CLI
command iscsi portal create to create an iSCSI portal. A portal is
the coupling of an 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 VSwitches in the V-Switch cluster. For more information on V-Switch
clusters, see “Introduction to V-Switch Clusters”.
iscsi portal create
You need to define two parameters to configure an iSCSI portal:
SWITCH PARAMETER DEFINITION STATUS EXAMPLE
-ip
-p
IP ADDRESS USER-ASSIGNED
TCP PORT TCP PORT
NETWORK PORT
ADDRESS
THROUGH WHICH
THE I
SCSI
PROTOCOL PASSES
MANDATORY
IP
O
DEFAULT:3260
PTIONAL
212.199.43.66
Example:
An iSCSI portal is created using the default TCP port 3260 for the IP address
212.199.43.66.
iscsi portal create –ip 212.199.43.66
Chapter 4: V-Switch Configuration 4-19
Page 72
Viewing iSCSI Portals
You can view all created portals using the CLI command iscsi portal
show.
iscsi portal show
Table 4-5: iSCSI Portals
Protocol Address Type Address Port
6 ipv 4 212.199.43.56 3260
6 ipv 4 212.199.43.57 3260
Protocol 6 is the transport protocol for iSCSI. Address type IPv 4 designates a
four byte IP address.
Removing iSCSI Portals
You can remove an iSCSI portal using the CLI command iscsi portal
remove. 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”.
iscsi portal remove
You need to define two parameters to remove an iSCSI portal:
SWITCH PARAMETER DEFINITION STATUS EXAMPLE
-ip
-p
IP ADDRESS IP ADDRESS OF
TCP PORT TCP PORT FOR
NETWORK PORT
I
SCSI
COMMUNICATION
MANDATORY
OPTIONAL
DEFAULT:3260
212.199.43.67
5003
4-20 SANRAD V-Switch CLI User Manual
Page 73
Discovery of iSCSI Storage Devices
An iSCSI device can have many portals. Each portal can have remote targets
associated with it. In order for the V-Switch to recognize a portal’s remote
targets, you must define the IP Address of the iSCSI portal. Once defined, the
V-Switch will automatically receive the list of remote targets attached to the
portal.
iscsi discovery rportal 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
SWITCH PARAMETER DEFINITION STATUS EXAMPLE
-ip
-port
-period
IP ADDRESS IP ADDRESS OF
TCP PORT TCP PORT FOR
PERIODPERIOD FOR
NETWORK PORT
I
SCSI
COMMUNICATION
REDISCOVER IN
SECONDS
MANDATORY
OPTIONAL
DEFAULT:
3260
OPTIONAL
DEFAULT:
1800
212.199.43.70
5003
Example:
The V-Switch will poll the network for remote portals every 10 minutes.
iscsi discover rportal set –ip 212.199.43.66 –period 600
Chapter 4: V-Switch Configuration 4-21
Page 74
iscsi discovery rportal discover
This command allows you discover remote iSCSI portals.
iscsi discovery rportal discover
SWITCH PARAMETER DEFINITION STATUS EXAMPLE
-ip
-port
IP ADDRESS IP ADDRESS OF
TCP PORT TCP PORT FOR
NETWORK PORT
I
SCSI
COMMUNICATION
MANDATORY
OPTIONAL
DEFAULT:
3260
212.199.43.70
5003
iscsi discovery rportal add
This command adds an iSCSI remote portal.
iscsi discovery rportal add
SWITCH PARAMETER DEFINITION STATUS EXAMPLE
-ip
-port
-period
IP ADDRESS IP ADDRESS OF
TCP PORT TCP PORT FOR
PERIODPERIOD FOR
NETWORK PORT
I
SCSI
COMMUNICATION
REDISCOVER IN
SECONDS
MANDATORY
OPTIONAL
DEFAULT:
3260
OPTIONAL
DEFAULT:
1800
212.199.88.22
5003
Example:
Add the iSCSI remote portal 212.199.88.22 and rediscover it every 10 minutes.
To enable communications between the V-Switch and IP networks located
outside the V-Switch LAN, you must configure IP routing paths for each
external network port. 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.
In Figure 4-6, you have two V-Switches connected to three different LANs (A,
B, C). In turn, each LAN is connected to at least one external network (D, E, F).
On V-Switch 1, network ports Eth1 and Eth2 can both access Network D:
PORT LAN ROUTER LEG
ETH1 A 20.20.10.20
ETH2 B 30.30.20.20
Only one of these paths can be configured for V-Switch 1.
Chapter 4: V-Switch Configuration 4-23
Page 76
Clou
Network E
d
10.11.30.0
Network F
10.12.40.0
Clou
d
Network D
10.10.20.0
R
12.11.20.20
R
30.30.20.20
20.20.10.20
D
A
Etherne
LAN A
t
V Switch 1V Switch 2
D
B
Etherne
Cloud
LAN B
t
20.22.11.11
Etherne
LAN C
t
R
10227
Figure 4-6. IP Routing Options
Adding an IP Route
You can enable communications to networks outside of your LAN by
configuring an IP routing path. This allows volume access to hosts located on
external networks. 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
information on V-Switch clusters, see “Introduction to V-Switch Clusters”.
ip route add
You need four parameters to configure an IP routing path.
SWITCH PARAMETER DEFINITION STATUS EXAMPLE
4-24 SANRAD V-Switch CLI User Manual
-dip
-dmask
-gw
DESTINATION IP IP OF HOST
DESTINATION
MASK
GATEWAY IP
ADDRESS
NETWORK
MASK OF HOST
IP
NETWORK
ADDRESS OF THE
IP
GATEWAY ROUTER
MANDATORY
10.10.20.0
MANDATORY
255.255.255.0
MANDATORY
30.30.20.20
Page 77
SWITCH PARAMETER DEFINITION STATUS EXAMPLE
-if
INTERFACE
ALIAS
NETWORK PORT TO
OPEN
COMMUNICATION
THROUGH
MANDATORY
eth2
Example:
An IP routing path to Network D, IP 10.10.20.0, (IP mask 255.255.255.0) is
mapped from network port Eth2 through router gateway 30.30.20.20.
ip route add –dip 10.10.20.0 –dmask 255.255.255.0 –gw
30.30.20.20 –if eth2
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. To change the default gateway, repeat the command with the new
default gateway IP address.
ip route default
You need two parameters to configure a default IP routing path.
SWITCH PARAMETER DEFINITION STATUS EXAMPLE
-gw
-if
GATEWAY IP ADDRESS OF
INTERFACE
ALIAS
DEFAULT GATEWAY
NETWORK PORT TO
OPEN
COMMUNICATION
THROUGH
MANDATORY
OPTIONAL
MGNT OR ETH1
DEFAULT: ETH1
20.20.10.20
eth1
ip route default –gw 20.20.10.20
Chapter 4: V-Switch Configuration 4-25
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.
ping
You need one parameter to check an IP routing path from the V-Switch.
SWITCH PARAMETER DEFINITION STATUS EXAMPLE
-ip
IP ADDRESS IP ADDRESS TO
PING
MANDATORY
172.17.200.69
ping –ip 172.17.200.69
Viewing IP Routes
After creating an IP routing path to an external network, you can view it and
any other configured IP routing path. Use the CLI command ip route show
to view a V-Switch’s routing table.
ip route show
Table 4-6: V-Switch IP Routing Paths
Dest IP
Dest Mask InterfaceGateway TOS
Address
10.10.20.20 255.255.255.0Eth2 30.30.20.20
10.12.40.40 255.255.255.0Eth3 20.22.11.11
Removing an IP Route
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 VSwitch databases. For more information on V-Switch clusters, see
“Introduction to V-Switch Clusters”.
4-26 SANRAD V-Switch CLI User Manual
Page 79
ip route remove
You need three parameters to remove an IP routing path.
SWITCH PARAMETER DEFINITION STATUS EXAMPLE
-dip
-dmask
-if
DESTINATION IP IP OF HOST
DESTINATION
MASK
INTERFACE
ALIAS
STATION
MASK OF HOST
IP
STATION
NETWORK PORT TO
OPEN
COMMUNICATION
THROUGH
MANDATORY
MANDATORY
MANDATORY
10.12.40.0
255.255.255.0
eth3
Example:
The routing path to destination network IP 10.12.40.0 (IP mask 255.255.255.0) is
removed from network port 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 “Configuring a Cluster”. If you are still
working with a single V-Switch, you can now begin creating virtual volumes.
Continue with “Chapter 6. Volume Configuration”.
Chapter 4: V-Switch Configuration 4-27
Page 80
4-28 SANRAD V-Switch CLI User Manual
Page 81
IN THIS
CHAPTER
Introduction to
V-Switch Clusters
Configuring a
V-Switch Cluster
Managing a Cluster
V-Switch Cluster Configuration
You can configure a V-Switch cluster using two V-Switches of the
same type. A cluster is a group of storage units and switches that
function as one unit for virtualization and provide high
availability in the event of V-Switch failover.
A cluster can be configured between two V-Switches using CLI or
SANRAD’s StoragePro management GUI. We recommend using
StoragePro for its simplicity of use, particularly for cluster
configuration. For more information on configuring a cluster
using StoragePro, consult the StoragePro User Manual and on-line
help system. If you prefer to use CLI, continue with this chapter.
5
If your network still contains only one V-Switch, you can skip this
chapter and continue with Chapter 7 “Volume Exposure &
Security”.
Chapter 5: V-Switch Cluster Configuration 5-1
Page 82
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 VSwitch interacts in an active-active, peer-to-peer fashion with the other VSwitch, 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.
All virtual volumes are accessible to each V-Switch and the exposing V-Switch
is defined per volume.
In Figure 5-1, two V-Switches are connected to one JBOD. From the four
physical disks, two virtual volumes have been created, both equally accessible
to both V-Switches.
SANRAD V-Switches
are both fully
operational in a
cluster. No V-Switch
must sit in stand-by
mode.
Both V-Switches are also connected to two hosts via the IP SAN. The
volume exposure of the two virtual volumes is balanced equally between
the two V-Switches. Volume 1 is exposed via V-Switch 1 to Host 1,
represented by the orange dashed line. Volume 2 is exposed via V-Switch
2 to Host 2, represented by the purple dotted line.
The volume exposure is balanced equally between the two V-Switches
with one volume exposed on each V-Switch for best resource utilization.
5-2 SANRAD V-Switch CLI User Manual
Page 83
When creating a
cluster, it is
recommended that
the same port on
each V-Switch is
used to connect to
the same storage
device. This
increases the chance
of the storage device
receiving the same
default storage
number on both V-
Switches during their
auto-discovery
cycles. This, in turn,
makes cluster
configuration easier.
.
iSCSI
initiator
Tower box
IP1,Target 1IP2,Target 2
V Switch 1V Switch 2
Host 1
IP1-active
IP2-inactive
iSCSI Target 1
wwui1
Vol 1
LU0
Disk 1Disk 2
Cloud
IP SAN
JBOD
Disk 4Disk 3
iSCSI
initiator
iSCSI Target 2
wwui2
Vol 2
LU0
10267
Tower box
Host 2
IP1-inactive
Vol 2Vol 1
IP2-active
When working in a
cluster, the V-Switch
can support a
maximum of 100
portals: 50 active
and 50 inactive.
Clusters also provide high availability in the event of V-Switch failover.
Each network port on the V-Switch is configured with its own active, or
functioning, IP addresses as well as inactive, or dormant, neighbor IP
addresses. If one V-Switch goes off-line, the remaining V-Switch activates
its neighbor’s IP addresses. The hosts continue to access volume targets
through the same IP address without sensing that their ‘regular’ V-Switch
has gone offline or noticing any impact on storage performance.
When working with RAID controllers, it is imperative that all LUNs in the
Chapter 5: V-Switch Cluster Configuration 5-3
Figure 5-1. V-Switch Cluster Configuration
Page 84
RAID controller are simultaneously exposed through all ports connected
to both V-Switches for the V-Switches to provide high availability during a
V-Switch failover.
In Figure 5-2, V-Switch 1 has gone off-line. V-Switch 2 activates V-Switch 1’s IP
address and takes over exposure of Volume 1 to Host 1, represented by the
orange dashed line.
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 offline V-Switch.
iSCSI
initiator
Tower box
IP1,Target 1IP2,Target 2
V Switch 1V Switch 2
Host 1
IP1-inactive
IP2-inactive
iSCSI Target 1
wwui1
Vol 1
LU0
Cloud
IP SAN
iSCSI
initiator
iSCSI Target 2
wwui2
Vol 2
LU0
Tower box
Host 2
Vol 2Vol 1
IP2-active
IP1-active
Figure 5-2. Re-routing Storage Ac cess with Off-line V-Switch
5-4 SANRAD V-Switch CLI User Manual
JBOD
Disk 1Disk 2
Disk 4Disk 3
10268
Page 85
Configuring a V-Switch Cluster
Setting the V-Switch ID
When you configure a cluster, you must give each V-Switch a different device
ID for proper cluster functioning. Use the CLI command device set to
configure the V-Switch ID for each V-Switch.
device set
SWITCH PARAMETER DEFINITION STATUS EXAMPLE
All CLI names and
aliases are case
sensitive.
-id
V-SWITCH ID ID OF V-SWITCH
IN A CLUSTER
EACH V-SWITCH
MUST HAVE A
DIFFERENT
ID
MANDATORY IN
A CLUSTER
0
OR 1
1
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
Adding a Neighbor
When you configure a cluster, you must tell each V-Switch that it has a
neighbor and how to contact its neighbor. Use the CLI command
neighbor add to inform each V-Switch of its neighbor.
You must inform each V-Switch of its neighbor in a cluster. That means
that you must tell V-Switch 1 of V-Switch 2 and V-Switch 2 of V-Switch 1.
When creating a cluster, first ensure that you have configured all IP addresses
in the correct active/inactive phase as well as portals and IP routes on both VSwitches. For more information on configuring the V-Switch, see Chapter 4 “V-
Switch Configuration”.
Chapter 5: V-Switch Cluster Configuration 5-5
Page 86
neighbor add
You need to define two parameters to notify a V-Switch of a neighbor.
SWITCH PARAMETER DEFINITION STATUS EXAMPLE
-nb
-ip
NEIGHBORALIAS OF NEIGHBOR
IP ADDRESS IP ADDRESS OF
TO ADD TO
CLUSTER
MGMT PORT ON
NEIGHBOR
MANDATORY
MANDATORY
VSwitch2
212.199.43.75
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
5-6 SANRAD V-Switch CLI User Manual
Page 87
iSCSI
initiator
iSCSI
initiator
Vol 2Vol 1
All V-Switch
database
configurations must
be replicated in both
V-Switches when
creating a V-Switch
cluster, including IP
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 may need to be
changed, depending on the number of internal bus drives in the attached SCSI
storage system. Consult your SCSI system manual to verify if your SCSI device
has one or two internal buses. If your SCSI device has one internal bus, both VSwitches 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.
Use the CLI command pscsi set busid to change the SCSI bus ID on one
of the V-Switches.
pscsi set busid
SWITCH PARAMETER DEFINITION STATUS EXAMPLE
-if
-id
INTERFACESTORAGE PORT
ID PSCSIID NUMBER
NUMBER
BETWEEN
/ALIAS
0 AND 15
MANDATORY
MANDATORY
pscsi3
12
Example
pscsi set busid if pscsi3 –id 12
Maintaining Cluster Communications
Once a V-Switch knows that it has a neighbor, it begins sending out a regular
keep alive signal to its neighbor that it is on-line. The V-Switch also begins
listening for the keep alive signal from its neighbor. The keep alive signal is
transmitted through all connecting paths between each neighbor. Thus, if one
path fails, the remaining path(s) will still carry the keep alive signal.
If a specified time period passes without a keep alive signal from the neighbor,
a suspicious interval, measured in seconds, is entered. The V-Switch suspects
that its neighbor has gone off-line and begins preparing to activate the neighbor
IP addresses to take over volume exposure.
If a keep alive signal is received during the suspicious interval, the timer is reset
and the V-Switch continues to function as usual. If a keep alive signal is not
received by the end of the suspicious interval, a dead interval is entered. At the
end of the dead interval, the neighboring V-Switch is considered off-line, the
failover process is initiated and the on-line V-Switch actives the neighbor IP
addresses and takes over volume exposure.
5-8 SANRAD V-Switch CLI User Manual
Page 89
Use the CLI command cluster show to view the keep alive parameters of a
cluster.
cluster show
Last Keep Alive KeepAlive Int(s) Susp Int(s) Dead Int(s)
Example:
Every 2 seconds V-Switch 1 sends out a keep alive signal. If, after 6 seconds
from the last keep alive signal, V-Switch 1 does not receive another keep alive
signal from its neighbor, it enters a suspicious interval. If, after 10 seconds from
the last keep alive signal, V-Switch 1 enters a dead interval and begins
activating the failover process.
1 2 6 10
Enabling and Disabling Failover
Once you have configured your cluster parameters, you need to enable the
failover functionality. Use the CLI command cluster failover enable to
enable this functionality. This command must be executed on both 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.
cluster failover disable
Further V-Switch Cluster Configurations
After configuring neighbor parameters on each V-Switch, you need to configure
identical volume configuration and exposure details on each V-Switch in the
cluster. Please refer to Chapter 6 “Volume Configuration” for information on
configuring volumes. Please refer to Chapter 7 “Volume Exposure &
Security” for information on exposing volumes.
Please refer to Appendix A “Configuring a Cluster” for a working example of a
full cluster configuration.
Chapter 5: V-Switch Cluster Configuration 5-9
Page 90
Viewing V-Switch Neighbor Details
Use the CLI command neighbor show to view the neighbor configured on a
V-Switch.
neighbor show
Table 5-1: Neighbors in a Cluster
Name IP Address UDP SNMP Timeout
(msec)
VSwitch2 212.199.43.75 161
SNMP # of
Retries
Use the CLI command neighbor details to list the details of a neighbor in a
cluster.
neighbor details
You need to define one parameter to list neighbor details.
SWITCH PARAMETER DEFINITION STATUS EXAMPLE
-nb
NEIGHBORALIAS OF NEIGHBOR
IN CLUSTER
MANDATORY
VSwitch2
Table 5-2: Neighbor Details
Neighbor Name VSwitch2
IP Address 212.199.43.75
Last Received Keep Alive: 3
Status Alive
Lock Status srOpen
A neighbor’s status can be alive, suspicious or dead. The lock status can be
open, master lock or slave lock. The lock status is not currently configurable
and the default status is open.
5-10 SANRAD V-Switch CLI User Manual
Page 91
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.
SWITCH PARAMETER DEFINITION STATUS EXAMPLE
-nb
-ip
NEIGHBOR ALIASNEIGHBORING V-
NEIGHBOR
MANAGEMENT
ADDRESS
IP
S
WITCH IN
CLUSTER
MANAGEMENT IP
OF THE
NEIGHBORING
S
WITCH
OPTIONAL
OPTIONAL
V-
VSwitch2
212.199.43.75
Use the CLI command neighbor remove to remove a neighbor from a
cluster.
neighbor remove
You need to define two parameters to remove a neighbor.
SWITCH PARAMETER DEFINITION STATUS EXAMPLE
-nb
-ip
NEIGHBOR ALIASNEIGHBORING V-
NEIGHBOR
MANAGEMENT
ADDRESS
IP
S
WITCH IN
CLUSTER
MANAGEMENT IP
OF THE
NEIGHBORING
S
WITCH
MANDATORY
MANDATORY
V-
VSwitch2
Use the CLI command cluster set to modify the default keep alive
intervals.
cluster set
Chapter 5: V-Switch Cluster Configuration 5-11
Page 92
You need to define the parameters you want to modify in the keep alive
interval.
SWITCH PARAMETER DEFINITION STATUS EXAMPLE
-kai
-sint
-fint
KEEP ALIVE
INTERVAL
SUSPICIOUS
INTERVAL
FAILOVER INTERVALTIME W HEN
TIME BETWEEN
ALIVE SIGNALS
FROM NEIGHBORS
TIME FROM WHEN A
SIGNAL WAS
EXPECTED BUT NOT
RECEIVED
SUSPICIOUS
INTERVAL IS
EXCEEDED
OPTIONAL
DEFAULT:2 SEC
OPTIONAL
DEFAULT:6 SEC
OPTIONAL
DEFAULT:
10
SEC
5
10
10
5-12 SANRAD V-Switch CLI User Manual
Page 93
IN THIS
CHAPTER
Introduction to
Volume
Configuration
Identifying
Available Storage
Devices
Creating a
Transparent
Volume
Creating a Subdisk
(LUN Carving)
Creating a Simple
Volume
Creating a
Concatenated
Volume
Creating a Striped
Volume
Creating a Mirrored
Volume
Creating a RAID 10
and RAID 0+1
After you have configured the V-Switch general parameters, you
can begin defining the storage topology using the Volume Manager.
Using the Volume Manager, you can create subdisks on physical
disk storage devices or leave the physical disk as is. These physical
volumes can then be used to create the following types of virtual
volumes:
Transparent
Simple
Concatenated
Striped
Mirrored
RAID 10 and 0+1
Volume Configuration
6
Chapter 6: Volume Configuration 6-1
Page 94
Introduction to Volume Configuration
This chapter describes how to identify the SAN storage devices and use them to
create subdisks and virtual volumes. Each description includes:
A general description and generic diagram.
The basic command, switches and parameters needed to execute the
command.
An example of how to use the command with an accompanying
diagram.
The specific examples used in this chapter contain two JBODs; each JBOD
having four disks, each with a volume of 18 GB. See the example in Figure 6-1.
The Volume Manager names all disks automatically during the auto-discovery
process. For FC, this name includes FC disk’s World Wide Unique Identifier (WWUI) serial number. For SCSI, this name includes the SCSI disk port number
and SCSI bus ID. This name is important in identifying disks for re-creating
volume hierarchies on both V-Switches in a cluster.
JBOD 1JBOD 2
Disk 1Disk 2
Disk 3Disk 4
Disk 5Disk 6
Disk 7Disk 8
10070
Figure 6-1. Physical Storage used in Examples
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 Chapter 5 “
6-2 SANRAD V-Switch CLI User Manual
Error! Not a valid filename.".
Page 95
Identifying Available Storage Devices
The V-Switch
supports a maximum
of 512 disks.
Before beginning to configure virtual volumes, you need to know which
storage devices are available. Use the CLI command storage show to
show the available storage devices and their corresponding aliases needed
to configure volumes
storage show
Table 6-1: Storage Devices
Alias Entity Name LUN Oper. Status Type
Stor_1 500507606058c9000 Enabled entire
The storage device operating status has four options.
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.
Unknown denotes that a storage device is connected but is issuing
parameters not understandable to the V-Switch.
If a subdisk has been created on a disk, the subdisk status in the disk details
will display split. If no subdisks were created, the subdisk status will display
entire.
Not all storage
devices are able to
support this feature.
Chapter 6: Volume Configuration 6-3
The V-Switch automatically generates and assigns storage aliases as each
device is discovered. Use the CLI command storage blink activate
to identify the actual physical device for an alias.
storage blink activate
Page 96
You need to define two parameters to blink a storage device:
SWITCH PARAMETER DEFINITION STATUS EXAMPLE
-s
-t
STORAGE DEVICEALAIS OF DEVICE
TIMELENGTH OF TIME TO
TO BLINK
BLINK DEVICE
MANDATORY
OPTIONAL
1-3600
SEC
0=
FOREVER
DEFAULT:0
Stor_1
120
Example:
The storage device, Stor_1, is set to blink for two minutes (one hundred and
twenty seconds) to allow it to be identified.
storage blink activate –s Stor_1 –t 120
Use the CLI command storage blink abort to stop the blinking before the
end of the set time.
storage blink abort
You need to define one parameter to stop blinking a storage device:
SWITCH PARAMETER DEFINITION STATUS EXAMPLE
-s
STORAGE DEVICEALAIS OF DEVICE
TO BLINK
MANDATORY
Stor_1
Once a storage device has been identified, use the CLI command storage set
to change the device alias or include helpful information on the device.
storage set
SWITCH PARAMETER DEFINITION STATUS EXAMPLE
-s
-na
-info
STORAGE ALIASSTORAGE ALIAS TO
NEW ALIASNEW ALIAS FOR
INFORMATIONINFORMATION ON
MODIFY
STORAGE
STORAGE TO SET
MANDATORY
OPTIONAL
OPTIONAL
Stor_1
Disk2JBOD5
save_for_snap
shots
Example:
6-4 SANRAD V-Switch CLI User Manual
Page 97
The alias of Stor_1 is changed to Disk2JBOD5 for easier identification and it is
noted to save the disk for snapshots.
storage set –s Stor_1 –na Disk2JBOD5 –info save_for_snap
shots
The V-Switch supports write cache enabling for increased performance. Use
the CLI command storage disk set to enable or disable the write cache.
storage disk set
You need to define two parameters to change a device’s write cache setting:
SWITCH PARAMETER DEFINITION STATUS EXAMPLE
-d
-wce
DISKDISK DEVICEMANDATORY
WRITE CACHE
ENABLED
WRITE CACHE
FUNCTION
MANDATORY
YES OR NO
Disk2JBOD5
yes
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 writeprotected.
storage details
You need to define one parameter to view a disk’s details:
SWITCH PARAMETER DEFINITION STATUS EXAMPLE
-s
STORAGEALIAS OF STORAGE
TO VIEW
MANDATORY
Disk2JBOD5
Table 6-2: Storage Details
Alias: Disk2JBOD5
Entity Name: 2000002037a9551e
LUN(Logical Unit Number) 0000000000000000
Vendor Name: SEAGATE
Additional Info:
Transport type: Fiber Channel
Oper. Status: Enabled
Time since last Update: 8 days 3h:12m:16 sec 37
(1/60 Sec)
SCSI Version: 3
Chapter 6: Volume Configuration 6-5
Page 98
Alias: Disk2JBOD5
Revision Level: 0002ST336704FC
Product Id: ST336704FC
Serial Number: 3CD0FHA400002108XYGLXYGL
Number Of Blocks: 71687369
Block Size: 512
SubDisks: Entire
Write Cache Enabled: true
Write Protected false
Volume sim
Creating a Transparent Volume
Transparent volumes
cannot be used in
further volume
hierarchies.
You can take a physical disk and its existing configured storage data and
convert it to a directly accessible, or transparent, virtual volume using the
CLI command volume create transparent. A transparent volume is
ready for direct host exposure. Please refer to Chapter 7 “Volume
Exposure & Security”.
Tape devices must
be virtualized as
transparent volumes.
Certain vendor storage devices have vendor-specific SCSI commands. To
support these SCSI commands, you can convert these storage devices and
their contained data to transparent volumes.
This is useful if you have a functioning and fully configured RAID module
that you want to use ’as is’. All RAID configurations will be maintained in
the transparent volume.
volume create transparent
You need to define two parameters to create a transparent volume:
SWITCH PARAMETER DEFINITION STATUS EXAMPLE
–vol
-d
VOLUME ALIASUSER-ASSIGNED
DISK ALIASALIAS GIVEN TO
ALIAS FOR THE
VOLUME
THE DISK DURING
DISK AUTO
DISCOVERY
-
O
PTIONAL
DEFAULT:
STORAGE ALIAS
MANDATORY
Trans1
Disk1
6-6 SANRAD V-Switch CLI User Manual
Page 99
Example:
If you are working in
a V-Switch cluster,
this volume must be
configured on both
V-Switches.
In Figure 6-2, the logical unit, LUN0 on Disk 1, is converted directly to a
virtual transparent volume, Transparent 1. This RAID device has only one
LUN. For each LUN configured on a RAID device, the V-Switch registers
a disk. Therefore, a RAID device with five LUNs will appear to the VSwitch as five disks.
volume create transparent –vol Trans1 –d Disk1
Trasparent
Volume 1
Disk 1, LUN0
After creating the transparent volume, you can use the CLI command volume
show to verify the volume creation.
volume show
Chapter 6: Volume Configuration 6-7
10101
RAID Controller
Figure 6-2. Transparent Volume 1
Page 100
Table 6-3: Volume Details
The V-Switch
supports a maximum
of 512 subdisks.
Alias Vol Type # of Blocks Block Size State
Trans1 Transpar 1024 512 Internal
Creating a Subdisk (LUN Carving)
You can create one or more subdisks on a physical disk. The subdisks can
then be converted to simple volumes to be used for creating concatenated,
striped and mirrored virtual volumes. When you create a subdisk, only
the defined area is converted into a subdisk. You must individually
convert each disk area into a subdisk for the physical volume to be usable
by the Volume Manager.
DiskDisk
Figure 6-3. Partitioning a Physical Volume
Disk
Subdisk 1
Subdisk 2
Subdisk n
Simple 1
Simple 2
Simple n
10065
subdisk create
You need to define four parameters to create a subdisk
SWITCH PARAMETER DEFINITION STATUS EXAMPLE
-d
–sl
–sa
DISK ALIASALIAS OF DISK TO
SPLIT LENGTH LENGTH IN
START ADDRESSBLOCK TO BEGIN
SPLIT
BLOCKS OF
SUBDISK
COUNTING THE
SUBDISK LENGTH
FROM
MANDATORY
MANDATORY
(1
BLOCK =
512
BYTES)
OPTIONAL
DEFAULT:0
6-8 SANRAD V-Switch CLI User Manual
Disk1
18000000
0
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.