z/OS Common Information Model User's Guide
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF


IBMzOS_FCPort

z/OS Common Information Model User's Guide
SC34-2671-00

IBMzOS_FCPort

Purpose

The IBMzOS_FCPort class defines the capabilities and management of a Fiber Channel Port device on z/OS.

Inheritance

  • CIM_ManagedElement
  • ← CIM_ManagedSystemElement
  • ← CIM_LogicalElement
  • ← CIM_EnabledLogicalElement
  • ← CIM_LogicalDevice
  • ← CIM_LogicalPort
  • ← CIM_NetworkPort
  • ← CIM_FCPort
  • ← IBMzOS_FCSBPort
  • ← IBMzOS_FCPort

Module name

The module name of the CMPI provider that is registered for a CIM class which is used by the cimprovider command line tool for the administration of CMPI providers is

  • IBMzOS_FCPortProviderModule

Provider library

The physical name of a CMPI provider’s shared object library as it is stored in the hierarchical file system is

  • libcmpiIBMzOS_FCPortProvider.so

Used by the following CIM profiles

  • Storage HBA profile

Properties

string Caption
Returns IBM z/OS FCPort.
string Description
Returns This is a z/OS FCPort.
string ElementName
Returns LPARName:CSSID:CHPID, where
LPARName
is the name of the logical partition - empty if z/OS does not run in an LPAR
CSSID
is the channel subsystem ID
CHPID
is the channel path ID
string Name
Returns LPARName:CSSID:CHPID, where
LPARName
is the name of the logical partition - empty if z/OS does not run in an LPAR
CSSID
is the channel subsystem ID
CHPID
is the channel path ID
uint16 OperationalStatus [ ]
Returns the current status of the FCPort:
2
OK
11
Stopped
string StatusDescriptions []
If the port was decommissioned by the Decommission() method and the OperationalStatus is set to 11 (Stopped), the first array element ([0]) returns DECOMMISSIONED.
uint16 EnabledState
Returns
2
enabled
uint16 RequestedState
Returns
2
enabled
uint16 EnabledDefault
Indicates the administrator's default or startup configuration for the enabled state of an element. Always returns
2
enabled
string SystemCreationClassName [key]
Indicates the system’s CreationClassName.

Returns IBMzOS_ComputerSystem.

string SystemName [key]
Displays the fully qualified host name of the system.
string CreationClassName [key]
Indicates the name of the class or the subclass used in the creation of an instance.

Returns IBMzOS_FCPort.

string DeviceID [key]
Displays the decimal CHPID as a unique ID for the logical device.
uint16 PortNumber
Returns the logical port number (CHPID).
uint64 Speed
Returns the bandwidth of the port in bits per second - 0 if z/OS does not run in an LPAR
uint64 MaxSpeed
Returns the maximum bandwidth of the port in bits per second - 0 if z/OS does not run in an LPAR
uint16 UsageRestriction
Returns
4
not restricted
uint16 PortType
Specifies the specific mode currently enabled for the port.

Returns

10
N-Port
uint16 LinkTechnology
Specifies the type of link.

Returns

4
FC
string PermanentAddress
Defines the network address of the port.

Returns

WWPN
if a network address is available
NULL
else
uint64 SupportedMaximumTransmissionUnit
Specifies the maximum transmission unit (MTU) that can be supported.

Returns 8192.

uint64 ActiveMaximumTransmissionUnit
Specifies the active or negotiated maximum transmission unit (MTU) that can be supported.

Returns 8192.

uint16 SupportedCOS []
Indicates the Fibre Channel Class of Service that is supported.

Returns 3.

uint16 ActiveCOS []
Indicates the Fibre Channel Class of Service that is active.

Returns 3.

uint16 SupportedFC4Types []
Indicates the supported Fibre Channel FC-4 protocol.

Returns

27
FC-SB-x channel
uint16 ActiveFC4Types []
Indicates the currently running Fibre Channel FC-4 protocol.

Returns

27
FC-SB-x channel
string NodeDescriptor
Indicates the node element description of the FICON port in the format:

type.model.manufacturer.plant.sequenceNumber.tag

Example: 002097.E40.IBM.51.000000070B82.9031

Methods

