Overland Storage SnapSAN S5000 User Manual

Overland Storage SnapSAN S5000 User Manual

Data migration
Hide thumbs Also See for SnapSAN S5000:

Advertisement

Quick Links

Overland
SnapSAN
Storage
May 2013
10400414-002
Data Migration
User Guide
S5000

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SnapSAN S5000 and is the answer not in the manual?

Questions and answers

Summary of Contents for Overland Storage SnapSAN S5000

  • Page 1 ™ Overland SnapSAN Data Migration Storage User Guide S5000 May 2013 10400414-002...
  • Page 2 Overland Storage. Overland Storage provides this manual as is, without warranty of any kind, either expressed or implied, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. Overland Storage may make improvements or changes in the product(s) or programs described in this manual at any time.
  • Page 3 Storage Area Network (SAN), and Redundant Array of Independent Disks (RAID) technology. Product Documentation and Firmware Updates Overland Storage [prod_name] product documentation and additional literature are available online, along with the latest release of the [prod_name] nn software. Point your browser to: http: //docs.overlandstorage.com/snapsan...
  • Page 4 SnapSAN S5000 Data Migration User Guide Conventions This user guide exercises several typographical conventions: Convention Description & Usage Boldface Words in a boldface font (Example) indicate items to select such as menu items or command buttons. Ctrl-Alt-r This type of format details the keys you press simultaneously. In this example, hold down the Ctrl and Alt keys and press the r key.
  • Page 5: Table Of Contents

    Listing Information about Logical Disks and Disk Arrays Used for Data Migration ....4-2 Main Options ........................... 4-2 Displaying the Status of Data Migration ................... 4-3 Starting Data Migration ........................4-7 Suspending Data Migration ......................4-8 Restarting Data Migration ......................4-9 10400414-002 05/2013 ©2013 Overland Storage, Inc. ...
  • Page 6 SnapSAN 5000 Data Migration User Guide Appendix A - Notes Appendix B - Licenses Apache License ............................B-1 Flex License ..............................B-1 OpenSSL License ............................B-1 Index 10400414-002 05/2013 ©2013 Overland Storage, Inc. ...
  • Page 7: Chapter 1 - Data Migration

    • Data can be migrated even if the source logical disk and the destination logical disk have different capacities (However, the capacity of the destination logical disk must be equal to or larger than that of the source logical disk capacity). 10400414-002 05/2013  ©2013 Overland Storage, Inc.
  • Page 8: Migration Patterns

    SnapSAN S5000 Data Migration User Guide Figure 1-1: Reduction in Migration Time Realized with the Data Migration Function In data migration, data is acquired from a logical disk of the source disk array and copied onto a logical disk of the destination disk array by executing the data migration function on the destination disk array.Input/output to/from the source logical disk must be completely...
  • Page 9 SnapSAN S5000 Data Migration User Guide 2. When migrating the disk array only from the environment where the application server and the source disk array are connected via the FC switch. 3. When migrating the disk array and the application server from the environment where the application server and the source disk array are connected directly through 4.
  • Page 10 SnapSAN S5000 Data Migration User Guide When migrating the disk array, the application server, and the FC switch from the environment where the application server and the source disk array are connected via the FC switch. 10400414-002 05/2013  ©2013 Overland Storage, Inc.
  • Page 11: Chapter 2 - Function

    • Configuration in which the source and destination disk arrays are connected directly to each other by FC • Configuration in which the source and destination disk arrays are connected via an FC switch 10400414-002 05/2013  ©2013 Overland Storage, Inc.
  • Page 12: Data Migration Methods

    SnapSAN S5000 Data Migration User Guide * In the above configurations, if the source disk array and destination disk array have already been linked by the Remote Replication function, the source disk array will not be subject for data migration.
  • Page 13: Data Migration States And State Transition

    SnapSAN S5000 Data Migration User Guide Figure 2-1: Determination of Data Migration Method (FC Direct Connection Configuration) Data Migration States and State Transition 10400414-002 05/2013  ©2013 Overland Storage, Inc.
  • Page 14: Data Migration States

    SnapSAN S5000 Data Migration User Guide Data Migration States Activity Data Migration Description State A pair of source and destination logical disks has just been set. Data migration Not-migrated (Migrate) Waiting for the start of copying the data from the source logical Queued disk to the destination logical disk to be started.
  • Page 15 SnapSAN S5000 Data Migration User Guide Figure 2-2: Data Migration State Transition Diagram 10400414-002 05/2013  ©2013 Overland Storage, Inc.
  • Page 16: Chapter 3 - System Configuration

    Figure 3-1: Hardware Configuration Software Configuration Select software to use considering the operating devices and the operation mode. A configuration example of software components for using the data migration function is shown below. 10400414-002 05/2013  ©2013 Overland Storage, Inc.
  • Page 17: Phases

    SnapSAN S5000 Data Migration User Guide Figure 3-2: Software Configuration Phases Execution of migration is divided into the following phases: pre-migration processing, migration processing, and post-migration processing. Pre-migration processing Make preparations for data migration. Migration processing Migrate data and operations.
  • Page 18: Details Of Pre-Migration Processing

    SnapSAN Manager (when SnapSAN Manager Express is not used) 3. Unlock the licenses of DataMigration and required program products on the destination disk array. • BaseProduct (for disk array after SnapSAN S5000) • AccessControl (for disk array after SnapSAN S5000) • DataMigration 4.
  • Page 19 SnapSAN S5000 Data Migration User Guide • Unlock the license by selecting [Bind] > [Disk array] > [Unlock license] from the main window menu of SnapSAN Manager Embeded or SnapSAN Manager. If you want to use a command for this operation, log in to the destination disk array with the administrator privilege and execute the iSMcfg command.
  • Page 20: Failed Data Migration

    SnapSAN S5000 Data Migration User Guide iSMcfg command execution example: # iSMcfg setporttype -portnumber 00h-01h -porttype hostdm iSM31001:[ setporttype ]Please wait for a moment..iSM31000:[ setporttype ]Command has completed successfully. ExitStatus:0 Failed Data Migration If rollback is necessary as a result of failed data migration, back up the configuration information of source disk array (especially Access Control information) as follows: 1.
  • Page 21 SnapSAN S5000 Data Migration User Guide During Migration Make FC connection during migration processing, if it is impossible to add FC connection here. a. When migrating the disk array only from the environment where the application server and the source disk array are connected directly through FC.
  • Page 22 SnapSAN S5000 Data Migration User Guide d. When migrating the disk array and the application server from the environment where the application server and the source disk array are connected via the FC switch. • If the destination disk array has one or more empty host connection ports and the FC switch has one or more empty ports, the source disk array and the destination disk array can be connected.
  • Page 23: Migration Processing Stopping The Server

    SnapSAN S5000 Data Migration User Guide 2. To display the WWPN for the destination disk array, select and right-click the disk array from the product display area in the main window of SnapSAN Manager Embedded or SnapSAN Manager and select [Properties] on the properties screen.
  • Page 24 SnapSAN S5000 Data Migration User Guide 1. Stop operations executed on the source logical disk to stop input/output to/from the source logical disk. 2. Stop the cluster in the case of cluster operation. 3. Stop the operation applications that are using the migration target logical disk.
  • Page 25: Unmount The Logical Disk

    SnapSAN S5000 Data Migration User Guide b. When migrating the application server, copy the directories shown below to the source logical disk. * After copied to the destination logical disk during data migration, these directories are used to restore the database on the new application server.
  • Page 26 SnapSAN S5000 Data Migration User Guide f. Use ssh, telnet or other tool with the administrator privilege to log in to the destination disk array. g. Execute iSMmc_ldlist -wwnlist -scandev to check that source disk array is correctly recognized and that the destination disk array recognizes the logical disks in the source disk array.
  • Page 27 SnapSAN S5000 Data Migration User Guide iSMmc_ldlist -list command execution example: # iSMmc_ldlist -list -scandev ------------------------------------------------------------ Vendor WWNN/WWPN LUN(h) Capacity LD Name LDN(h) Device Identification ------------------------------------------------------------ Overaland 2000000991050243/-------- 0300h 100.0 GB EXP167_DATA_1_NEW 0300h 0009910502430300 0301h 100.0 GB EXP167_LOG_1_NEW 0301h 0009910502430301 0302h 100.0 GB...
  • Page 28 SnapSAN S5000 Data Migration User Guide iSMmc_pair -create command execution example: # iSMmc_pair -src EXP167_DATA_1 -srcflg ld -dst EXP167_DATA_1_NEW - dstflg ld -create iSMmc_pair: Info: iSM36005: Pair Create Start 2011/11/19 22:23:59 SRC:EXP167_DATA_1 iSMmc_pair: Info: iSM36006: Pair Create Normal End 2011/11/19...
  • Page 29 SnapSAN S5000 Data Migration User Guide iSMmc_start command execution example: # iSMmc_start -src EXP167_DATA_1 -srcflg ld iSMmc_start: Info: iSM36005: Migrate Start 2011/11/19 22:25:20 SRC:EXP167_DATA_1 iSMmc_start: Info: iSM36006: Migrate Normal End 2011/11/19 22:25:28 SRC:EXP167_DATA_1 iSMmc_start: Info: iSM36001: Command has completed successfully.
  • Page 30 SnapSAN S5000 Data Migration User Guide iSMmc_pair -delete command execution example: # iSMmc_pair -src EXP167_DATA_1 -srcflg ld -dst EXP167_DATA_1_NEW - dstflg ld -delete iSMmc_pair: Info: iSM36005: Pair Delete Start 2011/11/19 22:36:00 SRC:EXP167_DATA_1 iSMmc_pair: Info: iSM36006: Pair Delete Normal End 2011/11/19...
  • Page 31 SnapSAN S5000 Data Migration User Guide For Linux a. Execute the following command with the root privilege. Command example: # ls /sys/class/fc_host/ ? Assuming that host0 and host1 are reported here. # echo "1" > /sys/class/fc_host/host0/issue_lip # echo "1" > /sys/class/fc_host/host1/issue_lip b.
  • Page 32: Migration Processing Stopping Operations

    SnapSAN S5000 Data Migration User Guide For SQL Server (example) Attach the database. sqlcmd -E -b -Q"EXEC sp_attach_db <database-name>, '<mdf-file- path>', '<ldf-file-path>'" 1. Check that the database contents remain the same as before migration. 2. For setting the cluster, perform the following steps: a.
  • Page 33 SnapSAN S5000 Data Migration User Guide This section describes the data migration processing flow. Stopping Operations (Application Server) Stop operations executed on the source logical disk to stop input/output to/from the source logical disk. 1. Stop monitoring operation applications and database in the case of cluster operation.
  • Page 34 SnapSAN S5000 Data Migration User Guide c. When migrating the application server, delete the directories shown below and delete the database instance. $ORACLE_HOME/dbs/ $ORACLE_BASE/admin/<SID-name> $ORACLE_BASE/diag/rdbms/<SID-name> For Windows • Delete services by executing the following command: > oradim -delete -sid <SID-name>...
  • Page 35 SnapSAN S5000 Data Migration User Guide iSMmc_ldlist -wwnlist command execution example: # iSMmc_ldlist -wwnlist -scandev ------------------------------------------------------------ [Port No.(h)] WWNN/WWPN WWNN WWPN Vendor ------------------------------------------------------------ [00-01] 2000000991050243/2200000991050243 200000004C7F0832 200400004C7F0832 Overland [01-01] 2000000991050243/2A00000991050243 200000004C7F0832 200800004C7F0832 Overland ExitStatus:0 Port Connection Relationship Port of Destination Disk array...
  • Page 36 SnapSAN S5000 Data Migration User Guide iSMmc_ldlist -list command execution example: # iSMmc_ldlist -list -scandev ------------------------------------------------------------ Vendor WWNN/WWPN LUN(h) Capacity LD Name LDN(h) Device Identification ------------------------------------------------------------ Overland 2000000991050243/-------- 0300h 100.0 GB EXP167_DATA_1_NEW 0300h 0009910502430300 0301h 100.0 GB EXP167_LOG_1_NEW 0301h 0009910502430301 0302h 100.0 GB...
  • Page 37 SnapSAN S5000 Data Migration User Guide iSMmc_pair -create command execution example: # iSMmc_pair -src EXP167_DATA_1 -srcflg ld -dst EXP167_DATA_1_NEW - dstflg ld -create iSMmc_pair: Info: iSM36005: Pair Create Start 2011/11/19 22:23:59 SRC:EXP167_DATA_1 iSMmc_pair: Info: iSM36006: Pair Create Normal End 2011/11/19...
  • Page 38 SnapSAN S5000 Data Migration User Guide iSMmc_start command execution example: # iSMmc_start -src EXP167_DATA_1 -srcflg ld iSMmc_start: Info: iSM36005: Migrate Start 2011/11/19 22:25:20 SRC:EXP167_DATA_1 iSMmc_start: Info: iSM36006: Migrate Normal End 2011/11/19 22:25:28 SRC:EXP167_DATA_1 iSMmc_start: Info: iSM36001: Command has completed successfully.
  • Page 39 SnapSAN S5000 Data Migration User Guide iSMmc_pair -delete command execution example: # iSMmc_pair -src EXP167_DATA_1 -srcflg ld -dst EXP167_DATA_1_NEW - dstflg ld -delete iSMmc_pair: Info: iSM36005: Pair Delete Start 2011/11/19 22:36:00 SRC:EXP167_DATA_1 iSMmc_pair: Info: iSM36006: Pair Delete Normal End 2011/11/19...
  • Page 40 SnapSAN S5000 Data Migration User Guide a. Update and display the volume list and check that the logical disk is correctly recognized. 4. Mount the destination logical disk using device information displayed in the volume list. For Windows • Mount the logical disk using the volume name displayed in the volume list.
  • Page 41: Migration Processing Stopping Operations

    SnapSAN S5000 Data Migration User Guide Check that Operations can be resumed on the Application Server 7. Rename the logical disk (management server: destination disk array). a. To use a logical disk name unique within the system for operation, allocate the logical disk name used on the source disk array to the destination logical disk name.
  • Page 42 SnapSAN S5000 Data Migration User Guide 3. Stop and delete the database. For Oracle a. Stop the database. b. When migrating the application server, copy the directories shown below to the source logical disk. * After copied to the destination logical disk during data migration, these directories are used to restore the database on the new application server.
  • Page 43 SnapSAN S5000 Data Migration User Guide • To prevent a decrease in I/O performance, it is recommended to specify the speed level option of the iSMmc_start command as 2 or less, or reduce the number of pairs that will be migrated at the same time.
  • Page 44: Post-Migration Processing

    SnapSAN S5000 Data Migration User Guide * This step is not necessary if the application server is not migrated. b. When migrating the application server, start the listener if it is not started. Command example: #lsnrctl start * This step is not necessary if the application server is not migrated.
  • Page 45: Rollback Procedure

    SnapSAN S5000 Data Migration User Guide 2. If you have no plan to use the data migration function, the system volume for data migration can be deleted. 3. Navigate to [Bind] >[Logical Disk] >[Unbind logical disk] > from the main window menu of SnapSAN Manager Embeded or SnapSAN Manager, and then select and delete the "volume reserved for data migration".
  • Page 46 SnapSAN S5000 Data Migration User Guide 1. Stop operations executed on the destination logical disk to stop input/output to/from the destination logical disk. 2. Stop the server if data was being migrated stopping the server. This step is not necessary if data is migrated stopping operations.
  • Page 47: Command List

    The identifier is a character string that indicates the volume type and is used in the following cases: • When specifying the volume type by an argument (-srcflg, -dstflg, or -volflg) of a data migration command. • When specifying the volume type in the data migration operation file. 10400414-002 05/2013  ©2013 Overland Storage, Inc.
  • Page 48: Data Migration Operation File

    SnapSAN S5000 Data Migration User Guide Data Migration Operation File Use the data migration operation file to process multiple pairs in batch when executing the data migration or pair operation command. Using the data migration operation file enables you to specify the operation target pairs in the file to manage and share them.
  • Page 49: Displaying The Status Of Data Migration

    SnapSAN S5000 Data Migration User Guide -wwnn option Acquires or displays the information of logical disks in the external disk array with the specified WWNN. -wwpn option Acquires or displays the information of logical disks in the external disk array connected from the specified WWPN port.
  • Page 50 SnapSAN S5000 Data Migration User Guide Main options The iSMmc_query command recognizes the following options. Specification of volumes to be paired • Source logical disk specification (-src src -srcflg srcflg) Specify the source logical disk and its volume type. • Destination logical disk specification (-dst dst -dstflg dstflg) Specify the destination logical disk and its volume type.
  • Page 51 SnapSAN S5000 Data Migration User Guide iSMmc_pair command The iSMmc_pair command sets or deletes a pair for data migration, displays information about the pairs, and removes the data migration attribute. Main options The iSMmc_pair command recognizes the following options: Specification of pair setting or cancellation Specify whether to set or cancel a pair.
  • Page 52 SnapSAN S5000 Data Migration User Guide Displayed information A list of pairs for data migration is displayed vendor_name wwnn/wwpn (Information about the source) lun/ldn ld_name capacity di_name ---------------------------------------------------------- vendor_name wwnn/wwpn (Information about the destination) lun/ldn ld_name capacity di_name Description vendor_name: Vendor name...
  • Page 53: Starting Data Migration

    SnapSAN S5000 Data Migration User Guide • The destination logical disk cannot be changed from a preserve group to a reserve group. • When binding a logical disk on the destination disk array (SnapSAN S3000/S5000) through the iSM Express or SnapSAN Manager GUI screen, the actual capacity of the...
  • Page 54: Suspending Data Migration

    SnapSAN S5000 Data Migration User Guide • Data migration cannot be started if the activity is "restored", when the destination logical disk is used as a RV. • The following operations cannot be carried out when the destination logical disk is used as a base-volume (BV) by the snapshot function.
  • Page 55: Restarting Data Migration

    SnapSAN S5000 Data Migration User Guide Restarting Data Migration The iSMmc_resume command resumes data migration for the pair for which the data migration has been suspended. Main options The iSMmc_resume command recognizes the following options: Source logical disk specification (-src src -srcflg srcflg) Specify the source logical disk and its volume type.
  • Page 56 SnapSAN S5000 Data Migration User Guide Main options The iSMmc_setconfig command recognizes the following options: Data migration speed level specification (-level level) Specify the speed level of data migration. For level, specify a value from 1 to 5. Data migration processing is given priority corresponding to the specified level, with level 5 as the highest level.
  • Page 57 • The logical disk set as a data migration pair cannot be unbound. Unbind the logical disk after cancelling the data migration pair. • Data migration cannot be executed if 32 application servers are set to be able to reference a logical disk for a data migration port. 10400414-002 05/2013  ©2013 Overland Storage, Inc.
  • Page 58 For terms and conditions for use, reproduction, and distribution, see: http://www.apache.org/licenses/LICENSE-2.0 Flex License For a copy of the license see: http://arcib.dowling.edu/cgi-bin/info2html?(flex.info.gz)Copyright OpenSSL License For a copy of the current LICENSE file inside the CVS repository see: http://www.openssl.org/ 10400414-002 05/2013  ©2013 Overland Storage, Inc.
  • Page 59 Pre-migration processing 3-2 pre-migration processing 3-10 3-15 3-19 iSMmc_change 4-10 product documentation PR-iii iSMmc_ldlist 4-1 iSMmc_pair 4-5 iSMmc_query 4-1 iSMmc_resume 4-1 queued 2-4 iSMmc_setconfig 4-1 4-10 iSMmc_start 4-2 iSMmc_stop 4-1 iSMmc_suspend 4-1 Rollback 3-30 10400414-002 05/2013 @2013 Overland Storage, Inc. ...
  • Page 60 SnapSAN S5000 Data Migration User Guide rollback 3-5 Software Configuration 3-1 software update PR-iii suspended 2-4 System Configuration 3-1 technical support PR-iii typographical conventions PR-iv Volume Types 4-1 10400414-002 05/2013 @2013 Overland Storage, Inc. ...

Table of Contents