Adding New Links
After installing the hardware, connecting cables, and configuring switches, you must make configurations on the storage system and the host to allow the added links to work properly.
Prerequisites
- Hardware has been installed, cables connected, and switches configured. You have configured an initiator if iSCSI connectivity is established between the host and storage system. For details, see "Creating an Initiator" in the Basic Storage Service Configuration Guide corresponding to your product model.
- UltraPath has been installed on the application server. For details about the operation procedure, see the UltraPath user guide.
Procedure
- Optional: Add new ports to the port group that has been mapped to the host.
- Log in to DeviceManager.
- In the navigation tree on the right, click
Provisioning.
The Provisioning page is displayed.
- Click Port.
The Port page is displayed.
- On the Port Groups tab page, select the corresponding port group and click Add Port.
The Add Port dialog box is displayed.
- Select the added ports from the list of available ports and click
to add them to the list of selected ports.
- Click OK.
The Execution Result dialog box is displayed.
- Click Close.
- Run show port_group port to check whether the added ports have been added to the port group successfully.
admin:/>show port_group port port_group_id=PGID ETH port: FC port: ID Health Status Running Status Type Working Rate(Mbps) WWN Role Working Mode Configured Mode -------------- --------------- ------------------ -------- ------------------- ---------------- ----------- -------------- ----------------- ENG0.B1.P0 Normal Link Up Host Port 8000 22133333**** INI and TGT -- --
You can also run the add port_group port command to add new ports to the original port group.
- Optional: Add initiators to the host.
- Log in to DeviceManager.
- In the navigation tree on the right, click
Provisioning.
The Provisioning page is displayed.
- Click Host.
The Host page is displayed.
- Select the host to which you want to add initiators and click Add Initiator.
The Add Initiator to Host dialog box is displayed.
- In the list of available initiators, set Initiator Type to FC or iSCSI. Then select the added initiators and click
to add them to the list of selected initiators.
- Click OK.
The Execution Result dialog box is displayed.
- Click Close.
- Run show initiator to check whether the added initiators have been added to the host successfully.
admin:/>show initiator host_id=0 WWN Running Status Free Alias Host ID Multipath Type ---------------- -------------- ---- ----- ------- -------------- 2009200bc79b9952 Online No -- 0 Default
- Rescan for the added paths on the host.
- For Windows operating systems:
- Press Windows+R (if the operation is performed remotely, perform it in full screen mode) to open the Run dialog box.
- Type devmgmt.msc and press Enter.
- In the Device Manager window that is displayed, click View and select Show hidden devices.
- Right-click Disk Drives and choose Scan for hardware changes to start scanning.
- Check whether the number of newly generated UltraPath_Disks is the same as the number of mapped LUNs. If they are not the same, check the LUN mapping and path connection status on the storage device.
- Check whether the number of newly generated SCSI disks (SCSI Disk Devices on the Huawei storage device) doubles or quadruples the number of UltraPath_Disks in 3.e. If not, check the LUN mapping and path connection status on the storage device.
- For Linux operating systems:
- Run hot_add to scan for disks.
- Run upadmin show vlun to check whether the number of disks managed by UltraPath is the same as planned.
- Run upadmin show path to check whether the status of added disk paths is normal. If the status of a path is Degrade, run upadmin set phypathnormal to set the path to Normal. In the command, set path_id to the ID of the Degrade path.
- For AIX operating systems:
- Run lsdev -Cc disk and lsdev -Cc disk | wc -l to show disks on the host.
- Run cfgmgr -vl fcsY to scan for the HBA and identify the storage device, where fcsY represents the device file of the HBA connected to the new path.
- Rerun lsdev -Cc disk and lsdev -Cc | wc -l and compare the result with that in 3.a. The number of newly generated device files should be the same as expected, and the vendors should all be Huawei.
- Run upadm show vlun to check whether the number of disks managed by UltraPath is the same as planned.
- Run upadm show path to check whether the status of added disk paths is normal. If the status of a path is Degrade, run upadm set phypathnormal to set the path to Normal. In the command, set path_id to the ID of the Degrade path.
- For HP-UX operating systems:
- If the native multipathing software is not installed on the host, do the following:
- Run ioscan -fnNkC disk and vgdisplay -v to show the disks and volume groups (VGs) on the host.
- Run ioscan -fnC disk to scan for disks.
- Rerun ioscan -fnkC disk and compare the result with that in 3.a. The number and the types of newly generated devices should be the same as planned.
- Run insf -eC disk and confirm that the LUN device files are generated.
- Rerun ioscan -fnkC disk and compare the result with that in 3.a. The number and the types of newly generated devices should be the same as planned.
- If the NMP software is installed on the host, do the following:
- Run scsimgr get_attr -a leg_mpath_enable and confirm that the NMP is enabled.
- Run ioscan -funC disk to view the number of disk paths when NMP is not enabled.
- Rerun ioscan -funNC disk and confirm that the number of newly generated aggregated disks is the same as planned.
- Run ioscan -m dsf to view the mappings between persistent disks and non-persistent disks.
- Run scsimgr lun_map -D /dev/rdisk/diskX to view disk path information, where diskX represents a disk on the host.
- If the native multipathing software is not installed on the host, do the following:
- For Windows operating systems: