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
-
unlicensedServers
¶ Returns the number of nodes behaving as servers that haven’t been designated a server license
Return type: int
-
Examples¶
>>> from __future__ import print_function
>>> 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