HP ProLiant DL380p Configuring Arrays on HP Smart Array Controllers Reference - Page 72

Changing the controller cache ratio, Enabling or disabling the drive cache

Page 72 highlights

Changing the controller cache ratio The controller cache ratio setting determines the amount of memory allocated to read and write operations. Different types of applications have different optimum settings. You can change the ratio only if the controller has a battery-backed cache (because only battery-backed cache can be used for write cache) and if there are logical drives configured on the controller. Syntax: modify cr=#/#|? where is a controller, and #/# is the cache ratio in the format read percentage/write percentage. Example command: => ctrl slot=3 modify cr=25/75 Enabling or disabling the drive cache On controllers and drives that support physical drive write cache, you can use this command to enable or disable the write cache for all drives on the controller. CAUTION: Because physical drive write cache is not battery-backed, you could lose data if a power failure occurs during a write process. To minimize this possibility, use a backup power supply. Syntax: modify drivewritecache=enable|disable|? [forced] where is a controller that supports drive write cache. Example command: => ctrl slot=5 modify dwc=enable Enabling or disabling the array accelerator If the controller has an array accelerator, you can disable or enable it for specified logical drives. NOTE: Disabling the array accelerator for a logical drive reserves use of the accelerator cache for other logical drives on the array. This feature is useful if you want the other logical drives to have the maximum possible performance (for example, if the logical drives contain database information). Syntax: modify aa=enable|disable|? where is a logical drive. Example command: => ctrl slot=3 ld 1 modify aa=enable Enabling a script to exit on error When a script encounters an error during execution, the exitonerror keyword enables the script to decide whether to continue or to exit the application and return an exit code. Syntax: set [exitonerror=enable | disable] HP Array Configuration Utility 72

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128

HP Array Configuration Utility
72
Changing the controller cache ratio
The controller cache ratio setting determines the amount of memory allocated to read and write operations.
Different types of applications have different optimum settings. You can change the ratio only if the controller
has a battery-backed cache (because only battery-backed cache can be used for write cache) and if there
are logical drives configured on the controller.
Syntax:
<target> modify cr=#/#|?
where
<target>
is a controller, and
#/#
is the cache ratio in the format
read percentage/write
percentage.
Example command:
=> ctrl slot=3 modify cr=25/75
Enabling or disabling the drive cache
On controllers and drives that support physical drive write cache, you can use this command to enable or
disable the write cache for all drives on the controller.
CAUTION:
Because physical drive write cache is not battery-backed, you could lose data if a
power failure occurs during a write process. To minimize this possibility, use a backup power
supply.
Syntax:
<target> modify drivewritecache=enable|disable|? [forced]
where
<target>
is a controller that supports drive write cache.
Example command:
=> ctrl slot=5 modify dwc=enable
Enabling or disabling the array accelerator
If the controller has an array accelerator, you can disable or enable it for specified logical drives.
NOTE:
Disabling the array accelerator for a logical drive reserves use of the accelerator cache
for other logical drives on the array. This feature is useful if you want the other logical drives to
have the maximum possible performance (for example, if the logical drives contain database
information).
Syntax:
<target> modify aa=enable|disable|?
where
<target>
is a logical drive.
Example command:
=> ctrl slot=3 ld 1 modify aa=enable
Enabling a script to exit on error
When a script encounters an error during execution, the
exitonerror
keyword enables the script to
decide whether to continue or to exit the application and return an exit code.
Syntax:
set [exitonerror=enable | disable]