CLI Guide

Table Of Contents
Table 173. omconfig Change Controller Properties (continued)
omconfig storage controller action=
setchangecontrollerproperties controller=1
nrdiskcachepolicy=enabled
Omconfig Discard Preserved Cache
Table 174. Omconfig 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 offline 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 configuration is detected, then the preceding command using force=disabled
option fails. To avoid data loss, import the foreign configuration and flush the preserved cache to disk. To
discard preserved cache forcefully, either clear the foreign configuration and run the proceeding command,
or run the proceeding command using force=enabled option.
Omconfig Create Encryption Key
Table 175. Omconfig 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 file 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 dellemc_<ControllerModel>_<SASAddress>.xml
as file name. Sample file name for an H740 controller with SAS address xxxyyzz will be
dellemc_H740_xxxyyzz.xml.
170 Omconfig storage commands