Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell EMC OpenManage Python Software Development Kit Version 1.1 API Reference Guide

PDF

idrac.config_mgr.RaidHelper.new_virtual_disk

API string/Method: idrac.config_mgr.RaidHelper.new_virtual_disk

Protocol Support: WSMAN, Redfish.

Description: The idrac.config_mgr.RaidHelper.new_virtual_disk() allows you to create a RAID.

Table 1. Parameters for idrac.config_mgr.RaidHelper.new_virtual_disk . This table displays the parameters for idrac.config_mgr.RaidHelper.new_virtual_disk
Parameter Name Type Allowed Values
vd_name String User defined
Description Name of the virtual disk.
Table 2. Parameters for idrac.config_mgr.RaidHelper.new_virtual_disk . This table displays the parameters for idrac.config_mgr.RaidHelper.new_virtual_disk
Parameter Name Type Allowed Values
Span_depth Number User defined values
Description Depth of the disk span.
Table 3. Parameters for idrac.config_mgr.RaidHelper.new_virtual_disk . This table displays the parameters for idrac.config_mgr.RaidHelper.new_virtual_disk
Parameter Name Type Allowed Values
Span_length Number User defined values
Description Length of the disk span.
Table 4. Parameters for idrac.config_mgr.RaidHelper.new_virtual_disk . This table displays the parameters for idrac.config_mgr.RaidHelper.new_virtual_disk
Parameter Name Type Allowed Values
RAIDTypes ENUM

RAIDTypesTypes.RAID_0 RAIDTypesTypes.RAID_1 RAIDTypesTypes.RAID_10 RAIDTypesTypes.RAID_5 RAIDTypesTypes.RAID_50 RAIDTypesTypes.RAID_6 RAIDTypesTypes.RAID_60

Description Type of the RAID array.
Table 5. Parameters for idrac.config_mgr.RaidHelper.new_virtual_disk . This table displays the parameters for idrac.config_mgr.RaidHelper.new_virtual_disk
Parameter Name Type Allowed Values
RAIDaction ENUM RAIDactionTypes.Create
Description RAID action to be performed.
Table 6. Parameters for idrac.config_mgr.RaidHelper.new_virtual_disk . This table displays the parameters for idrac.config_mgr.RaidHelper.new_virtual_disk
Parameter Name Type Allowed Values
RAIDinitOperation ENUM

RAIDinitOperationTypes.Fast RAIDinitOperationTypes.T_None

Description Initializes a RAID operation.
Table 7. Parameters for idrac.config_mgr.RaidHelper.new_virtual_disk . This table displays the parameters for idrac.config_mgr.RaidHelper.new_virtual_disk
Parameter Name Type Allowed Values
DiskCachePolicy ENUM

DiskCachePolicyTypes.Default DiskCachePolicyTypes.Enabled DiskCachePolicyTypes.Disabled

Description Allows you to set the default disk cache policy.
Table 8. Parameters for idrac.config_mgr.RaidHelper.new_virtual_disk . This table displays the parameters for idrac.config_mgr.RaidHelper.new_virtual_disk
Parameter Name Type Allowed Values
RAIDdefaultWritePolicy ENUM

RAIDdefaultWritePolicyTypes.WriteThrough RAIDdefaultWritePolicyTypes.WriteBackForce RAIDdefaultWritePolicyTypes.WriteBack

Description Allows you to set the default RAID write policy.
Table 9. Parameters for idrac.config_mgr.RaidHelper.new_virtual_disk . This table displays the parameters for idrac.config_mgr.RaidHelper.new_virtual_disk
Parameter Name Type Allowed Values
RAIDdefaultReadPolicy ENUM

RAIDdefaultReadPolicyTypes.Adaptive RAIDdefaultReadPolicyTypes.AdaptiveReadAhead RAIDdefaultReadPolicyTypes.NoReadAhead RAIDdefaultReadPolicyTypes.ReadAhead

Description Allows you to set the default RAID read policy.
Table 10. Parameters for idrac.config_mgr.RaidHelper.new_virtual_disk . This table displays the parameters for idrac.config_mgr.RaidHelper.new_virtual_disk
Parameter Name Type Allowed Values
RAIDEnhancedAutoImportForeignConfig ENUM

RAIDEnhancedAutoImportForeignConfigTypes.Enabled RAIDEnhancedAutoImportForeignConfigTypes.Disabled

Description Allows you to configure the auto import setting.
Table 11. Parameters for idrac.config_mgr.RaidHelper.new_virtual_disk . This table displays the parameters for idrac.config_mgr.RaidHelper.new_virtual_disk
Parameter Name Type Allowed Values
RAIDresetConfig ENUM

