1-2 device manager cli memory requirements – HP XP Command View Advanced Edition Software User Manual

Page 32

Advertising
background image




Setting up command line interface



32

NOTE:

If the system on which HP-UX operates uses a Dual-Core Intel(R) Itanium(R) 2 Processor

for the CPU, use JRE version 1.4.2_xx (xx is 10 or later) or JRE version 5.0.03 or later, which
comes with HP-UX (released in June 2006 or September 2006) that supports the processor.

NOTE:

If you run Device Manager CLI using a time zone for the U.S. and Canada, set up the OS

so that the OS will support the new Daylight Saving Time (DST) rules introduced in 2007. Set up
the OS, according to the information provided by the OS vendor.

NOTE:

If you run Device Manager CLI using a time zone for the U.S. and Canada, use the JRE

that supports the new Daylight Saving Time (DST) rules introduced in 2007. The JRE used in the
Device Manager server version 5.7 or later supports the new DST. If you run Device Manager CLI
by using the JRE used in the Device Manager server version 5.7 or later, you do not have to
prepare another JRE.

2-1-2 Device Manager CLI memory requirements

To ensure successful CLI execution, the environment variable HDVM_CLI_MEM_SIZE must be set
to an appropriate value. The default value is 256 MB. This value is specified in bytes and must be a
multiple of 1,024, and greater than 2 MB. Since this value is specified in bytes, you must attach k or
K

when indicating kilobytes, or m or M when indicating megabytes.

Get

commands such as GetStorageArray, GetLogicalGroup, and GetHostInfo may require

more memory due to command parameters assigned.

When you want to use the GetStorageArray command to acquire information about a logical unit,
its path, and its LDEV at the same time, then depending on the number of resources managed by
Device Manager, you need to change the memory heap sizes of Device Manager CLI and the
Device Manager server. To calculate the memory heap size for Device Manager CLI, use the
formula below, and then set the value to the environment variable HDVM_CLI_MEM_SIZE. Since this
value is specified in megabytes, make sure you always attach m or M to the value.

NOTE:

For details about how to change the memory heap size of the Device Manager server, see

the HP StorageWorks XP Command View Advanced Edition software Device Manager server
installation and configuration guide
.

Formula:

memory-heap-size = the-number-of-LDEVs

x 0.03 + the-total-number-of-paths x

0.03 + 140

To set the memory heap size, use one of the methods below. If both methods are used, and two
values are set at the same time, the value set by method 1 takes priority.

In Windows:

Method 1: Use the command prompt to set the calculation result to the environment variable
HDVM_CLI_MEM_SIZE

.

Method 2: Use a text editor to open the hdvmcli.bat file, and then change the value set for
set HDVM_CLI_MEM_SIZE=.

In Solaris, Linux or HP-UX:

Method 1: Use a terminal window to set the calculation result to the environment variable
HDVM_CLI_MEM_SIZE

.

Method 2: Use a text editor to open the hdvmcli.sh file, and then change the value set for
HDVM_CLI_MEM_SIZE=

.

NOTE:

If the Device Manager server is managing multiple subsystems, CLI memory requirements

are increased. Make sure to contact your HP technical support representative for further
information.

Advertising