HP 8/20q HP StorageWorks 8/20q and SN6000 Fibre Channel Switch CIM Agent Refer - Page 33

Cim_err_not_found, Cim_err_access_denied

Page 33 highlights

OperationalStatus Property contains the enumerated value 2=OK. SessionState Property contains the enumerated value 5=No Change.Applicable. Sessions are not supported. ActivateZoneSet Method attempts to activate the referenced zoneset, or to deactivate the active zoneset. The following effects of activating a zoneset can be observed with CIM: • Any zone or zoneset object currently marked as active is deleted. • Zone members that had been associated with the deleted zones are deleted. • A copy of the referenced zoneset object is created and marked as active. • Copies of all zones that participate in the reference zoneset are created, marked as active, and associated with new active zoneset object. • Copies of all zone members that participate in the original zones (including expanded zone aliases) are created and associated with the new zones. Parameters: • Zoneset: [required] Reference to Zoneset to activate or deactivate. • Activate: [required] If TRUE, activate referenced zoneset, otherwise deactivate zoneset. Returns: • 0-Success • 4-Failed: Illegal zoneset, other fabric error. • 5-Invalid Parameter: Cannot activate the active zoneset object. • 6-Access Denied: Switch is being configured by another user. • 7-Not Found: Referenced zoneset was not found. Request Status Codes: • CIM_ERR_ACCESS_DENIED: User does not have authorization for this command. • CIM_ERR_INVALID_PARAMETER: One or more required parameters are missing. • CIM_ERR_NOT_FOUND: The ZoningService instance was not found. AddZone Method adds a zone to a zoneset in the zoning database by creating an instance of association class MemberOfZoneSet linking the zone and zoneset together. Parameters: • ZoneSet: [required] Reference to the zoneset to which the zone is added. • Zone: [required] Reference to the zone to be added to the zoneset. Method Returns: • 0-Success • 4-Failed • 5-Invalid Parameter: May not configure an active zone or zoneset. • 6-Access Denied: Switch is being configured by another user. • 7-Not Found: Referenced zone or zoneset was not found. • 8-Already Exists: Zone is already a member of the zone set. Request Status Codes: • CIM_ERR_ACCESS_DENIED: User does not have authorization for this command. • CIM_ERR_INVALID_PARAMETER: One or more required parameters are missing. • CIM_ERR_NOT_FOUND: The ZoningService instance was not found. CreateZoneSet Method creates a zoneset in the zoning database. The output parameter ZoneSet contains a reference to the newly created zoneset object. HP StorageWorks 8/20q and SN6000 Fibre Channel Switch CIM Agent Reference Guide 33

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60

HP StorageWorks 8/20q and SN6000 Fibre Channel Switch CIM Agent Reference Guide
33
OperationalStatus
Property contains the enumerated value
2=OK
.
SessionState
Property contains the enumerated value
5=No Change.Applicable
. Sessions are not
supported.
ActivateZoneSet
Method attempts to activate the referenced zoneset, or to deactivate the active zoneset. The
following effects of activating a zoneset can be observed with CIM:
Any zone or zoneset object currently marked as active is deleted.
Zone members that had been associated with the deleted zones are deleted.
A copy of the referenced zoneset object is created and marked as active.
Copies of all zones that participate in the reference zoneset are created, marked as active, and
associated with new active zoneset object.
Copies of all zone members that participate in the original zones (including expanded zone
aliases) are created and associated with the new zones.
Parameters:
Zoneset
: [required] Reference to Zoneset to activate or deactivate.
Activate
: [required] If
TRUE
, activate referenced zoneset, otherwise deactivate zoneset.
Returns:
0
Success
4
Failed: Illegal zoneset, other fabric error.
5
Invalid Parameter: Cannot activate the active zoneset object.
6
Access Denied: Switch is being configured by another user.
7
Not Found: Referenced zoneset was not found.
Request Status Codes:
CIM_ERR_ACCESS_DENIED
: User does not have authorization for this command.
CIM_ERR_INVALID_PARAMETER
: One or more required parameters are missing.
CIM_ERR_NOT_FOUND
: The ZoningService instance was not found.
AddZone
Method adds a zone to a zoneset in the zoning database by creating an instance of association
class MemberOfZoneSet linking the zone and zoneset together.
Parameters:
ZoneSet
: [required] Reference to the zoneset to which the zone is added.
Zone
: [required] Reference to the zone to be added to the zoneset.
Method Returns:
0
Success
4
Failed
5
Invalid Parameter: May not configure an active zone or zoneset.
6
Access Denied: Switch is being configured by another user.
7
Not Found: Referenced zone or zoneset was not found.
8
Already Exists: Zone is already a member of the zone set.
Request Status Codes:
CIM_ERR_ACCESS_DENIED
: User does not have authorization for this command.
CIM_ERR_INVALID_PARAMETER
: One or more required parameters are missing.
CIM_ERR_NOT_FOUND
: The ZoningService instance was not found.
CreateZoneSet
Method creates a zoneset in the zoning database. The output parameter
ZoneSet
contains a
reference to the newly created zoneset object.