List all volumes logical attributes, but limited
to 100 occurrences |
- Define the search limits:
wbemcli mi
http://<userid>:<password>@<cimserver_ip>:<port>/
root/cimv2:IBMRMM_SearchOperands.
Resource="IBMRMM_LogicalVolume"
Operands="Volume(*) Owner(*) Limit(100)"
- Find Volumes:
wbemcli ein
http://<userid>:<password>@<cimserver_ip>:<port>/
root/cimv2:IBMRMM_LogicalVolume
|
List all volumes logical attributes, in steps
of 10 volumes. (The provider collects all Volumes and returns the
complete list) |
- Define the search limits:
wbemcli mi
http://<userid>:<password>@<cimserver_ip>:<port>/
root/cimv2:IBMRMM_SearchOperands.
Resource="IBMRMM_LogicalVolume"
Operands="Volume(*) Owner(*) Limit(10) Continue"
- Find Volumes:
wbemcli ein
http://<userid>:<password>@<cimserver_ip>:<port>/
root/cimv2:IBMRMM_LogicalVolume
|
List all volumes physical attributes starting
with "A" |
- Define the search limits:
wbemcli mi
http://<userid>:<password>@<cimserver_ip>:<port>/
root/cimv2:IBMRMM_SearchOperands.
Resource="IBMRMM_PhysicalVolume"
Operands="Volume(*) Owner(*) Volume(A*)"
- Find Volumes:
wbemcli ein
http://<userid>:<password>@<cimserver_ip>:<port>/
root/cimv2:IBMRMM_PhysicalVolume
|
List all Volumes physical attributes located in
location "SHELF" |
wbemcli ain -ac IBMRMM_PhysicalVolumeCurrentLocation
http://<userid>:<password>@<cimserver_ip>:<port>/
root/cimv2:IBMRMM_Location
.Tag="SHELF + +RMM_A",CreationClassName=""
|
List all volumes logical attributes, "SMITH" on
CDS owned by "SMITH" |
wbemcli ain -ac IBMRMM_LogicalVolumeOwner
http://<userid>:<password>@<cimserver_ip>:<port>/
root/cimv2:IBMRMM_Owner
InstanceID="IBM:SMITH +RMM_A"
|
List all datasets with HLQ=TEST |
- Define the search limits:
wbemcli mi
http://<userid>:<password>@<cimserver_ip>:<port>/
root/cimv2:IBMRMM_SearchOperands.Resource=
"IBMRMM_Dataset" Operands="Owner(*) Dsname('TEST.**')"
- Find data sets:
wbemcli ein
http://<userid>:<password>@<cimserver_ip>:<port>/
root/cimv2:IBMRMM_Dataset
|
List all data sets owned by ADMIN |
- Define the search limits:
wbemcli mi
http://<userid>:<password>@<cimserver_ip>:<port>/
root/cimv2:IBMRMM_SearchOperands.Resource=
"IBMRMM_Dataset" Operands="Owner(ADMIN)"
- Find data sets:
wbemcli ein
http://<userid>:<password>@<cimserver_ip>:<port>/
root/cimv2:IBMRMM_Dataset
Or alternatively:
wbemcli ain -ac IBMRMM_DatasetOwner
http://<userid>:<password>@<cimserver_ip>:<port>/
root/cimv2:IBMRMM_Owner
.InstanceID="IBM:ADMIN +*"
|
List all data sets created since YYYY/DDD=2005/200,
but not more than 100 occurrences |
- Define the search limits:
wbemcli mi
http://<userid>:<password>@<cimserver_ip>:<port>/
root/cimv2:IBMRMM_SearchOperands.Resource=
"IBMRMM_Dataset"
Operands="Owner(*) Since(2005/200) Limit(100)"
- Find data sets:
wbemcli ein
http://<userid>:<password>@<cimserver_ip>:<port>/
root/cimv2:IBMRMM_Dataset
|
List all data sets on volume "T10000" from CDS
"RMM_A" |
wbemcli ain -ac IBMRMM_LogicalVolumeDataset
http://<userid>:<password>@<cimserver_ip>:<port>/
root/cimv2:IBMRMM_LogicalVolume
.DeviceID="T10000+RMM_A",
CreationClassName=""
|
List all locations |
wbemcli ein
http://<userid>:<password>@<cimserver_ip>:<port>/
root/cimv2:IBMRMM_Location
|
List all owners, starting with "M" |
- Define the search limits:
wbemcli mi
http://<userid>:<password>@<cimserver_ip>:<port>/
root/cimv2:IBMRMM_SearchOperands.Resource=
"IBMRMM_Owner" Operands="Owner(M*)"
- Find Owners:
wbemcli ein
http://<userid>:<password>@<cimserver_ip>:<port>/
root/cimv2:IBMRMM_Owner
|
Get logical attributes of Volume "T10000" on CDS
"RMM_A" |
wbemcli gi -nl
http://<userid>:<password>@<cimserver_ip>:<port>/
root/cimv2:IBMRMM_LogicalVolume
.DeviceID="T10000+RMM_A",
CreationClassName=""
|
Change description of Volume "T10000" on CDS "RMM_A"
to "My text" |
wbemcli mi
http://<userid>:<password>@<cimserver_ip>:<port>/
root/cimv2:IBMRMM_LogicalVolume
.DeviceID="T10000+RMM_A",
CreationClassName="",
Operands="Description(My text)"
|
Create new Volume "T10001" as scratch volume on
CDS "RMM_A" |
wbemcli ci
http://<userid>:<password>@<cimserver_ip>:<port>/
root/cimv2:IBMRMM_LogicalVolume
.DeviceID="T10000+RMM_A",
CreationClassName=""
DeviceID="T10000+RMM_A",
CreationClassName="",
Operands="Status(SCRATCH) Description(My new volume)"
|
Delete Volume "T10001" permanantly from CDS "RMM_A",
but do not eject it |
- Define the deletion operands:
wbemcli mi
http://<userid>:<password>@<cimserver_ip>:<port>/
root/cimv2:IBMRMM_DeleteOperands.Resource=
"IBMRMM_LogicalVolume" Operands="Force Noeject"
- Delete the Volume:
wbemcli di
http://<userid>:<password>@<cimserver_ip>:<port>/
root/cimv2:IBMRMM_LogicalVolume
.DeviceID="T10000+RMM_A",
CreationClassName=""
|
Delete owner "SMITH" and transfer volumes to "MAYER" |
- Define the deletion operands:
wbemcli mi
http://<userid>:<password>@<cimserver_ip>:<port>/
root/cimv2:IBMRMM_DeleteOperands.Resource=
"IBMRMM_Owner" Operands="Newowner(MAYER)"
- Delete the Owner:
wbemcli di
http://<userid>:<password>@<cimserver_ip>:<port>/
root/cimv2:IBMRMM_Owner
.InstanceID="IBM:SMITH +RMM_A"
|
Get the logical attributes of volume "T10000"
from CDS "RMM_A" |
wbemcli ain -ac IBMRMM_PhysicalLogicalVolume
http://<userid>:<password>@<cimserver_ip>:<port>/
root/cimv2:IBMRMM_PhysicalVolume
.Tag="T10000+RMM_A",
CreationClassName=""
|
Get the Volumes physical attributes residing in
Shelf-Location "4711" of Location "SHELF" from CDS "RMM_A" |
wbemcli ain
-ac IBMRMM_PhysicalVolumeCurrentShelfLocation
http://<userid>:<password>@<cimserver_ip>:<port>/
root/cimv2:IBMRMM_ShelfLocation
.Tag="SHELF + +4711 +RMM_A",
CreationClassName=""
|
List objects, related to Volume "T10000" on CDS
"RMM_A" (ownedDatasets, volumeInChain, ownedProduct, owner) |
wbemcli ain
http://<userid>:<password>@<cimserver_ip>:<port>/
root/cimv2:IBMRMM_LogicalVolume
.DeviceID="T10000+RMM_A",
CreationClassName=""
|
List StorageMedia- Locations (Location, Shelf-Location),
where volume "V00001" is moving in |
wbemcli ain -ar movingInVolume
http://<userid>:<password>@<cimserver_ip>:<port>/
root/cimv2:IBMRMM_PhysicalVolume
.Tag="V00001+RMM_A",
CreationClassName=""
|
List StorageMedia- Locations (Location, Shelf-Location),
where volume "V00001" has moved out |
wbemcli ain -ar movedOutVolume
http://<userid>:<password>@<cimserver_ip>:<port>/
root/cimv2:IBMRMM_PhysicalVolume
.Tag="V00001+RMM_A",
CreationClassName=""
|
List all ShelfLocations, contained in Location
"MAINZ" |
wbemcli ain -ac IBMRMM_LocationShelfLocation
http://<userid>:<password>@<cimserver_ip>:<port>/
root/cimv2:IBMRMM_Location
.Tag="MAINZ +3+RMM_A",CreationClassName=""
|
List the Volumes, where Product "5694A01" resides
for version "010900" |
wbemcli ain -ac IBMRMM_ProductLogicalVolume
http://<userid>:<password>@<cimserver_ip>:<port>/
root/cimv2:IBMRMM_Product
.IdentifyingNumber="5694A01 +RMM_A",
Name="",Version="010900"
|
Get the next chained Volume for "T00002" |
wbemcli ain
-ac IBMRMM_LogicalVolumeChainedLogicalVolume
-arr nextVolume
http://<userid>:<password>@<cimserver_ip>:<port>/
root/cimv2:IBMRMM_LogicalVolume
.DeviceID="T00002+RMM_TC"
|
Get the previous chained volume for "T00002" |
wbemcli ain
-ac IBMRMM_LogicalVolumeChainedLogicalVolume
-arr prevVolume
http://<userid>:<password>@<cimserver_ip>:<port>/
root/cimv2:IBMRMM_LogicalVolume
.DeviceID="T00002+RMM_TC"
|
List all Policy-Rules (VRSs), that if applicable,
move a volume to Location "MAINZ" |
wbemcli ain -ac IBMRMM_PolicyRuleLocation
http://<userid>:<password>@<cimserver_ip>:<port>/
root/cimv2:IBMRMM_Location
.Tag="MAINZ +3+RMM_A",CreationClassName=""
|