uint32 AssignWWN()
Assigns a world wide name to the port, if no WWPN is present in the PermanentAddress property.
Note:
After IPL the assignment is lost.

Parameters:

uint64 wwn
The World Wide Name to be assigned to the port in decimal number format.

Return values:

0
Completed without error.
1
The WWN could not be assigned because the logical device already has a fixed WWPN, discovered from the hardware.
2
The logical device already has the same WWPN bound to it.
3
Unexpected error.

Exceptions:

CIM_ERR_NOT_FOUND
The switch port pointed to by the object path does not exist.
CIM_ERR_ACCESS_DENIED
The caller is not authorized for this function. (You require UPDATE access to profile IOSPORTS CL(FACILITY).)
CIM_ERR_INVALID_PARAMETER
The specified WWN is invalid.
CIM_ERR_NOT_SUPPORTED
The requested operation is not supported by the underlying Operating System.
CIM_ERR_FAILED
General Error, for details see status description message.
uint32 Decommission()
Takes all channels or devices attached to the port offline.

The system will reject this command if it would remove the last path to an online device. Exceptions will be made if the Force parameter is set to true.

Parameters:

boolean Force
Specifies whether or not the last path to a used device is to be removed.

The default is false: The system will not remove the last path to a device.

If set to true, the system takes all channel paths for the specified port offline, even if it is the last path to a device or if there were any other reason that affects the systems ability to communicate with a device over this path.

In any case, the system will not remove the last path to a device that has any of the following attributes: "Allocated", "In use by a system function", "A TP device", "The only active console in the system".

string EmbeddedInstance("CIM_Message") messages[]
If available, the CIM_Message instances contain IOS messages with additional information.

Return values:

0 (Confirmed)
The port was taken offline.
1 (Denied other)
The port cannot be taken offline for an unspecified reason. Not all devices could be taken offline due to other reasons. The request was rejected.
2 (Denied In Use)
The port cannot be taken offline because it is still in use. Not all devices could be taken offline due to last path - in use. The request was rejected.
3 (Denied last Path)
The port cannot be taken offline because it is the last path to a device. Not all devices could be taken offline due to last path. The request was rejected.

Exceptions:

CIM_ERR_NOT_FOUND
The port pointed does not exist
CIM_ERR_ACCESS_DENIED
The caller is not authorized for this function. (You require UPDATE access to profile IOSPORTS CL(FACILITY).)
CIM_ERR_NOT_SUPPORTED
The requested operation is not supported by the underlying Operating System.
CIM_ERR_FAILED
General error, for details see the status description message.
uint32 Recommission()
Brings all channels or devices attached to the port that were online before they had previously been decommissioned back online.

Parameters:

string EmbeddedInstance("CIM_Message") messages[]
Returns one or more messages describing the effect that the recommissioning had on the attached devices.

Return values:

0 (OK)
The port and all associated paths were successfully brought online.
1 (Other)
The port cannot be taken online for an unspecified reason. See the messages output parameter for details.
2 (Denied)
The port is not in state decommissioned and therefore cannot be recommissioned.

Exceptions:

CIM_ERR_NOT_FOUND
The port does not exist.
CIM_ERR_ACCESS_DENIED
The caller is not authorized for this function. (You require UPDATE access to profile IOSPORTS CL(FACILITY).)
CIM_ERR_NOT_SUPPORTED
The requested operation is not supported by the underlying Operating System.
CIM_ERR_FAILED
General error, for details see the status description message.

Associations

IBMzOS_FCPortStatisticalData
ManagedElement
IBMzOS_FCPort
Stats
IBMzOS_FCPortStatistics
see
Association IBMzOS_FCPortStatisticalData
IBMzOS_ControlledBy
Source
IBMzOS_PortController
Target
IBMzOS_FCPort
see
Association IBMzOS_ControlledBy
IBMzOS_ SBDeviceSAPImplementation
Source
IBMzOS_FCPort
Target
IBMzOS_SBProtocolEndpoint
see
Association IBMzOS_SBDeviceSAPImplementationA
IBMzOS_CSFCPort
Source
IBMzOS_ComputerSystem
Target
IBMzOS_FCPort
see
Association IBMzOS_CSFCPort

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014