Intel AMT Features > Storage Administration and Operations > Use Cases > Admin: Retrieve Global Storage Parameters
CollapseAll image

Admin: Retrieve Global Storage Parameters

The following steps describe how to retrieve the global parameters related to Intel AMT Third Party Data Storage.

1.  Retrieve the instance of AMT_ThirdPartyDataStorageAdministrationService, where the “Name” key equals “Intel(r) AMT Third Party Data Storage Administration Service”.

2.  Invoke AMT_ThirdPartyDataStorageAdministrationService.GetGlobalStorageAttributes to retrieve the values of the current parameters.  The various values are returned as output parameters:

Parameter

Description/Value

TotalStorage

Total bytes of Flash memory that can be used for 3PDS.

TotalAllocatedStorage

Total bytes of storage actually in use.

MaxPartnerStorage

Maximum number of bytes that may be used by all partner applications.

TotalPartnerAllocatedStorage

Total bytes of partner storage actually in use.

MaxNonPartnerStorage

Maximum number of bytes that may be used by non-partner applications. Partner applications can also use this space.

MaxFpaclEntries

Maximum number of partner applications. (24)

MaxAslEntries

Maximum number of active sessions. (16)

MaxEaclEntries

Maximum number of enterprises. (4)

MaxGroupsPerBlock

Maximum number of permissions groups that may be associated with one storage block. (2)

MaxMembersPerGroup

Maximum number of application handles that can be listed in a permissions group. (8)

MaxNonPartnerTotalAllocationSize

Maximum number of bytes that an individual non-partner application may allocate.

 

Click here for a snippet demonstrating this step

You can execute this snippet by inserting it into the execution template found here.

  

$thirdPartyDataStorageAdministrationServiceRef =$wsmanConnectionObject.NewReference("SELECT * FROM AMT_ThirdPartyDataStorageAdministrationService WHERE Name='Intel(r) AMT Third Party Data Storage Administration Service'")

$inputObject =$thirdPartyDataStorageAdministrationServiceRef.CreateMethodInput("GetGlobalStorageAttributes")

$outputObject =$thirdPartyDataStorageAdministrationServiceRef.InvokeMethod($inputObject)

$returnValue =$outputObject.GetProperty("ReturnValue")

if($returnValue -like "0")

{

    $totalStorage =$outputObject.GetProperty("TotalStorage")

    $totalAllocatedStorage =$outputObject.GetProperty("TotalAllocatedStorage")

    $maxPartnerStorage =$outputObject.GetProperty("MaxPartnerStorage")

    $totalPartnerAllocatedStorage =$outputObject.GetProperty("TotalPartnerAllocatedStorage")

    $maxNonPartnerStorage =$outputObject.GetProperty("MaxNonPartnerStorage")

    $maxFpaclEntries =$outputObject.GetProperty("MaxFpaclEntries")

    $maxAslEntries =$outputObject.GetProperty("MaxAslEntries")

    $maxEaclEntries =$outputObject.GetProperty("MaxEaclEntries")

    $maxGroupsPerBlock =$outputObject.GetProperty("MaxGroupsPerBlock")

    $maxMembersPerGroup =$outputObject.GetProperty("MaxMembersPerGroup")

    $maxNonPartnerTotalAllocationSize =$outputObject.GetProperty("MaxNonPartnerTotalAllocationSize")

}

 

 

Instance Diagram

Not applicable

Classes Used in This Flow

SDK Sample

If there is a sample demonstrating this flow, it is included in the SDK installation file. See SDK Installation Layout for details.

 

See Also:

   Storage Concepts and Objects

   Application Development Guidelines

   Examples of Using the Storage Feature

Copyright © 2006-2022, Intel Corporation. All rights reserved.