Throughout this document we use following conventions.
All example scripts are for lmishell. See it’s documentation on OpenLMI
page.
We also assume that following script has been run to connecto to a CIMOM and initialize basic variables:
MEGABYTE = 1024*1024
connection = connect("localhost", "root", "opensesame")
ns = connection.root.cimv2 # ns as NameSpace
storage_service = ns.LMI_StorageConfigurationService.first_instance()
partitioning_service = ns.LMI_DiskPartitionConfigurationService.first_instance()
filesystem_service = ns.LMI_FileSystemConfigurationService.first_instance()
encryption_service = ns.LMI_ExtentEncryptionConfigurationService.first_instance()