RAIDresetConfigTypes.T_False RAIDresetConfigTypes.T_True

Description Allows you to reset the RAID configuration.
Table 12. Parameters for idrac.config_mgr.RaidHelper.new_virtual_disk . This table displays the parameters for idrac.config_mgr.RaidHelper.new_virtual_disk
Parameter Name Type Allowed Values
RAIDbgiRate Number User defined RAID bgi rate.
Description Allows you to set the speed of the background initialization of the virtual disks.
Table 13. Parameters for idrac.config_mgr.RaidHelper.new_virtual_disk . This table displays the parameters for idrac.config_mgr.RaidHelper.new_virtual_disk
Parameter Name Type Allowed Values
RAIDprMode ENUM

RAIDprModeTypes.Automatic RAIDprModeTypes.Disabled RAIDprModeTypes.Manual

Description  
Table 14. Parameters for idrac.config_mgr.RaidHelper.new_virtual_disk . This table displays the parameters for idrac.config_mgr.RaidHelper.new_virtual_disk
Parameter Name Type Allowed Values
RAIDrebuildRate Number User defined RAID rebuild rate.
Description Allows you to set the RAID rebuild speed.
Table 15. Parameters for idrac.config_mgr.RaidHelper.new_virtual_disk . This table displays the parameters for idrac.config_mgr.RaidHelper.new_virtual_disk
Parameter Name Type Allowed Values
RAIDforeignConfig ENUM

RAIDforeignConfigTypes.Clear RAIDforeignConfigTypes.Ignore RAIDforeignConfigTypes.Import

Description Allows you to set the external configuration types.
Table 16. Parameters for idrac.config_mgr.RaidHelper.new_virtual_disk . This table displays the parameters for idrac.config_mgr.RaidHelper.new_virtual_disk
Parameter Name Type Allowed Values
RAIDreconstructRate Number User defined RAID reconstruct rate.
Description Allows you to set the RAID reconstruct rate.
Table 17. Parameters for idrac.config_mgr.RaidHelper.new_virtual_disk . This table displays the parameters for idrac.config_mgr.RaidHelper.new_virtual_disk
Parameter Name Type Allowed Values
RAIDccMode ENUM

RAIDccModeTypes.Normal RAIDccModeTypes.StopOnError

Description Allows you to configure the CC mode.
Example:
myshare=FileOnShare(remote='<IP OR Hostname>:/<NFS Share Path>/',
                                    mount_point='<mount path>',
                                    isFolder=True,
                                    creds=UserCredentials('<username>', '<password>'))
                                    liason_share_status = idrac.config_mgr.set_liason_share(myshare)
                                    pd_filter = '((disk.parent.parent is Controller and disk.parent.parent.FQDD._value == "{0}")'.format('RAID.Mezzanine.1-1'
                                    )
                                    pd_filter += ' or (disk.parent is Controller and disk.parent.FQDD._value == "{0}"))'.format('RAID.Mezzanine.1-1')
                                    msg=idrac.config_mgr.RaidHelper.new_virtual_disk
                                    (
                                    vd_name="newvdomsdk",
                                    SpanDepth=1,
                                    SpanLength=1,
                                    NumberDedicatedHotSpare=1,
                                    NumberGlobalHotSpare=1,
                                    RAIDTypes=RAIDTypesTypes.RAID_0,
                                    RAIDaction=RAIDactionTypes.Create,
                                    RAIDinitOperation=RAIDinitOperationTypes.T_None,
                                    DiskCachePolicy=DiskCachePolicyTypes.Default,
                                    RAIDdefaultWritePolicy=RAIDdefaultWritePolicyTypes.WriteThrough,
                                    RAIDdefaultReadPolicy=RAIDdefaultReadPolicyTypes.NoReadAhead,
                                    StripeSize=64 * 1024,
                                    RAIDEnhancedAutoImportForeignConfig=RAIDEnhancedAutoImportForeignConfigTypes.Enabled,
                                    RAIDresetConfig=RAIDresetConfigTypes.T_False,
                                    RAIDbgiRate="30",
                                    RAIDprMode=RAIDprModeTypes.Automatic,
                                    RAIDrebuildRate="30",
                                    RAIDforeignConfig=RAIDforeignConfigTypes.Clear,
                                    RAIDreconstructRate="30",
                                    RAIDccMode=RAIDccModeTypes.Normal,
                                    PhysicalDiskFilter=pd_filter
                                    )
                                    apply_status = idrac.config_mgr.apply_changes(reboot=True)
                                 

Returns: Success or Failure.

Return Type: JSON.


Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\