HP-UX Reference (11i v2 04/09) - 1M System Administration Commands A-M (vol 3)
a
ammgr(1M) ammgr(1M)
NAME
ammgr - manages the operating characteristics of the disk array
SYNOPSIS
ammgr -D ArrayAlias [-V][-?] ArrayID
ammgr [Options][-V][
-?] ArrayID
DESCRIPTION
ammgr manages the operating characteristics of the disk array by providing access to the settings used to
control disk array operation. In most cases, these settings control the operation of the entire disk array;
consequently, every LUN on the disk array will be affected by any changes made using this command.
The exception is a parity scan, which impacts only the specified LUN.
The ArrayID used to address the disk array can be the disk array serial number or name, if one has been
assigned to the disk array.
Identifying Disk Modules
Disk modules are identified within Array Manager 60 using a numbered pair of the form n:n. The first
number identifies the SCSI channel (or bus) connecting the array controller to the enclosure containing
the disk module. The channel number is indicated on the back of the array controller enclosure. The
second number is the disk module SCSI ID. The SCSI ID is determined by the slot in which the disk
module is installed, but is not the same as the physical slot number (0-9).
For example, the numbered pair
2:1 identifies the disk module on channel 2 with a SCSI ID of 1. Refer
to the Disk Array FC/60 User’s Guide for more information on disk module addressing.
Options
ammgr supports the following options:
-b Reset battery age to zero. This should be done when the battery is replaced.
-c AA Set the controller mode to dual-active.
-d channel:ID Remove the role of hot spare for the disk at address channel :ID. The disk is
identified by channel number (1-6) and SCSI ID (0-4, 8-12).
-D ArrayAlias Assigns the text string specified by ArrayAlias to the disk array. This name is
another mechanism for identifying the disk array when executing a command. The
name can be up to 16 characters in length and can include letters, numbers,
number sign (#), underscore (_), and period (.).
Disk names can be used in a variety of ways to help identify disk arrays in large
systems. For example, by assigning numbers to racks and to the shelf positions
within the racks, each disk array can be uniquely identified using an appropriate
alias. If a rack is assigned number 12, the disk array installed on shelf 3 of the
rack could be identified using an alias of 12_03. This technique simplifies locating
the disk array should it need service.
-h channel:ID Assign the role of hot spare to the disk at address channel:ID. The disk is
identified by channel number (1-6) and SCSI ID (0-4, 8-12).
-H LUN Halt a parity scan currently in progress on the specified LUN. If a parity scan is
not in progress on the specified LUN, clear the status of the last completed parity
scan for the LUN.
-L cntrlrID:percent
Sets the cache flush limit for the controller identified by cntrlrID to the value
specified by percent. When flushing write cache pages to the disk media, the flush
operation will stop when the indicated percentage is reached. The value is
expressed as a percentage of the current cache flush threshold.
-p {4|16} Set the cache page size to 4 KB or 16 KB. The cache page size is set for both disk
array controllers. NOTE: The cache page size may not be set to 16 KB unless the
segment sizes of all existing LUNs are multiples of 16 KB.
-P LUN Perform a parity scan on the specified LUN.
NOTE: If errors are detected during a parity scan, it is recommended that you con-
tact your Hewlett-Packard service representative immediately. The occurrence of
HP-UX 11i Version 2: September 2004 − 1 − Hewlett-Packard Company Section 1M−−35