CLI Guide
Example
omconfig storage controller action=
setchangecontrollerproperties controller=1
nrdiskcachepolicy=enabled
Omcong Discard Preserved Cache
Table 173. Omcong Discard Preserved Cache
Description Discards the preserved cache on the controller.
NOTE: To check if the controller has a preserved cache, type omreport storage controller
controller=id. If the system displays Preserved Cache=yes, it indicates the presence of the
preserved cache.
Syntax
omconfig storage controller action= discardpreservedcache controller=id
force=enabled | disabled
If you set force=enabled, the cache is discarded irrespective of whether the controller detects a foreign or an oine
virtual disk.
Example to Discard the preserved cache.
Example
omconfig storage controller action= discardpreservedcache controller=1 force=enabled
CAUTION: Discarding the preserved cache can result in data loss. It is recommended that you run this
command using the force=disabled option.
NOTE: If a foreign conguration is detected, then the preceding command using force=disabled option
fails. To avoid data loss, import the foreign conguration and ush the preserved cache to disk. To discard
preserved cache forcefully, either clear the foreign conguration and run the proceeding command, or run
the proceeding command using force=enabled option.
Omcong Create Encryption Key
Table 174.
Omcong Create Encryption Key
Description Creates the encryption key for the controller.
Syntax
omconfig storage controller action= createsecuritykey controller=id keyid=<keyid
string> passphrase=<passphrase string>[escrow= yes]
Example to Create the encryption key for the controller.
Example
omconfig storage controller action= createsecuritykey controller=1 keyid=Dell_123
passphrase=Dell_123 escrow=yes
NOTE: If you set escrow=yes, escrow le is copied to the location C:/Windows (for Microsoft Windows)
and /var/log (for Linux / ESxi) in Managed Node when the DWS is used.
File name will be generated having combination of controller model & SAS Address as le name. Sample le name for an
H740 controller with SAS address xxxyyzz will be Dell_H740_xxxyyzz.xml.
172 Omcong storage commands