The lshostconnect command displays a list of host connections for a storage image and the status information for each host connection in the list. You can also use this command to obtain a list of worldwide port numbers (WWPNs) from a system-detected-unknown host port. You can use these WWPNs to create a new host connection using the mkhostconnect command.
>>-lshostconnect--+-------------------------+--+-----+----------> '- -dev--storage_image_ID-' +- -s-+ '- -l-' >--+----------------------------+-------------------------------> '- -portgrp--port_grp_number-' >--+---------------------------+--+-----------+--+---------+----> '- -volgrp--volume_group_ID-' '- -unknown-' '- -login-' >--+-------------------------------+--------------------------->< +-host_connection_ID--+-------+-+ | '-. . .-' | '-" - "-------------------------'
For this command and all other DS CLI list commands, the results are shown in table format to provide clarity. The actual reports do not display as tables.
The following tables represent the headers that are displayed on the output reports that are associated with the lshostconnect command. A separate example is not shown for the 1750 because the information is the same for both the 2107 and 1750.
dscli>lshostconnect
-dev IBM.2107–75FA120 -l
Sun Aug 11 02:23:49 PST 2004 IBM DS CLI Version: 5.0.0.0 DS: IBM.2107–75FA120
| Name | ID | WWPN | HostType | LBS | Addrdis |
|---|---|---|---|---|---|
| My host port 1 | IBM.2107- |
3007ACF3 |
Unknown | 512 | reportLUN |
| My host port 2 | IBM.2107- |
3007ACF3 |
Unknown | 512 | reportLUN |
| Profile | portgrp | volgrpID | achtopo | ESSIOport | Desc |
|---|---|---|---|---|---|
IBM |
0 | V100 | SCSI |
I0111,I0121 |
SCSI1 |
IBM |
0 | V100 | SCSI |
All | SCSI2 |
dscli>lshostconnect
-dev IBM.2107–75FA120 -unknown
Sun Aug 11 02:23:49 PST 2004 IBM DS CLI Version: 5.0.0.0 DS: IBM.2107–75FA120
| WWNN | WWPN | ESSIOport |
|---|---|---|
| 3007ACF30A239900 | 3007ACF30A2399E0 | I0111, I0121, I0211, I0221 |
| 3007ACF30A239900 | 3007ACF30A2399E1 | I0121 |
| 3007ACF30A239900 | 3007ACF30A2399E2 | I0111, I0121, I0211, I0221 |
| 3007ACF30A239900 | 3007ACF30A2399E3 | I0111 |
dscli>lshostconnect
-dev IBM.2107–75FA120 -login
Sun Aug 11 02:23:49 PST 2004 IBM DS CLI Version: 5.0.0.0 DS: IBM.2107–75FA120
| WWNN | WWPN | ESSIOport | LoginType | Name | ID |
|---|---|---|---|---|---|
3007ACF3 |
3007ACF3 |
I0111 | SCSI | MyHostA | 1 |
3007ACF3 |
3007ACF3 |
I0111 | SCSI | MyHostB | 1 |
3007ACF3 |
3007ACF3 |
I0221 | SCSI | - | - |