Licenses

The Licenses Object is a container for the License Objects for the Nodes on a Cluster.

Description

class arcapix.fs.gpfs.licenses.Licenses

A collection of license objects for the nodes on a cluster.

Chiefly useful when called outside of the Cluster() object

totalNodes

Returns the total number of nodes on the cluster

Return type:int
licensedServers

Returns the number of nodes with a designated server license

Return type:int
licensedClients

Returns the number of nodes with a designated client license

Return type:int
unlicensedServers

Returns the number of nodes behaving as servers that haven’t been designated a server license

Return type:int
unlicensedClients

Returns the number of nodes behaving as clients that haven’t been designated a client license

Return type:int
licensedFpo

Returns the number of nodes with a designated FPO license

Return type:int

Examples

>>> from arcapix.fs.gpfs import Licenses
    ...
>>> # Print the block size of all file systems
... for license in Licenses().values():
...     print license.nodeName, license.type
...
pixstor-demo-01 server
pixstor-demo-02 server