Configuration Operations
After planning the network and services, complete specific configurations on the application server and storage systems, so that data can be migrated based on SmartVirtualization and SmartMigration.
Procedure
- Change the network.
- Connect OceanStor Dorado 6000 V6 to the existing network as the network diagram shown in Figure 4-2.
- Create zones on the Fibre Channel switch to ensure normal communication among the HDS USP-V, S5600T, OceanStor Dorado 6000 V6, and AIX-based application server.
For details about how to create zones on the Fibre Channel switch, refer to the user manual of the Fibre Channel switch.
- Log in to the S5600T, and create target LUNs for data migration.
Navigation path: Choose Storage Resources > LUNs > Create > LUN.
The preceding figure shows the parameter settings of Target_LUN_HDS1. When you create Target_LUN_HDS2, set parameters as follows:
- Set Name to Target_LUN_HDS2.
- Set Capacity to 1 TB.
- Set up a logical connection between storage systems.
- Set up a logical connection between the OceanStor Dorado 6000 V6 and the HDS USP-V.
After you allocate the OceanStor Dorado 6000 V6 and the HDS USP-V to the same zone, the HDS USP-V automatically identifies the initiator corresponding to the OceanStor Dorado 6000 V6 and sets up a logical connection.
- Log in to the S5600T, and set up a logical connection between the OceanStor Dorado 6000 V6 and the S5600T.
- Create a host group corresponding to the OceanStor Dorado 6000 V6.
Navigation path: Choose SAN Services > Mappings > Host Groups > Create.
- Create a host corresponding to the OceanStor Dorado 6000 V6.
Navigation path: Choose SAN Services > Mappings > Hosts > Create.
- Map the target LUNs created on the S5600T to the host corresponding to the OceanStor Dorado 6000 V6.
Navigation path: Choose SAN Services > Mappings > Hosts, select the host whose Name is Host_1, and choose Mapping > Add LUN Mapping in the navigation bar.
- Create a host group corresponding to the OceanStor Dorado 6000 V6.
- Set up a logical connection between the OceanStor Dorado 6000 V6 and the HDS USP-V.
- Log in to the OceanStor Dorado 6000 V6, and check whether the SmartVirtualization and SmartMigration licenses are valid.
Navigation path: Choose Settings > License Management.
- Use the OceanStor Dorado 6000 V6 to host LUNs created on the HDS USP-V and the S5600T.
- Create a storage pool that is used to create eDevLUNs.
Navigation path: Choose System > Storage Pools > Create.
- Initiate automatic LUN scanning.
Navigation path: Choose System > External Storage, select the remote device whose Name is HDS USP-V, and click Scan for External LUN.
- Create eDevLUNs.
Navigation path: Choose System > External Storage, select the remote device whose Name is HDS USP-V, and click Create eDevLUN.
The preceding operations are performed to enable the OceanStor Dorado 6000 V6 to host LUNs created on the HDS USP-V. To enable the OceanStor Dorado 6000 V6 to host LUNs created on the S5600T, set parameters as follows:
- Set Name of the remote device to S5600T.
- Set WWNs of the remote LUNs to 60:02:2A:11:00:06:8d:fe:07:a4:a4:6d:26:00:00:00:75 and 60:02:2A:11:00:06:8d:fe:07:a4:a4:6d:26:00:00:00:76.
- Set Name of eDevLUNs to eDevLUN_Target_HDS1 and eDevLUN_Target_HDS2.
- Set Storage Pool to which the eDevLUNs belong to StoragePool1.
- Create a storage pool that is used to create eDevLUNs.
- On the AIX-based application server, perform the following operations to stop services running on the HDS USP-V:
- Close the database and enable the file system to go offline.
- Delete the LUNs mapped from the HDS USP-V and the multipathing software delivered with the HDS USP-V.
rmdev -dl hdiskX//Delete the LUNs mapped to the application server.
smitty remove//Delete the multipathing software delivered with the HDS USP-V.
lslpp -l | grep -i dlmanager//Check whether the multipathing software is deleted. If no command output is displayed, the multipathing software is successfully deleted.
- Remove the AIX-based application server and the HDS USP-V from their joint zone.
- Restart the AIX-based application server.
- Enable the OceanStor Dorado 6000 V6 to take over services.
- Install Huawei UltraPath on the AIX-based application server.
For details about the operation procedure, see the relevant UltraPath user guide (applicable to the AIX operating system).
- Log in to the OceanStor Dorado 6000 V6, and set up a mapping relationship between the AIX-based application server and eDevLUN_HDS1 as well as between the AIX-based application server and eDevLUN_HDS2.
Perform the following operations:
- Create a host.
Navigation path: Choose Services > Block Service > Hosts > Hosts > Create > Create Host.
- Create a host group.
Navigation path: Choose Services > Block Service > Hosts > Host Groups > Create.
- Create a LUN group.
Navigation path: Choose Services > Block Service > LUN Groups > Create.
- Create a mapping.
Navigation path: Choose Services > Block Service > Hosts.
- Create a host.
- On the AIX-based application server, scan for LUNs and start the database.
cfgmgr//Scan for mapped logical disks.
show vlun//Query LUN information.
importvg -y prod hdiskX//Import VG information into the ODM library.
mount /dev/prodlv /Oracle//Mount the file system.
- Install Huawei UltraPath on the AIX-based application server.
- Use SmartMigration to set up a data migration relationship between source LUNs (eDevLUN_HDS1 and eDevLUN_HDS2) and target LUNs (eDevLUN_Target_HDS1 and eDevLUN_Target_HDS2).
Navigation path: Choose Services > Resource Tuning >SmartMigration > Create.
The preceding operations are performed to set up a data migration relationship between eDevLUN_HDS1 and eDevLUN_Target_HDS1. To set up a data migration relationship between eDevLUN_HDS2 and eDevLUN_Target_HDS2, set parameters as follows:
- Source LUN: eDevLUN_HDS2
- Target LUN: eDevLUN_Target_HDS2
- Migration speed: High
- After data migration is complete, stop services running on the OceanStor Dorado 6000 V6.
- Close the database and enable the file system to go offline.
- Remove the OceanStor Dorado 6000 V6 and the AIX-based application server from their joint zone.
- Enable the S5600T to take over services.
- Log in to the S5600T, and set up a mapping relationship between the AIX-based application server and Target_LUN_HDS1 as well as between the AIX-based application server and Target_LUN_HDS2.
Perform the following operations:
- Create a host group.
Navigation path: Choose SAN Services > Mappings > Host Groups > Create.
- Create a host.
Navigation path: Choose SAN Services > Mappings > Hosts > Create.
- Add LUN mappings.
Navigation path: Choose SAN Services > Mappings > Hosts, select the host whose Name is Host_AIX1, and choose Mapping > Add LUN Mapping in the navigation bar.
- Create a host group.
- On the AIX-based application server, scan for LUNs.
cfgmgr//Scan for mapped logical disks.
show vlun//Query LUN information.
importvg -y prod hdiskX//Import VG information into the ODM library.
mount /dev/prodlv /Oracle//Mount the file system.
- Log in to the S5600T, and set up a mapping relationship between the AIX-based application server and Target_LUN_HDS1 as well as between the AIX-based application server and Target_LUN_HDS2.