CLI Guide

Example
omconfig storage controller action=
setchangecontrollerproperties controller=1
nrdiskcachepolicy=enabled
Omcong Discard Preserved Cache
Table 173. Omcong 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 oine
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 conguration is detected, then the preceding command using force=disabled option
fails. To avoid data loss, import the foreign conguration and ush the preserved cache to disk. To discard
preserved cache forcefully, either clear the foreign conguration and run the proceeding command, or run
the proceeding command using force=enabled option.
Omcong Create Encryption Key
Table 174.
Omcong 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 Omcong storage commands