Deleting connectivity to a remote target

Use the target_connectivity_delete command to delete connectivity between a port on the local storage system and a port on a remote target.


target_connectivity_delete target=TargetName 
< ipaddress=IPaddress local_ipinterface=IPInterface > | 
< fcaddress=wwpn local_port=PortID > [ force_on_olvm_peer=<yes|no> ]

Parameters

Name Type Description Mandatory Default
target Object name Remote target of the connectivity definition. Y N/A
ipaddress N/A IP address of the port on the remote target (iSCSI targets only). N N/A
local_
ipinterfac
e
Object name Local IP interface that is connected to the remote port (iSCSI only). N N/A
fcaddress N/A FC address of the port on the remote target (FC targets only). N N/A
local_port N/A Port number on the local module (FC only). N N/A
force_on_
olvm_peer
Boolean Informs the system if the command should be applied on an IBM Hyper-Scale Mobility peer. N No

This command deletes a target connectivity definition. Only a previously defined connectivity definition can be deleted.

Example:

target_connectivity_delete 
target=XIV2 local_module=101

Output:

Command completed successfully

Access control

User Category Permission
Storage administrator Allowed
Application administrator Disallowed
Security administrator Disallowed
Read-only users Disallowed
Operations administrator Disallowed
Host side accelerator client Disallowed

Return codes

  • TARGET_BAD_NAME

    Target name does not exist.

  • COMMAND_NOT_ALLOWED_ON_MANAGEMENT_OR_VPN_INTERFACE

    Operation is not allowed on management or VPN IP interface.

  • CONNECTIVITY_NOT_DEFINED

    Remote port is not connected through this local port.

  • COMPONENT_IS_NOT_AN_FC_PORT

    Component must specify an FC port.

  • TARGET_PORT_BAD_ADDRESS

    Remote port address is illegal or does not belong to the remote target.

  • BAD_LOCAL_IP_PORT

    An ID of a local IP port must be specified.

  • IPINTERFACE_DOES_NOT_EXIST

    IP Interface name does not exist.

  • TARGET_HAS_OLVM_RELATIONSHIP

    Target has an IBM Hyper-Scale Mobility relationship - cannot be deactivated or deleted.