How to Check Whether VLUN of the ECS Protected by the VHA Service Instance Has Multiple Links
Procedure
Obtains all disk IDs of the protected ECSs in the VHA service instance.
In the following example, the protected ECS in the VHA service instance has only one EVS disk.
- Log in to ManageOne as a VDC operator using a browser.
- URL in the non-B2B scenario: https://Address for accessing the ManageOne Console page. For example, https://console.demo.com.
URL in the B2B scenario: https://Address used by VDC users to access the ManageOne tenant plane. For example, https://tenant.demo.com.
- Username and password: username and password of the VDC operator.
- URL in the non-B2B scenario: https://Address for accessing the ManageOne Console page. For example, https://console.demo.com.
- Select a region and project in the upper left corner of the navigation bar.
- Choose .
- Click
in front of the service instance and check the ECS protected by the service instance.
- Click Details on the right of the ECS to record the EVS disk ID.
As shown in the following figure, the ID of the EVS disk is fa25d329-8f84-42f2-836f-420224bf9f9a.
If there are multiple EVS disks in the ECS, record the IDs of all EVS disks.
Obtain the LUN WWN corresponding to the disk ID.
- Use PuTTY to log in to the FusionSphere OpenStack controller node through the reverse proxy IP address of External API plane. (In Type I scenario, log in to the FusionSphere OpenStack controller node at the cascading layer.)
Login account: fsp; default login password: Huawei@CLOUD8
- Run the su - root command to switch to the root account.
The default password of user root is Huawei@CLOUD8!.
- Run the TMOUT=0 command to prevent the system from exiting due to timeout.
- Run the source set_env command to import environment variables.
- Select 1 and enter the password: FusionSphere123.
- Run the cinder show disk ID | grep lun_wwn command to query the LUN WWN of the disk.
The disk ID queried in Step 5 is used as an example. The command output is as follows. The LUN WWN is 6f898ef100d149a10138691000000087.
0B8B0420-2E60-8FB0-E711-FCD0E610E0A8:~ # cinder show fa25d329-8f84-42f2-836f-420224bf9f9a | grep lun_wwn | metadata | {'lun_wwn': '6f898ef100d149a10138691000000087', 'StorageType': 'OceanStorV3', 'readonly': 'False', 'tenancy': '0', '__sys_is_server_vol__': 'true', 'occupied_volume': 'false', 'attached_mode': 'rw'}
Check the number of the links of the VLUN.
- Log in to the FusionSphere OpenStack web client and obtain the management IP addresses of all compute nodes.
- The login address is https://reverse proxy IP address of External API plane:8890.
- Login account: admin; default password: cnp200@HW
- Use PuTTY to log in to the compute node using the management IP address.
Login account: fsp; default login password: Huawei@CLOUD8
- Run the su - root command to switch to the root account.
The default password of user root is Huawei@CLOUD8!.
- Run the TMOUT=0 command to prevent the system from exiting due to timeout.
- Run the source set_env command to import environment variables.
- Select 1 and enter the password: FusionSphere123.
- Run the upadmin show vlun type=all |grepLUN WWN command to check the number of links of the VLUN on the ECS.
- The LUN WWN queried in Step 6 is used as an example. The command output is as follows. The VLUN has two links, indicating that the ECS accesses storage devices through multiple paths.
735B53E0-ABBA-11E5-8042-63CBCE7636E0:~ # upadmin show vlun type=all |grep 6f898ef100d149a10138691000000087 1 sdo gmMLyNFGTced2Q-uqo2Txw 6f898ef100d149a10138691000000087 Normal 1.00GB 0B/0B Huawei.Storage 3304 2/2 1 sdo -iXTKY-EQvKDb0ICJL-fmg 6f898ef100d149a10138691000000087 Normal 1.00GB 0A/0A Huawei.Storage 135 2/2
- If the command output indicates that the VLUN has only one link, the ECS accesses storage through a single path and remapping is required. Record the VHA service instance covering the ECS.
- If no information is displayed, the LUN WWN of the disk is not under the compute node. Repeat Step 2 to Step 7 to log in to other compute nodes to check the information.
- The LUN WWN queried in Step 6 is used as an example. The command output is as follows. The VLUN has two links, indicating that the ECS accesses storage devices through multiple paths.